NLA-lib Explorer

Physical CG energy as computed Gauss quadrature error

Library · Result group

Theorem (CGRun.abs_quadForm_sub_x_succ_sub_sub_inv_cgTridiagonal_le). Physical CG energy as computed Gauss quadrature error. For a successful k-step run with spectrum in [a,a'], a>0, \kappa=a'/a, k^2\sqrt{k}\varepsilon\kappa^2\le10^{-5} and solution \mathbf{A}\mathbf{x}_\star=\mathbf{b}, put \mathbf{T}_{j+1}=\mathsf{cgTridiagonal}(\gamma,\rho,j+1). For j+1\le k, the physical squared energy differs from \|\mathbf{x}_\star\|_{\mathbf{A}}^2-\|\mathbf{b}\|^2(\mathbf{T}_{j+1}^{-1})_{00} by at most \mathsf{cgEnergyEstimatorFactor}(0,j+1)\varepsilon\kappa\|\mathbf{b}\|^2/a. The factor is currently <!-- value cgEnergyEstimatorFactor 0 (j+1) -->150(j+1)(0+(j+1)). [MeurantStrakos2006, (3.17)]; the exact quadrature identity is applied to computed coefficients, with the existing absolute physical-energy remainder. No residual-to-energy norm conversion is used.

Headline

Lean statement and details
NLAlib.CGRun.abs_quadForm_sub_x_succ_sub_sub_inv_cgTridiagonal_le {n k : ℕ} (C : CGRun n k)
  {a a' : ℝ} (ha : 0 < a) (hs : spectrum ℝ C.A ⊆ Set.Icc a a')
  (hsmall : ↑k ^ 2 * √↑k * C.ε * (a' / a) ^ 2 ≤ 1 / 10 ^ 5) {xs : Fin n → ℝ} (hx : C.A *ᵥ xs = C.b)
  {j : ℕ} (hj : j + 1 ≤ k) :
  |quadForm C.A (xs - C.x (j + 1)) -
        (quadForm C.A xs - ‖WithLp.toLp 2 C.b‖ ^ 2 * (cgTridiagonal C.γ C.ρ (j + 1))⁻¹ 0 0)| ≤
    cgEnergyEstimatorFactor 0 (j + 1) * C.ε * (a' / a) * (‖WithLp.toLp 2 C.b‖ ^ 2 / a)

Full source on GitHub

Copy link