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.

Reusable Householder QR solve for a shifted matrix with residual status

Definition

Input: a stored real square matrix M∈Rd×d with d≥1; a unit roundoff u>0 with du<1; and a terminating certificate evaluator evaluator. For each requested Euclidean or Frobenius norm of stored data, evaluator returns a finite stored nonnegative upper bound for the exact norm or unavailable. For each requested nonnegative expression formed from such upper bounds, u, and d, it returns a finite stored nonnegative upper bound for the exact expression or unavailable. Every returned bound is sound. All reflector, substitution, dot-product, and residual operations below use Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add; certificate-evaluator calls return certified bounds rather than relying on ordinary rounded evaluation of a bound expression.

Denote the top-level factor-only operation by factor(M,u,evaluator). It returns either a reusable factor object or a factorization failure status.

  1. Set R:=M. For each column j=0,…,d−1, let x be the active part of column j of R and B the active trailing block to its right. Call Scaled Householder reflector formation and application on (x,B). If it returns range-failure, return that status and no factor object. If it returns a marked identity or reflector result, replace the active block by its returned C+, store its marker and (when present) (v,τ^), and continue. For any other return, stop and return factorization-failure with no factor object. The resulting R is upper triangular with its lower entries set to exact zeros by the called procedure; this is the full/reduced computational QR convention of Full, reduced, and column-pivoted computational QR factorisations.
  2. If any diagonal entry Rjj is zero, return singular-factor. Otherwise return a factor object containing the original stored M, R, the ordered stored reflectors, u, and the certificate evaluator. The factor object's operation solve(b,epsilon), whose input is any stored real b∈Rd and finite ϵ≥0, is:
    1. Apply the stored reflector updates in the same order, each using the successful rounded dot, scaling, product, and subtraction operations specified by Scaled Householder reflector formation and application, to obtain c. Return the first range-failure if an operation fails.
    2. Compute x by descending rounded back substitution for Rx=c. For i=d−1,d−2,…,0, initialize s:=0; for j=i+1,i+2,…,d−1 in increasing order, compute p:=fl⁡(Rijxj) and then s:=fl⁡(s+p); next compute t:=fl⁡(ci−s) and xi:=fl⁡(t/Rii). If any product, addition, subtraction, or division fails, return the first range-failure. This is the descending recurrence of Forward and backward substitution for triangular linear systems with its rounded operation order made explicit.
    3. Compute v^i for i=0,…,d−1 as the rounded left-to-right dot product of row i of the original M with x: initialize the accumulator with fl⁡(Mi0x0) and for j=1,…,d−1 compute p:=fl⁡(Mijxj) and then replace the accumulator s by fl⁡(s+p). Set the resulting accumulator to v^i. Then compute each r^i:=fl⁡(v^i−bi). Return the first range-failure if any operation fails.
    4. Request evaluator bounds m‾≥∥M∥F, x‾≥∥x∥2, b‾≥∥b∥2, v‾≥∥v^∥2, and r‾≥∥r^∥2. If any request is unavailable, return (residual-unverified, x, null). Request a certified upper bound W‾ for γdm‾ x‾+u(v‾+b‾), where γd:=du/(1−du). If this request is unavailable, return (residual-unverified, x, null). Request a certified upper bound ρ for r‾+W‾; if unavailable, return (residual-unverified, x, null). By A computed shifted-system residual has a certified upper bound, ρ≥∥Mx−b∥2. Return (success, x, rho) if ρ≤ϵ; otherwise return (residual-not-certified, x, rho).

This is a factor-only operation followed by an independently callable solve operation: the factor object accepts each later stored right-hand side and tolerance without receiving a precomputed list. Each solve performs one triangular solve and one residual check using the same stored factorization. A returned residual bound is an equation-residual certificate, not a forward-error estimate; converting it to forward error requires a separate inverse bound. No rank-revealing guarantee, sparse cost bound, or success guarantee for an ill-conditioned matrix is part of this procedure.

Factorization terminates with singular-factor, range-failure, factorization-failure, or a reusable factor object. Each call to the object's solve operation terminates with success, range-failure, residual-unverified, or residual-not-certified, together with any completed approximate solution and residual bound.

Depends on

Used by

Dependency tree · two levels

19 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