NLA-lib Explorer

Float.Model.BinaryRounding.IsNearestFloat.le_of_le

Library · theorem

A nearest represented value never exceeds a represented upper bound on its real input.

Float.Model.BinaryRounding.IsNearestFloat.le_of_le {p : ℕ} {emin : ℤ} {x y r : ℝ}
  (h : Float.Model.BinaryRounding.IsNearestFloat p emin x r)
  (hy : Float.Model.BinaryRounding.IsBinaryFloat p emin y) (hxy : x ≤ y) : r ≤ y

Full source on GitHub

Import NLAlib.ForMathlib.Data.Float.BinaryFormat.