TorchLean API

NN.Floats.IEEEExec.BridgeERealTotal

BridgeERealTotal #

Extended-real (EReal) semantics for IEEE32Exec.

We use toReal? as the main “finite-only” semantic function in TorchLean. For some statements, though, we really want to distinguish +∞ from -∞ instead of collapsing both to none.

This file packages a slightly richer view:

We then prove “golden theorem”-style lemmas for core ops, where the finite branch refines to the FP32 rounding-on- model (fp32Round) and the non-finite branch preserves IEEE-754 special behavior.

Background:

Extended-real interpretation of IEEE32Exec (none exactly for NaN).

Instances For

    Quick bridge: finite means neither NaN nor Inf.

    Quick bridge: finite values coerce to EReal via toReal.