Alphabeta Math
Pipeline-generated
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.

✓ 7 results · all verified · 6 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 1 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Restarted and block eigensolvers

1 · Prerequisites

2 · Summary

This page defines finite-budget thick and implicit Arnoldi restarts, with normalized Ritz vectors, residual-based acceptance, retained locked directions, and explicit breakdown statuses. It proves the exact shift-polynomial subspace and residual identities, but makes no convergence claim for arbitrary shifts. It also develops block LOBPCG for Hermitian-definite pencils, including exact rank-revealing B-orthogonalization, finite Rayleigh-Ritz updates, variational nonincrease, and a one-shot principal-angle enclosure for the selected Ritz block. Shift-invert requires an invertible shifted solve; harmonic extraction uses its projected pencil and explicit singular branch. Both preserve their residual and perturbation ledgers without claiming forward accuracy from a small residual alone. The termination results prove finite status return under finite-return primitive calls; the shift-invert and harmonic result additionally depends on the finite-budget QZ termination proposition.

3 · Logical flowchart

4 · Definitions, theorems and proofs

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite-budget thick and implicitly restarted Arnoldi with residual acceptance and locking

Definition

Let A∈Cn×n, let v≠0, and choose integers 1≤r<m≤n, a residual tolerance τ≥0, a restart budget Nmax⁡≥1, and a restart mode thick or implicit. All operations below use the exact arithmetic model and projected-solver input specified next. The number k of locked pairs is the number of linearly independent locked vectors; it starts at zero. If a restart is needed, a target rule may be supplied for thick mode and is required for an implicit-mode restart after one or more pairs are locked. When invoked, it must return r−k current Ritz vectors independent modulo the span of all locked vectors, or report unavailable; no rule, an unavailable selection, or a wrong-size or dependent selection gives status rank-loss. For an implicit-mode restart with no locked pairs, a shift rule supplies exactly p=m−r complex shifts for the current cycle or reports unavailable; an unavailable list or a list of any other length gives status shift-count-unavailable. The shifts may be chosen from unwanted Ritz values, but the procedure allows any supplied list and asserts no convergence for an arbitrary schedule.

Projected-solver input and exact operations. Supply a projected eigensolver S. For every requested exact square matrix H∈Cd×d with 1≤d≤m, it must return in finite work either unavailable or success with an ordered list of exactly d pairs (θj,yj), 0≤j<d, with θj∈C, 0≠yj∈Cd, Hyj=θjyj, and det⁡(zId−H)=∏j=0d−1(z−θj). Thus eigenvalues are represented with their algebraic multiplicities; projected eigenvectors need not be independent when H is defective. The procedure does not assert existence of an always-successful exact eigensolver in any fixed arithmetic or encoding. A provider may report unavailable; absent provider data give the same result without invoking a solver. Every original successful exact projected-eigensolve instance is retained by supplying its provider.

Outside S, use exact complex field operations, conjugation, nonnegative real square roots, and exact equality/order comparisons on the real quantities compared. Complex operations use their real and imaginary component formulas. The finite-return target and shift rules have the output contracts already stated. Exact rank tests can be performed by Gaussian elimination, scanning columns and choosing the first remaining row with nonzero pivot; normalization divides only by a checked positive Euclidean norm. This is an exact-operation model, not a bit-cost or machine floating-point claim.

At every projected solve, invoke S on the current Hd. An absent provider or unavailable return gives status projected-eigensolve-unavailable. A provider status other than success or unavailable, wrong list/vector shape, zero vector, nonzero exact residual Hdyj−θjyj, or failed characteristic-polynomial identity gives status projected-eigensolve-invalid. Check that identity by exact coefficient arithmetic: expand det⁡(zId−Hd) by the finite permutation formula of For n≥1, the determinant over a commutative ring by the Leibniz formula, and ∣det⁡A∣ for a real matrix, in lexicographic permutation order, multiplying each term's d affine-or-constant entries in increasing column order and using the inversion parity for its sign; form the right side by successive multiplication of its d linear factors in returned list order. Polynomial addition and multiplication mean finite coefficient-array sums and convolutions, and compare all coefficients through degree d exactly. This finite check extracts no roots. All these failures preserve the locked outputs and the most recently completed valid unlocked Ritz list (initially empty), with the failing cycle and projected dimension. Only after the entire successful list passes these checks normalize the vectors, lift them and replace the current Ritz list. The supplied finite-return promise applies to S itself; no timeout or generic eigensolver implementation is silently provided.

