Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedprecheck passaudited 2026-08-30
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.

Forward and backward substitution are correct, unique, and quadratic in scalar operations

Statement

Let F be a field, let n1, and let bFn.

  1. If LMn(F) is lower triangular with nonzero diagonal, the forward substitution recursion of Forward and backward substitution for triangular linear systems produces the unique solution of Lx=b.
  2. If UMn(F) is upper triangular with nonzero diagonal, the backward substitution recursion produces the unique solution of Ux=b.

Each solve uses exactly n divisions, n(n1)2 multiplications, and n(n1)2 additions or subtractions, hence O(n2) scalar operations.

Facts & Assumptions

Given: A field F, a natural number n1, a vector bFn, and a triangular matrix TMn(F) with nonzero diagonal; when T=L it is lower triangular, and when T=U it is upper triangular.

[L1]

Forward substitution defines xi from the earlier coordinates by xi=ii1(bij<iijxj),and backward substitution defines xi from the later coordinates byxi=uii1(bij>iuijxj) (Forward and backward substitution for triangular linear systems).

Proof

Proof technique: induction on the row index, then reverse induction for the upper-triangular case.

1.1

Forward substitution. For i=0, [L1] gives x0=b0/00, so the first row equation is satisfied. Assume the first i rows are satisfied. Then the (i+1)-st row of a lower-triangular system is ji+1i+1,jxj=bi+1, and solving for xi+1 gives exactly the recursion in [L1]. Because i+1,i+10, this value is forced and is unique. Induction proves that the forward recursion solves Lx=b and that no other vector can differ in any coordinate.

L1induction
1.2

Backward substitution is the same argument from the last row upward: the last row determines xn1=bn1/un1,n1, and once xi+1,,xn1 are fixed, the i-th row forces xi=uii1(bij>iuijxj). Hence the backward recursion solves Ux=b and the solution is unique.

L1induction
2.1

In either triangular case, the i-th step forms one sum with i products and i additions in the lower-triangular solve, or with n1i products and n1i additions in the upper-triangular solve, followed by one division. Summing over all rows gives n divisions and i=0n1i=i=0n1(n1i)=n(n1)/2 multiplications and the same number of additions.

step 1.1step 1.2algebra
3.1

Step 1.1 proves claim 1, step 1.2 proves claim 2, and step 2.1 gives the operation counts.

step 1.1step 1.2step 2.1discharge-induction

Depends on

Used by

Dependency tree · two levels

3 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