NLA-lib Explorer

NLAlib.LanczosImplementation.exists_lanczosRun_succ

Library · theorem

Append the actual values and local defects of a nonterminal next step. This constructor retains the existing run's prefix, including its error functions, and allows the new last coefficient to be zero. Its hypotheses are derived from kernel execution by the program bridge.

NLAlib.LanczosImplementation.exists_lanczosRun_succ {N k : ℕ} (R : LanczosRun N k)
  (uv wv zv vn : Fin N → ℝ) (an bn : ℝ) (hk : R.β k ≠ 0)
  (hu :
    ‖WithLp.toLp 2 (R.H *ᵥ R.v (k + 1) - uv)‖ ≤ R.ε * specNorm R.H * ‖WithLp.toLp 2 (R.v (k + 1))‖)
  (hw :
    ‖WithLp.toLp 2 (uv - R.β k • R.v k - wv)‖ ≤
      R.ε * (‖WithLp.toLp 2 uv‖ + |R.β k| * ‖WithLp.toLp 2 (R.v k)‖))
  (ha : |R.v (k + 1) ⬝ᵥ wv - an| ≤ R.ε * ‖WithLp.toLp 2 (R.v (k + 1))‖ * ‖WithLp.toLp 2 wv‖)
  (hz :
    ‖WithLp.toLp 2 (wv - an • R.v (k + 1) - zv)‖ ≤
      R.ε * (‖WithLp.toLp 2 wv‖ + |an| * ‖WithLp.toLp 2 (R.v (k + 1))‖))
  (hd : ‖WithLp.toLp 2 (zv - bn • vn)‖ ≤ R.ε * ‖WithLp.toLp 2 zv‖) (hbn : 0 ≤ bn)
  (hvn : bn ≠ 0 → |‖WithLp.toLp 2 vn‖ ^ 2 - 1| ≤ R.ε) :
  ∃ S,
    S.H = R.H ∧
      S.ε = R.ε ∧
        S.v = Function.update R.v (k + 2) vn ∧
          S.α = Function.update R.α (k + 1) an ∧ S.β = Function.update R.β (k + 1) bn

Full source on GitHub

Import NLAlib.Krylov.Processes.LanczosProgramRoundedRun.