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.
Threshold partial-pivot sparse LU with explicit fill and failure statuses
Definition
Input a nonsingular real matrix with , an initial simultaneous row-and-column permutation matrix under the row-action convention of Permutation matrices, partial pivoting, and the pivot-growth factor, and a threshold . Choose the exact-arithmetic branch or the finite-precision branch. In the latter, additionally supply a format from Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add; the entries of must already be stored values in that format, with no input conversion. The exact-arithmetic branch permits arbitrary real entries and evaluates every scalar operation exactly, without finite-format range restrictions. Initialize the active matrix by permuted copies, the accumulated row permutation , the unit lower-triangular factor , and the upper-triangular factor . Treat an unstored active entry as zero. In finite precision every real scalar operation uses the supplied model; if an exact intermediate is nonzero and subnormal, overflows, or the operation reports range failure, return range-failure with its stage. Pivot tests and tie-breaking comparisons are exact guards on current values. For , ties for a maximum are resolved by choosing the smallest current row index.
At stage , let . If , return singular-pivot. If , select row ; otherwise select the smallest row attaining . If , swap rows and of the active matrix and the already stored entries in columns of those rows of . Also replace by , where is the permutation matrix swapping rows and . Do not change the previously stored rows of . If the selected pivot is zero, return singular-pivot.
Save the active pivot row by setting for every ; entries with remain zero. Set for every , interpreting a missing as zero. For every , update In a sparse representation it suffices to visit positions where or ; missing entries in this formula are zero. Allocate any position whose rounded update is nonzero; this is numerical fill. If an arithmetic operation is not representable or reports a range error, return range-failure with its stage. Any failure return is a status only and asserts no factorization. On success return . In exact arithmetic the updates give ; the procedure makes no claim of a universal fill or growth bound.
Depends on
Used by
Dependency tree · two levels
5 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
- Jennifer Scott and Miroslav Tůma, Algorithms for Sparse Linear Systems, Chapter 6, §6.1 and Chapter 7, §7.3.1 (standard reference, not scraped)
- Jennifer Scott and Miroslav Tůma, Algorithms for Sparse Linear Systems, Chapter 7, §7.3.1 (standard reference, not scraped)