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

Strong-RRQR interpolative decomposition with explicit statuses

Definition

Input a finite real or complex matrix A∈Fm×n with m≥n≥1, an integer k with 0≤k≤n, a factor f≥1, a finite swap cap S∈N∪{0}, and an arithmetic mode: exact arithmetic or finite precision. Finite-precision inputs and the arithmetic format have the represented-dyadic meaning specified by the called QR algorithm; all exact certificate calculations below use unbounded-size rational arithmetic on those represented values. In that mode supply the called QR procedure's finite real format, rounding rule and optional certificate-pass budget C∈N0 (default 1); forward them unchanged on the interior call. Its exact unitary W is reconstructed from the final sweep's dyadic reflector record, and its score and residual bounds may be symbolic nonnegative square roots of exact rationals. The direct ID check below uses only rational candidate entries and does not require evaluating those square roots. The procedure returns an algorithm status in success, rank-deficient-input, singular-selected-block, swap-budget-exhausted, or range-failure. On a successful branch it returns the selected index list J and coefficient matrix T; finite-precision outputs are candidates until their certification status is checked. For 1≤k<n, it also returns the RRQR diagnostics specified in step 4, including the rank status, selected-block conditioning data, and score data. In finite precision it returns separately the underlying RRQR certificate status and certificate data, and an ID-certificate status for the returned J,T.

  1. If k=0, return success, J=∅, and the unique 0×n matrix T. Then A(:,J)T=0. Set the block, rank, and conditioning diagnostics to not applicable and both certificate statuses to not-required. This branch includes A=0.
  2. If k=n, return success, J=(1,…,n), and T=In. Then A(:,J)T=A. Set the block, rank, and conditioning diagnostics to not applicable and both certificate statuses to not-required.
  3. If 1≤k<n, call Strong rank-revealing QR with finite swaps and explicit statuses on (A,k,f,S) in the requested arithmetic mode. In exact arithmetic, propagate each nonsuccess status without returning J,T. In finite precision, propagate each nonsuccess status, including range-failure, without returning J,T; retain any partial diagnostics supplied by the called procedure. On either mode's nonsuccess branch set both certificate statuses to not-applicable and return no ID-certificate data.
  4. On success, let Π be the returned column permutation. In exact arithmetic retain the full factorization AΠ=QR with unitary Q and partition its upper-trapezoidal factor after its first k rows and columns as R=[R11R120R22]. In finite precision use the returned candidate factors Q^,R^ and the corresponding blocks; the exact unitary transformation representation W remains part of the certificate data in step 5. Let J be the ordered list of original column indices in the first k positions of Π. Set X=R11−1R12 in exact arithmetic, or use the returned candidate X in finite precision, and define T by TΠ=[Ik  X]. Retain for the final output J,T, the full factor (Q or Q^), and the diagnostics (Π,R11,R12,R22,X,(ωi)i,(γj)j,(sij)ij,max⁡i,j∣Xij∣,max⁡i,jsij), where ωi=∥ei∗R11−1∥2, γj=∥R22(:,j)∥2, and sij=(∣Xij∣2+(ωiγj)2)1/2. In finite precision these are candidate values; retain validated enclosures only when supplied by the certificate. Continue to step 5 before returning.
  5. In exact arithmetic, the returned decomposition and diagnostics refer to the exact successful factorization; set both certificate statuses to not-required. In finite precision, retain the called procedure's RRQR certificate status and any completed data (W,(bij),ε), including its dyadic reflector record and exact squared quantities, unchanged and independently of the following direct ID check; fields not computed on an uncertified branch remain absent. If a candidate X or other required output is nonfinite, return range-failure without J,T, with both certificate statuses not-applicable. Otherwise form T by copying the candidate entries and inserting exact zeros and ones, so no new rounding changes X. For the actual returned J,T, compute in exact rational complex arithmetic D=A−A(:,J)T,r2=∑a=1m∑b=1n∣Dab∣2,c2=max⁡a,b∣Tab∣2. Check the dimensions, distinct valid indices in J, the entrywise identity T(:,J)=Ik, and c2≤f2. Set the ID-certificate status to certified exactly when these checks pass, and otherwise to uncertified. Return the exact rational data (D,r2,c2) and the check outcomes in either case. The residual bound is the symbolic nonnegative square root r2, so its reporting requires no floating-point square root or range conversion. A certified ID therefore obeys T(:,J)=Ik,max⁡a,b∣Tab∣≤f,∥A−A(:,J)T∥2≤r2. This direct certificate is independent of the RRQR certificate: it can certify the actual interpolation and this explicit residual bound even when RRQR score certification is unavailable. It does not certify the RRQR singular-value comparison or replace its score and unitary-reconstruction conditions. No iterative certificate search or rounding-based equality test is used. Return success with these outputs and the two separately assigned certificate statuses.

The error theorem below concerns exact-arithmetic success. It gives no finite-precision error bound for a returned candidate; a strong singular-value-relative bound additionally requires verified RRQR score and factorization information. Step 5 supplies its separate direct bound for the actual represented output, without asserting that it equals the exact-arithmetic trailing-block bound.

Depends on

Used by

Dependency tree · two levels

4 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