\begin{helper}[Boundary order through a reachable loop-0 history]
For a decimal record $r$, write $r.p$ for
$r.\mathsf{decimal\_point}.\mathsf{val}$ and put
\[
 D(r)=\operatorname{map}(q\mapsto q.\mathsf{val},
       \operatorname{take}(r.\mathsf{num\_digits}.\mathsf{val},
                           r.\mathsf{digits}.\mathsf{val})),
 \quad I(r)=\operatorname{foldl}((n,q)\mapsto10n+q,0,D(r)),
 \quad V(r)=I(r)10^{r.p-r.\mathsf{num\_digits}.\mathsf{val}}.
\]
Let $A,B\in\mathbb R$, let $d,d_0,d_1$ be decimal records, and let
$e_{\rm in},e_0,e_1$ be signed machine exponents; in formulas, each exponent
denotes its signed integer value.  Assume
\[
 -324\leq d.p<310,qquad d.\mathsf{num\_digits}.\mathsf{val}\leq768,
 \qquad
 \forall q\in\operatorname{take}(d.\mathsf{num\_digits}.\mathsf{val},
                                  d.\mathsf{digits}.\mathsf{val}),
 \quad q.\mathsf{val}<10,
\]
and assume that there are $z\in\mathbb N$ and a list $z_s$ such that
\[
 D(d)=z::z_s,qquad1\leq z<10,qquad
 |D(d)|=d.\mathsf{num\_digits}.\mathsf{val}.              \tag{S}
\]
Assume also that there are $\eta,u\in\mathbb R$ satisfying
\[
 A/2^{e_{\rm in}}=V(d)+\eta,qquad
 B/2^{e_{\rm in}}=V(d)+u,qquad
 0\leq\eta<u,qquad
 (d.\mathsf{truncated}=\mathsf{true}\Longleftrightarrow0<\eta).         \tag{E}
\]
Suppose the exact extracted loop-0 call, with the zero biased-float sentinel
and no early result, from $(d,e_{\rm in},\mathsf{none})$ returns
$(d_0,e_0,\mathsf{none})$.  Fix $d_1,e_1$ and assume
\[
 0\leq e_1-e_0+768-d_0.p,\qquad
 2^{e_1-e_0}\leq V(d_0)\Longrightarrow1\leq V(d_1).     \tag{1}
\]
Then
\[
 0\leq e_1-e_{\rm in}+768-d.p,\qquad
 2^{e_1-e_{\rm in}}\leq V(d)\Longrightarrow1\leq V(d_1). \tag{2}
\]
\end{helper}
\begin{proof}
Use \noderef{P826_T1_ResultLoopBackward} on the exact extracted loop-0
history, taking (1) as the terminal certificate.  A successful done body is
classified by \noderef{P826_T1_RightDoneCertificate}: it returns the
unchanged record and exponent and has nonpositive point.  Thus its desired
certificate is exactly the supplied terminal one.  As in loop 1, unfolding
the option branch shows backwards that a final $\mathsf{none}$ result forces
every current result to be $\mathsf{none}$.

For a continuing state, the body equation itself forces the current point to
be positive.  Apply \noderef{P826_T1_RightStepCertificate} to expose the exact
selector input $n=d.p$, right shift $k$, update $e'=e+k$, output point clauses,
digit shape, and scaled endpoint equations.  Those clauses preserve
$-324\leq d'.p<310$, and division by $2^k$ plus the exponent update converts
the endpoint equations to exponent $e'$.  The induction hypothesis therefore
applies at $(d',e')$.

By \noderef{P826_T1_RightCapacityStep}, $d.p-d'.p\leq k$.  Consequently
\[
 e_1-e+768-d.p
 =(e_1-e'+768-d'.p)+k-(d.p-d'.p)\geq0,
\]
which proves the capacity part at the predecessor.

For order, output capacity and
\noderef{P826_T1_PowerGridAlignment} give a natural $b$ with
\[
 2^{e_1-e'}=b10^{d'.p-768}.                             \tag{3}
\]
The lower half of \noderef{P804_T1_DecimalValueBounds} gives $V(d)>0$ from
the positive leading digit.  Since $e'=e+k$,
\[
 2^{e_1-e'}=2^{e_1-e}/2^k.
\]
Thus $2^{e_1-e}\leq V(d)$ places the boundary (3) below $V(d)/2^k$.
The output digit list is nonempty, hence its count is positive, so it cannot
be the all-zero reset record.  Apply
\noderef{P798_T1_RightBoundaryTransport} to the exact right shift.  Its
aligned-grid argument invokes \noderef{P798_T1_GridAlignment} and the strict
loss reduction \noderef{P798_T1_GridBoundaryRetained}, yielding
$2^{e_1-e'}\leq V(d')$.  The induction hypothesis now gives
$1\leq V(d_1)$.  Backward induction reaches the supplied initial state and
proves both clauses of (2).
\end{proof}
