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โ))Import NLAlib.Krylov.LinearSystems.CG.