NLA-lib Explorer

Matrix.PosDef.conjTranspose_mul_one_sub_mul_galerkinInverse

Library · theorem

The Galerkin condition, block form: for positive definite \mathbf{A}, \mathbf{X}^{\mathsf{H}}(\mathbf{I} - \mathbf{A}\,\mathsf{galerkinInverse}(\mathbf{A}, \mathbf{X})) = \mathbf{0}, so the residual of every right-hand side is orthogonal to the column space. [Saad2003, §5.2].

Matrix.PosDef.conjTranspose_mul_one_sub_mul_galerkinInverse.{u_1, u_2, u_3} {𝕜 : Type u_1}
  [RCLike 𝕜] {n : Type u_2} {p : Type u_3} [Fintype n] [Fintype p] [DecidableEq n]
  {A : Matrix n n 𝕜} (hA : A.PosDef) (X : Matrix n p 𝕜) : Xᴴ * (1 - A * galerkinInverse A X) = 0

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.Galerkin.