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 , , exact data , and an initial iterate stored at solve/update precision . Also input stored triangular factors formed at factorization precision , where is lower triangular, is upper triangular, both have nonzero diagonals, and is the exact real product; thus is nonsingular. Input residual precision , solve/update precision , finite update budget , tolerance , a stagnation window , nonnegative constants , and a proposed contraction upper bound . Let . 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 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 before iteration, nonnegative real scalars for , and nonnegative real scalars for . 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 or . Evaluate finite sums and products in increasing index order. In particular, evaluate and 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 . A missing or incorrectly shaped returns inconclusive with . Form exactly and check entrywise. If this fails, return inconclusive with . Set
Accept the initial certificate precisely when
otherwise return inconclusive with . Here , and the inequalities and 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
These conservative tests may reject data for which sharper norm certificates exist.
Before entering the iteration loop, initialize the consecutive-equality counter 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 , compute the residual by rows in increasing : initialize , then for in increasing order compute and ; finally set . Any operationwise range failure returns inconclusive with the current iterate and the first failing row, column, and operation. Define the exact residual defect , so . Check that is present and nonnegative and that
A missing scalar or failed comparison returns inconclusive with the current iterate. These exact tests imply .
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 , return residual-tolerance with . If a preceding residual exists, compare its components exactly with those of : if all are equal, increment by one; otherwise reset it to zero. If , return successful-stagnation with . This status certifies only that the last 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 as the preceding residual.
If and neither status above was returned, return budget-exhausted with . Otherwise solve by forward substitution, then by backward substitution, using precision . For forward substitution, visit rows in increasing order, initialize , and for in increasing order compute and , then and . For backward substitution, visit rows in decreasing order, initialize , and for in increasing order compute and , then and . Update components in increasing order by . 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
so . Check that is present and nonnegative and that and ; otherwise return inconclusive with . These tests imply . 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.
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
The certificate checks use finite matrix products and sums, square roots of nonnegative sums of squares, and division by . 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.
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
- Fundamentals of Numerical Computation, floating-point arithmetic (standard reference, not scraped)
- Stuart and Voss, Matrix Analysis and Algorithms, Warwick lecture notes (standard reference, not scraped)
- Higham and Mary, Mixed Precision Algorithms in Numerical Linear Algebra (standard reference, not scraped)