NLA-lib Explorer

Matrix.IsHermitian.lanczosReorthState_toLanczosState

Library · theorem

Headline of lanczos-reorth-exact-arithmetic

Exact full reorthogonalization changes nothing for Hermitian matrices: for Hermitian \mathbf{A}, every \mathbf{b} and every j, the state of the reorthogonalized recurrence restricts to the Lanczos state, and its stored vectors are the Lanczos vectors \mathbf{q}_0, \dots, \mathbf{q}_j (zero beyond j). No breakdown hypothesis: after breakdown every vector involved is zero. [Paige1970, §2, (2.1)–(2.7)]; [Parlett1998, §13.1] for the exact orthogonality. Result: lanczos-reorth-exact-arithmetic

Matrix.IsHermitian.lanczosReorthState_toLanczosState.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} [Fintype n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) (b : n → 𝕜) (j : ℕ) :
  (lanczosReorthState A b j).toLanczosState = lanczosState A b j ∧
    ∀ (i : ℕ), (lanczosReorthState A b j).vecs i = if i ≤ j then (lanczosState A b i).cur else 0

Full source on GitHub

Import NLAlib.Krylov.Processes.LanczosReorthRecurrence.