NLA-lib Explorer

Near-optimality of CG in the \mathbf{A}^\alpha-norms

Library Β· Result group

Theorem (Matrix.IsHermitian.re_quadForm_rpow_sub_cgIterate_le). CG is near-optimal in every \mathbf{A}^\alpha-norm: for Hermitian \mathbf{A} with spectrum in [a, a'], 0 < a, \mathbf{A}\mathbf{x}_\star = \mathbf{b}, a start \mathbf{x}_0 with \mathbf{r}_0 = \mathbf{b} - \mathbf{A}\mathbf{x}_0, real \alpha, E = \max(\alpha, 1 - \alpha) and every \mathbf{y} \in \mathbf{x}_0 + \mathcal{K}_q(\mathbf{A}, \mathbf{r}_0), \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{A}^\alpha}^2 \le \Bigl(\frac{(a'/a)^{E/2} + (a'/a)^{-E/2}}{2}\Bigr)^2 \|\mathbf{x}_\star - \mathbf{y}\|_{\mathbf{A}^\alpha}^2 \,. At \alpha = 1 CG is optimal (Matrix.PosDef.isMinOn_cgIterate), so this bound is useful for \alpha \ne 1. [ChenPersson2026, Theorem 1 and (5)].

Headline

Lean statement and details
Matrix.IsHermitian.re_quadForm_rpow_sub_cgIterate_le.{u_1, u_2} {π•œ : Type u_1} [RCLike π•œ]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n π•œ} (hA : A.IsHermitian) {a a' : ℝ}
  (ha : 0 < a) (hΟƒ : spectrum ℝ A βŠ† Set.Icc a a') (Ξ± : ℝ) {b xs : n β†’ π•œ} (hxs : A *α΅₯ xs = b)
  (xβ‚€ : n β†’ π•œ) {q : β„•} {y : n β†’ π•œ}
  (hy : y ∈ AffineSubspace.mk' xβ‚€ (krylovSpace A (b - A *α΅₯ xβ‚€) q)) :
  RCLike.re (quadForm (A ^ Ξ±) (xs - cgIterate A b xβ‚€ q)) ≀
    (((a' / a) ^ (max Ξ± (1 - Ξ±) / 2) + (a' / a) ^ (-(max Ξ± (1 - Ξ±) / 2))) / 2) ^ 2 *
      RCLike.re (quadForm (A ^ Ξ±) (xs - y))

Full source on GitHub

Copy link

Other forms

Theorem (Matrix.IsHermitian.norm_sub_cgIterate_le_mul_norm_sub). CG in the Euclidean norm: for Hermitian \mathbf{A} with spectrum in [a, a'], 0 < a, \mathbf{A}\mathbf{x}_\star = \mathbf{b}, a start \mathbf{x}_0 and every \mathbf{y} \in \mathbf{x}_0 + \mathcal{K}_q(\mathbf{A}, \mathbf{b} - \mathbf{A}\mathbf{x}_0), \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, q)\| \le \frac{\sqrt{a'/a} + 1/\sqrt{a'/a}}{2}\,\|\mathbf{x}_\star - \mathbf{y}\| \,, improving the factor \sqrt{a'/a} from \mathbf{A}-norm optimality and norm equivalence. [ChenPersson2026, Remark 3].

Lean statement and details
Matrix.IsHermitian.norm_sub_cgIterate_le_mul_norm_sub.{u_1, u_2} {π•œ : Type u_1} [RCLike π•œ]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n π•œ} (hA : A.IsHermitian) {a a' : ℝ}
  (ha : 0 < a) (hΟƒ : spectrum ℝ A βŠ† Set.Icc a a') {b xs : n β†’ π•œ} (hxs : A *α΅₯ xs = b) (xβ‚€ : n β†’ π•œ)
  {q : β„•} {y : n β†’ π•œ} (hy : y ∈ AffineSubspace.mk' xβ‚€ (krylovSpace A (b - A *α΅₯ xβ‚€) q)) :
  β€–WithLp.toLp 2 (xs - cgIterate A b xβ‚€ q)β€– ≀
    (√(a' / a) + (√(a' / a))⁻¹) / 2 * β€–WithLp.toLp 2 (xs - y)β€–

Full source on GitHub

Copy link

Theorem (Matrix.IsHermitian.re_quadForm_rpow_sub_cgIterate_add_smul_one_le). CG on a shifted system is near-optimal in every \mathbf{A}^\alpha-norm: for Hermitian \mathbf{A} with spectrum in [a, a'], 0 < a, a shift s \ge 0, (\mathbf{A} + s\mathbf{I})\mathbf{x}_\star = \mathbf{b}, a start \mathbf{x}_0 with residual \mathbf{r}_0 = \mathbf{b} - (\mathbf{A} + s\mathbf{I})\mathbf{x}_0, real \alpha, E = \max(\alpha, 1 - \alpha) and every \mathbf{y} in the affine Krylov space \mathbf{x}_0 + \mathcal{K}_q(\mathbf{A} + s\mathbf{I}, \mathbf{r}_0) (which equals \mathbf{x}_0 + \mathcal{K}_q(\mathbf{A}, \mathbf{r}_0)), \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A} + s\mathbf{I}, \mathbf{b}, \mathbf{x}_0, q)\|_{\mathbf{A}^\alpha}^2 \le \Bigl(\frac{(a'/a)^{E/2} + (a'/a)^{-E/2}}{2}\Bigr)^2 \|\mathbf{x}_\star - \mathbf{y}\|_{\mathbf{A}^\alpha}^2 \,. Shifted CG from \mathbf{x}_0 is \mathbf{x}_0 plus Lanczos-FA for (z + s)^{-1} on \mathbf{r}_0 (Matrix.IsHermitian.lanczosFA_inv_add_eq_cgIterate), and (z + s)^{-1} is a Stieltjes function. [ChenPersson2026, Theorem 1] for f(z) = (z + s)^{-1}.

Lean statement and details
Matrix.IsHermitian.re_quadForm_rpow_sub_cgIterate_add_smul_one_le.{u_1, u_2} {π•œ : Type u_1}
  [RCLike π•œ] {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n π•œ} (hA : A.IsHermitian)
  {a a' : ℝ} (ha : 0 < a) (hΟƒ : spectrum ℝ A βŠ† Set.Icc a a') {s : ℝ} (hs : 0 ≀ s) (Ξ± : ℝ)
  {b xs : n β†’ π•œ} (hxs : (A + s β€’ 1) *α΅₯ xs = b) (xβ‚€ : n β†’ π•œ) {q : β„•} {y : n β†’ π•œ}
  (hy : y ∈ AffineSubspace.mk' xβ‚€ (krylovSpace (A + s β€’ 1) (b - (A + s β€’ 1) *α΅₯ xβ‚€) q)) :
  RCLike.re (quadForm (A ^ Ξ±) (xs - cgIterate (A + s β€’ 1) b xβ‚€ q)) ≀
    (((a' / a) ^ (max Ξ± (1 - Ξ±) / 2) + (a' / a) ^ (-(max Ξ± (1 - Ξ±) / 2))) / 2) ^ 2 *
      RCLike.re (quadForm (A ^ Ξ±) (xs - y))

Full source on GitHub

Copy link