\begin{helper}[Exact scientific suffix]
\label{helper:ParserExactRoundingScientific}
For a model byte slice whose value is the ASCII digit list
\texttt{[54,53,53,51,54,48]}, the extracted
\texttt{parse\_scientific} succeeds with exponent $65536$ and an empty
remaining slice.
\end{helper}

\begin{proof}
Expand \noderef{num_imp_dec2flt_parse_parse_scientific}.  Its first-byte split
sees ASCII `6', so the unsigned branch invokes the scientific digit loop at
accumulator zero and index zero.  At each of the six iterations, the
bounds-checked slice index reads respectively bytes
$54,53,53,51,54,48$.  Subtracting ASCII zero gives digits
$6,5,5,3,6,0$, and the loop recurrence $a\mapsto10a+d$ therefore produces
\[
  0,6,65,655,6553,65536,655360.
\]
The model caps accumulation before accepting a further digit once the
pre-digit accumulator exceeds $65535$.  Thus on the sixth byte it consumes
the final zero and returns the previous accumulated value $65536$ at index
$6$.  Each index increment is bounded because Aeneas permits pointer widths
$32$ or $64$ and all indices are at most six.  The final drop by index six is
the empty slice, so the parser returns exponent $65536$ and no remaining
bytes, as claimed.
\end{proof}
