NLA-lib Explorer

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ā‚€))

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.CG.