Matrix.PosDef.isMinOn_galerkinInverse_mulVec
Library · theorem
Headline of galerkin-optimality
Galerkin approximations are \mathbf{A}-norm optimal: for positive definite \mathbf{A} and \mathbf{A}\mathbf{x}_\star = \mathbf{b}, \mathsf{galerkinInverse}(\mathbf{A}, \mathbf{X})\,\mathbf{b} minimises \|\mathbf{x}_\star - \mathbf{y}\|_{\mathbf{A}}^2 = \operatorname{Re}\bigl((\mathbf{x}_\star - \mathbf{y})^{\mathsf{H}}\mathbf{A} (\mathbf{x}_\star - \mathbf{y})\bigr) o\mathbf{v}er the column space of \mathbf{X}. [Saad2003, §5.2]. Result: galerkin-optimality
Matrix.PosDef.isMinOn_galerkinInverse_mulVec.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_2} {p : Type u_3} [Fintype n] [Fintype p] {A : Matrix n n 𝕜} (hA : A.PosDef)
(X : Matrix n p 𝕜) {b xs : n → 𝕜} (hxs : A *ᵥ xs = b) :
IsMinOn (fun y ↦ RCLike.re (quadForm A (xs - y))) (↑X.mulVecLin.range) (galerkinInverse A X *ᵥ b)Import NLAlib.Krylov.LinearSystems.Galerkin.