\begin{lemma}
For every Aeneas byte-slice carrier $s:\texttt{Slice U8}$, optional exponent
sign $\sigma:\texttt{Option Bool}$, and byte lists
$D,R:\texttt{List U8}$, suppose that $D\ne[]$, every $b\in D$ satisfies
$48\leq b.\mathit{val}\leq57$, and $R$ is empty or has a head $b$ for which
$\neg(48\leq b.\mathit{val}\leq57)$.  No condition is imposed on the bytes
after that head.  Suppose also that
\[
 s.\mathit{val}=\operatorname{signBytes}(\sigma)\mathbin{++}D\mathbin{++}R,
 \qquad
 \operatorname{signBytes}(\sigma)=
 \begin{cases}
 []&\sigma=\texttt{none},\\
 [43]&\sigma=\texttt{some false}\quad\text{(plus)},\\
 [45]&\sigma=\texttt{some true}\quad\text{(minus)}.
 \end{cases}
\]
The displayed codes denote U8 bytes.  Let
$T=2^{59}=576460752303423488$, let $\iota:\mathbb N\to\mathbb Z$ be the
natural-to-integer embedding, and define
\[
 \Phi(a,d)=
 \begin{cases}
 10a+d&a<T,\\
 a&a\geq T,
 \end{cases}
 \qquad
 N(D)=\operatorname{foldl}
   (\Phi,0,\operatorname{map}(b\mapsto b.\mathit{val}-48,D)),
\]
where both the subtraction and the fold are in $\mathbb N$, and the test
uses the \emph{old} accumulator $a$.  Let $\varepsilon(\sigma)=-1$ for
$\sigma=\texttt{some true}$ and $\varepsilon(\sigma)=1$ otherwise.
Then there exist an exponent $e:\texttt{I64}$ and a residual slice
$r:\texttt{Slice U8}$ such that
\[
 \texttt{num.imp.dec2flt.parse.parse\_scientific}(s)
   =\texttt{ok}(\texttt{some}\ e,r),
 \qquad r.\mathit{val}=R,
 \qquad e.\mathit{val}=\varepsilon(\sigma)\,\iota(N(D)).
\]
Thus the actual call returns normally with Some, consumes all of $D$ even
after accumulator updates stop, and leaves exactly $R$.  An update may
overshoot $T$; its result is retained, not clipped to $T$.  The statement
applies to every slice carrier satisfying the displayed premises, with no
A or B length restriction, UTF-8 requirement, or extra exponent-digit
restriction.  It asserts neither complete numeric-literal acceptance nor
behavior on empty or malformed exponent prefixes.
\end{lemma}
\begin{proof}
The nonemptiness and digit-range premises are exactly those required by
\noderef{P9_T1_ScientificScannerFold}.  If $R=b::R'$, the suffix premise gives
$\neg(48\leq b.\mathit{val}\leq57)$, discharging its nondigit-head premise.
The three cases of $\operatorname{signBytes}$ agree with the scanner's
optional-sign prefix, so the displayed decomposition discharges its slice
equality premise as well.  Apply that theorem to obtain actual witnesses
$e,r$ with normal result $\texttt{ok}(\texttt{some}\ e,r)$, residual contents
$R$, and
\[
 e.\mathit{val}=\varepsilon(\sigma)
   \operatorname{foldl}(\Psi,0,D),
 \qquad
 \Psi(z,b)=
 \begin{cases}
 10z+\iota(b.\mathit{val})-48&z<T,\\
 z&z\geq T,
 \end{cases}
\]
where $\Psi$ is an integer byte operation.

For every byte $b$ with $48\leq b.\mathit{val}$, natural subtraction is exact:
\[
 \iota(b.\mathit{val}-48)=\iota(b.\mathit{val})-48.
\]
Indeed $b.\mathit{val}=48+(b.\mathit{val}-48)$ in $\mathbb N$, and embedding
this equality into $\mathbb Z$ gives the identity.  For every $a\in\mathbb N$,
$\iota(a)<T$ is equivalent to $a<T$.  The embedding preserves multiplication
by 10 and addition, so the two threshold branches give
\[
 \Psi(\iota(a),b)=\iota(\Phi(a,b.\mathit{val}-48)).
\]
Now prove, by induction on a byte list $L$ whose members have value at least
48, the identity generalized to \emph{every} starting $a\in\mathbb N$:
\[
 \operatorname{foldl}(\Psi,\iota(a),L)
 =\iota\!\left(\operatorname{foldl}
   (\Phi,a,\operatorname{map}(b\mapsto b.\mathit{val}-48,L))\right).
\]
For the empty list both sides are $\iota(a)$.  For $L=b::L'$, unfold the first
fold step on each side and use the step identity.  The induction hypothesis
for $L'$ applies at the new natural accumulator
$\Phi(a,b.\mathit{val}-48)$, whether the old accumulator was below the
threshold or not, and proves the desired equality.

Apply this identity to $L=D$ and $a=0$; the digit-range premise supplies all
its lower bounds.  Substitution into the scanner's exponent equation gives
$e.\mathit{val}=\varepsilon(\sigma)\,\iota(N(D))$.  The same witnesses retain
the actual normal Some result and exact residual slice contents.
The scanner theorem concerns an integer fold on byte values; this identity
connects it to the natural digit-value fold defining the accumulated explicit
exponent in \noderef{DecimalGoalVocabularyDefault}.  It is the bridge used
in that definition's preservation argument and in the Preamble preservation
argument, without asserting any enclosing parser's correctness.
\end{proof}

