Exact Subtraction #
The fixed-point family is an additive lattice, so subtraction is exact without a ratio restriction. This is the fixed-grid foundation for the floating-point Sterbenz theorem, where the ratio hypotheses are needed to align the operands' effective exponents.
Values on a fixed grid are closed under negation.
Values on a fixed grid are closed under addition.
Values on a fixed grid are closed under subtraction.
Generic FIX representability is closed under exact subtraction.
Sterbenz's lemma for the unbounded-exponent format: if two positive representable values differ by at most a factor of two, then their subtraction is exactly representable at the same precision.
The proof does not appeal to rounding. The ratio bound shows that the operands' magnitudes differ by at most one radix bin. Their integer scaled mantissas can therefore be aligned on the smaller canonical exponent, and the exact integer difference is fine enough for the result's canonical exponent.
Symmetric Sterbenz lemma for FLX. If two positive representable values are within a factor of two, their exact difference is representable, whichever operand is larger.