NLA-lib Explorer

NLAlib.lanczosReorthRegime_cgsPassBound

Library · theorem

CGS2 is in the regime: with \rho = NLAlib.lanczosReorthRoundoffBound N\,q\,u, that is <!-- value lanczosReorthRoundoffBound N q u --> \rho = (101/25)\sqrt{q+1}\,(N+q+2)\,u + 16(N+1)^2u, for u \ge 0, (q+1)\rho \le 1/1000 and 132(q+1)\rho \le \tau \le 1, \tau > 0, the CGS2 parameters (\eta_0, 2c_1, 3c_1, 2(\eta_0 + c_1)^2) at \eta_0 = 4\sqrt{3(q+1)}\,\rho, c_1 = NLAlib.cgsPassBound N\,q\,u\,\eta_0, that is <!-- value cgsPassBound N q u \eta_0 -->2(1+\eta_0)\sqrt{q+1}\,(N+q+2)\,u, and \varepsilon = NLAlib.lanczosImplementationRoundoffBound N\,u, that is <!-- value lanczosImplementationRoundoffBound N u -->16(N+1)^2u, satisfy NLAlib.LanczosReorthRegime for q steps: \eta_0 \le 1/100, \tau \le 1, \sqrt{3(q+1)}\,\mu \le \eta_0 and \mu + \varepsilon + 3c_1 \le 1/100 for \mu = 2(2c_1 + 2(\eta_0 + c_1)^2/\tau + \varepsilon). No printed source.

NLAlib.lanczosReorthRegime_cgsPassBound {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τ1 : τ ≤ 1)
  (hη₀ : η₀ = 4 * √(3 * (↑q + 1)) * lanczosReorthRoundoffBound N q u) :
  LanczosReorthRegime q (lanczosImplementationRoundoffBound N u) τ η₀ (2 * cgsPassBound N q u η₀)
    (3 * cgsPassBound N q u η₀) (2 * (η₀ + cgsPassBound N q u η₀) ^ 2)

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.LanczosReorthPrecision.