NLA-lib Explorer

Matrix.PosDef.re_quadForm_sub_cgIterate_le_four_mul_pow_pseudoConditionNumber

Library ยท theorem

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)]. Result: cg-chebyshev-bound

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

Import NLAlib.Krylov.LinearSystems.CG.