Initialize the restart counter c=0 before the first cycle. The initial cycle is an m-step fully reorthogonalized Arnoldi run from v1=v/∥v∥2: each step computes a matrix-vector product, performs two complete orthogonalization passes against the current basis, and accumulates the coefficients in the projected matrix. If a residual vanishes at step j, use the j-column basis and mark its span invariant. If the residual after step m is nonzero, retain its normalized direction and coefficient as the Arnoldi residual data, but use only the first m columns in the projected eigensolve. Every later cycle uses the restarted basis and projected matrix constructed in step 3 or 4. The output is the locked Ritz pairs, the most recently computed unlocked Ritz pairs, and one of converged, budget-exhausted, invariant-subspace-breakdown, rank-loss, shift-count-unavailable, or filtered-breakdown, projected-eigensolve-unavailable, or projected-eigensolve-invalid.

  1. For the initial cycle, start with v1=v/∥v∥2, no locked pairs, and run the m-step Arnoldi procedure described above. Let d be the projected basis dimension, so d=m unless exact breakdown occurs earlier; on a nonbreakdown cycle also retain the residual direction and coefficient from step m. For every cycle, invoke and validate the supplied projected eigensolver as specified above, returning its failure status before processing any pair if it fails. For each returned projected eigenvector y, normalize it so ∥y∥2=1 and lift it to u=Vdy. Process the Ritz pairs in the order returned by the projected eigensolve. For each pair (θ,u), compute the original residual ru=Au−θu directly (on a standard Arnoldi cycle without breakdown it may be evaluated by An Arnoldi Ritz pair has residual norm controlled by the last Hessenberg subdiagonal entry). If ∥ru∥2≤τ and adding u increases the exact rank of the locked-vector matrix, append (θ,u) to the locked outputs and increment k. A residual-accepted vector in the span of the locked vectors is not counted or appended again. Locked vectors are retained as a subspace at every later restart. If k≥r, return converged.

  2. If the current projected subspace is marked invariant and fewer than r pairs are locked, return invariant-subspace-breakdown. If the restart counter satisfies c=Nmax⁡, return budget-exhausted.

  3. For a thick restart, or for an implicit-mode restart when k>0, invoke the target rule. Form a target block from every locked vector and the selected r−k wanted Ritz vectors. For either block to be rank-revealing, use the following exact column-pivoted orthogonalization: start with an empty orthonormal block Q and all input columns remaining. For each remaining column yj, compute cj=yj−Q(Q∗yj). Choose a column with largest ∥cj∥2, breaking ties by original column order. If the largest norm is zero, stop; otherwise append cj/∥cj∥2 to Q and remove that pivot column. The columns appended to Q form an ordered orthonormal basis of the input range. Apply this procedure first to the target block; if it fails to retain all locked and selected directions, return rank-loss. With its resulting orthonormal basis U, compute the residual block RU=(I−UU∗)AU. Apply the same orthogonalization to RU to obtain an ordered orthonormal basis F of its range. If U has s columns, retain only the first min⁡(dim⁡range⁡(RU),m−s) columns of F, so [U,F] has at most m columns. Set the ordered basis to [U,F] and a queue to its columns in order. While the basis has fewer than m columns and the queue is nonempty, remove the first queued column q, compute w=Aq, and orthogonalize w against every current basis column in two complete passes. If the residual is nonzero, normalize it, append it to the basis, and append the new column to the queue; if it is zero, continue with the remaining queue. Set Vd to the resulting basis and compute the projected matrix Hd=Vd∗AVd exactly. If the queue empties before the basis has dimension m, or if d=n, mark this subspace invariant; first process its Ritz pairs in step 5, then return invariant-subspace-breakdown at step 2 if fewer than r pairs have been locked. This projection is required because a thick restart can begin from several retained and residual directions rather than from a single Arnoldi starting vector.

  4. For an implicit restart with no locked pairs, set p=m−r and request a shift list μ1,…,μp from the shift rule. If it reports unavailable or returns a list of the wrong length, return shift-count-unavailable. Starting from the no-breakdown m-step Arnoldi relation AVm=VmHm+βmvm+1em∗, apply exact shifted QR steps to Hm using the transformations of Real Givens rotations and complex Givens transformations. Set H0=Hm and q(z)=∏j=1p(z−μj). For j=1,…,p, initialize R=Hj−1−μjI and Qj=Im. For ℓ=1,…,m−1, generate a left factor from (a,b)=(Rℓ,ℓ,Rℓ+1,ℓ) and apply it to rows ℓ,ℓ+1 by setting R←LR, and update Qj←QjL∗. Use the identity if b=0; if b≠0, put s0=∣a∣2+∣b∣2 and choose the exact coefficients (c,s)=(a/s0,b/s0) over R, while over C choose (c,s)=(0,b‾/∣b∣) if a=0 and (c,s)=(∣a∣/s0,(a/∣a∣)b‾/s0) otherwise. Use L=(cs−s‾c). At the end set Rj=R and Hj=RjQj+μjI=Qj∗Hj−1Qj. Let H+=Hp and put Q=Q1⋯Qp. Test the filtered Krylov dimension exactly by forming w=q(A)v1 and the columns w,Aw,…,Ar−1w. If their rank is below r, return filtered-breakdown. Otherwise retain Vr+=VmQ(:,1:r) and set Hr+=H+(1:r,1:r). Compute g=A(Vr+):r−Vr+Hr+er, the residual of the last retained column; the first r−1 retained columns have zero residual by the upper-Hessenberg relation and shift count p=m−r. If g=0, use Vr+ as the current invariant basis with dimension r. If g≠0, set vr+1+=g/∥g∥2 and βr+=∥g∥2, initialize the continued Arnoldi relation with (Vr+,Hr+,vr+1+,βr+), and continue Arnoldi with two complete orthogonalization passes until dimension m or exact breakdown. On a nonbreakdown continuation, also compute the residual direction and coefficient after its mth Arnoldi step for the next implicit restart. Mark the current subspace invariant when this continuation breaks down.

  5. Increment the restart counter by setting c←c+1, invoke and validate S on the new projected matrix as in step 1, and return the stated projected-solve failure status if it fails. On success, recompute the lifted Ritz pairs and their original residuals, apply the acceptance rule in step 1, and return to step 2 unless a return status applies. No convergence is asserted for an arbitrary shift schedule. The residual acceptance test certifies only the computed residual size; it does not by itself give a forward eigenvalue bound for a nonnormal matrix.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Exact implicit Arnoldi restart applies its shift polynomial and preserves an Arnoldi residual identity

