\begin{lemma}
Suppose a source-valid string $s$ renders a valid numeric lexeme $x$, its
successful traced result is an \texttt{Assembled} record $t$, and
$t.\mathit{slow\_path\_guard}$ is false.  Then
$t.\mathit{assembly\_result}$ rounds the accumulated-exponent magnitude of
$x$.
\end{lemma}
\begin{proof}
Apply \noderef{ParserNumericTraceShape} to the successful trace.  The fast
alternative contradicts distinctness of the trace constructors.  Constructor
injectivity in the assembled alternative identifies its record with $t$ and
provides a parsed record $d$.  With $x_0$ denoting $x$ with only its leading
sign cleared, the strengthened statement supplies
\[
 \begin{gathered}
 t.\mathit{body}.\mathit{val}\ne[],\qquad
 \texttt{SourceValidByteSlice}(t.\mathit{body}),\\
 \operatorname{bytes}(t.\mathit{body})
   =\operatorname{renderNumeric}(x_0),\qquad
 t.\mathit{parse\_number\_result}=\texttt{some }d,\\
 \texttt{parse\_number}(t.\mathit{body})
   =\texttt{ok (some }d\texttt{)}.                           \tag{1}
 \end{gathered}
\]
Unfold \noderef{DecimalGoalVocabularyDefault}.  Clearing
\texttt{leadingSign} preserves \texttt{validNumeric}, gives
$x_0.\mathit{leadingSign}=\texttt{none}$, and changes neither the
significand nor either exponent field.  Hence
\[
 \operatorname{accumulatedMagnitude}(x_0)
   =\operatorname{accumulatedMagnitude}(x).                 \tag{2}
\]

Apply \noderef{NumberHelperAccumulatedValue} to (1), the validity facts just
proved, and then rewrite with (2).  Put
\[
 L=d.\mathit{mantissa}.\mathit{val}\,10^{d.\mathit{exponent}.\mathit{val}},
 \quad
 U=(d.\mathit{mantissa}.\mathit{val}+1)10^{d.\mathit{exponent}.\mathit{val}},
 \quad
 A=\operatorname{accumulatedMagnitude}(x).
\]
We obtain
\[
 (d.\mathit{many\_digits}=\mathrm{false}\ \wedge\ L=A)
 \quad\text{or}\quad
 (d.\mathit{many\_digits}=\mathrm{true}\ \wedge\ L\le A<U). \tag{3}
\]

Invert the local assembled-trace equality through
\noderef{num_imp_dec2flt_dec2flt_with_trace}, using the exact body and parse
equations in (1).  Let $p_0=t.\mathit{first\_compute\_result}$.  The trace
fields and the extracted binds give
\[
 \texttt{compute\_float}(d.\mathit{exponent},d.\mathit{mantissa})
      =\texttt{ok }p_0,                                    \tag{4}
\]
and identify all the recorded second-computation, comparison,
post-comparison, selected-pair, and assembly fields with the corresponding
local values in that body.  Because the recorded slow guard is false, its
guard test did not find a negative biased exponent: the selected pair is the
post-comparison pair $p$ and
\[
                         0\le p.\mathit{p\_biased}.\mathit{val}. \tag{5}
\]

First take the false-\texttt{many\_digits} arm of (3).  The extracted branch
sets its second-computation guard false and $p=p_0$.  Apply
\noderef{IntegerCorrectOrDefer} to (4).  Its negative-exponent alternative
contradicts (5); therefore it supplies a binary64 word $m$ which assembles
from $p$ and rounds $L=A$.

Now take the true-\texttt{many\_digits} arm.  If $p_0$ had negative biased
exponent, the extracted second-computation guard would be false, the
post-comparison pair would remain $p_0$, and the slow guard would be true,
contrary to the hypothesis.  Thus $p_0$ is nonnegative and the second guard
is true.  Normal return of the whole trace forces the checked increment to
succeed with the U64 value $d.\mathit{mantissa}.\mathit{val}+1$ and forces a
second normal equation
\[
 \texttt{compute\_float}(d.\mathit{exponent},
        d.\mathit{mantissa}+1)=\texttt{ok }p_1.              \tag{6}
\]

The next extracted call compares $p_0$ and $p_1$.  A false result replaces
the post-comparison biased exponent by $-1$ and hence makes the slow guard
true.  It is therefore impossible here, so the trace records
\[
 \texttt{BiasedFp.eq}(p_0,p_1)=\texttt{ok true}.             \tag{7}
\]
Unfold precisely
\noderef{num_imp_dec2flt_common_BiasedFp_Insts_CoreCmpPartialEqBiasedFp_eq}
in (7).  Its outer test first forces
$p_0.m=p_1.m$; otherwise the return is \texttt{ok false}.  In that true arm,
its returned Boolean is the equality of the two \texttt{p\_biased} fields,
so (7) also forces
$p_0.\mathit{p\_biased}=p_1.\mathit{p\_biased}$.  The two-field structure is
therefore equal componentwise: $p_0=p_1$.  This is the required fieldwise
pair equality; it is not inferred merely from an opaque Boolean comparison.
The post-comparison and selected pair are consequently the common pair
$p=p_0=p_1$, which is nonnegative by (5).

Apply \noderef{IntegerCorrectOrDefer} separately to (4) and (6).  Their
negative alternatives contradict nonnegativity of the common pair.  The
remaining alternatives supply words assembling from the same $p$ and rounding
$L$ and $U$, respectively.  Unfolding the explicit \texttt{assembledWord}
field of \noderef{DecimalGoalVocabularyDefault} shows that an assembled raw
word is a function of the two fields of $p$; hence the two supplied words are
the same word $m$.  Since (3) gives $L\le A<U$, in particular $L\le A\le U$,
and \noderef{RoundsMagnitudeInterval} proves that this common $m$ rounds $A$.

It remains in either arm to identify $m$ with the trace's assembly result.
The successful extracted continuation calls
\noderef{num_imp_dec2flt_biased_fp_to_float} on the selected pair $p$ and
records its returned word as $t.\mathit{assembly\_result}$.
\noderef{AssemblyCorrespondence} gives a normal return of that same call and
the same explicit \texttt{assembledWord} equation.  Result injectivity and
the explicit raw-word equality therefore identify the word assembled from
$p$ with $t.\mathit{assembly\_result}$ (an Aeneas U64 carrier is determined
by its raw value).  Rewriting the rounding conclusion for $m$ proves that
$t.\mathit{assembly\_result}$ rounds $A$, as required.
\end{proof}
