Real semantics and correctness of exact logarithmic numbers #
The exact codes from Exact.Runtime denote zero or signed integral powers of the radix. This
module defines their real interpretation and numerical system, then connects the executable
rational decoder to that interpretation and proves multiplication refinement.
The proof views add only erased propositions to the existing code. The configured family uses
these results to expose exact logarithmic multiplication through ExecFloat.
Real value of a logarithmic code.
Instances For
Real semantics of exact logarithmic codes.
Instances For
A logarithmic code with an erased proof of its complete denotation.
Instances For
A logarithmic code with an erased proof of its real value.
Instances For
Arithmetic refinement #
The distinguished logarithmic zero code decodes to real zero.
The distinguished logarithmic zero code decodes to rational zero.
The executable rational decoder agrees with the exact real semantics.
Decoding logarithmic multiplication gives exact real multiplication.
Logarithmic multiplication is exact in the executable rational domain as well.
Representation in the logarithmic system is equality of decoded real values.
Logarithmic multiplication exactly refines multiplication over the reals.