\begin{helper}[Maximal leading-one digit scan]
On a slice consisting of $9223372036854775800=8q$ ASCII one bytes followed
by \texttt{e655360}, the extracted ordinary digit scanner succeeds, leaves
exactly the seven-byte suffix \texttt{e655360}, and returns some unsigned
accumulator.
\end{helper}
\begin{proof}
Put $q=1152921504606846975$ and use the loop invariant that the current slice
is $8m$ ASCII one bytes followed by \texttt{e655360}, for some $m\leq q$.
When $m>0$, its length is at least eight.  By
\noderef{NumberHelperReadEightBytes}, the bulk read succeeds and every byte
of the returned word agrees with one of the first eight slice bytes, hence is
$49$.  The hypotheses of \noderef{NumberHelperEightDigitWordAccepted} are
therefore satisfied, so the digit test returns true.  Then
\noderef{NumberHelperParseEightDigitsSafe} shows that the eight-digit helper
also returns normally.  The two accumulator operations in
\noderef{num_imp_dec2flt_parse_try_parse_digits} are wrapping operations and
cannot fail, and the in-bounds range operation drops exactly eight bytes.
Thus $m$ decreases by one without expanding the replicated list.

At $m=0$ the remaining list is the seven-byte suffix, so the bulk length
guard is false.  The scalar loop reads its initial byte $101$; wrapping
subtraction of $48$ is $53$, which is not below ten, so its count remains
zero.  The final drop by zero preserves the suffix.  This proves the exact
residual assertion; the wrapped accumulator is immaterial.
\end{proof}
