\begin{lemma}[Initial canonical slow decimal state]
Under the source-valid numeric, successful assembled-trace, and true slow-guard
hypotheses, there is a decimal sequence $d$ returned by parsing the trace body;
the extracted slow call returns the selected pair and that pair assembles to the
trace word.  If $D$ is the retained digit list, $I$ its base-ten fold,
$R=I10^{p-n}$, $u=10^{p-768}$, and
$A=\operatorname{accumulatedMagnitude}(x)$, then $A\ge0$, $n\le768$, and
every retained cell is below ten.  Moreover either $n=0$, $D=[]$, sticky is
false, and $A=0$, or $D=z::Z$ with $1\le z<10$ and $|D|=n$.  Finally there is
$\eta$ with
\[
 A=R+\eta,\quad0\le\eta<u,\quad
 (d.\mathit{truncated}=\mathrm{true}\iff0<\eta),
 \quad -655701\le p\le655686.
\]
These alternatives and equations are exactly those in the Lean statement.
\end{lemma}
\begin{proof}
Apply \noderef{ParserSlowReachableDecimalSeq}.  It gives the same $d$, both
monadic return equations, the assembly relation, $n\le768$, the cell bound,
the displayed error representation, and the point interval.  Since $I$ is a
fold of natural digits, $I\ge0$; since every real integral power of ten is
positive, $R\ge0$.  Thus $A=R+\eta\ge0$.

It remains to establish the canonical shape, which is deliberately not hidden
inside that cited theorem.  Unfold the returned parse using
\noderef{num_imp_dec2flt_decimal_seq_parse_decimal_seq} and use the exact
reconstruction statement \noderef{DecimalSeqReconstruction}.  The latter
identifies $D$ with the first $n=\min(N,768)$ cells of the source significand
after deleting its leading and trailing zero runs, and says that sticky is
true exactly when $N>768$.

If $n=0$, then $N=0$: if $N>0$, its minimum with 768 would be positive.
Consequently the reconstructed word and hence $D$ are empty, and $N>768$ is
false, so sticky is false.  The base-ten fold is $I=0$, hence $R=0$.  The
sticky/error equivalence supplied by
\noderef{ParserSlowReachableDecimalSeq} now says $0<\eta$ is false.  Together
with $0\le\eta$ this gives $\eta=0$, and $A=R+\eta=0$.  Notice that no claim is
made that the stored decimal point is zero; an explicit exponent may have
changed it before the zero short-circuit.

If $n\ne0$, then $N>0$.  Deleting the leading zero run makes the first member
of the reconstructed nonempty word nonzero.  Source numeric validity, already
one of the hypotheses of \noderef{ParserSlowReachableDecimalSeq}, bounds every
source digit by nine.  Hence its head $z$ satisfies $1\le z<10$.  Since
$n\le N$, taking $n$ entries has length $n$; transporting this equality across
the reconstruction equation gives $D=z::Z$ and $|D|=n$.  The two cases are
exhaustive, and adjoining the facts supplied in the first paragraph proves
every conjunct of the stated package.
\end{proof}
