NLA-lib Explorer

NLAlib.Ops.Examples.AxpyChain.abs_sub_le

Library · theorem

The accumulated error of the chain of updates.

NLAlib.Ops.Examples.AxpyChain.abs_sub_le {K : Type} {dec : K → ℝ} {e : ℝ} {n : ℕ} {q : ℕ → ℕ → K}
  {r a : ℕ → K} {i : ℕ} {w : ℕ → K} (he : 0 ≤ e) (h : Ops.Examples.AxpyChain dec e n q r a i w)
  (l : ℕ) :
  l < n →
    |dec (w l) - (dec (a l) - ∑ k ∈ Finset.range i, dec (r k) * dec (q k l))| ≤
      ((1 + e) ^ i - 1) * (|dec (a l)| + ∑ k ∈ Finset.range i, |dec (r k) * dec (q k l)|)

Full source on GitHub

Import NLAlib.Ops.Examples.CgsMath.