Alphabeta Math
PropositionStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedprecheck pendingjudge pass (gpt-6-luna)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Unrestarted GMRES has a sparse matvec plus orthogonalization work bound

Statement

Let A∈Rn×n have a canonical CSR representation, with n≥1, at least one stored entry in every row, and s=nnz⁡(A). Let r0=b−Ax0≠0 and 1≤m≤n. Run unrestarted GMRES in exact arithmetic for at most m Arnoldi columns. At column j, compute one CSR matrix-vector product, orthogonalize against the j existing vectors by either one or two complete modified Gram–Schmidt passes, and update the projected least-squares problem by applying prior Givens rotations and forming one new rotation. Each Givens rotation is an orthogonal 2×2 matrix on adjacent rows chosen to zero the current subdiagonal entry. If Arnoldi completes m columns without breakdown, solve the resulting upper-triangular least-squares factor; if it breaks down earlier, stop at that column and make no claim about a separate rank-deficient fallback solve. Count field arithmetic and index work, and exclude the stored input matrix. The total work in the no-breakdown branch is O(ms+m2n) and the Krylov working storage is O(mn). The same bounds cover all matvec, orthogonalization, and projected-rotation work actually performed before an earlier breakdown. These are operation and storage bounds, not convergence or runtime claims.

Facts & Assumptions

Given: The canonical square CSR matrix, dimensions n,s, nonzero initial residual, step bound m, and algorithm specified in the Statement.

[F1]

Compressed sparse row matrices with stored-entry semantics: canonical storage has s=nnz⁡(A); CSR row intervals partition the stored entries.

[F2]

Validated compressed sparse row matrix-vector product: a valid CSR matvec visits each stored entry once and performs one multiply and one addition at each visit.

[F3]

CSR storage and exact matrix-vector operation counts: for a square record of order n≥1 with a nonempty stored row pattern, one exact matvec uses O(s) work.

[F4]

The Arnoldi process for building an orthonormal basis of a Krylov subspace: Arnoldi orthogonalizes each Avj against the existing vectors and breaks down when its exact residual is zero.

[F5]

Before breakdown, Arnoldi produces an orthonormal Krylov basis and a rectangular upper-Hessenberg factorization: without breakdown, Arnoldi forms an orthonormal Krylov basis and its projected matrix is upper Hessenberg with positive subdiagonal entries.

[F6]

The GMRES iterate as the residual minimizer over an affine Krylov space: GMRES minimizes the true residual over the affine Krylov space, represented in exact Arnoldi coordinates by the projected least-squares problem.

Proof

1.1givenF1F2F3algebra

The canonical convention [F1] identifies the stored count with s=nnz⁡(A). Each of at most m columns uses one sparse matvec, which costs O(s) by [F2] and [F3]. Summing over the columns gives O(ms) work; if breakdown stops the run at d<m, the sum through d is no larger.

1.2givenF4algebra

At column j, one complete MGS pass computes j length-n inner products and j length-n vector updates, hence O(jn) arithmetic; two passes multiply this by the fixed factor two. Therefore total orthogonalization work through m columns is O(n∑j=1mj)=O(m2n), and stopping earlier only reduces it.

1.3givenF5F6algebra

In the no-breakdown branch, [F5] gives a projected matrix Hˉm∈R(m+1)×m with nonzero subdiagonal entries hj+1,j. For orthonormal Qm+1 and r0=βq1, each candidate x0+Qmy has residual b−A(x0+Qmy)=Qm+1(βe1−Hˉmy). Therefore [F6] reduces GMRES minimization to this projected least-squares problem. The submatrix formed by rows 2,…,m+1 is upper triangular with diagonal h2,1,…,hm+1,m, so its columns are linearly independent. Thus Hˉm has full column rank. Applying one plane Givens rotation to each row pair eliminates one subdiagonal entry while preserving the Euclidean least-squares norm; the rotations create an upper-triangular m×m factor with nonzero diagonal. At column j, applying the previous at most j−1 rotations and forming the new rotation takes O(j) scalar operations; all columns cost O(m2). Back substitution in the nonsingular triangular factor takes O(m2) operations, and forming the Krylov correction costs O(mn). By [F6] this solves the specified GMRES projected least-squares problem.

2.1givenstep 1.1step 1.2step 1.3algebra∎

Since n≥1 and m≤n, m2≤m2n and mn≤m2n. Adding the work bounds in steps 1.1, 1.2, and 1.3 gives O(ms+m2n). Storing at most m+1 length-n basis vectors takes O(mn) slots; the Hessenberg and Givens data take O(m2) slots; temporary vectors use O(n) slots. Since m≤n, both m2 and n are at most mn, proving the storage bound. If breakdown occurs at column d<m, the already formed basis and projected data use at most the same bounds with d in place of m, and no fallback least-squares solve is included.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

13 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources