Theorem (CGRun.quadForm_sub_x_le_four_mul_pow_add). Direct energy convergence in finite precision. For a successful k-step CG run with spectrum in [a,a'], a>0, \kappa=a'/a and k^2\sqrt{k}\varepsilon\kappa^2\le10^{-5}, a solution \mathbf{A}\mathbf{x}_\star=\mathbf{b} satisfies, for j\le k, \|\mathbf{x}_\star-\mathbf{x}_j\|_{\mathbf{A}}^2\le 4q^{2j}\|\mathbf{x}_\star\|_{\mathbf{A}}^2+\eta+R_j , where q=(\sqrt{2\kappa+1}-1)/(\sqrt{2\kappa+1}+1), and with <!-- value cgBackwardFactor k -->c=6000k^2\sqrt{k}\varepsilon\kappa a', \eta=2\|\mathbf{b}\|^2c/a^2 and the rounding error is <!-- value cgEnergyFactor j --> R_j=135j^2\varepsilon\kappa\|\mathbf{b}\|^2/a. This is a finite-horizon upper envelope for the energy of the computed iterates; both additive terms vanish at zero precision. No printed source. The exact-model Chebyshev estimate is [Saad2003, Theorem 6.29]; the transfer uses the computed decrements directly.
Headline
Lean statement and details
NLAlib.CGRun.quadForm_sub_x_le_four_mul_pow_add {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)
{xs : Fin n → ℝ} (hx : C.A *ᵥ xs = C.b) {j : ℕ} (hj : j ≤ k) :
quadForm C.A (xs - C.x j) ≤
4 * ((√(2 * (a' / a) + 1) - 1) / (√(2 * (a' / a) + 1) + 1)) ^ (2 * j) * quadForm C.A xs +
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)