NLA-lib Explorer

NLAlib.LanczosRun.adjacentInner_eq

Library · theorem

The inner product of consecutive vectors in terms of the local errors: for j < k, p_j = -e^\alpha_{j+1} - (\|\mathbf{v}_{j+1}\|^2 - 1)\alpha_{j+1} + \mathbf{v}_{j+1}^{\mathsf{T}}\mathbf{e}^z_{j+1} + \mathbf{v}_{j+1}^{\mathsf{T}} \boldsymbol{\delta}_{j+1}.

NLAlib.LanczosRun.adjacentInner_eq {n k : ℕ} (L : LanczosRun n k) {j : ℕ} (hj : j < k) :
  L.adjacentInner j =
    -L.eα (j + 1) - (‖WithLp.toLp 2 (L.v (j + 1))‖ ^ 2 - 1) * L.α (j + 1) +
        L.v (j + 1) ⬝ᵥ L.ez (j + 1) +
      L.v (j + 1) ⬝ᵥ L.δ (j + 1)

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.LocalErrors.