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, whose correctness is established by generic_eq_spec. Runtime clients can import Div.Runtime separately.

Compact generic division preserves the public exact-dyadic operation.

Structurally selected specialized dispatch preserves format-generic division.