Correctness of native-word division for binary32 #
The proof connects the native logarithm, quotient rounding, and complete finite divider to the
generic exact-rational specification. Runtime clients can import Division.Runtime without this
development.
For significands below 2^24, the scaling shifts and rounded quotient fit in UInt64.
The proof uses those bounds to connect native quotient-and-remainder rounding to exact rational
rounding, including ties, subnormal results, and overflow.
theorem
FloatLib.Floats.Formats.BinaryInterchange.Model.NativeBinary32.divFiniteImpl_eq
(x y : Value)
:
The one-word finite division kernel equals the generic exact-rational implementation.