NLA-lib Explorer

Matrix.PosDef.re_quadForm_sub_cgIterate_le_integral_radauQuadrature_sub

Library · theorem

Headline of cg-error-gauss-radau-bounds

The Gauss–Radau upper bound on the CG error: for positive definite \mathbf{A} with spectrum in [a, a'], 0 < a < a', \mathbf{A}\mathbf{x}_\star = \mathbf{b}, every \mathbf{x}_0 and q, with \mathbf{r}_0 = \mathbf{b} - \mathbf{A}\mathbf{x}_0 and \mu = \mu_{\mathbf{A},\mathbf{r}_0}, \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{A}}^2 \le \int \mathbf{x}^{-1}\,d\,\mathsf{radauQuadrature}(\mu, a, q) - \int \mathbf{x}^{-1}\,d\,\mathsf{gaussQuadrature}(\mu, q)\,: the left Radau rule with q free nodes overestimates \int \mathbf{x}^{-1}\,d\mu because (\mathbf{x}^{-1})^{(2q+1)} < 0. [GolubMeurant2010, Ch. 12]; [GolubStrakos1994, §3] (locators to check). Result: cg-error-gauss-radau-bounds

Matrix.PosDef.re_quadForm_sub_cgIterate_le_integral_radauQuadrature_sub.{u_1, u_2} {𝕜 : Type u_1}
  [RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.PosDef)
  {a a' : ℝ} (ha : 0 < a) (haa' : a < 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)) ≤
    ∫ (x : ℝ), x⁻¹ ∂radauQuadrature (spectralMeasure A (b - A *ᵥ x₀)) a q -
      ∫ (x : ℝ), x⁻¹ ∂gaussQuadrature (spectralMeasure A (b - A *ᵥ x₀)) q

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.CGQuadrature.