TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.Configured.Reduction.Proof

Correctness of configured binary reductions #

The configured API is a lossless carrier adaptation of the descriptor-model reducer. These theorems expose that connection directly, so proofs can reason about the one model definition without depending on byte, word, or wide storage choices.

Decoding a configured correctly rounded sum recovers the descriptor-model sum and all status indicators exactly.

@[simp]

Decoding the value-only configured sum gives the value component of the descriptor-model sum.

Configured dot-product execution is exactly the descriptor-model dot product, including a length-mismatch error and every IEEE status indicator.

On a successful configured dot product, decoding the delivered value gives the descriptor-model value exactly.