Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: Not applicablePipeline-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.

Finite-budget QZ iteration with homogeneous status and residual output

Definition

Input a regular pencil (A,B) with A,B∈Cn×n, n≥1, a nonnegative integer sweep budget N, and a finite stored real tolerance τ≥0. Real input data are embedded in C. Scalar updates of the stored matrices use the operationwise model of Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add. Use zero-based matrix indices throughout. Each active block [a:b] includes both endpoints; its relative coordinate 0 is global index a. Use the canonical stored Givens generator and application order of Scaled real and complex Householder and Givens update arithmetic, with the common-pair orientations and explicit coefficients v,h,η of Common computed Givens actions certify both pencil matrices and factor residuals. Generate each rotation ONCE and apply its same stored coefficients to BOTH matrices. Retain the exact normalized unitary representatives as product records, never as purported stored dense unitary matrices. Left rotations annihilate a column's second entry; right rotations annihilating a row's first entry use the coordinate reversal/adjoint construction of that lemma. After each genuine matrix target application write only its intended target to exact zero and include that write in the local coefficient η. An external-vector application has coefficient v and no matrix-target overwrite. Local roundoff certification requires 0<u<1; otherwise retain diagnostics with certificate-inconclusive. Record each elementary rotation separately. If the source cannot produce its admissible factor, return range-failure or certificate-inconclusive with diagnostics.

  1. Execute the finite index loops of Givens reduction of a matrix pair to Hessenberg-triangular form with these COMPUTED common rotations: triangularize B with left targets Bi,j; then reduce A with left targets Ai,j followed by right targets Bi,i−1. Every application updates both whole arrays. The exact initializer and Givens reduction terminates with a unitary-equivalent Hessenberg-triangular pair supply the index schedule and support induction, not exact rounded reconstruction. Retain each local factor and residual defined against its exact representative. Include structural target writes in that local arithmetic residual. Record all OTHER explicit zero writes separately: their post-action perturbations are pulled back by the local factor adjoints before entering the pre-action DjA,DjB ledger. A pure tolerance write is an identity-factor stage. Never count a structural write twice.

