NLA-lib Explorer

The Lanczos recurrence computes the canonical basis

Library ยท Result group

Theorem (Matrix.IsHermitian.lanczosMatrix_eq_arnoldiMatrix). The Lanczos recurrence computes the canonical basis, for Hermitian \mathbf{A} and every q, with no breakdown hypothesis: the basis computed by q steps from \mathbf{b} is \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, q); past the grade both are zero. [Saad2011, ยง6.6].

Headline (provisional)

Lean statement and details
Matrix.IsHermitian.lanczosMatrix_eq_arnoldiMatrix.{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 : โ„•) : lanczosMatrix A b q = arnoldiMatrix A b q

Full source on GitHub

Copy link

Other forms

Theorem (Matrix.IsHermitian.lanczosTridiagonal_eq). The Lanczos recurrence computes the compression: for Hermitian \mathbf{A} and every q, the tridiagonal matrix computed by q steps from \mathbf{b} is \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q} for the canonical basis \mathbf{Q} = \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, q). [Saad2003, Theorem 6.19]; there the Arnoldi matrix \mathbf{H}_m = \mathbf{V}_m^{\mathsf{T}} \mathbf{A}\mathbf{V}_m ([Saad2003, Proposition 6.5]) of a real symmetric \mathbf{A} is the tridiagonal matrix of the Lanczos algorithm, before the process stops; here every q.

Lean statement and details
Matrix.IsHermitian.lanczosTridiagonal_eq.{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 : โ„•) :
  lanczosTridiagonal A b q = (arnoldiMatrix A b q)แดด * A * arnoldiMatrix A b q

Full source on GitHub

Copy link