\begin{helper}[Exact maximal leading-zero scan]
Let a byte slice have byte-value list consisting of $n$ copies of ASCII zero
followed by a list $T$.  If $T$ is empty or its first value is not ASCII zero,
then the first leading-zero loop of the extracted decimal-sequence parser
returns normally, and the returned slice has byte-value list exactly $T$.
\end{helper}
\begin{proof}
Use the loop body and slice operations in
\noderef{num_imp_dec2flt_decimal_seq_parse_decimal_seq}.  Maintain the exact
invariant that the current slice maps to $k$ copies of value 48 followed by
$T$, and use the current slice length as the decreasing measure.  For
$k>0$, map equality says the slice is nonempty and its first byte is exactly
48.  The model's checked index succeeds at zero, the equality test takes the
continue branch, and the in-bounds range-from-one operation drops exactly
that byte.  The invariant is restored with $k-1$, and the slice length has
strictly decreased.

At $k=0$, map equality identifies the whole current byte-value list with
$T$.  If the slice is empty, so is $T$, and the loop returns it.  Otherwise
the stop hypothesis says its first value is not 48; injectivity of the U8
value representation makes the model's first-byte equality test false, so
the loop again returns the current slice.  Thus every terminal state has
value list $T$.  The initial invariant is the stated decomposition with
$k=n$, and well-founded loop induction supplies the claimed normal return.
\end{proof}
