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 may decline when its structural or finite-input preconditions fail. The proof shows that accepted results refine Spec.mul and that every decline reaches generic. Runtime clients can import Mul.Runtime without loading these theorems.

Compact generic multiplication preserves the public exact-dyadic operation.

Multiplication through the native fixed-format and parameterized one- and two-word kernels agrees with Spec.mul.