NLA-lib Explorer

NLAlib.re_quadForm_sub_cgIterate_chebyshevExtremaMatrix

Library · theorem

Headline of cg-chebyshev-sharp (provisional)

CG attains the Chebyshev value: for 0 < a < a', on the Chebyshev extrema matrix \mathbf{A} with solution \mathbf{x}_\star = chebyshevErrorVector and the zero start, \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{A}\mathbf{x}_\star, \mathbf{0}, q)\|_{\mathbf{A}}^2 = T_q\Bigl(\frac{a' + a}{a' - a}\Bigr)^{-2}\|\mathbf{x}_\star\|_{\mathbf{A}}^2 \,. The error is p(\mathbf{A})\mathbf{x}_\star for a residual polynomial p, of squared \mathbf{A}-norm \sum_k\omega_k\lvert p(\xi_k)\rvert^2 \ge 1/\sum_k\omega_k by Cauchy–Schwarz against \sum_k(-1)^k\omega_k p(\xi_k) = 1; chebyshevResidual attains it. [Greenbaum1997, §3.1]; locator to verify. Result: cg-chebyshev-sharp

NLAlib.re_quadForm_sub_cgIterate_chebyshevExtremaMatrix.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {a a' : ℝ}
  (ha : 0 < a) (haa : a < a') (q : ℕ) :
  RCLike.re
      (quadForm (chebyshevExtremaMatrix 𝕜 a a' q)
        (chebyshevErrorVector 𝕜 a a' q -
          cgIterate (chebyshevExtremaMatrix 𝕜 a a' q)
            (chebyshevExtremaMatrix 𝕜 a a' q *ᵥ chebyshevErrorVector 𝕜 a a' q) 0 q)) =
    (Polynomial.eval ((a' + a) / (a' - a)) (Polynomial.Chebyshev.T ℝ ↑q))⁻¹ ^ 2 *
      RCLike.re (quadForm (chebyshevExtremaMatrix 𝕜 a a' q) (chebyshevErrorVector 𝕜 a a' q))

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.WorstCase.