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.

Scalar multifrontal Cholesky and solves on the elimination forest

Definition

Input a Hermitian positive-definite matrix A∈Cn×n with n≥1, its Hermitian structural graph from Undirected structural graph of a Hermitian matrix, and an ordering π=(v0,…,vn−1). Let P be the permutation matrix whose row r is row vr of In, and put B=PAP∗. Use the filled graph and parent forest of Structural graphs and ordered symmetric elimination and the column patterns of Elimination-tree column patterns and reach. For each original vertex vr, let its front index set be Fr={vr}∪Nr+, where Nr+ is its later-neighbor set in the filled graph. Assign each nonzero off-diagonal matrix entry Apq and each diagonal entry App once to the front of the endpoint eliminated first (the diagonal goes to its own front); zero off-diagonal entries need no assignment. Treat front arrays as indexed by original-vertex labels, but store the factor in ordered coordinates of B: for vq∈Fr∖{vr}, its factor entry is Lqr, where q>r is the ordering position. Initialize L to zero on ordered diagonal and lower-triangular positions, allocating every position permitted by the filled column pattern, including structural zeros. Use the operation model of Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add for all finite arithmetic, including contribution assembly and solves. A range failure during assembly, factorization or solving returns range-failure with the current position.

Traverse fronts in increasing pivot position r (every child has smaller position than its parent). At front r, initialize a zero dense Hermitian array Φr indexed by Fr and add the entries assigned to vr. Process the children in increasing pivot position s; for each child, add its stored contribution array to the entries whose indices lie in Fs∖{vs}, using the common original-vertex labels. The inclusion needed for this addition is supplied by Every later filled neighbor lies on the elimination-tree parent path. For the pivot vr, let d=(Φr)vrvr. If it is not finite and positive, return invalid-pivot(r,d); otherwise compute lrr=d and, for each later position q with vq∈Fr, compute lqr=(Φr)vqvr/lrr in increasing q. Apply Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add to each operation and return range-failure(r) at the first range error. Store the computed diagonal and all entries Lqr in the preallocated slots. For lower-triangular trailing positions with later positions q≥p>r and vq,vp∈Fr, in increasing (q,p) order, update (Φr)vqvp←fl⁡((Φr)vqvp−lqrlpr‾); set the Hermitian counterpart by conjugation and keep the diagonal real. Send the trailing contribution array to the parent; at a root discard only the empty final remainder. A failed pivot or range operation stops the factorization with its indexed status. These scalar steps have the same exact pivot and Schur update as Ordered sparse Cholesky with explicit pivot and range statuses.

After a successful factorization, input a right-hand side b∈Cn and use these solve instructions:

  1. Set x=Pb.
  2. For j=0,…,n−1, divide xj by ljj, then for every stored lij with i>j in increasing i set xi←xi−lijxj.
  3. For j=n−1,…,0, set xj←(xj−∑i>jlij‾xi)/ljj‾, accumulating the sum from left to right in increasing i, using the backward-substitution convention of Forward and backward substitution for triangular linear systems.
  4. Return z=P∗x.

The factorization returns either (P,L) or a pivot/range status. The solve returns the computed vector z or range-failure with the current position. The solve arithmetic uses the declared finite-precision model; no exact-solution or finite-precision error guarantee is asserted here.

Depends on

Used by

Dependency tree · two levels

14 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