An a priori backward model for finite-precision conjugate gradients
Library · Source module
An a priori backward model for finite-precision conjugate gradients
For a conjugate gradient run C : NLAlib.CGRun n k on a matrix with spectrum in [a, a'], a > 0, \kappa = a'/a, under the smallness hypothesis \text{(H)}\qquad k^2\sqrt{k}\,\varepsilon\,\kappa^2 \le 10^{-5}, the run certificates are bounded a priori (\|\mathbf{p}_j\|^2 \le 3.3\kappa\|\mathbf{r}_j\|^2, \|\mathbf{A}\|_2\gamma_j\|\mathbf{p}_j\|^2 \le 1.05\kappa\|\mathbf{r}_j\|^2, \beta_{j+1}, \delta_j/\gamma_j \le 1.6a'). The backward model of the run satisfies <!-- value cgBackwardFactor k --> \|\tilde{\mathbf{H}} - \mathbf{I}_{k+1} \otimes \mathbf{A}\|_{\mathsf{F}} \le 6000k^2\sqrt{k}\,\varepsilon\,\kappa\,a' \le a/2 . Exact CG on (\tilde{\mathbf{H}}, (\mathbf{b}, \mathbf{0}, \dots, \mathbf{0})) computes the computed step lengths \gamma_j exactly and residuals of exactly the computed norms \|\mathbf{r}_j\|; its \tilde{\mathbf{H}}-norm error decreases by exactly \gamma_j\|\mathbf{r}_j\|^2 per step, the estimator of [StrakosTichy2002, (4.9)]; and its squared error at step k is \|\mathbf{x}_\star\|_{\mathbf{A}}^2 - \sum_{j<k}\gamma_j \|\mathbf{r}_j\|^2 up to 2\|\mathbf{b}\|^2c/a^2, c the model distance.
The fixed bounds are a scalar specialization of NLAlib.CGBackwardCertificate with \mathbf{P}=\sqrt{3.3\kappa}, K=1.05\kappa, B=1.6a' and d=a/2. The single prefix induction lives in NLAlib/Krylov/FinitePrecision/CGCertificates.lean: earlier certificates construct positive definite prefix models, which reproduce the computed coefficients and residual norms and bound the next direction. This file checks the scalar feasibility conditions under (H) and derives its numerical results from that general engine.
Validity range: for \varepsilon > 0, (H) bounds k \le (10^{-5}/(\varepsilon\kappa^2))^{2/5}, improving the earlier exponent 1/3. The a posteriori model of NLAlib/Krylov/FinitePrecision/CGRunModel.lean has no such limit.
Literature. [Greenbaum1989] states the backward model for perturbed recurrences, with a perturbation of order \varepsilon^{1/4}, and does not bound the perturbation terms of CG in terms of \varepsilon [MeurantStrakos2006, §5.2]; [GreenbaumLiuChen2021] derive the terms and check them numerically. The Chebyshev rate of the computed residuals is qualitatively [Greenbaum1989].
Constants are unoptimised.
Main definitions
* NLAlib.cgBackwardFactor: the fixed-smallness backward factor.
Main results
* NLAlib.CGRun.norm_p_sq_le, NLAlib.CGRun.specNorm_mul_γ_mul_norm_p_sq_le, NLAlib.CGRun.lanczosβ_succ_le, NLAlib.CGRun.δ_le, NLAlib.CGRun.ρ_le: a priori certificates. * NLAlib.CGRun.frobNorm_backwardH_sub_dilatedH_le: the a priori backward model. * NLAlib.CGRun.cgAlpha_backwardH, NLAlib.CGRun.norm_cgState_backwardH_r: exact CG on the model reproduces the run. * NLAlib.CGRun.quadForm_backwardH_sub_cgIterate_sub_quadForm_backwardH_sub_cgIterate, NLAlib.CGRun.abs_quadForm_backwardH_sub_cgIterate_sub_le: the model's errors in terms of the computed coefficients. * NLAlib.CGRun.ρ_le_chebyshev_of_spectrum_backwardH, NLAlib.CGRun.ρ_le_chebyshev_of_frobNorm_le: residual bounds retaining the certified model interval, with no horizon hypothesis; the run requires only local \varepsilon\le1/100. * NLAlib.CGRun.ρ_le_chebyshev_of_certificate: residual decay from input-only scalar conditions. * NLAlib.CGRun.ρ_le_chebyshev: the a priori corollary with ratio 2\kappa + 1.
Declarations
- NLAlib.CGRun.abs_quadForm_backwardH_sub_cgIterate_sub_le
- NLAlib.CGRun.abs_quadForm_backwardH_sub_quadForm_le
- NLAlib.CGRun.cgAlpha_backwardH
- NLAlib.CGRun.frobNorm_backwardH_sub_dilatedH_le
- NLAlib.CGRun.lanczosβ_succ_le
- NLAlib.CGRun.norm_cgState_backwardH_r
- NLAlib.CGRun.norm_p_sq_le
- NLAlib.CGRun.quadForm_backwardH_sub_cgIterate_eq
- NLAlib.CGRun.quadForm_backwardH_sub_cgIterate_sub_quadForm_backwardH_sub_cgIterate
- NLAlib.CGRun.specNorm_mul_γ_mul_norm_p_sq_le
- NLAlib.CGRun.spectrum_backwardH_subset_Icc
- NLAlib.CGRun.sum_γ_mul_ρ_sq_le
- NLAlib.CGRun.δ_le
- NLAlib.CGRun.ρ_le
- NLAlib.CGRun.ρ_le_chebyshev
- NLAlib.CGRun.ρ_le_chebyshev_of_certificate
- NLAlib.CGRun.ρ_le_chebyshev_of_frobNorm_le
- NLAlib.CGRun.ρ_le_chebyshev_of_spectrum_backwardH
- NLAlib.cgBackwardFactor
- NLAlib.cgBackwardFactor_def
- NLAlib.cgBackwardFactor_le
- NLAlib.cgBackwardFactor_nonneg