Statement

Let A∈Cn×n, and suppose an exact m-step Arnoldi factorization without breakdown is AVm=VmHm+βmvm+1em∗,Vm∗Vm=Im, where Hm is upper Hessenberg and βm>0. Let 1≤r<m, p=m−r, and let Hj−1−μjI=QjRj be exact shifted QR factorizations using the ordered top-down adjacent-row Givens eliminations on pairs (1,2),(2,3),…,(m−1,m), with Rj upper triangular. Put Q=Q1⋯Qp,H+=Q∗HmQ,q(z)=∏j=1p(z−μj). Assume q(A)v1≠0, the exact filtered Krylov space Kr(A,q(A)v1) has dimension r, and ρ≠0 in the factorization q(Hm)=QR with R upper triangular. Then range⁡(VmQ(:,1:r))=Kr(A,q(A)v1). Writing Hr+=H+(1:r,1:r), h+=Hr+1,r+, and g=h+VmQer+1+βm(em∗Qer)vm+1, the truncated restart has the exact residual identity AVmQ(:,1:r)=VmQ(:,1:r)Hr++ger∗. If g≠0, then vr+1+=g/∥g∥2 is orthogonal to the retained columns and the new Arnoldi residual coefficient is βr+=∥g∥2; if g=0, the retained subspace is exactly invariant.

Facts & Assumptions

Given: The no-breakdown Arnoldi factorization, dimensions and shifts in the Statement, with the stated nonannihilation and filtered-dimension hypotheses.

[F1]

Before breakdown, Arnoldi produces an orthonormal Krylov basis and a rectangular upper-Hessenberg factorization: before breakdown, AQm=Qm+1Hˉm, the Arnoldi vectors are orthonormal, and Hm is upper Hessenberg; the present item writes this basis as Vm.

[F2]

Unshifted QR iteration, shifted QR iteration, deflation, and the Wilkinson shift: a shifted QR step factors H−μI=QR with Q unitary and R upper triangular, then sets H+=RQ+μI=Q∗HQ.

[F3]

Shifted QR iteration preserves upper Hessenberg form: an exact shifted QR step built from adjacent-row Givens eliminations preserves upper Hessenberg form.

[F4]

Upper Hessenberg matrices and real symmetric tridiagonal matrices: upper Hessenberg means Hij=0 whenever i>j+1.

[F5]

Real Givens rotations and complex Givens transformations and Full, reduced, and column-pivoted computational QR factorisations: the QR factorization in the Statement is formed by successive adjacent-row Givens rotations, with the unitary factor given by their ordered product.

Proof

technique · direct
1.1F1F4algebra

For 0≤j≤m−1, Ajv1=VmHmje1: the claim holds at j=0, and if it holds at j<m−1, [F1] gives Aj+1v1=VmHmj+1e1+βmvm+1em∗Hmje1. By [F4], Hmje1 is supported in rows 1 through j+1, so em∗Hmje1=0 when j<m−1; induction proves the identity through degree m−1.

2.1givenF2step 1.1algebra

Since deg⁡q=p<m, step 1.1 gives q(A)v1=Vmq(Hm)e1. Put Pj=Q1⋯Qj and P0=I; the cumulative similarities give Hj−1=Pj−1∗HmPj−1. Thus Hm−μjI=Pj−1(Hj−1−μjI)Pj−1∗=Pj−1QjRjPj−1∗=PjRjPj−1∗. Because scalar factors commute, order the product as q(Hm)=(Hm−μpI)⋯(Hm−μ1I); substituting these factorizations cancels every adjacent Pj−1∗Pj−1 and gives q(Hm)=Pp(Rp⋯R1)=QR. The product Rp⋯R1 is upper triangular, and Re1=ρe1, so q(A)v1=ρVmQe1.

3.1givenF3step 1.1step 2.1algebra

For 0≤j<r, p+j≤m−1, so applying step 1.1 to each monomial of zjq(z) gives Ajq(A)v1=VmHmjq(Hm)e1=ρVmQ(H+)je1. By [F3], H+ is upper Hessenberg, so (H+)je1 is supported in its first j+1 coordinates and the resulting vector lies in range⁡(VmQ(:,1:r)). Thus Kr(A,q(A)v1) is contained in the retained range; both have dimension r, the former by hypothesis and the latter because VmQ has orthonormal columns, so they are equal.

3.2F1F3F4F5step 2.1algebra

