NLA-lib Explorer

NLAlib.HasOrthonormalCols.conjTranspose_mulVec_aeval_nodal_mulVec_eq_zero

Library · theorem

The Ritz polynomial is orthogonal to the Krylov space: for Hermitian \mathbf{A}, \mathbf{Q} with orthonormal columns spanning \mathcal{K}_q(\mathbf{A}, \mathbf{b}) and a finite set s of at most q reals containing the spectrum of \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q}, \mathbf{Q}^{\mathsf{H}}\pi_s(\mathbf{A})\mathbf{b} = \mathbf{0} for \pi_s(z) = \prod_{\theta \in s}(z - \theta). Taking s the set of Ritz values (at most \dim\mathcal{K}_q \le q of them) gives \mathbf{b}^{\mathsf{H}}\pi(\mathbf{A})p(\mathbf{A}) \mathbf{b} = 0 for \deg p < q. [GolubMeurant2010, §4]; [ChenPersson2026, (11)].

NLAlib.HasOrthonormalCols.conjTranspose_mulVec_aeval_nodal_mulVec_eq_zero.{u_1, u_2, u_3}
  {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} {r : Type u_3} [Fintype n] [DecidableEq n] [Fintype r]
  [DecidableEq r] {Q : Matrix n r 𝕜} (hQ : HasOrthonormalCols Q) {A : Matrix n n 𝕜}
  (hA : A.IsHermitian) {b : n → 𝕜} {q : ℕ} (hK : Q.mulVecLin.range = krylovSpace A b q)
  {s : Finset ℝ} (hs : spectrum ℝ (Qᴴ * A * Q) ⊆ ↑s) (hsq : s.card ≤ q) :
  Qᴴ *ᵥ (Polynomial.aeval A) (Lagrange.nodal s id) *ᵥ b = 0

Full source on GitHub

Import NLAlib.Krylov.Basic.Compression.