\begin{helper}[Value-level exact reverse zero scan]
Suppose the numeric byte values of a starting slice decompose as
$A\mathbin{++}Z\mathbin{++}T$.  Assume $A$ is empty or ends in a value other
than 48 and 46, every value of $Z$ is 48 or 46, and the reverse-scan cursor is
$|A\mathbin{++}Z|$.  If the initial count plus the number of 48 values in
$Z$ is Usize-representable, the extracted reverse loop returns that initial
count plus exactly this number of 48 values.  Values 46 are crossed without
incrementing the count.
\end{helper}
\begin{proof}
Split the actual U8 list of the starting slice at lengths $|A|$ and $|Z|$.
Mapping U8 values over the three pieces gives exactly $A$, $Z$, and $T$ by
the assumed value-list equation and the standard map/take/drop identities.
The U8 value map is injective, because two U8 values with equal underlying
natural values are equal; consequently these pieces reconstruct the original
slice exactly.

The first actual piece is empty when $A$ is empty.  Otherwise split it at its
last position.  Its mapped last value is the last value exhibited for $A$,
so it is neither U8 48 nor U8 46.  Every actual byte in the middle piece is
U8 48 or U8 46 because its mapped value belongs to $Z$.  Moreover, induction
over that actual piece shows that its count of U8 48 equals the count of
natural value 48 in $Z$.  Thus all hypotheses of
\noderef{DecimalSeqTrailingZeroLoopExact} hold for the actual three-piece
decomposition.  Applying it preserves the extracted loop equation and,
after replacing the equal counts, yields precisely the value-level count
claimed here.
\end{proof}
