TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.Configured.TotalOrder.Proof

Configured total-order refinement #

Packing and decoding preserve both predicates exactly. Order laws and numerical, zero, and NaN rules are transported from the descriptor model, independently of the chosen runtime carrier. Mutual magnitude comparison identifies absolute exact values, including NaN metadata; opposite signs can tie.

Configured total ordering is exactly the descriptor-model predicate.

@[simp]

Packing two models preserves their total-order comparison.

@[simp]

Every configured datum precedes itself, including signaling NaNs.

Mutual total ordering identifies the configured value, including its complete encoding.

Mutual total comparison is equivalent to equality for every configured storage plan.

Strict model numerical comparison is respected by configured total order.

Configured zero ordering depends only on the stored sign flags.

@[simp]

Magnitude comparison is reflexive on every configured value.

In a signed-zero format, magnitude ordering agrees with model absolute-value ordering.