TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.Proof.Core

Proof-indexed binary-interchange values #

Erased proof views refine one executable Model fmt by its encoded interpretation or numerical value. AtExact preserves the complete encoded interpretation, AtValue records the general numerical value, and At is the finite real specialization. These are refinement views, not additional runtime representations.

@[reducible, inline]

An executable float bundled with a proof of its complete numerical interpretation.

This is a refinement view, not a second floating-point representation.

Instances For
    @[reducible, inline]

    An executable float bundled with a proof of its finite real interpretation.

    Instances For

      Forget encoding distinctions and retain the general numerical-system interpretation.

      Instances For

        Forgetting exact encoding distinctions agrees with the numerical-system interpretation.

        The richer exact interpretation of Model and its coherent forgetting map.

        Only proof APIs use it. Executable kernels call exactValue, field decoders, and arithmetic functions themselves.

        Instances For
          @[reducible, inline]

          An executable float bundled with a proof of its complete exact interpretation.

          This is the generic exact proof view specialized to Model. It keeps signed zero and complete NaN metadata and carries one runtime Model fmt.

          Instances For
            @[reducible, inline]

            An IEEE outcome bundled with proofs of both its complete value and its exception status.

            The outcome is the runtime data. Only the two indexing equalities are erased.

            Instances For