Binary-interchange descriptors in the universal carrier #
Descriptor format gives an arbitrary validated binary format a type-level identity. Its runtime
code is the existing Model format, so packing and unpacking are representation-preserving.
This module intentionally contains no arithmetic backend. Carrier-only clients should not have to load word kernels, dispatch proofs, or planner machinery merely to name a descriptor.
Type identity for one validated binary FloatFormat descriptor.
The descriptor is static in the type. Width, bias, and exceptional-value encoding therefore specialize independently for every IEEE, non-IEEE, or user-defined format.
Instances For
The descriptor carrier stores its proof model directly, so encoding and decoding are identities.
Registering that identity codec lets descriptor arithmetic use the same executable lifts and refinement theorems as every configured format.
Inject a binary model value into the universal carrier without changing its code.
Instances For
Recover the binary model value without changing its representation.
Instances For
Packing and then unpacking a model value is the identity.
Unpacking and then packing a descriptor value is the identity.