\begin{lemma}[Product suffix executes]
Let $q$ be a modeled I64, $\ell$ a modeled U32, and $L,H$ arbitrary
modeled U64 words, with
$-342\le q.\mathrm{val}\le308$ and $\ell.\mathrm{val}\le63$.
The following source-ordered Result computation returns normally.
All mantissa words and their literals have U64 type, arithmetic on the
exponent and shift-count intermediates has I32 type, and the significand
literal 52 has U32 type.

First compute $I_8=H\gg63$, lift its unsigned-to-I32 cast $u$,
compute $I_9=u+64$, lift the unsigned-to-I32 cast $I_{10}$ of 52,
and compute $I_{11}=I_9-I_{10}$, $s=I_{11}-3$, and $M=H\gg s$.
Lift the I64-to-I32 cast $q_{32}$ of $q$ and call
\texttt{num.imp.dec2flt.lemire.power} on $q_{32}$, obtaining $p_0$.
Compute $I_{15}=p_0+u$, lift the unsigned-to-I32 cast $I_{16}$ of $\ell$,
compute $I_{17}=I_{15}-I_{16}$, bind the normal I32 literal $-1022$
as $I_{18}$, and compute $I_{19}=I_{17}-I_{18}$ and
$p=I_{19}+1$. Every addition, subtraction, negation and shift described
here is the checked scalar operation of the extracted model.

If $p\le0$, compute $n=-p$ and $t_1=n+1$.
If $t_1\ge64$, return $(0,0)$.
Otherwise recompute $t_2=n+1$, compute $M_1=M\gg t_2$,
lift $c=M_1\mathbin{\&}1$, compute $M_2=M_1+c$ and
$M_3=M_2\gg1$, compute $B=1\ll52$, lift the Boolean-to-I32 cast
$p_1$ of $M_3\ge B$, and return $(M_3,p_1)$.

If $p>0$, obtain $M'$ by the following ordered tie adjustment.
If $L\le1$, bind the normal I32 literal $-4$, lift its cast to I64,
and test $q\ge-4$. Only if that succeeds, bind the normal I32 literal
23, lift its cast to I64, and test $q\le23$. Only if that also succeeds,
lift $A=M\mathbin{\&}3$ and test $A=1$. If this succeeds, lift the
unsigned-to-I32 cast $I_{25}$ of 52, compute
$I_{26}=I_9-I_{25}$ and $I_{27}=I_{26}-3$, and compute
$I_{28}=M\ll I_{27}$. If $I_{28}=H$, lift $C=\mathord{\sim}1$
and return $M'=M\mathbin{\&}C$ normally; otherwise return $M'=M$.
Failure of any earlier guard also returns $M'=M$ normally.
Next lift $c=M'\mathbin{\&}1$, compute $M_2=M'+c$,
$M_3=M_2\gg1$ and $T=2\ll52$. If $M_3\ge T$, compute
$K=1\ll52$ and $p_2=p+1$ and return $(M_4,p_1)=(K,p_2)$
to the next bind; otherwise return $(M_4,p_1)=(M_3,p)$.
Compute $B=1\ll52$, lift $C=\mathord{\sim}B$, and lift
$M_5=M_4\mathbin{\&}C$. Return $(0,2047)$ if $p_1\ge2047$,
and $(M_5,p_1)$ otherwise.

Pairs in this description denote BiasedFp values with mantissa first and
biased exponent second. The conclusion is $\mathrm{WP.spec}$ of exactly
this monadic computation with the identically true postcondition:
there is a normal $\mathrm{ok}$ return, and neither failure nor divergence.
\end{lemma}
\begin{proof}
A U64 word has value in $[0,2^{64}-1]$. The first right shift has
nonnegative I32 count 63 below 64, so it returns normally with value
$\lfloor H.\mathrm{val}/2^{63}\rfloor\le1$.
Consequently its unsigned-to-I32 cast preserves that value and gives
$u.\mathrm{val}\in[0,1]$. The checked addition $u+64$ is in $[64,65]$.
The cast of U32 52 preserves 52. The next checked subtractions are
in $[12,13]$ and $[9,10]$, respectively, so all these I32 operations
succeed. In particular $9\le s.\mathrm{val}\le10$, making $H\gg s$
a legal shift. Its result satisfies
\[
 M.\mathrm{val}=\left\lfloor H.\mathrm{val}/2^{s.\mathrm{val}}\right\rfloor
 <2^{55},
\]
since $H.\mathrm{val}<2^{64}$ and
$2^{64}\le2^{55}2^{s.\mathrm{val}}$. Left shifts below use the
64-bit bitvector semantics; their legal counts, rather than a
no-truncation multiplication claim, justify execution.

