\begin{lemma}[Exact decimal-sequence reconstruction]
Let a source-valid slice $s$ render a valid unsigned numeric lexeme $x$, and
suppose \texttt{parse\_decimal\_seq($s$)} returns $d$.  Concatenate the
integer and fractional digit lists, delete their maximal leading zero run,
and then delete the maximal trailing zero run; call the resulting complete
digit word $C'$ and let $N=|C'|$.  Then
\[
 d.\mathit{num\_digits}=\min(N,768),
\]
the value list of the first $d.\mathit{num\_digits}$ array cells is exactly
the corresponding prefix of $C'$, and
\[
 d.\mathit{truncated}=\mathrm{true}\quad\Longleftrightarrow\quad N>768.
\]
Here the two deletions are exactly the \texttt{dropWhile}/reverse operations
shown in Lean.
\end{lemma}
\begin{proof}
Apply \noderef{DecimalSeqLexicalState} to the source-validity, unsigned-sign,
validity, rendering, and successful-parse hypotheses.  Its $S$ is the
concatenation of the integer digits with the optional fractional digits, and
its $R$ is obtained from $S$ by the same leading-zero deletion followed by
reverse, leading-zero deletion, and reverse operations used in this
statement.  The first conjunct of that theorem therefore says directly that
the returned count is $\min(|R|,768)$, that the values of the retained array
prefix are the corresponding prefix of $R$, and that truncation is true
exactly when $768<|R|$.  These are precisely the three required conclusions;
the theorem's additional decimal-point congruence is not needed here.
\end{proof}
