Theorem (CGRun.quadForm_sub_x_le_sq_mul_add_of_polynomial). Tiny-interval polynomial convergence of computed CG. For a successful k-step run, input spectrum in [a,a'], a>0, \kappa=a'/a and k^2\sqrt{k}\varepsilon\kappa^2\le10^{-5}, let S contain all closed radius-\delta intervals about the input eigenvalues, where the Frobenius backward distance is at most \delta. For j\le k, every real polynomial p of degree at most j with p(0)=1 and \lvert p\rvert\le\eta on S gives \|\mathbf{x}_\star-\mathbf{x}_j\|_{\mathbf{A}}^2 \le\eta^2(\|\mathbf{x}_\star\|_{\mathbf{A}}^2+\Delta)+\Delta+R_j\,. Here \mathbf{A}\mathbf{x}_\star=\mathbf{b}. With the value <!-- value cgBackwardFactor k -->c=6000k^2\sqrt{k}\varepsilon\kappa a', the initial comparison error is \Delta=2\|\mathbf{b}\|^2c/a^2. The term is <!-- value cgEnergyFactor j -->R_j=135j^2\varepsilon\kappa\|\mathbf{b}\|^2/a. The model error is that of exact \mathsf{cgIterate} on the full backward model. [GreenbaumLiuChen2021, §1.3, (9)]; here a squared physical-energy statement with explicit additive errors, rather than the qualitative tiny-interval minimax discussion.
Headline
Lean statement and details
NLAlib.CGRun.quadForm_sub_x_le_sq_mul_add_of_polynomial {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)
(hgap : frobNorm (C.backwardH - C.dilatedH) ≤ δ) {S : Set ℝ}
(hS : ⋃ i ∈ Set.Iio n, Set.Icc (eigenvalue C.A i - δ) (eigenvalue C.A i + δ) ⊆ S) {xs : Fin n → ℝ}
(hx : C.A *ᵥ xs = C.b) {j : ℕ} (hj : j ≤ k) {p : Polynomial ℝ} (hp : p.degree ≤ ↑j)
(hp₀ : Polynomial.eval 0 p = 1) (hη : ∀ x ∈ S, |Polynomial.eval x p| ≤ η) :
quadForm C.A (xs - C.x j) ≤
η ^ 2 *
(quadForm C.A xs +
2 * ‖WithLp.toLp 2 C.b‖ ^ 2 * (cgBackwardFactor k * C.ε * (a' / a) * a') / a ^ 2) +
2 * ‖WithLp.toLp 2 C.b‖ ^ 2 * (cgBackwardFactor k * C.ε * (a' / a) * a') / a ^ 2 +
cgEnergyFactor j * C.ε * (a' / a) * (‖WithLp.toLp 2 C.b‖ ^ 2 / a)