NLA-lib Explorer

NLAlib.CGRun.quadForm_sub_x_succ_le_sub_add

Library · theorem

For a successful run with spectrum in [a,a'], a>0 and k^2\sqrt{k}\varepsilon(a'/a)^2\le10^{-5}, the physical energy decreases by the computed decrement, up to precision-dependent local errors. Here \mathbf{A}\mathbf{x}_\star=\mathbf{b} and j<k.

NLAlib.CGRun.quadForm_sub_x_succ_le_sub_add {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 < k) :
  quadForm C.A (xs - C.x (j + 1)) ≤
    quadForm C.A (xs - C.x j) - C.γ j * C.ρ j ^ 2 +
        (52 * ↑j + 6) * (C.ε * (a' / a)) * (C.γ j * C.ρ j ^ 2) +
      (36 * ↑j + 19) * (C.ε * (a' / a)) * (‖WithLp.toLp 2 C.b‖ ^ 2 / a)

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.CGAccuracy.