NLA-lib Explorer

NLAlib.HasOrthonormalCols.mulVec_aeval_conjTranspose_mul_mul_mulVec_eq

Library · theorem

Exactness on polynomials of degree less than q: for \mathbf{Q} with orthonormal columns spanning \mathcal{K}_q(\mathbf{A}, \mathbf{b}) and \deg p < q, \mathbf{Q}\,p(\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q})\,\mathbf{Q}^{\mathsf{H}}\mathbf{b} = p(\mathbf{A})\mathbf{b}, for e\mathbf{v}ery \mathbf{A}. [Saad1992, Lemma 3.1].

NLAlib.HasOrthonormalCols.mulVec_aeval_conjTranspose_mul_mul_mulVec_eq.{u_1, u_2, u_3, u_4}
  {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} {r : Type u_3} [Fintype n] [DecidableEq n] [Fintype r]
  [DecidableEq r] {R : Type u_4} [CommSemiring R] [Algebra R 𝕜] {Q : Matrix n r 𝕜}
  (hQ : HasOrthonormalCols Q) {A : Matrix n n 𝕜} {b : n → 𝕜} {q : ℕ}
  (hK : Q.mulVecLin.range = krylovSpace A b q) {p : Polynomial R} (hp : p.degree < ↑q) :
  Q *ᵥ (Polynomial.aeval (Qᴴ * A * Q)) p *ᵥ Qᴴ *ᵥ b = (Polynomial.aeval A) p *ᵥ b

Full source on GitHub

Import NLAlib.Krylov.Basic.Compression.