NLA-lib Explorer

Finite termination of PCG

Library · Result group

Theorem (Matrix.PosDef.pcgIterate_eq_of_krylovGrade_le). Finite termination: for positive definite \mathbf{A} and \mathbf{M} and \mathbf{A}\mathbf{x}_\star = \mathbf{b}, PCG reaches the solution once q is at least the grade of \mathbf{M}\mathbf{r}_0 for \mathbf{M}\mathbf{A}, \mathbf{r}_0 = \mathbf{b} - \mathbf{A}\mathbf{x}_0: \mathsf{pcgIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q) = \mathbf{x}_\star. [Saad2003, Proposition 5.6]; [Saad2003, §9.2.1]. A projection method onto an invariant subspace containing the right side is exact (Proposition 5.6), the Krylov space is invariant from the grade on ([Saad2003, Proposition 6.1]), and PCG is CG on the split system (§9.2.1).

Headline

Lean statement and details
Matrix.PosDef.pcgIterate_eq_of_krylovGrade_le.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A M : Matrix n n 𝕜} (hA : A.PosDef) (hM : M.PosDef) {b xs : n → 𝕜}
  (hxs : A *ᵥ xs = b) (x₀ : n → 𝕜) {q : ℕ} (h : krylovGrade (M * A) (M *ᵥ (b - A *ᵥ x₀)) ≤ q) :
  pcgIterate A M b x₀ q = xs

Full source on GitHub

Copy link