Komorebi SpaceReading edition

Coordinates, noise, and a justified stopping rule

Reading tools
Reading libraryFind statementsInspect Lean
Switch work

Saved reading

Read side by side

Start reading

Resources & source

Read and explore

Proofs and implementation

About this work

Other resources

Original TeX with line links · Download TeX

The wording and mathematics follow the retained manuscript. This reading format does not add a proof review or extend Lean coverage.

Skip contents and start reading

32 Coordinates, noise, and a justified stopping rule

A certificate can be exact and still be interpreted incorrectly. Two common errors are to measure a coordinate covector with the wrong norm, or to keep a solver tolerance fixed while sending the regularization parameter to zero. Both change what a small reported number means.

32.1 The residual of the coordinate equation is a covector

In finite dimensions, use orthonormal coordinates in the ambient candidate and residual spaces. Let the columns of \(B\) form an arbitrary basis of \(H=\ker p\), not necessarily an orthonormal one. Write \(a=Bc\), \(S=dB\), and \(G=B^{\mathsf T}B\). As before, \(G\) is positive definite. For an inexact coefficient vector \(c\), the residual of the coordinate normal equation is

\[ q=(S^{\mathsf T}S+\alpha G)c-S^{\mathsf T}r. \]

The vector \(q\) stores pairings against basis vectors. It is not the coordinate vector of the Hilbert normal residual unless the basis is orthonormal.

Proposition 32.1: The invariant norm of a coordinate certificate

The actual normal residual is

\[ g=BG^{-1}q,\qquad {\left\lVert g\right\rVert}^2=q^{\mathsf T}G^{-1}q. \]
(32.1)

For any invertible change of basis \(B'=BC\), the same proposed correction has

\[ c'=C^{-1}c,\quad G'=C^{\mathsf T}GC,\quad q'=C^{\mathsf T}q, \]

and

\[ (q')^{\mathsf T}(G')^{-1}q'=q^{\mathsf T}G^{-1}q. \]

Proof

Because \(B\) has independent columns, for every nonzero coefficient vector \(c\),

\[ c^{\mathsf T}Gc=c^{\mathsf T}B^{\mathsf T}Bc={\left\lVert Bc\right\rVert}^2>0. \]

Thus \(G\) is positive definite and invertible. The matrix \(P=BG^{-1}B^{\mathsf T}\) is symmetric and obeys

\[ P^2=BG^{-1}(B^{\mathsf T}B)G^{-1}B^{\mathsf T}=P, \qquad PB=B. \]

Its range is precisely the column space \(H\), so it is the orthogonal projection onto the entire permitted correction space.

The restricted Hilbert normal residual is

\[ g=P d^{\mathsf T}(dBc-r)+\alpha Bc. \]

Substitute \(S=dB\), \(G=B^{\mathsf T}B\) and the expression for \(P\):

\[ g=BG^{-1}\bigl(S^{\mathsf T}(Sc-r)+\alpha Gc\bigr)=BG^{-1}q. \]

Equivalently \(q=B^{\mathsf T}g\) records the pairings of \(g\) with the basis columns. Its squared Hilbert norm is

\[ g^{\mathsf T}g =q^{\mathsf T}G^{-1}B^{\mathsf T}BG^{-1}q =q^{\mathsf T}G^{-1}q, \]

using symmetry of \(G^{-1}\). This proves both coordinate formulas.

For the basis change \(B'=BC\), the same ambient vector is represented by \(c'=C^{-1}c\). Also \(S'=SC\) and \(G'=C^{\mathsf T}GC\). Substitute these formulas into the new coordinate normal equation:

\[ \begin{aligned} q'&=((S')^{\mathsf T}S'+\alpha G')c'-(S')^{\mathsf T}r\\ &=C^{\mathsf T}(S^{\mathsf T}S+\alpha G)CC^{-1}c -C^{\mathsf T}S^{\mathsf T}r=C^{\mathsf T}q. \end{aligned} \]

