NLA-lib Explorer

NLAlib.LanczosImplementation.exists_lanczosRun_one

Library · theorem

The actual values and five bounded local defects of a first rounded Paige step give the existing positive-length LanczosRun. The next coefficient may be zero; its next vector is required nearly unit only when that coefficient is nonzero. This is a record constructor, with no independent whole-program execution assertion.

NLAlib.LanczosImplementation.exists_lanczosRun_one {N : ℕ} (A : Matrix (Fin N) (Fin N) ℝ)
  (hA : Aᵀ = A) (ε : ℝ) (hε : 0 ≤ ε) (hsmall : ε ≤ 1 / 100) (v1 uv wv zv vn : Fin N → ℝ) (an bn : ℝ)
  (hv1 : |‖WithLp.toLp 2 v1‖ ^ 2 - 1| ≤ ε)
  (hu : ‖WithLp.toLp 2 (A *ᵥ v1 - uv)‖ ≤ ε * specNorm A * ‖WithLp.toLp 2 v1‖)
  (hw : ‖WithLp.toLp 2 (uv - wv)‖ ≤ ε * ‖WithLp.toLp 2 uv‖)
  (ha : |v1 ⬝ᵥ wv - an| ≤ ε * ‖WithLp.toLp 2 v1‖ * ‖WithLp.toLp 2 wv‖)
  (hz : ‖WithLp.toLp 2 (wv - an • v1 - zv)‖ ≤ ε * (‖WithLp.toLp 2 wv‖ + |an| * ‖WithLp.toLp 2 v1‖))
  (hd : ‖WithLp.toLp 2 (zv - bn • vn)‖ ≤ ε * ‖WithLp.toLp 2 zv‖) (hbn : 0 ≤ bn)
  (hvn : bn ≠ 0 → |‖WithLp.toLp 2 vn‖ ^ 2 - 1| ≤ ε) :
  ∃ R,
    R.H = A ∧
      R.ε = ε ∧
        R.v = Function.update (Function.update 0 1 v1) 2 vn ∧
          R.α = Function.update 0 1 an ∧ R.β = Function.update 0 1 bn

Full source on GitHub

Import NLAlib.Krylov.Processes.LanczosProgramRoundedRun.