Theorem (Matrix.IsHermitian.lanczosTridiagonal_eq_jacobiMatrix). The Lanczos tridiagonal is the Jacobi matrix of the spectral measure: for Hermitian \mathbf{A} and every q, the tridiagonal matrix of q steps of the Lanczos recurrence from \mathbf{b} is \mathbf{J}_q(\mu_{\mathbf{A},\mathbf{b}}); past the grade both are padded with the same zeros. [GolubMeurant2010, Ch. 4]; [Gautschi2004, ยง3.1] (locators to check).
Headline
Lean statement and details
Matrix.IsHermitian.lanczosTridiagonal_eq_jacobiMatrix.{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 = (jacobiMatrix (spectralMeasure A b) q).map โ(algebraMap โ ๐)