NLA-lib Explorer

Matrix.PosDef.galerkinInverse_mulVec_eq_of_mem

Library ยท theorem

Exactness: if the solution lies in the column space, the Galerkin approximation \mathsf{galerkinInverse}(\mathbf{A}, \mathbf{X})\,\mathbf{b} is the solution.

Matrix.PosDef.galerkinInverse_mulVec_eq_of_mem.{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) (h : xs โˆˆ X.mulVecLin.range) :
  galerkinInverse A X *แตฅ b = xs

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.Galerkin.