NLA-lib Explorer

Matrix.PosDef.exists_le_norm_sub_cgIterate

Library · theorem

Headline of cg-near-optimality-lower-bound

The Euclidean factor for CG cannot be improved: for positive definite \mathbf{A} with at least q + 1 \ge 2 distinct eigenvalues, \kappa = \kappa(\mathbf{A}) and 0 < \eta \le 1, there is \mathbf{x}_\star such that, for \mathbf{b} = \mathbf{A}\mathbf{x}_\star and the zero start, the CG error is nonzero and some \mathbf{y} \in \mathcal{K}_q(\mathbf{A}, \mathbf{b}) has (1 - \eta)\,\frac{\sqrt\kappa + 1/\sqrt\kappa}{2}\,\|\mathbf{x}_\star - \mathbf{y}\| \le \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{0}, q)\| \,. So the factor of Matrix.IsHermitian.norm_sub_cgIterate_le_mul_norm_sub is optimal. The instance is that of Matrix.PosDef.exists_inv_add_le_re_quadForm_cfc_cfc_mulVec_sub_lanczosFA with \nu = 1, s = 0 and the extreme eigenvalues, where Lanczos-FA for z^{-1} is CG (Matrix.IsHermitian.lanczosFA_inv_eq_cgIterate). [ChenPersson2026, Remark 3]. Result: cg-near-optimality-lower-bound

Matrix.PosDef.exists_le_norm_sub_cgIterate.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.PosDef) {q : ℕ} (hq : 0 < q)
  (hcard : q + 1 ≤ (spectrum ℝ A).ncard) {η : ℝ} (hη : 0 < η) (hη₁ : η ≤ 1) :
  ∃ xs,
    0 < ‖WithLp.toLp 2 (xs - cgIterate A (A *ᵥ xs) 0 q)‖ ∧
      ∃ y ∈ krylovSpace A (A *ᵥ xs) q,
        (1 - η) * ((√(pseudoConditionNumber A) + (√(pseudoConditionNumber A))⁻¹) / 2) *
            ‖WithLp.toLp 2 (xs - y)‖ ≤
          ‖WithLp.toLp 2 (xs - cgIterate A (A *ᵥ xs) 0 q)‖

Full source on GitHub

Import NLAlib.Krylov.Functions.Optimality.