Correctness of rational integer-root certificates #
Integer division followed by integer root brackets the real root of a nonnegative rational. The shared Newton kernel supplies the exact floor root without repeated power checks. Uniqueness of the integer part identifies its result with the comparison search. The root's binade follows from the radicand's binary logarithm and Euclidean division. These facts preserve the complete encoded result for every descriptor.
Dividing the radicand's floor binary logarithm locates every positive-degree root's binade.
The computed root binade agrees with the bounded search throughout the finite interval.
Raw integer scaling preserves the exact radicand without rational normalization.
Integer cross-multiplication compares an exact nonnegative root with an integer.
Doubling the candidate compares the exact root with a half-integer using only integers.
Integer square root of an integer quotient brackets the square root of the exact quotient.
Target scaling commutes with the nonnegative square root.
The exact integer root agrees with the comparison search throughout its finite interval.
Integer comparisons preserve the complete exactness and midpoint classification.
Sharing the scaled ratio preserves every field of the accuracy certificate.
Integer-root construction preserves every field of the reference accuracy certificate.
The integer-square-root certificate equals the comparison certificate throughout its range.
Integer binade classification and exact roots preserve every reference result bit.
The optimized square root preserves every result bit for any complete descriptor.
The optimized rational square root rounds the exact real square root once.
Selecting the square-root specialization preserves the complete general-root result.