Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generated
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.

Reduced QR over the reals solves full-column-rank least squares without squaring the condition number

Statement

Let A∈Mm×n(R) with m≥n≥1 and full column rank. Let

A=Q^R^

be a reduced QR factorisation, with Q^TQ^=In and R^ upper triangular. Then:

  1. The least-squares minimiser of ∥Ax−b∥2 is the unique solution of R^x=Q^Tb.
  2. The spectral condition number of R^ equals that of A, whereas the normal-equation matrix satisfies κ2(ATA)=κ2(A)2. Thus the QR route solves with a factor of condition κ2(A) rather than the squared factor κ2(A)2.

Facts & Assumptions

Given: A full-column-rank matrix A∈Mm×n(R), a reduced QR factorisation A=Q^R^, and a vector b∈Rm.

[L1]

Reduced QR factorisation means Q^TQ^=In and R^ upper triangular (Full, reduced, and column-pivoted computational QR factorisations).

[L4]

For full-column-rank A, the normal equations square the spectral condition number (For full-column-rank A, the normal equations square the spectral condition number).

[L5]
[L6]

Every independent set in a finite-dimensional vector space extends to a basis, without a choice principle (If dim⁡FV=n and U is a linear subspace of V, then U is finite-dimensional, dim⁡FU≤n, and dim⁡FU=n if and only if U=V, claim 3).

[L7]

Gram–Schmidt applied to a finite independent list gives an orthonormal list with the same successive spans, by the displayed projection and normalization recursion (Gram–Schmidt turns every finite independent list into an orthonormal list with the same successive spans).

Proof

technique · orthogonal decomposition of the residual
1.1L1L5L6L7algebraconstruct

Use the given reduced factorisation, with the orthonormal columns of Q^ as in [L1]. They are independent, since Q^c=0 implies c=Q^TQ^c=0. By [L6], extend them to a basis of Rm, listed with these given columns first. Apply the recursion of [L7] to that list. Each of its first n steps subtracts zero projections and divides a unit vector by its norm 1, so these columns remain exactly the given Q^. The resulting orthogonal matrix is Q=[Q^ Q^⊥], with the terminal block empty when m=n. Then ∥Ax−b∥2=∥QT(Ax−b)∥2=∥(R^x−Q^Tb−Q^⊥Tb)∥2, so ∥Ax−b∥22=∥R^x−Q^Tb∥22+∥Q^⊥Tb∥22. The second term is independent of x, so minimising ∥Ax−b∥2 is equivalent to solving R^x=Q^Tb.

2.1step 1.1L1L3algebra

For every v∈Rn, R^v=0 implies Av=Q^R^v=0, and Av=0 implies R^v=Q^TAv=0. Thus ker⁡R^=ker⁡A={0}. If an upper-triangular R^ had a zero diagonal entry, using indices 0,…,n−1, let j be its first such index. Set vj=1 and vi=0 for i>j, and solve the rows i=j−1,…,0 backwards for vi (an empty recursion when j=0), dividing only by the preceding nonzero diagonal entries. Row j and all later rows then also vanish, giving R^v=0 with vj=1, a contradiction. Hence every diagonal entry is nonzero. Backward substitution therefore gives a unique solution of the triangular system of step 1.1. Thus the least-squares minimiser is unique and equals that solution. This agrees with the normal equation of [L3].

3.1step 2.1L4L5algebra

Since Q is orthogonal and A=Q(R^0), [L5] implies that A and R^ have the same positive singular values, hence the same spectral condition number. By [L4], the normal-equation matrix has condition number κ2(A)2. Therefore the QR solve uses a factor with condition κ2(A), not the squared condition of the normal equations.

4.1step 1.1step 2.1step 3.1∎

Steps 1.1-2.1 prove claim 1, and step 3.1 proves claim 2.

Depends on

Used by

Dependency tree · two levels

50 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