\begin{helper}[Exact digit scans for the long decimal witness]
For the witness bytes \texttt{0.} followed by $65{,}535$ zero bytes and
\texttt{1e655360}, the extracted digit scanner first consumes exactly the
initial \texttt{0}, returns accumulator zero, and leaves the point.  Starting
after that point, it consumes exactly the $65{,}535$ zero bytes and the final
\texttt{1}, returns accumulator one, and leaves \texttt{e655360}.
\end{helper}
\begin{proof}
Unfold the two-loop digit scanner in
\noderef{num_imp_dec2flt_parse_try_parse_digits}.  At the start of the whole
witness, the first eight-byte word contains the point and therefore fails the
eight-digit test.  The scalar loop reads the initial byte \texttt{0}, updates
the accumulator from zero to zero, increments the index to one, then stops at
the point byte.  Dropping one byte therefore leaves exactly the claimed point
suffix.

For the fractional scan, group the $65{,}536$ digit bytes into $8{,}192$
eight-byte blocks.  Use the invariant that with $j$ blocks remaining, where
$0\leq j\leq8191$, the current slice consists of $8j+7$ zero bytes, then the
terminal \texttt{1}, then \texttt{e655360}, and the accumulator is zero.
When $j>0$, \noderef{NumberHelperReadEightBytes} identifies the next word as
eight ASCII zeros.  Its bytes satisfy the acceptance condition of
\noderef{NumberHelperEightDigitWordAccepted}, and direct evaluation of the
extracted eight-digit arithmetic gives zero, so dropping eight bytes
establishes the invariant with $j-1$.  When $j=0$, the final word is seven
zeros followed by one; the same read and acceptance facts apply, and direct
evaluation gives accumulator one.  The fast loop then leaves precisely
\texttt{e655360}; the scalar loop immediately stops because \texttt{e} is not
a decimal digit.  The remaining-block count, equivalently the slice length,
strictly decreases on every continuing iteration, proving termination.

All reads have eight available bytes, all scalar reads occur at a valid
index, and the only index increment is from zero to one.  Thus the checked
operations stay within both possible model pointer-width bounds, and both
scanner equations follow.
\end{proof}