Initialize the sweep counter to zero. Process active blocks in increasing first index, splitting them at exact zero subdiagonals of H. In each deflation pass execute step 2, then repeat step 3 for the smallest available non-isolated zero diagonal of T until none remains or a status exits. Then run step 5; if it returns a status, stop. Otherwise, if the sweep counter equals N, return budget-exhausted. If not, increment the counter, execute step 4 on all remaining active blocks, and repeat the deflation pass. In particular N=0 permits initialization/deflation but no step-4 sweep.

  1. On each active block Ha:b,a:b,Ta:b,a:b, apply the following deflation tests before a sweep. For i=a,…,b−1, set Hi+1,i to zero when ∣Hi+1,i∣≤τ(∣Hi,i∣+∣Hi+1,i+1∣), and record the negative of its old value at that position in DA, with all other entries zero. For k=a,…,b, set Tk,k to zero when ∣Tk,k∣≤τ(∣Tk−1,k∣+∣Tk,k+1∣), using zero for a missing boundary term outside the active block, and record the negative of the old value at that position in DB, with all other entries zero. Treat each write as a separate identity-factor stage, so the new matrix is the old matrix plus its recorded perturbation. Evaluate each displayed modulus by the canonical rounded scaled two-component norm; evaluate its additions and tolerance product with the declared rounded real operations, then compare the stored finite values exactly. Excluded operations return range-failure. The tests mean these rounded comparisons, not an assertion about exact moduli at the threshold. Save the actual old entries, so their deflation perturbations remain exact regardless of the test. A one-by-one diagonal pair at k is isolated when Hk,k−1=0 and Hk+1,k=0, omitting a boundary entry when k=a or k=b. If it has Tk,k=0 and Hk,k≠0, report an infinite candidate for the computed pencil and deflate it from the active block. If the isolated diagonal pair is (0,0), return singular-pencil-suspected without assigning an eigenvalue.

  2. To move a non-isolated zero Tk,k to the top of its active block, for j=k−1,k−2,…,a generate a right factor from the row pair (Tj,j,Tj,j+1) and apply it to columns j,j+1, setting Tj,j to zero. Then, when j+2≤b, generate a left factor from (Hj+1,j,Hj+2,j) and apply it to rows j+1,j+2, setting the resulting bulge Hj+2,j to zero. Finally, when a<b, generate a left factor from (Ha,a,Ha+1,a) and apply it to rows a,a+1, setting Ha+1,a to zero. Record all rounded update residuals and target writes. If this isolates (Ha,a,Ta,a)=(h,0) with h≠0, report the infinite candidate and remove the first row/column from the active block. If the isolated pair is (0,0), return singular-pencil-suspected; if isolation fails, return certificate-inconclusive. Each successful isolation removes one index, so at most n such removals occur.

  3. For each remaining active block with more than one row in the current sweep, choose the homogeneous shift [α:β]=[Hb,b:Tb,b] if this pair is nonzero and Tb,b≠0; if Tb,b=0, use [0:1]. Write H^=Ha:b,a:b and T^=Ta:b,a:b, with relative indices 0,…,b−a, and form x=(βH^−αT^)e0. Compute x0,x1 using the declared rounded complex products/subtractions and generate a left factor from (x0,x1). Apply it to relative rows 0,1 of both matrices without a matrix-target overwrite. Its rounding changes the selected factor, not its application certificate. Generate a right factor from the row pair (T^1,0,T^1,1) and apply it to relative columns 0,1, setting T^1,0 to zero. For relative j=1,…,b−a−1, generate a left factor from (H^j,j−1,H^j+1,j−1) and apply it to rows j,j+1, setting the current Hessenberg bulge H^j+1,j−1 to zero; then generate a right factor from (T^j+1,j,T^j+1,j+1) and apply it to columns j,j+1, setting T^j+1,j to zero. Update and retain the products Q,Z; record every local residual including its structural target write. Apply the embedded transformations to the entire pair, retaining the transformed off-block data. All divisions by a generalized eigenvalue ratio are avoided.

  4. After each infinite isolation and before every successful return, scan all isolated diagonal pairs. Any (0,0) pair returns singular-pencil-suspected without an eigenvalue. Stop with qz-computed only when H is upper triangular and every diagonal pair is nonzero. Otherwise stop after N sweeps with budget-exhausted. Range failures return range-failure with partial factors; unavailable local certificates return certificate-inconclusive. Neither a rounded diagnostic nor a tolerance-induced infinite candidate asserts an exact infinite eigenvalue of the original pencil.

For local-accumulation bounds use ℓj=η for matrix-target actions and ℓj=v for external-vector/raw actions, plus the separately saved actual tolerance perturbations. For an independent residual certificate execute the factor-action/column procedure of Common computed Givens actions certify both pencil matrices and factor residuals: use stored raw kernels without zero overwrites, propagate their v allowances, use Rounded matrix products give certified linear and normal-equation residual allowances only on STORED matvec inputs, and include the final subtraction allowance. Exact normalized factor entries are not silently treated as stored inputs. Evaluate each certificate using the finite exact real-controller expression trees/loops in the local lemma and component absolute sums as norm upper bounds. Controller operations are separate from rounded update arithmetic; for rational/binary stored data and rational u this is exact rational computation. No opaque certification oracle is used. Failure of this residual route's dimension/range hypotheses makes that route inconclusive and does not invalidate a valid independent local-accumulation bound. Always retain available diagnostics.

The output is (Q,S,T,Z,status), where S is the current H and T is the current second matrix, the exact factor products when available, the raw residuals RA=Q∗AZ−S and RB=Q∗BZ−T, and the recorded local arithmetic and deflation perturbations. The procedure asserts no unconditional convergence or small-roundoff bound.

Depends on

Used by

Dependency tree · two levels

20 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