\begin{lemma}[Decimal prefix interval]
Let $P$ and $R$ be lists of natural-number digits, with every digit of $R$
strictly below 10.  If $m$ is the base-ten value of $P$ and $z$ is the
base-ten value of $PR$, then for every integer $e$,
\[
 m10^{e+|R|}\ \le\ z10^e\ <\ (m+1)10^{e+|R|}.
\]
All powers and products in this display are taken in the real numbers.
\end{lemma}
\begin{proof}
Write $G(a,d)=10a+d$.  Induction on a digit list $L$ gives the exact shift
identity
\[
 \operatorname{foldl}(G,a,L)
 =a10^{|L|}+\operatorname{foldl}(G,0,L).                    \tag{1}
\]
For the induction step, apply the induction hypothesis once at $G(a,d)$ and
once at $d=G(0,d)$; distribution and $10^{n+1}=10\cdot10^n$
then give the claimed identity.

A second induction shows that, when every member of $L$ is below 10,
\[
 \operatorname{foldl}(G,a,L)< (a+1)10^{|L|}.               \tag{2}
\]
The empty case is immediate.  For $d::L$, the induction hypothesis bounds
the fold by $(10a+d+1)10^{|L|}$, and $d<10$ gives
$10a+d+1\le10(a+1)$, which is the required successor-length bound.

Apply (1) to $R$ after the fold over $P$.  If
$r=\operatorname{foldl}(G,0,R)$, this yields
$z=m10^{|R|}+r$.  Formula (2) with $a=0$ gives
$0\le r<10^{|R|}$, and hence
\[
 m10^{|R|}\le z<(m+1)10^{|R|}.                             \tag{3}
\]
Finally, $(10:\mathbb R)^e$ is positive for every integer $e$.  Multiply
both inequalities in (3) by this positive quantity and use the integer-power
law $10^{e+|R|}=10^e10^{|R|}$.  Reordering the real products produces
exactly the two inequalities in the statement.
\end{proof}