In each shifted QR step the top-down left eliminations use row pairs (1,2),(2,3),…,(m−1,m); by [F5] the unitary factor is the ordered product of their adjoints. In Qiej, rotations with index greater than j act first and fix ej, rotation j adds at most row j+1, and rotations with smaller indices add only rows less than j; by [F4], each Qi is upper Hessenberg. If C has lower bandwidth a and D lower bandwidth b, a nonzero term in (CD)ij=∑kCikDkj requires k≥i−a and k≤j+b, so CD has lower bandwidth at most a+b. Hence Q=Q1⋯Qp has lower bandwidth p and em∗Qej=0 for j<m−p=r. Multiplying the Arnoldi factorization in [F1] by Q yields AVmQ=VmQH++βmvm+1em∗Q; since H+ is upper Hessenberg, restricting to columns 1 through r gives AVmQ(:,1:r)=VmQ(:,1:r)Hr++(h+VmQer+1+βm(em∗Qer)vm+1)er∗, the stated identity with residual vector g.

4.1F1step 3.2algebra∎

The vector VmQer+1 is orthogonal to the first r columns of VmQ, and [F1] makes vm+1 orthogonal to the range of Vm; hence g is orthogonal to the retained columns. If g≠0, normalization gives the next Arnoldi residual direction with coefficient ∥g∥2; if g=0, step 3.2 says A maps the retained range into itself.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite-budget block LOBPCG for a Hermitian-definite pencil with explicit rank-loss status

Definition

Let A=A∗∈Cn×n, let B=B∗>0, and let T=T∗>0 be a fixed preconditioning operator. Here B>0 and T>0 mean x∗Bx>0 and x∗Tx>0 for every nonzero x. The B-inner product and norm are those of The B-inner product, B-norm, and dual residual norm. Choose a block width 1≤q≤n, a residual tolerance τ≥0, a finite iteration budget Nmax⁡≥0, and an input matrix X0∈Cn×q. The output is a block of Ritz pairs and one of converged, budget-exhausted, rank-loss, or invalid-initial-block.

  1. If X0 does not have full column rank or does not satisfy X0∗BX0=Iq, return invalid-initial-block. Diagonalize the Hermitian compression X0∗AX0=Z0Θ0Z0∗ with Z0 unitary and the q Ritz values in increasing order, then replace X0 by X0Z0. Thus the columns used in the first residual block are the actual B-orthonormal Ritz vectors paired with the diagonal entries of Θ0. Set the previous search block D0 empty and initialize the iteration counter k=0.

  2. At iteration k, form the original residual block Rk=AXk−BXkΘk. If every column has Euclidean norm at most τ, return converged. If k=Nmax⁡, return budget-exhausted with (Θk,Xk).

  3. Compute the preconditioned residual block Wk=TRk and set Yk=[Xk,Wk,Dk], omitting the empty block at k=0. Compute an exact rank-revealing B-QR with column pivoting as follows. Starting with no columns in Qk, for each remaining column yj of Yk compute its residual cj=yj−Qk(Qk∗Byj) and choose a column with largest B-norm ∥cj∥B (break ties by original column order). If the largest residual norm is zero, stop; otherwise append the normalized residual to Qk and remove that pivot column. Let sk be the number of columns appended and let Πk record the pivot order followed by the unused columns. If sk<q, return rank-loss with the current Ritz pairs; no projected solve is attempted on that branch. Otherwise set Sk=Qk∗BYkΠk(:,1:sk). The pivot construction gives YkΠk(:,1:sk)=QkSk,Qk∗BQk=Isk, and Sk is invertible because its selected columns are independent. Dependent trial columns are discarded and their count is recorded as a rank-compression diagnostic.

  4. The projected matrix Qk∗AQk is Hermitian, hence normal, so its orthonormal eigenbasis and real eigenvalues are supplied by Complex spectral theorem: a normal endomorphism of a finite-dimensional complex inner product space has an orthonormal eigenbasis, and conversely. Solve Qk∗AQkZk=ZkΘk+1 and choose its q smallest eigenvalues. Set Ck=Πk(:,1:sk)Sk−1Zk; then YkCk=QkZk. Partition Ck=[CXCWCD], omitting the CD block when Dk is empty. The projected metric is positive definite because for nonzero z, (Qkz)∗B(Qkz)=∥z∥22>0. Set Xk+1=XkCX+WkCW+DkCD,Dk+1=WkCW+DkCD, again omitting the empty-block term. Let Θk+1 be the selected diagonal Ritz-value matrix and increment k.

  5. Repeat from step 2. No convergence, rate, or accuracy is asserted when the budget or rank-loss branch is returned. The exact SPD conditions on B and T define the permitted metric and preconditioner; no particular incomplete-factorization procedure is assumed.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Finite-budget restarted Arnoldi and block LOBPCG return a status under finite-return primitives

Statement

