Total FP32 Bridge: Minimum and Maximum #
IEEE minimum and maximum are not ordinary real min and max on every bit pattern: NaNs and
signed zero require explicit rules. This module proves the rounded-real equations on finite inputs
and records the exceptional branches through toReal?, using the special-value semantics from the
core bridge.
See FP32Total.Core for the common finite/special-value convention.
Total minimum and maximum (including infinities) #
Total characterization of toReal? (minimum x y) via toReal? x and toReal? y.
This lemma covers the cases where one side is +∞ (which acts as a neutral element for min) and
the cases where toReal? is none because of NaN.
Total characterization of toReal? (maximum x y) via toReal? x and toReal? y.
This lemma covers the cases where one side is -∞ (which acts as a neutral element for max) and
the cases where toReal? is none because of NaN.