Alphabeta Math
AlgorithmAlgorithm: AI-adaptedProof: AI-adaptedPipeline-generatedprecheck pass
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.

Bounded mixed-precision iterative refinement

Definition

Input nonsingular real A∈Rn×n, n≥1, exact data b∈Rn, and an initial iterate x0 stored at solve/update precision uw. Also input stored triangular factors L^,U^ formed at factorization precision uf, where L^ is lower triangular, U^ is upper triangular, both have nonzero diagonals, and A^:=L^U^ is the exact real product; thus A^ is nonsingular. Input residual precision ur, solve/update precision uw, finite update budget N≥0, tolerance τ≥0, a stagnation window Kstag≥1, nonnegative constants ηr,ξr,ηw,ξw, and a proposed contraction upper bound 0≤qcert<1. Let x∗=A−1b. Use the operationwise model of Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add at each stated precision. Entries of the exact data A,b are available as real operands to the residual operations; the stored factors, iterates, residuals, and corrections are used as their exact represented values in those operations.

Certificates have the following fixed format: one real matrix B∈Rn×n before iteration, nonnegative real scalars ρk for 0≤k≤N, and nonnegative real scalars ωk for 0≤k<N. Each entry may instead be marked missing. All certificate checks use exact real addition, subtraction, multiplication, division by a positive number, nonnegative square roots, and comparisons; they are not rounded operations at ur or uw. Evaluate finite sums and products in increasing index order. In particular, evaluate ∥v∥2=∑ivi2 and ∥M∥F=∑i,jMij2 by these exact operations. This is an ideal exact-real certificate verifier, not a claim that arbitrary real inputs admit a finite-bit implementation.

Before iterating, check triangularity and nonzero diagonals of the factors; on failure return inconclusive with x0. A missing or incorrectly shaped B returns inconclusive with x0. Form A^=L^U^ exactly and check BA^=I entrywise. If this fails, return inconclusive with x0. Set a+=∥A∥F,a−=a+/n,h=∥B∥F,d=∥I−BA∥F. Accept the initial certificate precisely when d+h((1+ηw)ηr+ηw)a+≤qcert<1; otherwise return inconclusive with x0. Here B=A^−1, and the inequalities a−≤∥A∥2≤a+ and ∥M∥2≤∥M∥F from Spectral and Frobenius norms are unitarily invariant, are given by singular values, and satisfy the sharp rank comparison make this a sufficient certificate for q=∥I−A^−1A∥2+∥A^−1∥2((1+ηw)ηr+ηw)∥A∥2≤qcert. These conservative tests may reject data for which sharper norm certificates exist.

Before entering the iteration loop, initialize the consecutive-equality counter cstag=0 and mark the preceding residual as undefined. Retain this counter and preceding residual across iterations; do not reinitialize them inside the loop. The counter records the number of consecutive equalities between adjacent successfully certified computed residual vectors.

For each k=0,…,N, compute the residual by rows in increasing i: initialize si=0, then for j=1,…,n in increasing order compute pij=fl⁡ur(Aijxk,j) and si=fl⁡ur(si+pij); finally set r^k,i=fl⁡ur(bi−si). Any operationwise range failure returns inconclusive with the current iterate and the first failing row, column, and operation. Define the exact residual defect δr,k=r^k−(b−Axk), so r^k=A(x∗−xk)+δr,k. Check that ρk is present and nonnegative and that ∑iδr,k,i2≤ρk2,ρk≤ηr(a−∥xk∥2+∥b∥2)+ξr. A missing scalar or failed comparison returns inconclusive with the current iterate. These exact tests imply ∥δr,k∥2≤ηr(∥A∥2∥xk∥2+∥b∥2)+ξr. Use the retained consecutive-equality counter and preceding residual. Use the exact Euclidean norm of the stored residual vector for the status comparison; this is a comparison of the already computed vector, not an additional rounded arithmetic operation. If ∥r^k∥2≤τ, return residual-tolerance with xk. If a preceding residual exists, compare its components exactly with those of r^k: if all are equal, increment cstag by one; otherwise reset it to zero. If cstag=Kstag, return successful-stagnation with xk. This status certifies only that the last Kstag successful updates produced identical computed residual vectors, with all range and contraction certificates accepted; it certifies neither a small exact error nor convergence. Before any further update, store r^k as the preceding residual.

If k=N and neither status above was returned, return budget-exhausted with xk. Otherwise solve L^yk=r^k by forward substitution, then U^z^k=yk by backward substitution, using precision uw. For forward substitution, visit rows i=1,…,n in increasing order, initialize si=0, and for j=1,…,i−1 in increasing order compute pij=fl⁡uw(L^ijyk,j) and si=fl⁡uw(si+pij), then ti=fl⁡uw(r^k,i−si) and yk,i=fl⁡uw(ti/L^ii). For backward substitution, visit rows i=n,…,1 in decreasing order, initialize si=0, and for j=i+1,…,n in increasing order compute pij=fl⁡uw(U^ijz^k,j) and si=fl⁡uw(si+pij), then ti=fl⁡uw(yk,i−si) and z^k,i=fl⁡uw(ti/U^ii). Update components in increasing order by xk+1,i=fl⁡uw(xk,i+z^k,i). A failed operation returns inconclusive with the current iterate and first failing operation location.

After a successful update, define the exact residual-equivalent update defect δw,k:=A^(xk+1−xk)−r^k, so xk+1=xk+A^−1(r^k+δw,k). Check that ωk is present and nonnegative and that ∑iδw,k,i2≤ωk2 and ωk≤ηw∥r^k∥2+ξw; otherwise return inconclusive with xk+1. These tests imply ∥δw,k∥2≤ηw∥r^k∥2+ξw. Continue until one of the stated statuses is returned. All loops are finite. The procedure does not claim exact termination or unconditional convergence.

Facts & Assumptions

Given: a finite input of the stated type and the operationwise arithmetic model.

[F1]

Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add: each successful elementary operation returns a finite value, and an invalid or out-of-range operation returns a failure status.

Proof

1.1givenalgebra

The certificate checks use finite matrix products and sums, square roots of nonnegative sums of squares, and division by n>0. They compare exact real expressions and return inconclusive on a missing certificate or failed test. The residual, substitution and update loops have the stated finite bounds.

2.1step 1.1F1algebra∎

At each operation the model [F1] either returns a finite next value or the defined failure status, and every loop has its stated finite bound. Thus execution terminates with the specified output or first failure.

Depends on

Used by

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