TorchLean API

FloatLib.Floats.ExecFloat.Backends.Dispatch.Mul.Proof

Correctness of multiplication backends #

Every route through the multiplication dispatcher meets Spec.mul: binary32, binary64, fixed-pair, parameterized one-word, two-word, and generic implementations differ only in storage and execution strategy.

Each fast kernel is allowed to decline when its structural or finite-input preconditions fail. The proof shows that successful results are exact refinements and that every decline reaches the single generic specification-preserving path. Runtime clients can import Mul.Runtime without loading these theorems.

Compact generic multiplication preserves the public exact-dyadic operation.

The native fixed-format and parameterized one- and two-word dispatches preserve multiplication.