Theorem (Matrix.PosDef.re_quadForm_sub_cgIterate_le).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].
Headline (provisional)
Lean statement and details
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โ))
Theorem (Matrix.PosDef.re_quadForm_sub_cgIterate_le_iSup_sq_mul).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.
Lean statement and details
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โ))
Theorem (Matrix.PosDef.re_quadForm_sub_cgIterate_le_re_quadForm_aeval).CG beats every residual polynomial: for positive definite \mathbf{A}, \mathbf{A}\mathbf{x}_\star = \mathbf{b} and every 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 \|p(\mathbf{A})(\mathbf{x}_\star - \mathbf{x}_0)\|_{\mathbf{A}}^2 \,. [Saad2003, ยง6.11.3].
Lean statement and details
Matrix.PosDef.re_quadForm_sub_cgIterate_le_re_quadForm_aeval.{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)) โค
RCLike.re (quadForm A ((Polynomial.aeval A) p *แตฅ (xs - xโ)))