Static-byte representation and lifting proofs #
Byte/model round trips, certified table execution equations, injectivity, and lifting theorems justify nominal FP8 and other static-byte families.
Every model code selected by a static-byte family fits in UInt8.
Encoding a model value as a byte code and decoding it returns the value.
Running a certified binary table on byte codes decodes to the specification applied to the decoded operands.
Running a certified unary table on a byte code decodes to the specification applied to the decoded operand.
Running a certified ternary table on byte codes decodes to the specification applied to the decoded operands.
Decoding the byte-level lift of a ternary model operation gives that operation on the decoded operands.
Encoding a model value as a family code and decoding it returns the value.
toModel inverts ofModel on model values.
Decoding a stored code and encoding the result returns the same code.
Lift a direct binary byte-kernel refinement equation to the universal static-byte carrier.
The executable function is an explicit argument. A capability can name its byte kernel directly and use this theorem to prove its refinement.
Lift a direct unary byte-kernel refinement equation to the universal static-byte carrier.
The theorem is proof-only; it does not add a conversion or dispatch layer to the executable kernel.
Lift a direct ternary byte-kernel refinement equation to the universal static-byte carrier.
This is the erased proof bridge used by monomorphic fused-multiply-add capabilities.
Lift a certified binary byte table directly to the universal static-byte carrier.
This proof-only wrapper packages the recurring composition of liftBinary_eq_spec with the
certificate carried by TinyTable.CertifiedBinary. Concrete format modules can therefore keep
their executable functions monomorphic while sharing the erased refinement argument.
Lift a certified unary byte table directly to the universal static-byte carrier.
The certificate is the same one used by byteCodeToModel_runUnary, lifted to ExecFloat.
Lift a certified ternary byte table directly to the universal static-byte carrier.
The concrete table remains named in the monomorphic executable definition; only its refinement proof is factored through this theorem.
Lift a proved model-level ternary kernel through the direct-byte representation.
This gives a table-free FMA construction. The executable function is modelTernary;
op_eq_spec supplies its correctness proof.