NLA-lib Explorer

NLAlib.Computation.AbsRelErr.abs_le_of_eq_zero

Library · theorem

If the relative allowance is less than one, a computed zero certifies \lvert a\rvert \le \eta/(1-u). This does not assert that the exact value is zero.

NLAlib.Computation.AbsRelErr.abs_le_of_eq_zero {u η a : ℝ} (h : Computation.AbsRelErr u η a 0)
  (hu : u < 1) : |a| ≤ η / (1 - u)

Full source on GitHub

Import NLAlib.Ops.ArithmeticError.