Consider any execution of Finite-budget thick and implicitly restarted Arnoldi with residual acceptance and locking or Finite-budget block LOBPCG for a Hermitian-definite pencil with explicit rank-loss status on inputs satisfying that procedure's stated hypotheses. Assume every invoked target rule returns in finite work either a valid requested block or unavailable, every invoked shift rule returns in finite work either a shift list of the required length or unavailable, and every projected eigensolve, finite-dimensional arithmetic, orthogonalization, and rank computation returns its exact value in finite work. Then the execution returns one of the statuses listed by its procedure after finitely many operations. In particular, the Arnoldi procedure performs at most Nmax⁡ restarts and at most Nmax⁡+1 Arnoldi cycles, and the LOBPCG procedure performs at most Nmax⁡ updates.

Facts & Assumptions

Given: A valid finite-dimensional input to either procedure, finite budgets Nmax⁡, and the finite-return condition in the statement.

[F1]

Finite-budget thick and implicitly restarted Arnoldi with residual acceptance and locking: each cycle uses at most m Arnoldi steps, each no-lock implicit restart uses p=m−r shifts, locked implicit-mode restarts use the thick fallback, and the restart counter starts at zero and increases once per restart. The procedure either returns when the counter equals Nmax⁡, reports a listed target/shift status, or reaches an earlier status condition.

[F2]

Finite-budget block LOBPCG for a Hermitian-definite pencil with explicit rank-loss status: the iteration counter starts at k=0, and iteration k tests k=Nmax⁡ before an update.

[F3]

Finite-budget block LOBPCG for a Hermitian-definite pencil with explicit rank-loss status: every completed projected update increments k once; the rank-revealing orthogonalization processes only the finitely many trial-block columns.

[A1]

Each invoked target rule returns a valid requested block or unavailable, and each invoked shift rule returns the required shift list or unavailable, all in finite work. Every projected eigensolve and other finite-dimensional arithmetic, orthogonalization, or rank computation returns its exact value in finite work; no other primitive failure status is assumed.

Proof

1.1givenF1A1algebra

For thick or implicit restarted Arnoldi, one cycle has at most m Arnoldi steps. The thick restart processes finite matrices and blocks using finite exact rank-revealing orthogonalization loops, and its block-Arnoldi queue processes at most m basis columns once each; an unavailable target selection, a missing target rule, or a wrong-size or dependent target block returns rank-loss. An implicit restart with no locked pairs uses exactly p=m−r shifts and finite QR steps; an unavailable or wrong-length shift list returns shift-count-unavailable. The implicit-mode thick fallback with locked pairs uses the same finite target and orthogonalization steps. The Arnoldi projected-solver contract makes its call finite-return; the finite shape, residual and coefficient checks either produce a valid current Ritz list or return one of its two listed projected-solve failure statuses. Under [A1] an exact returned eigensolve passes those checks. Assumption [A1] makes the other invoked rules and projected eigensolves finite-return. Thus each cycle either returns a listed status or reaches its single restart-counter update.

1.2givenF2F3A1algebra

For block LOBPCG, every pass through steps 1--4 is finite: its trial block has finitely many columns, its B-orthogonalization processes at most those columns, and the projected eigensolve and finite-dimensional operations return in finite work by [A1]. A pass either returns a status or completes one update and increments k.

2.1F1step 1.1induction

The counter begins at 0 and increases by one before each further cycle. After at most Nmax⁡ such increments, the next completed cycle reaches the test c=Nmax⁡ and returns budget-exhausted unless an earlier acceptance or breakdown status has already returned. The number of cycles is therefore at most Nmax⁡+1, so the Arnoldi execution terminates.

3.1F2F3step 1.2induction∎

Starting from k=0, no more than Nmax⁡ updates can occur. After those updates the next pass tests k=Nmax⁡ and returns budget-exhausted, unless convergence or rank loss already returned. Hence the block LOBPCG execution terminates after finitely many operations.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Generalized Ritz values obey min-max bounds and are monotone under trial-space inclusion

Statement

Let A=A∗∈Cn×n and B=B∗>0. Write the generalized eigenvalues of (A,B) in increasing order λ1≤⋯≤λn. For a subspace S with a full-column-rank B-orthonormal basis matrix QS, let θ1(S)≤⋯≤θdim⁡S(S) be the eigenvalues of QS∗AQS. These values are independent of the chosen B-orthonormal basis. Then, for 1≤j≤dim⁡S, λj≤θj(S). If S⊆T and j≤dim⁡S, then θj(T)≤θj(S).

Facts & Assumptions

Given: A Hermitian matrix A, a Hermitian positive-definite matrix B, and full-column-rank B-orthonormal basis matrices for the stated subspaces.

[F1]

The B-inner product, B-norm, and dual residual norm: ⟨x,y⟩B=y∗Bx and ∥x∥B2=x∗Bx.

[F2]

A Hermitian-definite pencil has a real spectrum and a B-orthonormal eigenbasis: a Hermitian-definite pair (A,B) has real generalized eigenvalues and a B-orthonormal eigenbasis.

Proof

technique · direct
1.1F1F2algebra

For QS, the compression HS=QS∗AQS is Hermitian. Diagonalize it with an orthonormal eigenbasis z1,…,zs and ordered eigenvalues θ1(S)≤⋯≤θs(S); the vectors QSzi are B-orthonormal and every Rayleigh quotient on S is their weighted average. Any j-dimensional W⊆S intersects span⁡(QSzj,…,QSzs) nontrivially by dimension count, so its maximum quotient is at least θj(S); equality is attained on span⁡(QSz1,…,QSzj). This proves the min-max formula, and a unitary change between B-orthonormal bases conjugates the compression, proving basis invariance.

