BoundOps instance for ExecFloat.Binary 8 23 #
This instance plugs FloatLib's configured binary32 directed-rounding primitives into the IBP/CROWN endpoint propagation code.
With this, IBP code written in terms of BoundOps can use α := ExecFloat.Binary 8 23 to get
float32-grid, outward-rounded interval propagation (subject to the usual finiteness preconditions).
BoundOps for ExecFloat.Binary 8 23, using the executable directed-rounding endpoint
primitives.
Decode a finite ordered interval, compute a rational enclosure of its entire real image, and
round the enclosure outward. Exceptional inputs and nonfinite rounded endpoints return none.
Instances For
Keep exponential argument reduction bounded on ordered input intervals. An upper endpoint above
128 already makes a finite binary32 enclosure impossible, so return none. For inputs below
-128, use zero as a lower bound and the enclosure of exp (-128) as an upper bound. Intervals
crossing -128 retain the exponential upper bound at their original upper endpoint.
The clamp avoids repeatedly squaring enormous exact rationals for extreme finite inputs.
Instances For
Preserve the nonnegative part of intervals crossing zero. The dyadic grid has enough precision to resolve binary32 square roots even at the smallest positive input.
Instances For
Nonlinear enclosures computed by FloatLib's whole-interval rational kernels and checked directed
binary32 rounding. Successful results have finite endpoints. Reversed intervals, NaN, infinity,
division through zero, invalid logarithm/square-root domains, and overflow return none.
The containment theorems below interpret endpoints by exact finite decoding. They do not assert a global lawful arithmetic instance for the IEEE carrier, which also contains exceptional values.
The actual division backend encloses every quotient of real interval members.
The actual exponential backend encloses the entire real image, including irrational values.
The actual logarithm backend encloses every real member of a positive interval.
Square-root containment preserves the backend's clamping convention across zero.
The finite sigmoid fallback encloses the real logistic function.
The finite tanh fallback encloses every real hyperbolic tangent.
Sine containment includes extrema in the interior of the input interval.
Cosine containment uses the entire interval rather than just endpoint values.