NLA-lib Explorer

NLAlib.pcgIterate_sub_mem_krylovSpace

Library · theorem

The correction \mathsf{pcgIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q) - \mathbf{x}_0 lies in the preconditioned Krylov space, for every \mathbf{A}, \mathbf{M}.

NLAlib.pcgIterate_sub_mem_krylovSpace.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Fintype n] [DecidableEq n] (A M : Matrix n n 𝕜) (b x₀ : n → 𝕜) (q : ℕ) :
  pcgIterate A M b x₀ q - x₀ ∈ krylovSpace (M * A) (M *ᵥ (b - A *ᵥ x₀)) q

Full source on GitHub

Import NLAlib.Krylov.LinearSystems.PCG.