2.1F1F2step 1.1algebra

Let u1,…,un be the ambient B-orthonormal generalized eigenbasis from [F2], ordered by λi. Any j-dimensional W⊆S intersects span⁡(uj,…,un) nontrivially, again by dimension count. The quotient of a nonzero vector in that span is a weighted average of λj,…,λn and is at least λj; the min-max formula from step 1.1 gives θj(S)≥λj.

3.1step 1.1algebra∎

If S⊆T, every j-dimensional subspace considered for θj(S) is also available for θj(T). The minimum over the larger family therefore cannot be greater, so θj(T)≤θj(S).

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

A principal-angle bound encloses the largest selected generalized Ritz value across a spectral gap

Statement

Let A=A∗∈Cn×n, B=B∗>0, and λ1≤⋯≤λn be the generalized eigenvalues of (A,B). Fix 1≤q<n with the strict gap λq<λq+1 and let U=span⁡{u1,…,uq} be the corresponding sum of the first q eigenspaces, with (ui) B-orthonormal. For a q-dimensional trial subspace S with B-orthonormal basis Q, define PUx=∑i=1qui(ui∗Bx),sin⁡ϑ=sup⁡x∈S∥x∥B=1∥(I−PU)x∥B. Let θ1(S)≤⋯≤θq(S) be the generalized Ritz values from Generalized Ritz values obey min-max bounds and are monotone under trial-space inclusion. Then λj≤θj(S)(1≤j≤q),θq(S)≤λq+(λn−λq)sin⁡2ϑ. The strict gap identifies U uniquely; the estimate is a subspace enclosure, not an iteration convergence rate.

Facts & Assumptions

Given: A Hermitian-definite pair (A,B), its ordered generalized eigenvalues and B-orthonormal eigenbasis, the strict gap at q, and a q-dimensional B-orthonormal trial basis Q spanning S.

[F1]

The B-inner product, B-norm, and dual residual norm: ⟨x,y⟩B=y∗Bx and ∥x∥B2=x∗Bx.

[F2]

A Hermitian-definite pencil has a real spectrum and a B-orthonormal eigenbasis: A and B have a B-orthonormal generalized eigenbasis with real eigenvalues.

[L1]

Generalized Ritz values obey min-max bounds and are monotone under trial-space inclusion: each selected Ritz value is at least the corresponding ambient generalized eigenvalue, and Ritz values decrease when the trial subspace is enlarged.

Proof

technique · direct
1.1givenF1F2algebra

By [F2], write a B-unit vector x∈S as x=u+e with u=PUx∈U and e=(I−PU)x∈U⊥B. In the B-orthonormal generalized eigenbasis, if x=∑iaiui, then x∗Bx=∑i∣ai∣2 and x∗Ax=∑iλi∣ai∣2. Thus u∗Au≤λqu∗Bu and e∗Ae≤λne∗Be; the cross terms vanish since ui∗Auj=λjui∗Buj=0 for i≤q<j. Therefore x∗Ax/x∗Bx≤λq∥u∥B2+λn∥e∥B2=λq+(λn−λq)∥e∥B2, which is at most the stated angle bound.

2.1givenF2L1step 1.1algebra∎

Diagonalizing the finite Hermitian compression shows that θq(S) is the maximum Rayleigh quotient on S, so step 1.1 gives its upper bound. The lower bounds λj≤θj(S) are [L1]. The strict gap isolates the first q eigenspaces, so their sum is unique; no step asserts an iteration rate.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

A successful LOBPCG Rayleigh-Ritz update cannot increase the selected Ritz values

Statement

Let A=A∗ and B=B∗>0. Suppose one successful update of Finite-budget block LOBPCG for a Hermitian-definite pencil with explicit rank-loss status starts from a q-dimensional B-orthonormal block Xk with selected Ritz values θ1(Xk)≤⋯≤θq(Xk). The update forms a trial space Sk=span⁡(Xk,Wk,Dk), retains the old block, and selects the q smallest generalized Ritz values on Sk. Then θj(Xk+1)≤θj(Xk)(1≤j≤q). This assertion applies only to an update that reaches the Rayleigh-Ritz step; the algorithm's rank-loss and budget-exhausted exits make no update claim.

Facts & Assumptions

Given: One successful LOBPCG update for a Hermitian-definite pair, with the old block retained in its trial space.

[F1]

Finite-budget block LOBPCG for a Hermitian-definite pencil with explicit rank-loss status: the trial block is Yk=[Xk,Wk,Dk], so it retains range⁡(Xk).

[F2]

Finite-budget block LOBPCG for a Hermitian-definite pencil with explicit rank-loss status: a successful projected solve selects the q smallest Ritz values on the full trial span and uses their Ritz vectors as Xk+1.

[L1]

Generalized Ritz values obey min-max bounds and are monotone under trial-space inclusion: if S⊆T, then θj(T)≤θj(S) for each index available in S.

Proof

technique · direct
1.1givenF1F2algebra

