NLA-lib Explorer

NLAlib.lanczosStep_of_orthonormal_recurrence

Library · theorem

One step of the Lanczos recurrence on an orthonormal three-term recurrence: from the state (\mathbf{u}_j, \mathbf{u}_{j+1}, \beta_j) the coefficient is \alpha_{j+1} and the step produces \beta_{j+1} and the vector \beta_{j+1}^{-1}(\beta_{j+1}\mathbf{u}_{j+2}).

NLAlib.lanczosStep_of_orthonormal_recurrence.{u_3} {ι : Type u_3} [Fintype ι] {A : Matrix ι ι ℝ}
  {u : ℕ → ι → ℝ} {α β : ℕ → ℝ} {k : ℕ}
  (horth : ∀ (i j : ℕ), 1 ≤ i → i ≤ k + 1 → 1 ≤ j → j ≤ k + 1 → u i ⬝ᵥ u j = if i = j then 1 else 0)
  (hrec : ∀ j < k, A *ᵥ u (j + 1) = β j • u j + α (j + 1) • u (j + 1) + β (j + 1) • u (j + 2))
  (hβ : ∀ j ≤ k, 0 ≤ β j) {j : ℕ} (hj : j < k) :
  lanczosAlpha A { prev := u j, cur := u (j + 1), beta := β j } = α (j + 1) ∧
    lanczosStep A { prev := u j, cur := u (j + 1), beta := β j } =
      { prev := u (j + 1), cur := (β (j + 1))⁻¹ • β (j + 1) • u (j + 2), beta := β (j + 1) }

Full source on GitHub

Import NLAlib.Krylov.Processes.LanczosRecurrence.