NLAlib.lanczosFA_eq_arnoldiMatrix
Library · theorem
The Lanczos basis yields Lanczos-FA, for every \mathbf{A} and every q: with \mathbf{Q} = \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, q + 1) the canonical basis of \mathcal{K}_{q+1}(\mathbf{A}, \mathbf{b}) (zero columns past the grade) and \mathbf{T} = \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q}, \mathsf{lanczosFA}(\mathbf{A}, f, \mathbf{b}, q + 1) = \|\mathbf{b}\|\,\mathbf{Q}f(\mathbf{T})\mathbf{e}_0, by the partial-isometry form compressedCfc_eq_of_mul_conjTranspose_mul_self and \mathbf{Q}^{\mathsf{H}}\mathbf{b} = \|\mathbf{b}\|\mathbf{e}_0 (conjTranspose_arnoldiMatrix_mulVec_self). [Saad1992, §2]. Result: lanczos-fa-recurrence
NLAlib.lanczosFA_eq_arnoldiMatrix.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
[DecidableEq n] (A : Matrix n n 𝕜) (f : ℝ → ℝ) (b : n → 𝕜) (q : ℕ) :
lanczosFA A f b (q + 1) =
↑‖WithLp.toLp 2 b‖ •
arnoldiMatrix A b (q + 1) *ᵥ
cfc f ((arnoldiMatrix A b (q + 1))ᴴ * A * arnoldiMatrix A b (q + 1)) *ᵥ Pi.single 0 1Import NLAlib.Krylov.Functions.LanczosFA.