NLA-lib Explorer

Exactness of Lanczos-FA

Library ยท Result group

Theorem (Matrix.IsHermitian.lanczosFA_eq_cfc_mulVec_of_krylovGrade_le). Lanczos-FA is exact past the grade: for Hermitian \mathbf{A} and \nu \le q, \mathsf{lanczosFA}(\mathbf{A}, f, \mathbf{b}, q) = f(\mathbf{A})\mathbf{b}, since the Krylov space is then invariant. [Saad1992, ยง3.2].

Headline (provisional)

Lean statement and details
Matrix.IsHermitian.lanczosFA_eq_cfc_mulVec_of_krylovGrade_le.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n ๐•œ} (hA : A.IsHermitian) (f : โ„ โ†’ โ„)
  {b : n โ†’ ๐•œ} {q : โ„•} (h : krylovGrade A b โ‰ค q) : lanczosFA A f b q = cfc f A *แตฅ b

Full source on GitHub

Copy link

Other forms

Theorem (Matrix.IsHermitian.lanczosFA_eval). Exactness: for Hermitian \mathbf{A} and a real polynomial of degree less than q, \mathsf{lanczosFA}(\mathbf{A}, p, \mathbf{b}, q) = p(\mathbf{A})\mathbf{b}. [Saad1992, Lemma 3.1].

Lean statement and details
Matrix.IsHermitian.lanczosFA_eval.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  [DecidableEq n] {A : Matrix n n ๐•œ} (hA : A.IsHermitian) (b : n โ†’ ๐•œ) {q : โ„•} {p : Polynomial โ„}
  (hp : p.degree < โ†‘q) : lanczosFA A (fun x โ†ฆ Polynomial.eval x p) b q = (Polynomial.aeval A) p *แตฅ b

Full source on GitHub

Copy link