NLA-lib Explorer

Large outliers cost one step each

Library ยท Result group

Theorem (Matrix.PosDef.re_quadForm_sub_cgIterate_le_four_mul_pow_of_forall_le). Large outliers cost one step each: if every outlier is at least a', the outlier bound holds with C = 1, \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, m + d)\|_{\mathbf{A}}^2 \le 4\Bigl(\frac{\sqrt{a'/a} - 1}{\sqrt{a'/a} + 1}\Bigr)^{2d} \|\mathbf{x}_\star - \mathbf{x}_0\|_{\mathbf{A}}^2 \,. [Greenbaum1997, ยง3.1]; locator to verify.

Headline (provisional)

Lean statement and details
Matrix.PosDef.re_quadForm_sub_cgIterate_le_four_mul_pow_of_forall_le.{u_1, u_2} {๐•œ : Type u_1}
  [RCLike ๐•œ] {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n ๐•œ} (hA : A.PosDef)
  {a a' : โ„} (ha : 0 < a) {T : Finset โ„} (hs : spectrum โ„ A โІ Set.Icc a a' โˆช โ†‘T)
  (hT : โˆ€ t โˆˆ T, a' โ‰ค t) {b xs : n โ†’ ๐•œ} (hxs : A *แตฅ xs = b) (xโ‚€ : n โ†’ ๐•œ) (d : โ„•) :
  RCLike.re (quadForm A (xs - cgIterate A b xโ‚€ (T.card + d))) โ‰ค
    4 * ((โˆš(a' / a) - 1) / (โˆš(a' / a) + 1)) ^ (2 * d) * RCLike.re (quadForm A (xs - xโ‚€))

Full source on GitHub

Copy link

Other forms

Theorem (Matrix.PosDef.re_quadForm_sub_cgIterate_le_four_mul_sq_mul_pow). CG kills outlying eigenvalues: if \mathbf{A} is positive definite with spectrum in [a, a'] \cup T for a finite set T of m outliers, 0 < a, and \lvert \prod_{t \in T}(1 - \mathbf{x}/t) \rvert \le C on [a, a'], then after m + d steps \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, m + d)\|_{\mathbf{A}}^2 \le 4C^2\Bigl(\frac{\sqrt{a'/a} - 1}{\sqrt{a'/a} + 1}\Bigr)^{2d} \|\mathbf{x}_\star - \mathbf{x}_0\|_{\mathbf{A}}^2 \,: m steps are spent on the outliers, and the rate on [a, a'] applies to the rest. No hypothesis on T: an element 0 of T contributes the factor 1 (Lean's 0^{-1} = 0) and is not in the spectrum. [Greenbaum1997, ยง3.1]; [TrefethenBau1997, Lecture 38]; locators to verify.

Lean statement and details
Matrix.PosDef.re_quadForm_sub_cgIterate_le_four_mul_sq_mul_pow.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n ๐•œ} (hA : A.PosDef) {a a' : โ„}
  (ha : 0 < a) {T : Finset โ„} (hs : spectrum โ„ A โІ Set.Icc a a' โˆช โ†‘T) {C : โ„}
  (hC : โˆ€ x โˆˆ Set.Icc a a', |โˆ t โˆˆ T, (1 - x / t)| โ‰ค C) {b xs : n โ†’ ๐•œ} (hxs : A *แตฅ xs = b)
  (xโ‚€ : n โ†’ ๐•œ) (d : โ„•) :
  RCLike.re (quadForm A (xs - cgIterate A b xโ‚€ (T.card + d))) โ‰ค
    4 * C ^ 2 * ((โˆš(a' / a) - 1) / (โˆš(a' / a) + 1)) ^ (2 * d) * RCLike.re (quadForm A (xs - xโ‚€))

Full source on GitHub

Copy link

Theorem (Matrix.PosDef.re_quadForm_sub_cgIterate_le_four_mul_sq_mul_pow_of_forall_lt). Small outliers: if every outlier t lies in (0, a), the outlier bound holds with C = \prod_{t \in T}(a'/t - 1), which grows as an outlier approaches 0: \|\mathbf{x}_\star - \mathsf{cgIterate}(\mathbf{A}, \mathbf{b}, \mathbf{x}_0, m + d)\|_{\mathbf{A}}^2 \le 4\Bigl(\prod_{t \in T}\Bigl(\frac{a'}{t} - 1\Bigr)\Bigr)^2 \Bigl(\frac{\sqrt{a'/a} - 1}{\sqrt{a'/a} + 1}\Bigr)^{2d} \|\mathbf{x}_\star - \mathbf{x}_0\|_{\mathbf{A}}^2 \,. [Greenbaum1997, ยง3.1]; locator to verify.

Lean statement and details
Matrix.PosDef.re_quadForm_sub_cgIterate_le_four_mul_sq_mul_pow_of_forall_lt.{u_1, u_2}
  {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n ๐•œ}
  (hA : A.PosDef) {a a' : โ„} (ha : 0 < a) {T : Finset โ„} (hs : spectrum โ„ A โІ Set.Icc a a' โˆช โ†‘T)
  (hT : โˆ€ t โˆˆ T, 0 < t โˆง t < a) {b xs : n โ†’ ๐•œ} (hxs : A *แตฅ xs = b) (xโ‚€ : n โ†’ ๐•œ) (d : โ„•) :
  RCLike.re (quadForm A (xs - cgIterate A b xโ‚€ (T.card + d))) โ‰ค
    4 * (โˆ t โˆˆ T, (a' / t - 1)) ^ 2 * ((โˆš(a' / a) - 1) / (โˆš(a' / a) + 1)) ^ (2 * d) *
      RCLike.re (quadForm A (xs - xโ‚€))

Full source on GitHub

Copy link