NLA-lib Explorer

NLAlib.Computation.abs_one_add_mul_one_add_sub_one_le

Library · theorem

This statement changed in the recorded rename: 2026-11-rounding-factor.

Composing accumulated errors [CarsonMaShao2026, Lemma 2]: for every u, if \lvert \theta \rvert \le \gamma_k and \lvert \theta' \rvert \le \gamma_j, then \lvert (1 + \theta)(1 + \theta') - 1 \rvert \le \gamma_{k+j}.

NLAlib.Computation.abs_one_add_mul_one_add_sub_one_le {u : ℝ} {k j : ℕ} {θ θ' : ℝ}
  (hθ : |θ| ≤ Computation.roundingFactor k u) (hθ' : |θ'| ≤ Computation.roundingFactor j u) :
  |(1 + θ) * (1 + θ') - 1| ≤ Computation.roundingFactor (k + j) u

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.Rounding.