On the successful branch, [F1] constructs Sk with range⁡(Xk)⊆Sk, and [F2] sets the new block to the q smallest Ritz vectors on Sk. Hence θj(Xk+1)=θj(Sk) and θj(Xk)=θj(range⁡(Xk)).

2.1L1step 1.1algebra∎

Apply [L1] to range⁡(Xk)⊆Sk. It gives θj(Sk)≤θj(range⁡(Xk)) for every j≤q; substituting the equalities from step 1.1 proves the claim.

AlgorithmAlgorithm: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Shift-invert and harmonic Ritz extraction with solve and pencil status

Definition

Let A∈Cn×n, n≥1, choose a shift σ∈C, and put M=A−σI. This procedure returns candidate values and their residual data; it asserts no convergence or forward-error bound. Its branch statuses are available, arnoldi-breakdown, linear-solve-unavailable, zero-transformed-Ritz-value, infinite-harmonic-value, projected-pencil-unresolved, qz-budget-exhausted, and qz-certificate-inconclusive.

Shift-invert branch. This branch requires M to be invertible, equivalently that σ is not an eigenvalue of A by For a finite-dimensional space, λ is an eigenvalue of T if and only if T−λI is not invertible. Its inputs also include a nonzero starting vector v, an integer Arnoldi dimension 1≤m≤n, a residual tolerance τ≥0, and a solve routine. Normalize v1=v/∥v∥2. For j=1,…,m, request either the exact solution yj=M−1vj or a computed vector yj together with its actual equation residual sj=Myj−vj. If a requested solve is unavailable, return linear-solve-unavailable with the residuals already recorded. Set w=yj. For i=1,…,j, compute hij=⟨w,vi⟩ and replace w←w−hijvi. Repeat this pass once, adding each second-pass coefficient to the corresponding hij. Set hj+1,j=∥w∥2. If this norm is zero, set the current dimension to k=j and stop with status arnoldi-breakdown; otherwise set vj+1=w/hj+1,j. After m columns, set k=m and stop with status available. When every solve is exact, this is Arnoldi applied to M−1. When any solve is inexact, the projected matrix is only the one produced from the computed vectors; the procedure makes no exact-Arnoldi or convergence claim for that branch.

Compute the Ritz pairs (θ,z) of the current k×k matrix H as in Ritz values and Ritz vectors extracted from the Arnoldi Hessenberg reduction, normalize z to unit norm, and lift u=Vkz. For each θ≠0, report the transformed candidate λ=σ+1/θ, the lifted vector u, and the directly computed original residual rA=Au−λu. Mark this candidate accepted exactly when ∥rA∥2≤τ. If θ=0, assign no finite inverse map and mark that candidate zero-transformed-Ritz-value. To record the solve-error transfer for a candidate with θ≠0, request one additional solve My=u; if it is available, store s0=My−u and rT=y−θu alongside the directly computed residual rA. If this additional solve is unavailable, return linear-solve-unavailable with the candidate and accumulated ledger.

Harmonic Ritz branch. This branch takes a full-column-rank trial basis U∈Cn×k, k≥1; it does not require M to be invertible. Form W=MU and G=W∗W=U∗M∗MU,C=W∗U=U∗M∗U. Compute an exact column-pivoted QR of W as in Full, reduced, and column-pivoted computational QR factorisations and let rW be its exact rank. If rW<k, choose z≠0 with Wz=0. Then z∗G=(Wz)∗W=0 and z∗C=(Wz)∗U=0. Thus the nonzero row z∗ annihilates G−ηC for every η; if this matrix were invertible, right multiplication by its inverse would force z∗=0, a contradiction. Hence G−ηC is singular for every η; return projected-pencil-unresolved. If W has full column rank, then z∗Gz=∥Wz∥22>0 for every z≠0. Thus G is positive definite and the pencil G−ηC is regular in the convention of Regular matrix pencils and homogeneous generalized eigenvalues, since det⁡(G−0C)=det⁡G≠0.

Supply a finite QZ sweep budget N≥0 and tolerance τQZ≥0, and run Finite-budget QZ iteration with homogeneous status and residual output on (G,C). Compute G,C exactly in the mathematical procedure; a finite implementation must include their formation errors in the perturbation ledger or return qz-certificate-inconclusive. On qz-computed, require its exact-factor and local-update certificates; if either is unavailable, return qz-certificate-inconclusive. With these certificates, Every finite-budget QZ run returns a status and records unitary transforms and explicit deflations then records equivalence to a perturbed projected pencil. For each diagonal index i, set αi=Sii and βi=Tii. If (αi,βi)=(0,0), return projected-pencil-unresolved; if βi≠0, report the computed harmonic Ritz value λi=σ+αi/βi; if βi=0, mark that candidate infinite-harmonic-value. These are values of the computed perturbed pencil, with the QZ residual and perturbation ledger retained; no exact-root, eigenvector, or forward-error claim is made. After processing all diagonal candidates, return available with the candidate list, its per-candidate marks, and the residual and perturbation ledger. Map a QZ budget-exhausted status to qz-budget-exhausted; map a QZ certificate-inconclusive or range-failure to qz-certificate-inconclusive; map singular-pencil-suspected to projected-pencil-unresolved.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Finite-budget shift-invert and harmonic extraction return a status under finite-return primitives

