NLA-lib Explorer

NLAlib.sub_mulVec_sub_succ

Library · theorem

If a matvec and the iterate/residual updates have defects respectively \mathbf{e}^s, \mathbf{e}^\mathbf{x} and \mathbf{e}^r, their residual gap changes by \alpha\mathbf{e}^s-\mathbf{A}\mathbf{e}^\mathbf{x}-\mathbf{e}^r. The coefficient may be zero.

NLAlib.sub_mulVec_sub_succ.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3}
  [Fintype n] (A : Matrix m n 𝕜) (b : m → 𝕜) (x p ex : ℕ → n → 𝕜) (r s es er : ℕ → m → 𝕜)
  (α : ℕ → 𝕜) (j : ℕ) (hs : s j = A *ᵥ p j + es j) (hx : x (j + 1) = x j + α j • p j + ex j)
  (hr : r (j + 1) = r j - α j • s j + er j) :
  b - A *ᵥ x (j + 1) - r (j + 1) = b - A *ᵥ x j - r j + α j • es j - A *ᵥ ex j - er j

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.ResidualGap.