Alphabeta Math
AlgorithmAlgorithm: Literature-sourcedProof: Not applicablePipeline-generatedprecheck pending
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 A∈Rn×n with n≥1, an initial simultaneous row-and-column permutation matrix P under the row-action convention of Permutation matrices, partial pivoting, and the pivot-growth factor, and a threshold θ∈(0,1]. 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 A 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 S(0)=PAPT by permuted copies, the accumulated row permutation Q=In, the unit lower-triangular factor L=In, and the upper-triangular factor U=0. 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 k=0,…,n−1, ties for a maximum are resolved by choosing the smallest current row index.

At stage k, let mk=max⁡i≥k∣Sik(k)∣. If mk=0, return singular-pivot(k). If ∣Skk(k)∣≥θmk, select row p=k; otherwise select the smallest row attaining mk. If p≠k, swap rows p and k of the active matrix and the already stored entries in columns 0,…,k−1 of those rows of L. Also replace Q by EkpQ, where Ekp is the permutation matrix swapping rows k and p. Do not change the previously stored rows of U. If the selected pivot is zero, return singular-pivot(k).

Save the active pivot row by setting Ukj=Skj(k) for every j≥k; entries Ukj with j<k remain zero. Set Lik=Sik(k)/Skk(k) for every i>k, interpreting a missing Sik(k) as zero. For every i,j>k, update Sij(k+1)=Sij(k)−LikUkj. In a sparse representation it suffices to visit positions where Sij(k)≠0 or LikUkj≠0; 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 (Q,P,L,U). In exact arithmetic the updates give QPAPT=LU; 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