TorchLean API

NN.Proofs.RuntimeApprox.IEEE32.MinMaxTotal

Total optional observations of binary32 minimum and maximum #

Finite operands use the real minimum and maximum contracts. NaNs propagate without a real observation, while positive infinity is neutral for minimum and negative infinity is neutral for maximum. The exceptional cases follow FloatLib's NaN selection and infinity comparison directly.

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.