TorchLean API

NN.Floats.Interval.IEEEExec32

Binary32 certificate intervals #

TorchLean's IEEE execution certificates store binary32 endpoints. Interval32 selects that carrier from FloatLib's generic interval type; the arithmetic and soundness proofs are FloatLib's. Other endpoint formats can use FloatLib.Numerics.Interval directly, with the corresponding outward-rounding adapter. Binary intervals retain the model's whole-range fallback for unordered or indeterminate endpoint results.

@[reducible, inline]

FloatLib bounds with the binary32 endpoints used by IEEE execution certificates.

Instances For
    @[reducible, inline]

    Both endpoints are finite and ordered.

    Instances For
      @[reducible, inline]

      Both endpoints are non-NaN and ordered; infinities are permitted.

      Instances For
        @[reducible, inline]

        Test whether the numerical endpoint range contains zero.

        Instances For
          @[reducible, inline]

          Endpoint hull, inheriting the model's IEEE NaN propagation.

          Instances For
            @[reducible, inline]

            Outward-rounded sum, with the model's conservative fallback for indeterminate bounds.

            Instances For
              @[reducible, inline]

              Outward-rounded difference.

              Instances For
                @[reducible, inline]

                Outward-rounded four-corner product enclosure.

                Instances For
                  @[reducible, inline]

                  Outward-rounded quotient; a denominator containing zero returns the whole range.

                  Instances For
                    @[reducible, inline]

                    Negate and exchange the endpoints.

                    Instances For
                      @[reducible, inline]

                      Reciprocal enclosure; an interval containing zero returns the whole range.

                      Instances For
                        @[reducible, inline]

                        Endpoint-grid image enclosure for max x 0.

                        Instances For
                          @[reducible, inline]

                          Absolute-value enclosure, handling intervals crossing zero.

                          Instances For
                            @[reducible, inline]

                            Directed square-root endpoints; real soundness additionally needs nonnegative input bounds.

                            Instances For