TorchLean API

NN.Floats.Interval.IEEEExec32ArbTrans

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 #

    Arb-backed interval endpoints for transcendentals #

    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
        @[inline]

        Arb-backed tanh enclosure for Interval32 (oracle + outward rounding to float32 endpoints).

        Instances For
          @[inline]

          Arb-backed exp enclosure for Interval32 (oracle + outward rounding to float32 endpoints).

          Instances For
            @[inline]

            Arb-backed log enclosure for Interval32 (oracle + outward rounding to float32 endpoints).

            Instances For
              @[inline]

              Arb-backed sqrt enclosure for Interval32 (oracle + outward rounding to float32 endpoints).

              Instances For