NLA-lib Explorer

NLAlib.LanczosData.adjacentInner_eq_of_eq

Library · theorem

The adjacent inner product splits into the scalar projection error, squared norm defect, and the inner products of the current vector with projection-update and normalization errors. The equations need no sign or nonzero assumptions on either coefficient.

NLAlib.LanczosData.adjacentInner_eq_of_eq {n k : ℕ} (D : LanczosData n k) (j : ℕ)
  (w z ez δ : Fin n → ℝ) (eα : ℝ) (hα : D.α (j + 1) = D.v (j + 1) ⬝ᵥ w + eα)
  (hz : z = w - D.α (j + 1) • D.v (j + 1) + ez) (hδ : D.β (j + 1) • D.v (j + 2) = z + δ) :
  D.adjacentInner j =
    -eα - (‖WithLp.toLp 2 (D.v (j + 1))‖ ^ 2 - 1) * D.α (j + 1) + D.v (j + 1) ⬝ᵥ ez +
      D.v (j + 1) ⬝ᵥ δ

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.LanczosDefects.