NLA-lib Explorer

NLAlib.Computation.one_add_pow_sub_one_le_roundingFactor

Library · theorem

The rounding factor bounds n rounding errors upward: for 0 \le u < 1, (1 + u)^n - 1 \le \gamma_n, as (1 + u)(1 - u) \le 1. [CarsonMaShao2026, §2].

NLAlib.Computation.one_add_pow_sub_one_le_roundingFactor {u : ℝ} {n : ℕ} (hu : 0 ≤ u)
  (hu1 : u < 1) : (1 + u) ^ n - 1 ≤ Computation.roundingFactor n u

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.Rounding.