Correctness of P3109 projection #
P3109 projection rounds first, saturates second, and encodes last. This module proves that the executable code decodes to the same datum as that exact round-then-saturate specification for every valid descriptor and every supported policy.
Encoding then decoding preserves a saturated datum whose finite branch lies on the descriptor's precision grid.
Dyadic projection, exact-rational projection, square roots and block roots all go through this theorem.
Decoding an executable projection returns its round-then-saturate datum, for every valid P3109 descriptor and every rounding and saturation policy.
No descriptor width or named low-precision format is a special proof case.
Checked encoding accepts the exact datum produced by projection.
Decoding project gives the P3109 round-then-saturate specification.