Matrix.PosDef.re_quadForm_sub_cgIterate_le
Library Ā· theorem
Headline of cg-polynomial-bound (provisional)
The polynomial bound for CG: if \mathbf{A} is positive definite with spectrum in a set s, \mathbf{A}\mathbf{x}_\star = \mathbf{b}, and a real p with \deg p \le q, p(0) = 1 satisfies \lvert p \rvert \le \eta on s, then \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{A}}^2 \le \eta^2 \|\mathbf{x}_\star - \mathbf{x}_0\|_{\mathbf{A}}^2 \,. [Saad2003, §6.11.3]. Result: cg-polynomial-bound
Matrix.PosDef.re_quadForm_sub_cgIterate_le.{u_1, u_2} {š : Type u_1} [RCLike š] {n : Type u_2}
[Fintype n] [DecidableEq n] {A : Matrix n n š} (hA : A.PosDef) {s : Set ā} (hs : spectrum ā A ā s)
{b xs : n ā š} (hxs : A *ᵄ xs = b) (xā : n ā š) {q : ā} {p : Polynomial ā} (hp : p.degree ⤠āq)
(hpā : Polynomial.eval 0 p = 1) {Ī· : ā} (hĪ· : ā x ā s, |Polynomial.eval x p| ⤠η) :
RCLike.re (quadForm A (xs - cgIterate A b xā q)) ⤠η ^ 2 * RCLike.re (quadForm A (xs - xā))Import NLAlib.Krylov.LinearSystems.CG.