Statement

Consider a valid shift-invert or harmonic-extraction execution of Shift-invert and harmonic Ritz extraction with solve and pencil status. Assume each invoked solve, projected eigensolve, finite-dimensional arithmetic, QR, and orthogonalization operation returns its value in finite work, except that a solve may return unavailable and a harmonic-branch QZ call may return one of its listed statuses. On the harmonic branch, also assume the finite-budget QZ run satisfies the operationwise arithmetic hypotheses of Every finite-budget QZ run returns a status and records unitary transforms and explicit deflations. Then the execution returns one of the statuses listed by the algorithm after finitely many operations.

Facts & Assumptions

Given: A valid input to one branch of the shift-invert and harmonic extraction procedure, its finite Arnoldi dimension and QZ sweep budget, and the finite-return conditions in the statement.

[F1]

Shift-invert and harmonic Ritz extraction with solve and pencil status: the shift-invert branch uses at most m Arnoldi solves and at most one additional solve per Ritz candidate.

[F2]

Shift-invert and harmonic Ritz extraction with solve and pencil status: the harmonic branch tests the rank of W before its finite QZ call; full column rank makes the projected pencil regular, and the algorithm maps every QZ status and checks finitely many diagonal pairs.

[F3]

Finite-budget QZ iteration with homogeneous status and residual output: QZ takes a finite sweep budget and processes finite-dimensional input using finite index loops.

[F4]

Every finite-budget QZ run returns a status and records unitary transforms and explicit deflations: under the QZ algorithm's stated operationwise arithmetic hypotheses, every finite-budget QZ run returns a declared status.

[A1]

Every solve request returns its requested exact solution, or a computed vector with its actual equation residual, or reports unavailable, in finite work. Every projected eigensolve and other non-QZ finite-dimensional arithmetic, QR, and orthogonalization operation returns its value in finite work; no unspecified non-QZ primitive failure status is assumed.

Proof

1.1givenF1A1algebra

In the shift-invert branch, the Arnoldi loop has exactly m requested solves unless an earlier solve reports unavailable or exact breakdown returns. The Ritz extraction has finitely many candidates (at most m); each candidate invokes at most one additional solve. By [A1], the remaining operations return their values in finite work, while each unavailable solve explicitly returns linear-solve-unavailable. Therefore this branch terminates.

1.2givenF2F3F4A1cases

In the harmonic branch, forming W,G,C and computing the rank of W use finite-dimensional operations by [A1]. If the rank is below k, the algorithm returns projected-pencil-unresolved before QZ. If the rank is k, its statement gives a regular projected pencil and calls QZ with the finite budget N; [F3, F4] then give a QZ status after finitely many operations under the assumed QZ hypotheses.

2.1F2step 1.2cases∎

After a QZ return, the algorithm maps each possible QZ status to one of its own listed statuses. On qz-computed, it inspects only the finitely many diagonal pairs of the finite projected pencil and either returns on an unresolved pair or completes the candidate list. Thus the harmonic branch also terminates, proving the assertion for both branches.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Shift-invert maps eigenvalues exactly and transfers an inexact solve residual to the original eigenpair

Statement

Let A∈Cn×n, σ∈C, and M=A−σI be invertible. Then a nonzero vector u is an eigenvector of A with eigenvalue λ if and only if it is an eigenvector of M−1 with eigenvalue θ=(λ−σ)−1. In particular, λ=σ+1/θ and θ≠0.

For any nonzero candidate u, any θ≠0, and any computed vector y with solve residual s0=My−u, define the transformed residual rT=y−θu and λ=σ+1/θ. Then (A−λI)u=θ−1(s0−MrT), and consequently ∥(A−λI)u∥2≤∥s0∥2+∥MrT∥2∣θ∣.

Facts & Assumptions

Given: M=A−σI invertible, a nonzero vector u, a nonzero scalar θ, and a computed solve vector y with s0=My−u.

[F2]

Shift-invert and harmonic Ritz extraction with solve and pencil status: the inexact candidate solve records s0=My−u and rT=y−θu.

Proof

technique · direct
1.1givenF1algebra

If Au=λu, then Mu=(λ−σ)u. Invertibility of M and u≠0 imply λ≠σ, so applying M−1 gives M−1u=(λ−σ)−1u. Conversely, if M−1u=θu with u≠0, multiplying by M gives Mu=θ−1u; hence Au=(σ+θ−1)u. Thus the eigenvalue map is exact and the inverse Ritz value cannot be zero.

1.2givenF2algebra

From [F2], MrT=My−θMu=u+s0−θMu. Rearranging yields Mu−θ−1u=θ−1(s0−MrT). Since M=A−σI and λ=σ+1/θ, the left side is (A−λI)u, proving the residual identity.

2.1step 1.2algebra∎

Taking Euclidean norms in step 1.2 and applying the triangle inequality gives the stated residual bound, which keeps the solve residual s0 and the transformed residual after multiplication by M as separate terms.

5 · Examples, counterexamples and false statements

None yet.

Sources