\begin{lemma}[Normal leading adjustment on arbitrary bytes]
Let $s:\texttt{Slice U8}$ have length at most
$A=3458764513820540928$. Let $n:\texttt{Isize}$ satisfy
$0\le n.\mathit{val}\le|s|$.
Let $Z$ be the maximal initial byte list of $s$ whose bytes are all
48 or 46, and let $z$ count the occurrences of byte 48 in $Z$.
The actual extracted $\texttt{adjust\_many\_digit\_count}(s,n)$ returns
normally with value $n.\mathit{val}-z$. No grammar condition is imposed
on any byte, and $Z$ may extend beyond a numeric significand.
\end{lemma}
\begin{proof}
Take $Z=\texttt{takeWhile}(b=48\lor b=46,s.\mathit{val})$ and
$R=\texttt{dropWhile}(b=48\lor b=46,s.\mathit{val})$.
The list take/drop identity gives $s.\mathit{val}=Z\mathbin{++}R$.
Every member of $Z$ satisfies the indicated test, and if $R$ is nonempty
its head fails that test, so its head is neither 48 nor 46.
Moreover $0\le z\le|Z|\le|s|\le A$.
The selected target in \noderef{Assumptions} gives signed Isize minimum
$-2^{63}$. Thus
$n.\mathit{val}-z\ge-|s|\ge-A>-2^{63}$.
All premises of \noderef{P364_T1_NumberHelperAdjustCountExact} now
hold: the slice is at most $2^{63}-1$, its prefix and stopping tail
have the required shapes, $n$ is nonnegative and source-length bounded,
and the final subtraction is above the signed minimum.
That lemma supplies the actual normal adjustment and its exact value.
\end{proof}
