NLAlib.CGRun.ρ_le_of_cgKStar_le
Library · theorem
The computed residual at gap level: for a k-step CG run with spectrum in [a,a'], a>0, \kappa=a'/a and k^2\sqrt{k}\varepsilon\kappa^2\le10^{-5}, for \varepsilon, \delta > 0 and k_\star(\kappa, \varepsilon, \delta) \le j \le k (NLAlib.cgKStar), \|\mathbf{r}_j\| \le 8\delta\varepsilon\|\mathbf{b}\|. With \delta = 1 this is the level of the a priori gap scale. Smaller \delta gives a smaller upper bound on the computed residual, but the increased k_\star must still fit the stated horizon. This does not assert monotonicity, infinite-horizon convergence, or a nonzero gap. No printed source. Result: cg-computed-residual-bound
NLAlib.CGRun.ρ_le_of_cgKStar_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)
(hε : 0 < C.ε) {δ : ℝ} (hδ : 0 < δ) {j : ℕ} (hkj : cgKStar (a' / a) C.ε δ ≤ j) (hj : j ≤ k) :
C.ρ j ≤ 8 * δ * C.ε * ‖WithLp.toLp 2 C.b‖Import NLAlib.Krylov.FinitePrecision.CGAccuracy.