Finite proof-indexed binary-interchange arithmetic #
The finite Model.At view supports constructors, decoding theorems, directed rounding bounds,
and arithmetic operations. Each arithmetic wrapper contains the corresponding executable result
together with an erased proof of its real index. Rounded arithmetic requires conventional IEEE
descriptors and a finite result.
Regard a finite refinement through the total numerical-value interface.
Instances For
Construct the proof-indexed view of a finite executable float.
Instances For
The format's policy-aware zero with its exact real interpretation.
Instances For
Positive one with its exact real interpretation.
Instances For
Negative one with its exact real interpretation.
Instances For
The bundled executable value represents its real index.
Every proof-indexed executable float is finite.
Decoding a proof-indexed executable float recovers its real index.
The extended-real interpretation of a proof-indexed executable float is its real index.
Downward-rounded subtraction of represented inputs is a lower bound on their exact difference.
Downward-rounded multiplication of represented inputs is a lower bound on their exact product.
Negation transports the real index exactly.
Instances For
Fused multiply-add transports real indices through one nearest-even rounding step.
Instances For
A cross-format cast transports its real index through destination rounding.
Instances For
Lifting a finite model value records that value as the carrier.
The carrier of a negated witness is the model negation.
The carrier of a finite fused multiply-add witness is the model fused multiply-add.
The carrier of a finite cast witness is the model cast.