\begin{lemma}[Normal integral retry with exact accounting]
Let $s,t:\texttt{Slice U8}$ have contents $I\mathbin{++}R$ and $R$.
Every member of $I$ is an ASCII digit, and $R$ is empty or has a nondigit
head. Suppose $|s|\le A=3458764513820540928$ and the ordinary natural
decimal fold of $I$ is at least $10^{18}$. Let an explicit exponent
$e:\texttt{I64}$ have value in $[-C,C]$, where
$C=5764607523034234879$.
Then the actual extracted $\texttt{parse\_many\_digits}(s,t,e)$ returns
normally with mantissa $m$ and exponent $q$. There are byte lists $P,Q$
with $I=P\mathbin{++}Q$ such that
\[
m.\mathit{val}=\operatorname{foldl}(a,b\mapsto10a+(b.\mathit{val}-48),0,P),
\quad 10^{18}\le m.\mathit{val}\le10^{19}-1,
\quad q.\mathit{val}=e.\mathit{val}+|Q|.
\]
Subtraction in the fold is natural subtraction. No normal-return premise
or bound on the number of exponent digits is assumed.
\end{lemma}
\begin{proof}
Apply \noderef{NumberHelperTryParse19SafeLength} to $s$, initial word zero,
digit list $I$, and tail $R$. Its premises are precisely the slice
decomposition, digit ranges, nondigit-head condition, and
$0\le10^{19}-1$. It supplies a normal scan, $I=P\mathbin{++}Q$,
residual contents $Q\mathbin{++}R$, the stated fold for its word $m$,
and $m.\mathit{val}\le10^{19}-1$. If $m.\mathit{val}<10^{18}$, its
low-result clause makes $Q=[]$; the fold equation would then identify
$m.\mathit{val}$ with the value of all of $I$, contradicting the value
premise. Thus $m.\mathit{val}\ge10^{18}$.

Unfold \noderef{num_imp_dec2flt_parse_parse_many_digits}. The constant
in \noderef{num_imp_dec2flt_parse_MIN_19DIGIT_INT} is exactly $10^{18}$,
so the high branch is selected. The live scan residual has length
$|Q|+|R|\le|I|+|R|=|s|\le A$, and the saved slice has length $|R|$.
Apply \noderef{P364_T1_NumberHelperOffsetSourceLength} with the live
residual as whole and the saved slice as rest: their lengths are at most
$2^{63}-1$, and the second is no longer than the first. It returns
normally with signed offset $(|Q|+|R|)-|R|=|Q|$.

This offset belongs to $[0,A]$, hence its checked signed-to-I64 cast is
in bounds and exact. Apply
\noderef{P367_T1_NumberHelperExponentAddA} to this cast value and $e$.
All its base and explicit-exponent inequalities have just been proved.
The final addition returns normally with value $|Q|+e.\mathit{val}$.
Substituting these successful scan, offset, cast and addition results
into the extracted monadic body gives the claimed successful pair.
Thus failure and divergence have been excluded by actual successful
operations, not by inversion of an assumed normal return.
\end{proof}
