Arb-backed enclosures with FloatLib endpoint rounding #
Arb/python-flint supplies the external real-enclosure claim. Exact rational endpoints are then rounded outward by FloatLib's descriptor-generic software rounders. The theorems below are binary32 transport corollaries of FloatLib's directed-rational bounds. No native floating-point conversion or software transcendental approximation participates in this endpoint conversion.
Render a rational in a format that Arb's parser accepts (e.g. -3/2, 5).
Instances For
Proved outward rounding from ℚ to ExecFloat.Binary 8 23 #
The lower rational endpoint conversion is an EReal lower bound.
The upper rational endpoint conversion is an EReal upper bound.
Arb-backed interval endpoints for transcendentals #
Decode a float endpoint as an exact rational, failing if the value is NaN/Inf.
This is used to feed exact endpoint strings into the Arb oracle.
Instances For
Call Arb on the real interval [X.lo, X.hi] (interpreted exactly as rationals) and return the
oracle-provided rational enclosure bounds (L,U).
This is the only step that crosses the trust boundary.
Instances For
Compute an IEEE32Exec.Interval32 enclosure for a transcendental unary func by:
- getting a real enclosure
[L,U]from Arb, - rounding endpoints outward to the binary32 grid.
The exact rational endpoints are passed directly to the proved directed-rational interface. FloatLib's directed-rounding theorem covers the conversion, including overflow to infinite endpoints.
Instances For
Arb-backed tanh enclosure for Interval32 (oracle + outward rounding to float32 endpoints).
Instances For
Arb-backed exp enclosure for Interval32 (oracle + outward rounding to float32 endpoints).
Instances For
Arb-backed log enclosure for Interval32 (oracle + outward rounding to float32 endpoints).
Instances For
Arb-backed sqrt enclosure for Interval32 (oracle + outward rounding to float32 endpoints).