Theorem (CGRun.ρ_sq_le_mul_sq_mul_of_polynomial). Computed residual convergence on tiny intervals. 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, with Frobenius backward distance at most \delta. For j\le k, a real polynomial p of degree at most j, p(0)=1 and \lvert p\rvert\le\eta on S gives \|\mathbf{r}_j\|^2\le(a'+a/2)\eta^2 (\|\mathbf{x}_\star\|_{\mathbf{A}}^2+\Delta)\,. Here \mathbf{A}\mathbf{x}_\star=\mathbf{b}; the coefficient is <!-- value cgBackwardFactor k -->c=6000k^2\sqrt{k}\varepsilon\kappa a' gives \Delta=2\|\mathbf{b}\|^2c/a^2. Exact \mathsf{cgIterate} on the full model reproduces the computed residual norms. [GreenbaumLiuChen2021, §1.3, (9)]; the polynomial set is retained and no residual gap is assumed.
Headline
Lean statement and details
NLAlib.CGRun.ρ_sq_le_mul_sq_mul_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| ≤ η) :
C.ρ j ^ 2 ≤
(a' + a / 2) * η ^ 2 *
(quadForm C.A xs +
2 * ‖WithLp.toLp 2 C.b‖ ^ 2 * (cgBackwardFactor k * C.ε * (a' / a) * a') / a ^ 2)