NLA-lib Explorer

NLAlib.Krylov.Lanczos.Output.eigenvalue_sub_eigenvalue_tridiagonalMatrix_le

Library · theorem

The largest eigenvalue of an active stored tridiagonal prefix satisfies the classical Kaniel–Paige–Saad bound. The Hermitian input has all other spectral values in [a,c] below the largest eigenvalue, and the start has positive spectral mass at that largest value. The prefix contains q+1 columns, fits the stored cap, and does not exceed the Krylov grade. [Saad2011, Theorem 6.4].

NLAlib.Krylov.Lanczos.Output.eigenvalue_sub_eigenvalue_tridiagonalMatrix_le {K : Type} [Inhabited K]
  {dec : K → ℝ} {n cap q : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {b : Fin n → ℝ} {vs cs : List K}
  (h : Krylov.Lanczos.Output dec A b cap vs cs) (hA : A.IsHermitian) (hq : q + 1 ≤ cap)
  (hgrade : q + 1 ≤ krylovGrade A b) {a c : ℝ} (hac : a < c) (hc : c < eigenvalue A 0)
  (hs : spectrum ℝ A ⊆ Set.Icc a c ∪ {eigenvalue A 0})
  (hb : 0 < (spectralMeasure A b).real {eigenvalue A 0}) :
  eigenvalue A 0 - eigenvalue (Krylov.Lanczos.tridiagonalMatrix dec cap cs (q + 1)) 0 ≤
    4 * (eigenvalue A 0 - a) * spectralTangentSq A b (eigenvalue A 0) *
      ((√(eigenvalue A 0 - a) - √(eigenvalue A 0 - c)) /
          (√(eigenvalue A 0 - a) + √(eigenvalue A 0 - c))) ^
        (2 * q)

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Basis.