\begin{lemma}[Short scientific suffix bound]
Let a scientific suffix contain an optional plus or minus sign followed by
a nonempty list of at most five decimal digit bytes, and let an Aeneas byte
slice contain exactly that rendering.  The extracted
\texttt{parse\_scientific} call returns \texttt{Some} of a signed exponent,
leaves the empty suffix, and the exponent lies in
\([-99999,99999]\).
\end{lemma}
\begin{proof}
Unfold the digit loop in
\noderef{num_imp_dec2flt_parse_parse_scientific}.  At a loop head with
accumulator \(a\) and consumed count \(k\), maintain
\[
 0\leq k\leq q,\qquad 0\leq a<10^k,
\]
where \(q\leq5\) is the full digit count.  Use \(q-k\) as the decreasing
measure.  The invariant holds at \(a=k=0\).

If \(k<q\), the guarded index operation reads the \(k\)-th byte.  Decimality
puts its value after wrapping subtraction by 48 in \([0,9]\).  Since
\(k<q\leq5\), the invariant gives \(a<10^4<65536\), so the extracted strict
accumulator guard is necessarily true.  The checked multiplication and
addition compute \(a'=10a+d\); they are safely below \(100000\), hence far
inside the signed 64-bit range.  The checked count increment gives
\(k'=k+1\leq q\), and
\[
 0\leq a'=10a+d<10\cdot10^k=10^{k+1}.
\]
Thus the invariant and the strict measure decrease are preserved.  The
nondigit branch is impossible because every represented byte is a decimal
digit.

When the loop terminates, \(k=q\), and the invariant yields
\(0\leq a<10^q\leq10^5\), hence \(a\leq99999\).  The optional plus sign
leaves this value unchanged.  The optional minus sign performs checked
negation, which is safe on this interval and yields a value at least
\(-99999\).  The exact first-byte split and final range slice from
\noderef{ModelSliceSplitFirst} remove precisely the optional sign and all
\(q\) digits, so the remainder is empty.  These cases prove the stated
normal return and two-sided bound.
\end{proof}
