NLA-lib Explorer

NLAlib.Computation.AbsRelErr.pos

Library · theorem

A nonnegative exact value whose lower error margin is positive has a positive computed value. This is a sufficient guard certificate even when underflow is permitted.

NLAlib.Computation.AbsRelErr.pos {u η a z : ℝ} (h : Computation.AbsRelErr u η a z) (ha : 0 ≤ a)
  (hmargin : η < (1 - u) * a) : 0 < z

Full source on GitHub

Import NLAlib.Ops.ArithmeticError.