NLA-lib Explorer

NLAlib.cgs2_regime_bounds

Library · theorem

The arithmetic of the CGS2 regime: with \rho the CGS2 budget, (q+1)\rho \le 1/1000, 132(q+1)\rho \le \tau, \tau > 0, \eta_0 = 4\sqrt{3(q+1)}\,\rho and c_1 the pass coefficient at \eta_0: the hypotheses of the CGS2 run, \mu = 2(2c_1 + 2(\eta_0 + c_1)^2/\tau + \varepsilon) \le 4\rho and \varepsilon + 3c_1 \le (3/2)\rho.

NLAlib.cgs2_regime_bounds {N q : ℕ} {u τ η₀ : ℝ} (hu : 0 ≤ u)
  (hsmall : (↑q + 1) * lanczosReorthRoundoffBound N q u ≤ 1 / 1000) (hτ : 0 < τ)
  (hτlo : 132 * (↑q + 1) * lanczosReorthRoundoffBound N q u ≤ τ)
  (hη₀ : η₀ = 4 * √(3 * (↑q + 1)) * lanczosReorthRoundoffBound N q u) :
  0 ≤ η₀ ∧
    η₀ ≤ 1 / 100 ∧
      ↑(N + q + 2) * u ≤ 1 / 100 ∧
        cgsPassBound N q u η₀ ≤ 1 / 100 ∧
          lanczosImplementationRoundoffBound N u ≤ 1 / 100 ∧
            0 ≤ lanczosReorthRoundoffBound N q u ∧
              lanczosImplementationRoundoffBound N u ≤ lanczosReorthRoundoffBound N q u ∧
                2 *
                      (2 * cgsPassBound N q u η₀ + 2 * (η₀ + cgsPassBound N q u η₀) ^ 2 / τ +
                        lanczosImplementationRoundoffBound N u) ≤
                    4 * lanczosReorthRoundoffBound N q u ∧
                  lanczosImplementationRoundoffBound N u + 3 * cgsPassBound N q u η₀ ≤
                      3 / 2 * lanczosReorthRoundoffBound N q u ∧
                    √(3 * (↑q + 1)) * (4 * lanczosReorthRoundoffBound N q u) = η₀

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.LanczosReorthPrecision.