NLA-lib Explorer

Binary grids with a lower exponent

Library · Source module

Binary grids with a lower exponent

Upstream candidates for the mathematical API of Lean core's floating-point model. Adapted from the supplied NumLean archive, NumLean/Mathlib/Rounding/BinaryFormat.lean. The archive's SHA-256 and licensing status, the earlier Mathlib search and the changes for Lean 4.33 are recorded in docs/design/Finite-Precision-Arithmetic.md. No NumLean dependency is imported. General format lemmas state a two-exponent-bit assumption explicitly where needed; core 4.33 also permits one-bit layouts. These results concern logical arithmetic, not native execution cost.

Main results

* Float.Model.BinaryRounding.IsBinaryFloat.mem_floatGrid. * Float.Model.BinaryRounding.IsNearestFloat.abs_le_of_abs_le. * Float.Model.BinaryRounding.isNearestFloat_of_lattice.

Declarations