\begin{lemma}[Actual significand prefix and saved fractional count]
Let $s$ be source-valid and render an unsigned valid numeric lexeme $x$.
Write $I$ for its integer digit list, $F$ for its fractional digit list
(empty if absent), $S=I\mathbin{++}F$, $C=\operatorname{dropWhile}(=0,S)$,
$L=|s.\mathit{val}|$, and $R$ for its rendered exponent suffix, including
the e/E marker, or the empty list if no exponent is present.
Consider exactly the following prefix computation, with no finalization:
default the record, run leading-zero loop 0 and the integer scalar scan;
if the residual is empty or its head is not a point, return residual,
record, and Usize zero; otherwise drop the point. When the integer count
is zero, run leading-zero loop 2, bulk loop 3, and the scalar remainder;
when it is nonzero, run bulk loop 5 and the scalar remainder. In either
fractional branch return that residual, record, and the checked difference
between the length just after the point and the final residual length.
This computation returns normally with $(u,a,f)$, where $u$ renders $R$,
$a.\mathit{num\_digits.val}=|C|$, and $f.\mathit{val}=|F|$.
Moreover $a.\mathit{num\_digits.val}+|u.\mathit{val}|\le L$,
$f.\mathit{val}\le L$, $|S|\le L$, the point is I32 zero and the sticky
flag is false. For each $j<768$, the natural cell value is $C[j]$ when
$j<\min(|C|,768)$, and zero otherwise. All 768 cell values are below ten.
The prefix computation is the explicit monadic expression in the paired
Lean statement, not a call to a different numeric parser.
\end{lemma}
\begin{proof}
Expand validity and rendering in \noderef{DecimalGoalVocabularyDefault}.
Unsignedness removes the leading sign. Every member of $I$ and $F$ is
below ten; the byte list is $I$ rendered, then the optional point and $F$,
then $R$. Thus $|I|+|F|+|R|\le L$, with one additional byte when the
point is present. By \noderef{SourceValidByteSlice}, $L\le2^{63}-1$;
by \noderef{Assumptions} this is below the Usize maximum $2^{64}-1$.
These are the only length restrictions used.

The default in
\noderef{num_imp_dec2flt_decimal_seq_DecimalSeq_Insts_CoreDefaultDefault_default}
returns count zero, point zero, false sticky flag, and 768 U8 zero cells.
Apply \noderef{DecimalDigitTrimDecomposition} to $I$ to obtain
$I=0^z\mathbin{++}J$, where $J$ is empty or begins with a nonzero digit.
If $J$ is nonempty its first ASCII value is not 48. If it is empty the
next byte is a point, an exponent marker, or the end of the input; none
is ASCII zero. Thus \noderef{DecimalSeqLeadingZeroLoopExact} applies to
the initial slice and returns $J$ rendered followed by the same optional
fraction and $R$. Its normal result is the actual first loop result.
Apply \noderef{P495_T1_ScalarScanExact} to $J$. Its stopping tail is
empty, point-headed, or e/E-headed, and its count bound is $|J|\le L$.
It returns exactly that tail with count $|J|$, unchanged zero point and
false flag, cells $J[j]$ for $j<\min(|J|,768)$, and zero cells otherwise.

If there is no fraction, this tail is $R$. It is either empty, or headed
by 69/101, so the specified prefix takes exactly its nonfractional arm
and returns $f=0$. Here $F=[]$ and $C=J$, proving all scan and count claims.

If the fraction is present, the tail is point-headed, so the nonempty
test and index succeed and read U8 46. Dropping one byte is in bounds
and leaves precisely $F$ rendered followed by $R$; call this slice $s_3$.
First suppose $J\ne[]$. Its logical count is positive, so the source
chooses bulk loop 5 with no further zero skip. Apply
\noderef{P495_T1_DigitRunExact} to $F$ and the integer record. Its bound
is $|J|+|F|+|R|\le L<2^{64}$, and its suffix is empty or e/E-headed.
\noderef{DecimalSeqDuplicateLoops} identifies loop 5 with loop 3 on
exactly these arguments. Thus the supplied bulk and scalar equations
give the two actual branch results. The logical count becomes
$|J|+|F|$, not the stored count; $C=J\mathbin{++}F$ since $J$ begins
nonzero. Below the old count cells are preserved; on the added interval
the digit-run writes the corresponding $F$ entry; beyond the new capped
count it preserves the original zero cells. These three regions give
exactly the stated cell equation for $C$, even if $|J|\ge768$.

Now suppose $J=[]$. The integer record still has zero count and all
zero cells, so the source chooses its other fractional arm. Apply
\noderef{DecimalDigitTrimDecomposition} to $F$ to obtain
$F=0^w\mathbin{++}K$ with $K$ empty or nonzero-headed. The byte tail
after these zeros is $K$ rendered followed by $R$; when $K$ is empty
its head is an exponent marker or it is empty. The leading-zero theorem
therefore supplies its normal result, and
\noderef{DecimalSeqDuplicateLoops} identifies it with actual loop 2.
Apply \noderef{P495_T1_DigitRunExact} to $K$, count zero, and the all-zero
array, using $|K|+|R|\le L$. The resulting count is $|K|$, and the
three cell regions give $K$ up to capacity and zeros thereafter. Since
all of $I$ is zero, $C=K$. This includes $K=[]$, all-zero significands,
and present exponent suffixes after zero significands: neither scan
consumes the e/E marker.

In both fractional arms $|s_3|=|F|+|R|$ and the final residual has
length $|R|$. The checked subtraction is therefore in bounds and returns
exactly $|F|$, INCLUDING the $w$ fractional zeros skipped by loop 2.
It also covers $F=[]$, such as an integer followed by a point and then
end or an exponent. The saved logical count plus residual length is
$|C|+|R|\le|I|+|F|+|R|\le L$, and $|F|,|S|\le L$.
All scan operations preserve the zero point and false flag. Every $C$
entry is a digit from $S$ and hence below ten; each other cell remains
zero. This proves the all-cell bound and all normal prefix witnesses.
\end{proof}
