Matrix.PosDef.isMinOn_pcgIterate
Library · theorem
Headline of pcg-optimality
PCG minimises the \mathbf{A}-norm error over \mathbf{x}_0 + \mathcal{K}_q(\mathbf{M}\mathbf{A}, \mathbf{M}\mathbf{r}_0), for positive definite \mathbf{A} and every \mathbf{M}, with \mathbf{A}\mathbf{x}_\star = \mathbf{b} and \mathbf{r}_0 = \mathbf{b} - \mathbf{A}\mathbf{x}_0: \|\mathbf{x}_\star - \mathsf{pcgIterate}(\mathbf{A}, \mathbf{M}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{A}}^2 \le \|\mathbf{x}_\star - \mathbf{y}\|_{\mathbf{A}}^2 for every such \mathbf{y}. [Saad2003, §9.2]. Result: pcg-optimality
Matrix.PosDef.isMinOn_pcgIterate.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
[DecidableEq n] {A : Matrix n n 𝕜} (hA : A.PosDef) (M : Matrix n n 𝕜) {b xs : n → 𝕜}
(hxs : A *ᵥ xs = b) (x₀ : n → 𝕜) (q : ℕ) :
IsMinOn (fun y ↦ RCLike.re (quadForm A (xs - y)))
(↑(AffineSubspace.mk' x₀ (krylovSpace (M * A) (M *ᵥ (b - A *ᵥ x₀)) q))) (pcgIterate A M b x₀ q)Import NLAlib.Krylov.LinearSystems.PCG.