Unit in the Last Place #
The format-generic ulp laws cover the negligible-exponent witness used to define ulp 0,
invariance under sign, representability, and the relationship to adjacent rounded values. The
definitions and hypotheses follow Flocq's Core/Ulp.v.
These are mathematical analysis lemmas rather than executable kernels. Keeping them in the Flocq theory namespace makes the provenance and theorem correspondence visible while allowing runtime formats to depend on smaller exact-arithmetic modules.
Two negligible-exponent witnesses select the same format exponent.
Absence of a negligible exponent means fexp n < n at every exponent.
The zero ULP is representable, including the FLX case where it equals zero.
Under the non-flush-to-zero condition, every ULP is representable.
For a nonrepresentable input, directed-up and directed-down rounding differ by one ULP.
One ULP is no larger than the absolute value of a nonzero representable number.
ULP is monotone on positive inputs when the exponent selector is monotone.