NLA-lib Explorer

Matrix.PosDef.re_quadForm_sub_pcgIterate_le

Library Ā· theorem

The polynomial bound for PCG: for positive definite \mathbf{A} and \mathbf{M} with the spectrum of \mathbf{M}\mathbf{A} in s, and a real p with \deg p \le q, p(0) = 1, \lvert p \rvert \le \eta on s, \|\mathbf{x}_\star - \mathsf{pcgIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{A}}^2 \le \eta^2\|\mathbf{x}_\star - \mathbf{x}_0\|_{\mathbf{A}}^2 \,. [Saad2003, §9.2].

Matrix.PosDef.re_quadForm_sub_pcgIterate_le.{u_1, u_2} {š•œ : Type u_1} [RCLike š•œ] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A M : Matrix n n š•œ} (hA : A.PosDef) (hM : M.PosDef) {s : Set ā„}
  (hs : spectrum ā„ (M * 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 - pcgIterate A M b xā‚€ q)) ≤ Ī· ^ 2 * RCLike.re (quadForm A (xs - xā‚€))

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.PCG.