\begin{lemma}[Constructed left shift with positive shape and fixed endpoints]
For a record $a$ put $D(a)=\operatorname{map}(\mathit{val},
\operatorname{take}(a.n,a.\mathit{digits}))$,
$I(a)=\operatorname{fold}_{10}(D(a),0)$ and $V(a)=I(a)10^{a.p-a.n}$,
where $n$ is the natural count and $p$ the signed decimal point.
Let $d$ have count at most 768, decimal retained cells, and
$D(d)=h::t$ of length $d.n$ with $1\le h<10$.
Suppose $-324\le d.p\le0$, $k\le60$, and
\[
 X=V(d)+\eta,\quad Y=V(d)+u,\quad
 0\le\eta<u,\quad d.\mathit{truncated}\iff\eta>0.
\]
Then there are an actual normal left-shift result $d'$ and an actual normal
digit-growth result $g\le19$ for that same shift, with $d'.p=d.p+g$
and $-324\le d'.p\le19$. The output has count at most 768, decimal retained
cells, a positive head in $[1,9]$, retained length equal to its count,
and a nonzero last retained cell. There are $0\le\eta'<u'$ with
\[
 2^kX=V(d')+\eta',\quad 2^kY=V(d')+u',\quad
 d'.\mathit{truncated}\iff\eta'>0.
\]
The Lean statement records both successful calls, not just value equations.
\end{lemma}
\begin{proof}
Write $n=d.n$, $I=I(d)$ and $B=2^k$. The list hypothesis gives
$1\le n\le768$. By \noderef{P472_T1_DecimalValueBounds}, $V(d)>0$;
equivalently the decimal fold satisfies $10^{n-1}\le I<10^n$.
Apply \noderef{DecimalLeftShiftLoop1Execution} with the stated point,
shift and list hypotheses. It constructs a normal complete left shift
and a nonempty result $d'$. This is an existence application before any
use of an enclosing slow call.

We establish the extra shape clauses from the constructed call.
For $k=0$, direct evaluation of the zero table entry in
\noderef{num_imp_dec2flt_decimal_seq_DecimalSeq_left_shift} gives growth
zero. For $k>0$, \noderef{DecimalLeftShiftTableCertificate} supplies
$10^{a-1}<B<10^a$; \noderef{DecimalLeftShiftDigitGrowth} gives a normal
growth $g=a$ or $a-1$ according as $IB\ge10^{n+a-1}$ or not.
In both cases
\[
 10^{n+g-1}\le IB<10^{n+g},\qquad 0\le g\le19.
\]
For the $a-1$ case the lower bound follows from
$I\ge10^{n-1}$ and $B>10^{a-1}$; for the $a$ case the upper bound follows
from $I<10^n$ and $B<10^a$. The bound on $a$ follows from
$B\le2^{60}<10^{19}$. The $k=0$ case uses the original fold bounds.

Unfold the normal complete call to expose its two normal carry loops.
A failed or divergent bind cannot produce its normal result.
The first checked width is $L=n+g\le787$.
\noderef{DecimalLeftShiftFirstLoopSemantics}, at read $n$, write $L$ and
carry zero, gives a length-$n$ decimal word $v$, final cursor $g$ and
carry $c$, with
\[
 IB=c10^n+F(v),\qquad 0\le F(v)<10^n.
\]
The stated loop cell clauses store $v_j$ at $g+j$ when $g+j<768$.
The fold bounds above imply $c<10^g$. If $g>0$, they also imply
$c\ge10^{g-1}$: otherwise
$IB<(c+1)10^n\le10^{n+g-1}$, a contradiction.
Consequently the zero-padding premise of
\noderef{DecimalLeftShiftSecondLoopSemantics} is vacuous for $g=0$
and has impossible antecedent for every $j<g$ when $g>0$.
That principal gives a length-$g$ decimal word $w$ with $F(w)=c$,
stores $w$ below cursor $g$, and preserves every first-loop cell
at or beyond $g$. Therefore the pre-trim retained array is exactly the
first $\min(L,768)$ digits of $w\mathbin{++}v$, whose fold is
$c10^n+F(v)=IB$ and whose length is $L$.
Its first digit is nonzero: a zero head of a length-$L$ decimal word would
make its fold less than $10^{L-1}$. Thus the capped prefix is positive,
all its cells are decimal, and its count lies in $[1,768]$.

The normal call's final operation is trim on this capped record.
\noderef{DecimalSeqTrimSemantics} preserves the array and point, reduces
the count, removes only terminal zero cells and leaves either zero count or
a nonzero last cell. Zero count is impossible because the preserved first
cell is nonzero. Its smaller retained prefix therefore still has the same
positive head, only decimal cells, exact list length, and count at most 768.
The cast of $g\le19$ to I32 is exact.
\noderef{P804_T1_LeftShiftPointGrowth} identifies the actual point as
$d.p+g$; this lies in $[-324,19]$ and is within I32 bounds.

Finally apply the left half of
\noderef{P472_T1_DecimalSeqDyadicShiftSemantics} to the same normal call,
positive $V(d)$, digit bounds, and the given $\eta,u$.
It supplies the ordered new errors and exact sticky equivalence, with
$V(d')+u'=2^k(V(d)+u)=2^kY$.
This proves all claimed clauses for the one constructed result.
No initial terminal-trim premise was used.
\end{proof}
