\begin{lemma}[Exact fractional many-digit retry]
Let a source slice have the form $I[46]FT$, where $I$ and $F$ consist of
ASCII digits and the first byte of $T$, if any, is a nondigit.  Let the saved
integer-end slice be $[46]FT$.  Suppose the source length is at most
$2^{63}-1$ and the ordinary decimal value of $IF$ is at least $10^{18}$.
If the extracted \texttt{parse\_many\_digits}, called with explicit exponent
$e$, returns mantissa $m$ and exponent $q$, then there are lists $P,R$ with
$IF=PR$ such that
\[
 m=\operatorname{foldl}(a,b\mapsto10a+(b-48),0,P),
 \qquad q=e-|F|+|R|.
\]
\end{lemma}
\begin{proof}
Apply \noderef{NumberHelperTryParse19SafeLength} first to the integer run.
It returns a partition $I=P_1R_1$, slice $R_1[46]FT$, and the exact decimal
fold over $P_1$.  If this word is at least $10^{18}$, unfold
\noderef{num_imp_dec2flt_parse_parse_many_digits}.  Its high branch uses
\noderef{NumberHelperOffsetSourceLength} to compute the offset from the saved
integer end as $|R_1|$.  The cast is exact because this is a nonnegative
source-bounded length.  Successful return forces the checked final addition
to have value $e+|R_1|$.  Taking $P=P_1$ and $R=R_1F$ gives
$e-|F|+|R|=e+|R_1|$, as required.

Otherwise the first helper's low-result clause gives $R_1=[]$.  Hence
$P_1=I$, the live slice is exactly the saved slice, and the extracted
range-from-one operation, guarded by the known point byte, returns the slice
$FT$.  Apply \noderef{NumberHelperTryParse19SafeLength} again, now with the
integer fold as initial accumulator.  It gives $F=P_2R_2$, returned slice
$R_2T$, and a word equal to the fold of $P_2$ starting at the integer value.
By the fold-over-append identity this is the value of $IP_2$.

This second word must be at least $10^{18}$.  If it were smaller, the
helper's low-result clause would give $R_2=[]$ and identify it with the
ordinary value of all of $IF$, contradicting the threshold hypothesis.
The extracted offset from $FT$ to $R_2T$ is exactly
$|F|-|R_2|$ by \noderef{NumberHelperOffsetSourceLength}.  Its checked
negation and cast are exact: the difference lies between zero and $|F|$, and
the source bound puts $|F|$ below the positive signed-64 limit.  As in the
first branch, the hypothesized successful return forces the final checked
addition to have its ordinary integer value
$e-(|F|-|R_2|)=e-|F|+|R_2|$.  Taking $P=IP_2$ and $R=R_2$ proves the claim.

In either route, equality of the successful returned pairs identifies the
reported mantissa and exponent with these computed values.  Failure or
divergence of a checked scalar operation cannot equal that successful result,
so the case analysis covers all extracted outcomes consistent with the
premise.
\end{proof}
