TorchLean API

NN.Floats.IEEEExec.Bridge.FP32Total.Arithmetic

Total FP32 Bridge: Arithmetic #

This module lifts the finite FP32 refinement results for addition, subtraction, multiplication, division, and square root to the total IEEE32Exec domain. A theorem either recovers the rounded real equation from a finite executable result or leaves the NaN/infinity branch visible through toReal?.

See FP32Total.Core for the finite/special-value split and references.

Arithmetic Refinement #

Addition refinement packaged for total reasoning.

Finite executable addition also agrees with the canonical mantissa/exponent produced by the effective nearest-even calculation layer.

Subtraction refinement packaged for total reasoning (hide dyadic witnesses).

This is the finite-path wrapper around toReal_sub_eq_fp32Round, replacing explicit toDyadic? witnesses with the more user-facing finiteness hypotheses.

Multiplication refinement packaged for total reasoning.

Fused multiply-add refinement packaged for total reasoning.

Square-root refinement packaged for total reasoning.

Division refinement packaged for total reasoning.