Apply \noderef{IntegerPowerTableCertificate} with exactly the two
hypotheses on $q$. Its normal cast $q_{32}$ and normal power result
$p_0$ satisfy
$p_0.\mathrm{val}=\lfloor217706q.\mathrm{val}/65536\rfloor+63$.
The deterministic cast in this computation equals that certified cast.
Monotonicity of integer division by the positive 65536 and evaluation
at $q=-342,308$ give $-1074\le p_0.\mathrm{val}\le1086$.
The next addition is in $[-1074,1087]$.
The cast of $\ell$ preserves its value because $0\le\ell.\mathrm{val}\le63$,
well inside I32. The subtraction of this cast is in $[-1137,1087]$;
subtracting the normally bound $-1022$ is in $[-115,2109]$;
the final addition of 1 is in $[-114,2110]$.
Each interval lies in $[-2^{31},2^{31}-1]$, so each individual checked
operation succeeds in its source order, not merely their combined
expression. Thus $-114\le p.\mathrm{val}\le2110$.

Consider first $p\le0$. Checked negation gives $n\in[0,114]$,
and the first addition of 1 gives $t_1\in[1,115]$; both fit I32.
If $t_1\ge64$ the return of $(0,0)$ is immediate. Otherwise the
repeated checked addition gives the same value $t_2=t_1\in[1,63]$,
so $M\gg t_2$ succeeds. Right shift cannot increase a nonnegative
word, hence $M_1.\mathrm{val}\le M.\mathrm{val}<2^{55}$.
The lifted AND is total and gives $c.\mathrm{val}\le1$. Therefore
$M_1.\mathrm{val}+c.\mathrm{val}\le2^{55}<2^{64}$ and its checked
addition succeeds. The right shift by 1 and the left shift by U32 52
have legal counts, so both succeed. The comparison is total and
its Boolean-to-I32 cast returns 0 or 1, which fits I32, normally.
The final biased pair is then returned normally. This checks both
additions of 1 and every bind in the subnormal branch.

Now suppose $p>0$. Split on $L\le1$. Its false arm returns $M$
without any constant calls. In its true arm the literal $-4$ is
normally bound and its widening I64 cast preserves $-4$.
A false $q\ge-4$ guard returns $M$. In the true arm the literal 23
and its widening I64 cast are likewise normal and exact.
A false $q\le23$ guard returns $M$. In the true arm the lifted AND
with 3 is total; a false $A=1$ guard again returns $M$.
Only in the remaining arm is 52 recast to I32. That cast is exact;
since $I_9.\mathrm{val}\in[64,65]$, the checked differences are
in $[12,13]$ and $[9,10]$. Hence the reverse left shift has a
nonnegative count below 64 and succeeds. Its equality test with $H$
is total. If unequal it returns $M$; if equal, complementing U64 1
is total and the return of the AND is normal. An AND cannot increase
the natural value of its left operand. Thus every arm returns a
word $M'$ with $M'.\mathrm{val}<2^{55}$.

The hypotheses for \noderef{P822_T1_NormalRoundingExecution} now hold:
$M'.\mathrm{val}<2^{55}$ and $0<p.\mathrm{val}\le2110$.
That node's statement is precisely the remaining sequence of lifted
low-bit AND, checked addition and shifts, optional checked carry
increment, mask construction, and final infinity-or-pair return.
It proves normality in both carry arms and both final comparison arms.
Combining it with each normally returning tie-adjustment arm proves
the positive-exponent branch. Together with the subnormal branch this
exhausts the total comparison $p\le0$. Substitution of the obtained
normal values at each successive Result bind establishes the stated
normality of the complete product suffix, for arbitrary $L,H$.
\end{proof}

