NLA-lib Explorer

Frame form of the compressed function

Library ยท Result group

Theorem (HasOrthonormalCols.compressedCfc_eq). Frame form of the compressed function, for every \mathbf{A}: for \mathbf{Q} with orthonormal columns spanning the column space of \mathbf{X}, \mathsf{compressedCfc}(\mathbf{A}, f, \mathbf{X}) = \mathbf{Q}f(\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q})\mathbf{Q}^{\mathsf{H}}; when \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q} is not Hermitian both sides are \mathbf{0}. No printed source: the projector form of compressedCfc is the library's definition, and this bridge identifies it with the frame form in which the literature writes Lanczos-FA.

Headline (provisional)

Lean statement and details
NLAlib.HasOrthonormalCols.compressedCfc_eq.{u_1, u_2, u_3, u_4} {๐•œ : Type u_1} [RCLike ๐•œ]
  {n : Type u_2} {p : Type u_3} {r : Type u_4} [Fintype n] [DecidableEq n] [Fintype p] [Fintype r]
  [DecidableEq r] {Q : Matrix n r ๐•œ} (hQ : HasOrthonormalCols Q) {X : Matrix n p ๐•œ}
  (h : Q.mulVecLin.range = X.mulVecLin.range) (A : Matrix n n ๐•œ) (f : โ„ โ†’ โ„) :
  compressedCfc A f X = Q * cfc f (Qแดด * A * Q) * Qแดด

Full source on GitHub

Copy link

Other forms

Theorem (HasOrthonormalCols.lanczosFA_eq). Lanczos-FA in any orthonormal basis of the Krylov space, for every \mathbf{A}: \mathsf{lanczosFA}(\mathbf{A}, f, \mathbf{b}, q) = \mathbf{Q}f(\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q})\mathbf{Q}^{\mathsf{H}}\mathbf{b}. [Saad1992, ยง2]; [ChenPersson2026, (1)].

Lean statement and details
NLAlib.HasOrthonormalCols.lanczosFA_eq.{u_1, u_2, u_4} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  {r : Type u_4} [Fintype n] [DecidableEq n] [Fintype r] [DecidableEq r] {Q : Matrix n r ๐•œ}
  (hQ : HasOrthonormalCols Q) {A : Matrix n n ๐•œ} {b : n โ†’ ๐•œ} {q : โ„•}
  (hK : Q.mulVecLin.range = krylovSpace A b q) (f : โ„ โ†’ โ„) :
  lanczosFA A f b q = Q *แตฅ cfc f (Qแดด * A * Q) *แตฅ Qแดด *แตฅ b

Full source on GitHub

Copy link