Correctness of IEEE binary division #
The exact scaled-rational rounding theorem gives the real-number correctness contract for the
public Model.div operation. The refinement sits above the dyadic arithmetic and rational
packing layers to keep those dependencies acyclic.
Finite division by a nonzero finite operand cannot overflow when the exact real quotient is within the destination's largest finite magnitude.
Finite division by a nonzero finite operand is exact real division followed by one nearest-even format rounding.
The hypothesis hfin excludes overflow by asking that the executable quotient be finite;
toReal_div_eq_roundAt_of_abs_div_le_posMaxFinite supplies it from a bound on the operands.
Finite division under a symbolic exact-quotient bound is exact real division followed by one nearest-even format rounding.