\begin{helper}[Reachable loop-2 state and final 53-bit shift]
Let $d_1,e_1$ be a normalized nonempty decimal record with point zero,
leading digit at least five, at most 768 digits, decimal digits below ten, and
endpoint equations for $A/2^{e_1}$ and $B/2^{e_1}$ with nonnegative strictly
ordered errors and exact sticky equivalence.  Assume $e_1\geq-1079$, the
checked decrement returns $e_s=e_1-1$, and the exact extracted loop-2 call
returns $(d_2,e_2)$.  Then
\[
 -17\leq d_2.\mathit{point}\leq0.
\]
Moreover, either $d_2=d_1$ and $e_2+1=e_1$, or there is a shift
$k\leq58$ for which the exact right shift $d_1/2^k$ returns $d_2$ and
$e_2+1=e_1+k$.

The exact 53-bit left shift of $d_2$ succeeds with a record $d_3$.  Its
retained length is at most 768, every retained digit is below ten, it is
nonempty with leading digit in $[1,10)$, and its last retained digit is
nonzero.  Writing $V_3$ for its retained decimal value, there are
$0\leq\eta_3<u_3$ such that
\[
 A/2^{e_2-52}=V_3+\eta_3,\qquad
 B/2^{e_2-52}=V_3+u_3,
\]
with $d_3.\mathit{truncated}=\mathsf{true}$ exactly when
$\eta_3>0$, and $d_3.\mathit{point}<19$.
\end{helper}
\begin{proof}
Apply \noderef{ParserSlowLoop2} to the stated normalized record and endpoint
package.  Injectivity of the two supplied successful result equations
identifies its decrement, output record, and output exponent with
$e_s,d_2,e_2$ and supplies the complete canonical and endpoint facts for
$d_2$.

We invert the two branches of the extracted loop-2 body, whose definition is
the cited extracted slow parser
\noderef{num_imp_dec2flt_slow_parse_long_mantissa}.  If
$e_s\geq-1022$, the first body call returns immediately, so injectivity gives
$d_2=d_1$ and $e_2=e_s=e_1-1$; the point is zero.

Otherwise the checked difference is $-1022-e_s$.  Since
$e_1\geq-1079$ and $e_s=e_1-1$, it lies in $[1,58]$, so its Usize cast and
the later I32 cast are in range.  The execution theorem
\noderef{DecimalRightShiftLoop0Execution} constructs the exact right shift
and its prefix-loop cursor $r$.  The leading digit of the list equals the
array cell at index zero (nonemptiness makes that index part of the retained
prefix), hence it is at least five.  Therefore
\noderef{P856_T1_RightPrefixReadBound} gives $r\leq18$.  The extracted
right-shift execution states
\[
 d_2.\mathit{point}=0-r+1,
\]
so $-17\leq d_2.\mathit{point}\leq0$.  The checked exponent addition is
$e_s+(-1022-e_s)=-1022$; unfolding the following loop body shows immediate
termination.  Comparing this reconstructed two-body execution with the
assumed successful call identifies its record and exponent and gives
$e_2+1=e_1+k$.

Now apply \noderef{DecimalLeftShiftLoop1Execution} to $d_2$ and the literal
shift 53; the just-proved point interval discharges its point range, and the
loop-2 canonical package supplies its digit premises.  This constructs the
successful shift and a nonempty output $d_3$.  Applying
\noderef{DecimalLeftShiftDigitGrowth} with $h=16$ is valid because
$10^{15}<2^{53}<10^{16}$, and shows that the decimal point grows by either
15 or 16.  The exact point identity from
\noderef{P804_T1_LeftShiftPointGrowth}, together with
$d_2.\mathit{point}\leq0$, yields
$d_3.\mathit{point}\leq16<19$.

Finally \noderef{DecimalSeqLeftShiftCanonical} transports the complete
canonical record and endpoint package across the successful 53-bit shift.
Its zero-output alternative contradicts the nonempty execution result.  Its
nonzero alternative supplies the digit bound, leading digit, recorded
length, terminal trim, ordered errors, and sticky equivalence asserted above.
The integer-power identity
\[
 2^{53}\bigl(A/2^{e_2+1}\bigr)=A/2^{e_2-52}
\]
and its $B$ analogue rewrite the two transported endpoints to the displayed
form.  All casts and checked arithmetic used above are discharged by the
stated intervals.
\end{proof}
