TorchLean API

FloatLib.Floats.Formats.Posit.Semantics.Ordinary.Real

Real coordinates for ordinary posits #

An ordinary posit excludes NaR and therefore has a total exact rational coordinate. This module canonically embeds that coordinate into mathlib's Real for use in proofs.

@[inline]
noncomputable def FloatLib.Floats.Formats.Posit.Model.Ordinary.toReal {format : Format} (value : Ordinary format) :

Canonical exact-real coordinate obtained from the ordinary rational semantics.

Instances For
    @[simp]

    The model's optional real view agrees with the total ordinary real coordinate.

    @[simp]

    Ordinary posit zero denotes real zero.