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.

Newton correction for a square vector residual

Definition

Let n≥1, let A:Rn→Rn be a linear map, and let r∈Rn be a residual vector. If A is not invertible in the sense of Invertible Euclidean linear maps, return (singular-jacobian,∅). If A is invertible, return (correction,s), where s is the unique vector solving As=−r.

Use the following exact-arithmetic procedure, with exact real zero tests. Represent A by its matrix in the standard basis, with indices 0≤i,j<n.

  1. To compute the determinant of any matrix M=(mij) below, initialize d=0. Enumerate the permutations σ of {0,…,n−1} in lexicographic order. For each, count its inversions ν(σ)=#{(i,j):i<j, σ(i)>σ(j)}, multiply p=∏i=0n−1mσ(i),i in increasing index order, and add (−1)ν(σ)p to d. The resulting d is the determinant in For n≥1, the determinant over a commutative ring by the Leibniz formula, and ∣det⁡A∣ for a real matrix.
  2. Compute d=det⁡(A) by step 1. If d=0, return (singular-jacobian,∅), using A finite square real matrix is invertible if and only if its determinant is nonzero for the invertibility test.
  3. Otherwise, for j=0,…,n−1, copy A to Aj, replace column j by −r, compute dj=det⁡(Aj) by step 1, and set sj=dj/d. Return (correction,s), the solution specified by Cramer's rule over a commutative ring: every solution satisfies det⁡(A)xj=det⁡(Aj(b)), and a unit determinant gives the unique quotient formula over R.

The output is a linear correction, not a claim that r came from a nonlinear function or that applying the correction decreases a residual.

Depends on

Used by

Dependency tree · two levels

26 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