Correctness of rational-free exact posit quotient rounding #
The executable quotient rounder compares candidate codes by cross multiplication instead of constructing the rational quotient. This module proves the positive-code search, threshold test, ties-to-even decision, sign handling, zero, and NaR branches equal to the reference rational specification.
The comparison remains exact: multiplying dyadics preserves their integer significands and binary exponents without rational normalization. The final theorem identifies the result with exact rational division followed by standard posit rounding.
Exact product comparisons follow the reference rational quotient search.
Cross-multiplied quotient rounding selects exactly the rational specification's positive code.
Rational-free positive quotient rounding refines the reference rational model rounder.
Any positive-magnitude rounder that refines the rational specification yields, through the shared
signed shell roundSignedWith, the complete signed quotient specification.
The two exact quotient kernels differ only in their positive-magnitude rounder, so this single proof of the exceptional cases and the four sign cases serves both.
Signed cross-multiplied quotient rounding refines exact rational division and standard rounding.