NLA-lib Explorer

Matrix.PosDef.re_quadForm_sub_cgIterate_le_iSup_sq_mul

Library ยท theorem

The spectrum bound for a residual polynomial: for positive definite \mathbf{A} and a real p with \deg p \le q, p(0) = 1, \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{A}}^2 \le \Bigl(\max_{\lambda \in \sigma(\mathbf{A})}\lvert p(\lambda) \rvert\Bigr)^2 \|\mathbf{x}_\star - \mathbf{x}_0\|_{\mathbf{A}}^2 \,. The maximum is the supremum over the finite spectrum. [Greenbaum1997, ยง3.1]; locator to verify. Result: cg-polynomial-bound

Matrix.PosDef.re_quadForm_sub_cgIterate_le_iSup_sq_mul.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n ๐•œ} (hA : A.PosDef) {b xs : n โ†’ ๐•œ}
  (hxs : A *แตฅ xs = b) (xโ‚€ : n โ†’ ๐•œ) {q : โ„•} {p : Polynomial โ„} (hp : p.degree โ‰ค โ†‘q)
  (hpโ‚€ : Polynomial.eval 0 p = 1) :
  RCLike.re (quadForm A (xs - cgIterate A b xโ‚€ q)) โ‰ค
    (โจ† x โˆˆ spectrum โ„ A, |Polynomial.eval x p|) ^ 2 * RCLike.re (quadForm A (xs - xโ‚€))

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.CG.