\begin{helper}[Eight decimal bytes satisfy the word predicate]
If every one of the eight little-endian bytes of a 64-bit word $w$ lies in
$[48,57]$, then the extracted eight-digit predicate accepts $w$.
\end{helper}
\begin{proof}
Unfold \noderef{num_imp_dec2flt_common_is_8digits}.  For each prefix of
$k=1,\ldots,8$ bytes, the hypothesis packs that prefix between the low
$8k$ bits of \texttt{0x3030303030303030} and
\texttt{0x3939393939393939}.  This follows successively from the positional
identity between division by $256^{k-1}$ and the next byte.

Adding the low $8k$ bits of \texttt{0x4646464646464646} to the upper packed
bound produces at most the $k$-byte word consisting entirely of
\texttt{0x7f}; in particular it is below $2^{8k-1}$ and no carry reaches the
next byte.  Subtracting the low $8k$ bits of
\texttt{0x3030303030303030} from the lower bound is nonnegative and the
largest possible difference is the $k$-byte word consisting entirely of
\texttt{0x09}, again below $2^{8k-1}$.  Therefore the high bit of byte
$k-1$ is zero in both wrapping operations.  This checks all eight byte
boundaries, including every possible incoming carry or borrow.

The mask \texttt{0x8080808080808080} has set bits only at those eight high
bit positions.  At each such position both operands of the bitwise OR are
zero, while every other position is cleared by the mask.  Hence the masked
word is zero, so the extracted equality test returns true and the predicate
returns \texttt{ok true}.
\end{proof}
