\begin{helper}[Exponent-independent certificate for a loop-0 step]
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 $X,Y\in\mathbb R$, let $d,d'$ be decimal records, and let $e,e'$ be
signed machine exponents; in formulas, each exponent denotes its signed
integer value.  Assume
\[
 1\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$ with
\[
 D(d)=z::z_s,qquad1\leq z<10,qquad
 |D(d)|=d.\mathsf{num\_digits}.\mathsf{val}.              \tag{S}
\]
Assume there are $\eta,u\in\mathbb R$ such that
\[
 X=V(d)+\eta,qquad Y=V(d)+u,qquad0\leq\eta<u,qquad
 (d.\mathsf{truncated}=\mathsf{true}\Longleftrightarrow0<\eta).         \tag{E}
\]
If the exact extracted loop-0 body call at exponent $e$, with the zero
biased-float sentinel and early-result input $\mathsf{none}$, returns
$\mathsf{ok}(\mathsf{cont}(d',e',\mathsf{none}))$, then there exist machine
naturals $n,k$ such that
\[
 n.\mathsf{val}=d.p,qquad
 \mathsf{selector}(n)=\mathsf{ok}(k),qquad
 \mathsf{right\_shift}(d,k)=\mathsf{ok}(d'),qquad
 k.\mathsf{val}\leq60,qquad e'=e+k.                    \tag{R}
\]
Here $\mathsf{selector}$ is the extracted decimal-shift closure call.  The
point alternatives are
\[
 \begin{aligned}
 19\leq d.p&\Longrightarrow(d'.p=d.p-18\ \vee\ d'.p=d.p-19),\\
 d.p\leq18&\Longrightarrow(d'.p=0\ \vee\ d'.p=1).
 \end{aligned}                                           \tag{P}
\]
Moreover,
\[
 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 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'}
\]
Finally, there are $\eta',u'\in\mathbb R$ satisfying all transported output
equations and remainder clauses
\[
 X/2^{k.\mathsf{val}}=V(d')+\eta',\qquad
 Y/2^{k.\mathsf{val}}=V(d')+u',\qquad
 0\leq\eta'<u',\qquad
 (d'.\mathsf{truncated}=\mathsf{true}\Longleftrightarrow0<\eta').       \tag{E'}
\]
\end{helper}
\begin{proof}
Apply \noderef{P826_T1_RightBodySelector} to the actual body equality.  It
inverts the body to give the selector input $n$, shift $k$, right-shift result
$d'$, bound $k\le60$, and exponent equation $e'=e+k$.

Apply \noderef{P804_T1_RightLoopStep} to the same $X,Y,d$ at the synthetic
exponent zero.  Its exponent bounds are immediate, and it supplies a
synthetic selector shift $k_s$, right-shift record $d_s$, point progress, and
all output shape and endpoint clauses.  Apply
\noderef{P826_T1_RightBodySelector} again to that synthetic body equality.
The actual and synthetic recovered selector inputs both have integer value
equal to the point of $d$, hence are the same machine natural.  Injectivity of
the two successful calls of the deterministic extracted selector identifies
their recovered shifts.  Comparing the synthetic exponent equations
$e_s=0+k_s$ and $e_s=0+k$ identifies the shift displayed by
\noderef{P804_T1_RightLoopStep} with that recovered shift as well.

Consequently the actual and synthetic extracted right shifts have identical
input and shift.  Injectivity of their successful results gives $d_s=d'$.
Substitute these record and shift equalities in the point-progress, digit,
capacity, and fixed-endpoint clauses supplied by
\noderef{P804_T1_RightLoopStep}; combine them with the actual selector and
exponent equations from \noderef{P826_T1_RightBodySelector}.  This is exactly
the stated certificate.
\end{proof}
