NLA-lib Explorer

Residual squaring

Library · Result group

Theorem (one_sub_mul_inverseSchulzIterate). Residual squaring. After k inverse refinements the right residual is exactly the 2^k-th power of the initial residual. [Higham2008, §5.3].

Headline (provisional)

Lean statement and details
NLAlib.one_sub_mul_inverseSchulzIterate.{u_1, u_2} {n : Type u_1} [Fintype n] [DecidableEq n]
  {R : Type u_2} [Ring R] (A X : Matrix n n R) (k : ℕ) :
  1 - A * inverseSchulzIterate A X k = (1 - A * X) ^ 2 ^ k

Full source on GitHub

Copy link

Other forms

Theorem (specNorm_sub_inverseSchulzIterate_le). Inverse refinement error. For an invertible real or complex matrix, the spectral norm of the inverse error is bounded by the inverse norm times the 2^k-th power of the initial right residual norm. [Higham2008, §5.3].

Lean statement and details
NLAlib.specNorm_sub_inverseSchulzIterate_le.{u_1, u_2} {n : Type u_1} [Fintype n] [DecidableEq n]
  {𝕜 : Type u_2} [RCLike 𝕜] {A : Matrix n n 𝕜} (hA : IsUnit A) (X : Matrix n n 𝕜) (k : ℕ) :
  specNorm (A⁻¹ - inverseSchulzIterate A X k) ≤ specNorm A⁻¹ * specNorm (1 - A * X) ^ 2 ^ k

Full source on GitHub

Copy link

Theorem (tendsto_inverseSchulzIterate). Convergence of inverse refinement. A right residual with spectral radius less than one gives convergence to the inverse, for real or complex square matrices. [Higham2008, §5.3].

Lean statement and details
NLAlib.tendsto_inverseSchulzIterate.{u_1, u_2} {n : Type u_1} [Fintype n] [DecidableEq n]
  {𝕜 : Type u_2} [RCLike 𝕜] {A X : Matrix n n 𝕜} (h : specRadius (1 - A * X) < 1) :
  Filter.Tendsto (inverseSchulzIterate A X) Filter.atTop (𝓝 A⁻¹)

Full source on GitHub

Copy link