NLA-lib Explorer

CGLS

Library · Result group

Theorem (re_quadForm_sub_cgIterate_conjTranspose_mul_le_four_mul_pow). CGLS: conjugate gradients on the normal equations, with no definition of its own, \mathsf{cgIterate}(\mathbf{A}^{\mathsf{H}}\mathbf{A}, \mathbf{A}^{\mathsf{H}}\mathbf{b}, \mathbf{x}_0, q). For \mathbf{A} of full column rank and a least-squares solution \mathbf{x}_\star (\mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{x}_\star = \mathbf{A}^{\mathsf{H}}\mathbf{b}), with \kappa = \kappa(\mathbf{A}), \|\mathbf{A}(\mathbf{x}_\star - \mathbf{x}_q)\|^2 \le 4\Bigl(\frac{\kappa - 1}{\kappa + 1}\Bigr)^{2q}\|\mathbf{A}(\mathbf{x}_\star - \mathbf{x}_0)\|^2 \,, written in the \mathbf{A}^{\mathsf{H}}\mathbf{A}-norm. [Saad2003, §8.3]; locator to verify.

Headline

Lean statement and details
NLAlib.re_quadForm_sub_cgIterate_conjTranspose_mul_le_four_mul_pow.{u_1, u_2, u_4} {𝕜 : Type u_1}
  [RCLike 𝕜] {n : Type u_2} [Fintype n] [DecidableEq n] {m : Type u_4} [Fintype m]
  {A : Matrix m n 𝕜} (hA : Function.Injective A.mulVec) {b : m → 𝕜} {xs : n → 𝕜}
  (hxs : (Aᴴ * A) *ᵥ xs = Aᴴ *ᵥ b) (x₀ : n → 𝕜) (q : ℕ) :
  RCLike.re (quadForm (Aᴴ * A) (xs - cgIterate (Aᴴ * A) (Aᴴ *ᵥ b) x₀ q)) ≤
    4 * ((pseudoConditionNumber A - 1) / (pseudoConditionNumber A + 1)) ^ (2 * q) *
      RCLike.re (quadForm (Aᴴ * A) (xs - x₀))

Full source on GitHub

Copy link