\begin{lemma}[Normal fractional retry with exact accounting]
Let slices $s,t$ have contents $I\mathbin{++}[46]\mathbin{++}F\mathbin{++}R$
and $[46]\mathbin{++}F\mathbin{++}R$. Every byte of $I$ and $F$ is an
ASCII digit; $R$ is empty or has a nondigit head. Suppose $|s|\le A$ and
an explicit I64 exponent $e$ has value in $[-C,C]$, with
$A=3458764513820540928$ and $C=5764607523034234879$.
The actual extracted $\texttt{parse\_many\_digits}(s,t,e)$ returns normally
with a word $m$ and exponent $q$. There exist byte lists $P,Q$ such that
\[
I\mathbin{++}F=P\mathbin{++}Q,\qquad
m.\mathit{val}=\operatorname{foldl}(a,b\mapsto10a+(b.\mathit{val}-48),0,P),
\]
\[
m.\mathit{val}\le10^{19}-1,\qquad
q.\mathit{val}=e.\mathit{val}-|F|+|Q|.
\]
The digit lists may be empty. No success premise or significant-digit
count premise is imposed.
\end{lemma}
\begin{proof}
The point byte is not a digit. Apply
\noderef{NumberHelperTryParse19SafeLength} to the first run $I$ and tail
$[46]\mathbin{++}F\mathbin{++}R$, starting at zero. Write its partition
as $I=P_1\mathbin{++}Q_1$, its word as $m_1$, and its residual contents
as $Q_1\mathbin{++}[46]\mathbin{++}F\mathbin{++}R$.

If $m_1.\mathit{val}\ge10^{18}$, the value of the whole integer run is
at least $10^{18}$: its fold extends the prefix fold by $Q_1$, and each
natural update $a\mapsto10a+(b.\mathit{val}-48)$ is at least $a$.
Induction over $Q_1$ proves this monotonicity from every starting value.
Apply \noderef{P367_T1_NumberHelperIntegralRetryA} with this point-headed
tail. It gives a partition $I=P\mathbin{++}Q'$ and a normal pair with
exponent $e.\mathit{val}+|Q'|$. Set $Q=Q'\mathbin{++}F$.
Then $IF=PQ$ and $e.\mathit{val}-|F|+|Q|=e.\mathit{val}+|Q'|$;
the other conclusions are unchanged.

Otherwise the low-result clause of
\noderef{NumberHelperTryParse19SafeLength} gives $Q_1=[]$, $P_1=I$,
and first residual exactly $[46]\mathbin{++}F\mathbin{++}R$.
Unfold \noderef{num_imp_dec2flt_parse_parse_many_digits}; the threshold
from \noderef{num_imp_dec2flt_parse_MIN_19DIGIT_INT} selects its low
branch. The range-from-one operation is in bounds because that residual
has a first point byte. It gives precisely the slice $F\mathbin{++}R$,
whose length is at most $|s|$ and whose Aeneas carrier bound follows from
the original carrier. Apply \noderef{NumberHelperTryParse19SafeLength}
again, now with initial word $m_1$, run $F$, and tail $R$. Its initial
bound $m_1.\mathit{val}\le10^{19}-1$ is supplied by the first call.
It returns normally with $F=P_2\mathbin{++}Q_2$, residual
$Q_2\mathbin{++}R$, and word $m$ equal to the fold of $P_2$ starting
at the value of $I$, still bounded by $10^{19}-1$.

Apply \noderef{P364_T1_NumberHelperOffsetSourceLength} to the whole
fractional slice and its residual. Their lengths are at most $A<2^{63}$,
and $|Q_2|\le|F|$. The normal signed offset is
$(|F|+|R|)-(|Q_2|+|R|)=|F|-|Q_2|\in[0,A]$.
Its checked negation is safe, since it is not the signed minimum, and
has value $-|F|+|Q_2|\in[-A,0]$. Its signed-to-I64 cast is exact,
since both endpoint values fit I64.
\noderef{P367_T1_NumberHelperExponentAddA} makes the final addition
normal with value $e.\mathit{val}-|F|+|Q_2|$.
Take $P=I\mathbin{++}P_2$ and $Q=Q_2$. The fold-over-append identity
identifies the returned word with the fold of $P$ from zero.
Substitution of the successful first scan, guarded slice, second scan,
offset, negation, cast and addition into the actual monadic body gives
the required normal pair in this branch also.
\end{proof}
