\begin{helper}[Exact many-digit adjustment]
Let \texttt{s} begin with the bytes \texttt{0.}, then eleven ASCII zero
bytes, then an ASCII \texttt{1}, followed by an arbitrary suffix.  The
extracted \texttt{adjust\_many\_digit\_count} operation, started with count
$2{,}147{,}483{,}630$, returns the exact count $2{,}147{,}483{,}618$.
\end{helper}
\begin{proof}
Unfold the extracted loop in
\noderef{num_imp_dec2flt_parse_adjust_many_digit_count}.  On the initial
\texttt{0}, subtracting one from its byte value and then saturating at zero
produces one, so the checked signed count decreases from
$2{,}147{,}483{,}630$ to $2{,}147{,}483{,}629$.  On the point byte the same
calculation produces zero, so the count is unchanged.  Each of the next
eleven zero bytes again produces one, giving the successive counts
$2{,}147{,}483{,}628$ through $2{,}147{,}483{,}618$.  The following byte is
\texttt{1}, so its adjusted byte value is two; the loop changes its scanning
flag to false without changing the count, and the following loop head returns.

There are thirteen successful index increments, from zero through thirteen.
All are within the 64-bit \texttt{usize} range, and all twelve subtractions by
one (as well as the subtraction by zero) remain within the 64-bit
\texttt{isize} range fixed by \noderef{Assumptions}.  Thus every checked
operation follows the successful branch and the extracted loop returns the
claimed exact count.
\end{proof}
