The a priori backward model of finite-precision CG
Library · Result group
Theorem (CGRun.frobNorm_backwardH_sub_dilatedH_le).The a priori backward model of finite-precision CG: for spectrum in [a, a'], a > 0, \kappa = a'/a, and (H) k^2\sqrt{k}\varepsilon\kappa^2 \le 10^{-5}, the bound is <!-- value cgBackwardFactor k --> \|\tilde{\mathbf{H}} - \mathbf{I}_{k+1} \otimes \mathbf{A}\|_{\mathsf{F}} \le 6000k^2\sqrt{k}\,\varepsilon\,\kappa\,a' . No printed source. the module docstring compares it with the literature. For \varepsilon > 0 the validity range is k \le (10^{-5}/(\varepsilon\kappa^2))^{2/5}; the model distance is at most 0.06a.
Headline (provisional)
Lean statement and details
NLAlib.CGRun.frobNorm_backwardH_sub_dilatedH_le {n k : ℕ} (C : CGRun n k) {a a' : ℝ} (ha : 0 < a)
(hs : spectrum ℝ C.A ⊆ Set.Icc a a') (hsmall : ↑k ^ 2 * √↑k * C.ε * (a' / a) ^ 2 ≤ 1 / 10 ^ 5) :
frobNorm (C.backwardH - C.dilatedH) ≤ cgBackwardFactor k * C.ε * (a' / a) * a'
Theorem (CGRun.frobNorm_backwardH_sub_dilatedH_le_geom_sum_of_certificates).Geometric a posteriori CG backward error: a posteriori backward error without a run-length restriction: if \|\mathbf{p}_i\|\le \mathbf{P}\rho_i (i<k), \beta_{i+1}\le B and \delta_i\le B\gamma_i (i+1<k), and B\ge0, then <!-- value normalizedBackwardBound k f p --> \|\tilde{\mathbf{H}}-\mathbf{I}_{k+1}\otimes\mathbf{A}\|_{\mathsf{F}} \le22k^2f+17k\sqrt{k}p, where f=8\varepsilon(\|\mathbf{A}\|_2(1+\mathbf{P})^2+B) and with <!-- value cgAdjacentInnerFactor k \varepsilon --> p=13\varepsilon\sum_{i=0}^{k-1}(1+(31/10)\varepsilon)^i \bigl(\|\mathbf{A}\|_2(1+\mathbf{P})^2+B(1+\mathbf{P})\bigr). No printed source. The certificate can grow with the horizon; positive definiteness is not required for this backward-error bound.
Lean statement and details
NLAlib.CGRun.frobNorm_backwardH_sub_dilatedH_le_geom_sum_of_certificates {n k : ℕ} (C : CGRun n k)
{P B : ℝ} (hP : ∀ j < k, ‖WithLp.toLp 2 (C.p j)‖ ≤ P * C.ρ j)
(hB : ∀ (j : ℕ), j + 1 < k → C.lanczosβ (j + 1) ≤ B ∧ C.δ j ≤ B * C.γ j) (hB0 : 0 ≤ B) :
frobNorm (C.backwardH - C.dilatedH) ≤
normalizedBackwardBound k (8 * C.ε * (specNorm C.A * (1 + P) ^ 2 + B))
(cgAdjacentInnerFactor k C.ε * (specNorm C.A * (1 + P) ^ 2 + B * (1 + P)))
Theorem (CGRun.frobNorm_backwardH_sub_dilatedH_le_of_certificate).Input-certified CG backward error: a feasible input certificate and spectrum in [a,a'] bound the backward model's Frobenius error by the chosen distance d, without a fixed iteration-precision threshold. The positive margin a-d is part of the scalar certificate. No printed source.
Lean statement and details
NLAlib.CGRun.frobNorm_backwardH_sub_dilatedH_le_of_certificate {n k : ℕ} (C : CGRun n k) {a a' : ℝ}
(hs : spectrum ℝ C.A ⊆ Set.Icc a a') (S : CGBackwardCertificate k C.ε a a') :
frobNorm (C.backwardH - C.dilatedH) ≤ S.d
Theorem (CGRun.frobNorm_backwardH_sub_dilatedH_le_of_certificates).The a posteriori backward model: with k\varepsilon\le1/100 and the certificates \|\mathbf{p}_j\|\le\Pi\rho_j and \|\mathbf{A}\|_2\gamma_j\|\mathbf{p}_j\|^2\le K\rho_j^2 for j<k, and \beta_{j+1}\le B, \delta_j\le B\gamma_j for j+1<k, where \rho_j=\|\mathbf{r}_j\|,