NLA-lib Explorer

Matrix.IsHermitian.norm_cfc_mulVec_sub_lanczosFA_le_of_isUniformApproxOn

Library · theorem

The uniform approximation bound: for Hermitian \mathbf{A} with spectrum in [a, a'], if a real polynomial p of degree less than q is within \varepsilon of f on [a, a'], then \|f(\mathbf{A})\mathbf{b} - \mathsf{lanczosFA}(\mathbf{A}, f, \mathbf{b}, q)\| \le 2\varepsilon\|\mathbf{b}\|: Lanczos-F\mathbf{A} is e\mathbf{x}act on p, and f - p is at most \varepsilon on the spectrum of \mathbf{A} and on the Ritz values. [ChenPersson2026, (2)]; [Saad1992, §3]. Result: lanczos-fa-uniform-bound

Matrix.IsHermitian.norm_cfc_mulVec_sub_lanczosFA_le_of_isUniformApproxOn.{u_1, u_2} {𝕜 : Type u_1}
  [RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.IsHermitian)
  {a a' : ℝ} (hs : spectrum ℝ A ⊆ Set.Icc a a') {f : ℝ → ℝ} {q : ℕ} {p : Polynomial ℝ}
  (hp : p.degree < ↑q) {ε : ℝ}
  (hε : Metric.IsUniformApproxOn (fun x ↦ Polynomial.eval x p) f (Set.Icc a a') ε) (b : n → 𝕜) :
  ‖WithLp.toLp 2 (cfc f A *ᵥ b - lanczosFA A f b q)‖ ≤ 2 * ε * ‖WithLp.toLp 2 b‖

Full source on GitHub

Import NLAlib.Krylov.Functions.LanczosFA.