NLA-lib Explorer

Float.Model.BinaryRounding.IsBinaryFloat.mem_floatGrid

Library · theorem

A lower-exponent binary grid is contained in the existing unbounded-exponent grid. This transports representability only, not a tie-breaking rule or an arithmetic implementation.

Float.Model.BinaryRounding.IsBinaryFloat.mem_floatGrid {p : ℕ} {emin : ℤ} {x : ℝ}
  (h : Float.Model.BinaryRounding.IsBinaryFloat p emin x) : x ∈ Real.floatGrid p

Full source on GitHub

Import NLAlib.ForMathlib.Data.Float.BinaryFormat.