TorchLean API

FloatLib.Floats.ExecFloat.Backends.Dispatch.Div.Proof

Correctness of division backends #

word_eq_spec identifies the complete dispatcher with Spec.div for every descriptor and operand pair. The equality includes rounding, signed zeros, infinities, and NaNs.

The specialized kernels provide refinements on their accepted inputs. When an operand or intermediate lies outside a kernel's supported domain, the dispatcher uses generic, which is correct by generic_eq_spec.

Compact generic division preserves the public exact-dyadic operation.

Structurally selected specialized dispatch preserves format-generic division.