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.
Gauss-Newton linearized least-squares step with QR/SVD rank safeguards
Definition
Input a stored residual , a stored Jacobian with (using the convention of The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case), a factorization mode QR or SVD, an arithmetic mode (exact or computed), and a declared singular-value threshold . If , immediately return unsupported-shape without requesting a factorization report; all remaining branches assume . A computed QR report may also carry a verified full-rank certificate asserting for every . The target exact step, when it is returned, is the unique minimizer of and hence solves ; this target is asserted only on a full-column-rank branch. Do not form in either solve path.
The threshold is used only by the SVD route. For QR mode the exact and computed routes are disjoint. Exact mode requires a supplied exact reduced factorization with ; only this exact factorization may reach the exact-step branch. Computed mode either consumes the report produced from this input pair or forms it by setting and, for , applying Scaled Householder reflector formation and application to rows of column and all trailing columns of , including its last right-hand-side column. Embed each returned active block in those rows, leaving earlier rows and columns unchanged, and propagate the first factorization failure. After a successful computed loop, the report consists of the computed upper-triangular block , the first entries of the transformed last column, and the ordered stored reflector records (including identity markers). The exact orthogonal representatives of those records define the used by the conditional backward-stability result; the rounded outputs themselves are not an exact factorization of and cannot be supplied to the exact branch. In exact mode, a zero diagonal in returns rank-deficient; otherwise solve by backward substitution and return exact-step(). In computed mode, a zero diagonal returns rank-deficient-candidate. Otherwise initialize storage for with all components unassigned, then for compute by setting and, for in increasing order, updating ; then compute and . Any first arithmetic or range failure returns linear-solve-failure with its stage and indices. A nonzero computed diagonal without an independently verified full-rank certificate for the input matrix returns rank-unverified with the computed candidate but no full-rank claim. With that certificate, return computed-candidate(). A nonzero computed diagonal alone is not a full-rank certificate. The computed-QR backward-stability conclusion of Computed reduced QR least squares is backward stable for full column rank is attached only when all of that theorem's successful-execution, arithmetic, and nonsingularity hypotheses are supplied; otherwise no backward-stability conclusion is returned.
For SVD mode, the input includes an exact factorization , or a computed report with finite stored factors , whose entries are nonnegative, and , together with certified intervals satisfying for each singular value . In the exact case, if any , return rank-below-threshold and no Gauss-Newton step. If every , return where consists of the corresponding left singular vectors. For a computed report, if any , return rank-below-threshold; otherwise, if any interval satisfies , return rank-unverified; if every lower endpoint exceeds but some stored , return factorization-failure. In the remaining branch, for in increasing order initialize and, for in increasing order, set . After these dots, for set . For each initialize and, for in increasing order, set ; set by exact sign change. Any first arithmetic or range failure returns linear-solve-failure with its stage and indices. Otherwise return the finite candidate with status computed-candidate and make no accuracy claim beyond the supplied report. The displayed formula names the result of the preceding schedule; it is not a second computation. The certified intervals determine only the threshold branch; no computed-SVD accuracy bound is asserted. A computed SVD routine is not defined here; the SVD branch consumes its report.
If the selected factorization reports failure, return factorization-failure; every status other than exact-step is explicitly not a certified exact full-rank Gauss-Newton step.
Facts & Assumptions
Given: The matrix , residual , threshold , chosen factorization report or computed factorization path, and the dimensions and statuses in the Definition.
Full, reduced, and column-pivoted computational QR factorisations: a reduced QR factorization has , , and upper-triangular .
Reduced QR over the reals solves full-column-rank least squares without squaring the condition number: for full-column-rank , the unique least-squares solution is the solution of .
Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition: a finite-dimensional real matrix has orthonormal left and right singular vectors and nonnegative singular values giving its SVD.
The truncated singular-value pseudoinverse obtained by discarding singular values below a declared numerical-rank threshold: a declared threshold retains singular values strictly greater than and discards those at or below .
Scaled Householder reflector formation and application: each reflector call has finite loops and returns either its stated transformed block or a failure status.
Computed reduced QR least squares is backward stable for full column rank: after successful scaled Householder QR, reflector application, and triangular solve under its arithmetic bounds, a backward-stability conclusion is available only if the stated nonsingularity condition on the perturbed triangular factor also holds.
Forward and backward substitution for triangular linear systems: for an upper-triangular matrix with nonzero diagonal, backward substitution solves its triangular system by a finite descending recursion.
Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add: every computed scalar operation either returns its correctly rounded finite result under the stated no-underflow model or its range-failure status; sign changes and exact copies are exact.
Proof
In computed QR mode the loop makes at most calls, stopping at the first failure. Each call either returns its specified block or a failure by [F5]; after a successful loop the diagonal and solve branches have finite checks and a finite recursion by [F7]. Exact QR uses its supplied factorization and the same finite diagonal checks and triangular recursion. The SVD report is an input, and its branch has finitely many comparisons and at most scheduled dot-product updates. Every computed operation returns a rounded value or a failure by [F8], so every input returns one of the listed statuses in finite work.
In the exact full-rank QR branch, [F1] and [F2] show that the returned solution of uniquely minimizes . In the exact SVD branch with all , orthogonality gives and , so the displayed solves the normal system; full column rank makes it unique, and [F3] gives the least-squares minimizer. If a threshold or rank test fails, the algorithm returns a status rather than asserting that minimizer.
The exact-step status is reachable only from a supplied exact factorization in the exact route (QR or SVD); a rounded Householder report reaches only the computed-status branches. There, a nonzero computed diagonal without a verified full-rank certificate is rank-unverified, and the backward-stability conclusion [F6] is attached only under its stated execution, arithmetic, and nonsingularity hypotheses. In the computed SVD route, any interval contained at or below yields rank-below-threshold; only if no such interval exists does an interval straddling yield rank-unverified. The report supports no accuracy claim in either case. Thus no computed branch silently strengthens the exact full-rank result of step 2.1.
Depends on
- Scaled Householder reflector formation and application
- Forward and backward substitution for triangular linear systems
- Full, reduced, and column-pivoted computational QR factorisations
- The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case
- The truncated singular-value pseudoinverse obtained by discarding singular values below a declared numerical-rank threshold
- Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add
- Computed reduced QR least squares is backward stable for full column rank
- Reduced QR over the reals solves full-column-rank least squares without squaring the condition number
- Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition
Used by
- Finite-budget Levenberg-Marquardt with a trust-ratio safeguard Algorithm
- A nonzero-residual stationary point gives only linear Gauss-Newton convergence Example
- An exponential-decay kinetics fit has a full-rank exact solution Example
- Rank-deficient data do not identify both parameters, while LM has a unique damped step Example
- Gauss-Newton contracts linearly under a controlled residual-curvature bound Theorem
- Gauss-Newton converges quadratically at a full-rank zero-residual root Theorem
Dependency tree · two levels
36 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
- Jorge Nocedal and Stephen J. Wright, Numerical Optimization, second edition (standard reference, not scraped)
- David Bindel, CS 4220: Numerical Analysis, Gauss-Newton and nonlinear least squares (standard reference, not scraped)