Theorem (Matrix.IsHermitian.arnoldiMatrix_col_eq_smul_aeval_orthogonalPolynomial_mulVec). The Lanczos vectors are the orthogonal polynomials of the spectral measure: for Hermitian \mathbf{A}, every q and j < q, column j of the canonical Lanczos basis \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, q) is \pi_j(\mathbf{A})\mathbf{b}/\|\pi_j(\mathbf{A})\mathbf{b}\|, \pi_j the monic orthogonal polynomial of degree j of \mu_{\mathbf{A},\mathbf{b}}; from the grade on both sides are \mathbf{0}. [GolubMeurant2010, Ch. 4] (locator to check).
Headline
Lean statement and details
Matrix.IsHermitian.arnoldiMatrix_col_eq_smul_aeval_orthogonalPolynomial_mulVec.{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 : ℕ} (j : Fin q) :
(arnoldiMatrix A b q).col j =
(↑‖WithLp.toLp 2
((Polynomial.aeval A) (orthogonalPolynomial (spectralMeasure A b) ↑j) *ᵥ b)‖)⁻¹ •
(Polynomial.aeval A) (orthogonalPolynomial (spectralMeasure A b) ↑j) *ᵥ b