\begin{helper}
For every signed decimal exponent $q$, unsigned significand $w$, and biased
pair $b$, if the extracted binary64 call \texttt{compute\_float}$(q,w)$
returns $b$ normally and $b$ has biased exponent $2047$, then $b$ has zero
mantissa.
\end{helper}
\begin{proof}
Use the binary64 evaluations in \noderef{ParserExponentConstants}.  In
particular, the decimal cutoffs are $-342$ and $308$, the significand width is
$52$, and the infinite-power exponent is $2047$.  Unfold
\noderef{num_imp_dec2flt_lemire_compute_float} and invert the successful
result monad in program order.  Its eager zero, infinity, and error pairs are
respectively $(0,0)$, $(0,2047)$, and $(0,-1)$.  Thus only the infinity
sentinel satisfies the exponent hypothesis, and its mantissa is zero.

On every remaining normally returning path, normalization, the precision
calculation, product approximation, and subsequent checked operations have
succeeded; any failure or divergence would propagate instead of yielding the
assumed \texttt{ok}.  After the product, the extracted definition has two
copies of the same exponent block: the maximal-low-limb safe-exponent branch
and the nonmaximal-low-limb branch.  Analyze both copies separately.

In either copy, if the computed \texttt{power2} is nonpositive, a shift count
at least $64$ returns the zero sentinel.  Otherwise the record exponent is a
signed cast of a Boolean and hence is either zero or one.  Neither possibility
can equal $2047$, so the implication is vacuous on all underflow records.

If \texttt{power2} is positive, the optional tie correction changes only the
mantissa.  In the carry branch, invert the checked addition and identify the
candidate exponent as \texttt{power2}$+1$; in the noncarry branch the
candidate is \texttt{power2}.  The final comparison tests that exact candidate
against $2047$.  If the test succeeds, the function returns the already
identified infinity sentinel $(0,2047)$.  If it fails, the ordinary record
retains the candidate and the failed test proves that its exponent is strictly
less than $2047$, contradicting the theorem's exponent hypothesis.  The
maximal-low-limb unsafe-exponent branches return the error pair of exponent
$-1$.  These cases exhaust all successful exits of both duplicated blocks,
so exponent $2047$ always has mantissa zero.
\end{proof}