The inverse metric is \((G')^{-1}=C^{-1}G^{-1}(C^{\mathsf T})^{-1}\). Hence

\[ (q')^{\mathsf T}(G')^{-1}q' =q^{\mathsf T}C C^{-1}G^{-1}(C^{\mathsf T})^{-1}C^{\mathsf T}q =q^{\mathsf T}G^{-1}q. \]

For a zero-dimensional kernel these are empty matrices and zero vectors, and the resulting scalar norm is zero. The spanning assumption is indispensable: a basis of a proper subspace would compute a projection to a different correction problem.

In the previous example, \(B=(1,1)^{\mathsf T}\), \(G=2\), and the proposal \(c=1/4\) gives \(q=-1/4\). Thus \(q^{\mathsf T}G^{-1}q=1/32\), as required. Replacing \(B\) by \(sB\) changes \(q\) to \(sq\) and \(G\) to \(s^2G\). The Euclidean norm of the coordinate covector can be made arbitrarily small or large by changing the nonzero scalar \(s\). The actual correction, normal residual, and certified error do not change.

Rescaling the basis of the same protected line rescales the raw coordinate covector. Its Euclidean norm is therefore not a representation-invariant stopping criterion. The Gram-corrected norm stays equal to 1/ sqrt 32 for every displayed scale. All systems represent the same proposed correction.
Figure 35. Rescaling the basis of the same protected line rescales the raw coordinate covector. Its Euclidean norm is therefore not a representation-invariant stopping criterion. The Gram-corrected norm stays equal to \(1/\sqrt{32}\) for every displayed scale. All systems represent the same proposed correction.

View full-size figure (new tab)

The finite verifier checks that a supplied basis spans the whole protected kernel. A basis of a smaller subspace might give a correct certificate for that smaller optimization problem while missing an allowed direction that decreases the objective. The rank, kernel-membership, and independence checks therefore belong to the certificate contract.

32.2 Separate data error, numerical error, and regularization bias

Let \(r\) be the intended datum and \(\widetilde r\) the measured datum. Suppose

\[ {\left\lVert\widetilde r-r\right\rVert}\le\delta, \qquad {\left\lVert T^*(Ta-\widetilde r)+\alpha a\right\rVert}\le\varepsilon. \]

The maps \(T,p\) and their Hilbert metrics remain fixed. By Theorem 31.1 and the fixed-parameter part of Theorem 29.4,

\[ {\left\lVert a-a_\alpha(r)\right\rVert} \le \frac{\varepsilon}{\alpha}+\frac{\delta}{2\sqrt\alpha}. \]
(32.2)

The first term is the solver's contribution. The second is the worst-case propagation of data error. They should not be collapsed into one unqualified residual tolerance.

Theorem 32.2: A consistent inexact stopping rule

Assume the projected intended datum belongs to the actual range of \(T\), with minimum-norm preimage \(a^\dagger\). Along a sequence of positive parameters and measured problems, suppose

\[ \alpha_n\to0,\qquad \frac{\delta_n}{\sqrt{\alpha_n}}\to0,\qquad \frac{\varepsilon_n}{\alpha_n}\to0. \]

If the proposed corrections \(a_n\in H\) satisfy the displayed data and normal-residual bounds, then \(a_n\to a^\dagger\) in norm. At every index,

\[ {\left\lVert a_n-a^\dagger\right\rVert} \le\frac{\varepsilon_n}{\alpha_n} +\frac{\delta_n}{2\sqrt{\alpha_n}} +{\left\lVert a_{\alpha_n}(r)-a^\dagger\right\rVert}. \]

Proof

At index \(n\), distinguish two exact minimizers: let \(\widetilde a_n=a_{\alpha_n}(\widetilde r_n)\) solve the measured problem and let \(a_n^0=a_{\alpha_n}(r)\) solve the intended-data problem. All three corrections, including the proposal \(a_n\), belong to the same space \(H\).

The supplied normal-residual bound is for the measured datum. Therefore Theorem 31.1 applies first to that problem and gives

\[ {\left\lVert a_n-\widetilde a_n\right\rVert}\le\frac{\varepsilon_n}{\alpha_n}. \]

The pointwise data estimate in Theorem 29.4, at the same parameter, then gives

\[ {\left\lVert\widetilde a_n-a_n^0\right\rVert}\le\frac{\delta_n}{2\sqrt{\alpha_n}}. \]

Insert these two intermediate vectors between \(a_n\) and \(a^\dagger\) in the triangle inequality to obtain the displayed three-term estimate.

The first term tends to zero by the solver-tolerance hypothesis and the second by the data/parameter hypothesis. Since the projected intended datum is attained and \(\alpha_n\to0\), the last term tends to zero by Theorem 29.3. For a direct epsilon argument, make each term smaller than one third of a prescribed tolerance beyond its own threshold and take the maximum of the three thresholds. This gives norm convergence of the proposals.

Protection is not merely asymptotic: \(a_n\in\ker p\) implies \(p(f-a_n)=pf\) at every index. The proof compares no changing operators or changing kernels. Both the pointwise certificate and the convergence conclusion have formal counterparts under these hypotheses.

The accompanying Lean formalization includes the pointwise estimate (32.2), the regularization limit, and the resulting convergence theorem. Their statements retain the same fixed operator, Hilbert geometry, and attainment requirements.

32.3 Retaining the explicit diagonal rate with an inexact solver

For the attainable datum of Corollary 30.3 and \(0<\delta\le1\), take \(m=\lceil\delta^{-2/3}\rceil\) and \(\alpha=m^{-2}\) as before. If an inexact solver satisfies

\[ \varepsilon\le\kappa\alpha\delta^{1/3} \quad(\kappa\ge0), \]

then the same argument gives

\[ {\left\lVert a-a^\dagger\right\rVert}\le(\sqrt2+1+\kappa)\delta^{1/3}. \]

Thus the inner solve can retain the proven outer accuracy if its normal residual decreases on the scale \(\alpha\delta^{1/3}\). Since \(\alpha\) is on the scale \(\delta^{4/3}\), the corresponding normal-residual scale is \(\delta^{5/3}\), with the stated ceiling factors retained in the exact rule. This is a sufficient rule for this problem, not a universal optimal stopping law.

The declaration DiagonalRegularization.diagonal_inexact_rounded_rate formalizes this specialization for the actual infinite diagonal operator. Its hypotheses bound both the data error and the normal residual evaluated against the measured datum. It retains the literal ceiling in \(m\) and derives the exact-data bias estimate within the model.

For the attainable diagonal example, the three displayed terms are the proved bias bound, propagated data-noise bound, and a solver-error budget chosen to preserve the same δ 1/3 rate. The ceiling in m= lceil δ -2/3 rceil is evaluated explicitly. The plot shows bounds, not measurements from a trained system.
Figure 36. For the attainable diagonal example, the three displayed terms are the proved bias bound, propagated data-noise bound, and a solver-error budget chosen to preserve the same \(\delta^{1/3}\) rate. The ceiling in \(m=\lceil\delta^{-2/3}\rceil\) is evaluated explicitly. The plot shows bounds, not measurements from a trained system.

View full-size figure (new tab)

For the escaping datum, the same rule does not create convergence to a nonexistent protected Hilbert answer. It only makes the numerical proposals track the regularized path accurately. Tracking an escaping path and converging to a realization are different conclusions.

32.4 The executable verification contract

The program takes \(d,p,f,\alpha\) and a proposed ambient correction, with optional measured residuals, a full kernel basis, and an independent dual witness. It rejects a correction that changes the protected data and checks the basis's dimensions, rank, and kernel membership. It does not silently project a rejected proposal into another problem.

The output records \(f-a\), protection before and after, measured fit, actual model residual, the Gram-corrected normal certificate, objective values, and squared error bounds. Verification recomputes the record without calling an optimizer. Independent determinant-based tests compare the bounds with actual errors in small ambient constrained systems. A certificate establishes consistency with its included problem, not authentication that this is the externally intended task.

How to read the result

A certificate needs a declared target. Fit measures agreement with data. The normal residual bounds optimizer error at a specified parameter. The duality gap bounds objective error. A realization theorem is still needed to conclude convergence to an intended exact object.

Source and conversion record

Source SHA-256: c24603387f4ec8fb297cd294bd9a919af2ce8bf920719ba3189b5a47c7640009

Unsupported prose commands stop the build. The mathematical expression sequence is checked against the source, with manuscript macros expanded for display.

Conversion records

Notation in Komorebi Space

Look up a symbol without leaving this chapter. Select text before opening help to search for it.

Search this work’s notation.

    Symbols can have different meanings in different passages. Read each result in its own context.

    Open the full notation index