NLA-lib Explorer

NLAlib.CGRun.sum_sub_le_quadForm_sub_x

Library · theorem

For a successful k-step CG run with spectrum in [a,a'], a>0 and k^2\sqrt{k}\varepsilon(a'/a)^2\le10^{-5}, a solution \mathbf{A}\mathbf{x}_\star=\mathbf{b} and j+d\le k satisfy the certified lower estimate \sum_{i=j}^{j+d-1}\gamma_i\|\mathbf{r}_i\|^2-R_{j,d}\le \|\mathbf{x}_\star-\mathbf{x}_j\|_{\mathbf{A}}^2, with remainder specified by <!-- value cgEnergyEstimatorFactor j d --> R_{j,d}=150d(j+d)\varepsilon(a'/a)\|\mathbf{b}\|^2/a. The terminal energy is nonnegative; it need not vanish.

NLAlib.CGRun.sum_sub_le_quadForm_sub_x {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 d : ℕ} (hjd : j + d ≤ k) :
  ∑ i ∈ Finset.Ico j (j + d), C.γ i * C.ρ i ^ 2 -
      cgEnergyEstimatorFactor j d * C.ε * (a' / a) * (‖WithLp.toLp 2 C.b‖ ^ 2 / a) ≤
    quadForm C.A (xs - C.x j)

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.CGEnergyEstimator.