NLA-lib Explorer

Chebyshev bound for CG

Library ยท Result group

Theorem (Matrix.IsHermitian.re_quadForm_sub_cgIterate_le_four_mul_pow). The Chebyshev bound for CG in the condition number \kappa = a'/a of the interval: if \mathbf{A} is Hermitian with spectrum in [a, a'], 0 < a, and \mathbf{A}\mathbf{x}_\star = \mathbf{b}, then \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{A}}^2 \le 4\Bigl(\frac{\sqrt{a'/a} - 1}{\sqrt{a'/a} + 1}\Bigr)^{2q} \|\mathbf{x}_\star - \mathbf{x}_0\|_{\mathbf{A}}^2 \,, the square of the classical \|\mathbf{e}_q\|_{\mathbf{A}} \le 2\bigl((\sqrt\kappa - 1)/(\sqrt\kappa + 1)\bigr)^q \|\mathbf{e}_0\|_{\mathbf{A}}. The proof's polynomial is the shifted Chebyshev residual (NLAlib.chebyshevResidual), whose factor is T_q((a' + a)/(a' - a))^{-2} = \operatorname{sech}^2(q \log(1/\rho)) = 4\rho^{2q}/(1 + \rho^{2q})^2 with \rho = (\sqrt{a'/a} - 1)/(\sqrt{a'/a} + 1) (NLAlib.inv_eval_T_real_eq_two_mul_pow_div); the statement drops the factor (1 + \rho^{2q})^2 \le 4, which tends to 1 (docs/contributing/statements.md ยง2 rule 7). A Loewner sandwich gives the hypotheses by isHermitian_of_le_smul_one and spectrum_subset_Icc_of_le. [Saad2003, Theorem 6.29]; [TrefethenBau1997, Theorem 38.5]; stated there for the extreme eigenvalues and the unsquared \mathbf{A}-norm, here for any interval containing the spectrum.

Headline

Lean statement and details
Matrix.IsHermitian.re_quadForm_sub_cgIterate_le_four_mul_pow.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n ๐•œ} (hA : A.IsHermitian) {a a' : โ„}
  (ha : 0 < a) (hs : spectrum โ„ A โІ Set.Icc a a') {b xs : n โ†’ ๐•œ} (hxs : A *แตฅ xs = b) (xโ‚€ : n โ†’ ๐•œ)
  (q : โ„•) :
  RCLike.re (quadForm A (xs - cgIterate A b xโ‚€ q)) โ‰ค
    4 * ((โˆš(a' / a) - 1) / (โˆš(a' / a) + 1)) ^ (2 * q) * RCLike.re (quadForm A (xs - xโ‚€))

Full source on GitHub

Copy link

Other forms

Theorem (Matrix.PosDef.re_quadForm_sub_cgIterate_le_four_mul_pow_pseudoConditionNumber). The Chebyshev bound in the condition number of \mathbf{A}: for positive definite \mathbf{A} with \kappa = \kappa(\mathbf{A}), \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{A}}^2 \le 4\Bigl(\frac{\sqrt{\kappa} - 1}{\sqrt{\kappa} + 1}\Bigr)^{2q} \|\mathbf{x}_\star - \mathbf{x}_0\|_{\mathbf{A}}^2 \,. The interval form at [\lambda_{\min}, \lambda_{\max}]. [Saad2003, (6.128)].

Lean statement and details
Matrix.PosDef.re_quadForm_sub_cgIterate_le_four_mul_pow_pseudoConditionNumber.{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 : โ„•) :
  RCLike.re (quadForm A (xs - cgIterate A b xโ‚€ q)) โ‰ค
    4 * ((โˆš(pseudoConditionNumber A) - 1) / (โˆš(pseudoConditionNumber A) + 1)) ^ (2 * q) *
      RCLike.re (quadForm A (xs - xโ‚€))

Full source on GitHub

Copy link