\begin{lemma}[Unrestricted successful unsigned zero record]
Let $s$ be a \noderef{SourceValidByteSlice} and $x$ a valid numeric lexeme
with absent leading sign, whose complete rendering is the byte list of $s$,
as defined by \noderef{DecimalGoalVocabularyDefault}.  Suppose every
integer and fractional digit of $x$ is zero.  If the extracted
\texttt{parse\_number} returns normally with \texttt{Some} record $d$,
then $d.\mathit{mantissa}=0$, $d.\mathit{many\_digits}=\texttt{false}$,
and $d.\mathit{negative}=\texttt{false}$.  The only length restriction is
the full source bound $|s|\leq C=2^{63}-1$; the explicit exponent is
unrestricted, and no claim of normal return is made.
\end{lemma}
\begin{proof}
Put $I=|x.\mathit{integerDigits}|$, let $F$ be the fractional digit count
(zero if the fraction is absent), and put $D=I+F$.
Unfold \noderef{DecimalGoalVocabularyDefault}.  Validity gives $D\geq1$.
Absent leading sign and rendering give the byte decomposition
$s=UZ E$, where $U$ is $I$ ASCII zero bytes, $Z$ is empty if the fraction
is absent and otherwise is a dot followed by $F$ ASCII zero bytes, and
$E$ is empty or starts with the rendered exponent marker 101 or 69.
Consequently $D\leq |s|\leq C$, and $s$ is nonempty.
These statements concern byte contents: equality of the lists of unsigned
values determines equality of their U8 lists, because unsigned words are
determined by their values.

Unfold \noderef{num_imp_dec2flt_parse_parse_number} at the given successful
equation.  Inverting its Result bind yields a normal
\texttt{parse\_partial\_number} return of \texttt{Some} $(d,\ell)$ and
its final length comparison must be true.  No \texttt{None}, failure, or
divergence of that bind could produce \texttt{ok (Some d)}.
Unfold \noderef{num_imp_dec2flt_parse_parse_partial_number}.
The initial emptiness test is false and its assertion succeeds since
$D\geq1$.  Its first digit scan starts at zero.
Apply \noderef{NumberHelperDigitScanExact} to $U$ and suffix $ZE$.
Every byte of $U$ lies in $[48,57]$, the first byte of $ZE$, if present,
is a dot or exponent marker and hence is not a digit, and the source-length
premise is $|s|\leq C$.  The fold of zero bytes starting at zero is zero
by induction, hence is at most $2^{64}-1$.  The lemma supplies a normal
scan with mantissa zero and exactly suffix $ZE$.
By \noderef{P364_T1_NumberHelperOffsetSourceLength}, the following offset
returns integer value $I$: its whole slice is $s$, its suffix is $ZE$,
and $|ZE|\leq |s|\leq C$.  In particular its length casts are exact.

The split-first observation uses \noderef{ModelSliceSplitFirst}.
If there is no fraction, the suffix is empty or starts with 101 or 69,
never 46, and the dot branch is not taken: the stored mantissa remains
zero, fractional count is zero, and initial exponent is zero.
If there is a fraction, that observation returns the dot and its suffix
$VE$, where $V$ consists of $F$ zero bytes.  Apply
\noderef{NumberHelperDigitScanExact} again with initial mantissa zero,
digit block $V$, and tail $E$.  Its length is at most $|s|\leq C$;
the tail is empty or starts with a nondigit marker, and its full fold
is zero.  It returns mantissa zero and tail $E$.  Apply
\noderef{P364_T1_NumberHelperOffsetSourceLength} with whole slice $VE$
and remaining slice $E$ to obtain fractional count $F$.
Checked signed negation of this count succeeds because $0\leq F\leq C$,
so it is not signed minimum; its value is $-F$ in $[-C,0]$.
The subsequent Isize-to-I64 cast is exact on the 64-bit target of
\noderef{Assumptions}.  Thus the initial exponent is $-F$.
In both cases the next count addition succeeds with value $I+F=D$:
$0\leq I,F$ and $D\leq C$ put the sum in the signed range.  The
zero-count rejection branch is impossible since $D\geq1$.

The next split-first sees exactly $E$.  If $E$ is empty, the no-exponent
branch is taken.  Otherwise its first byte is 101 or 69, and the matching
scientific branch is taken.  In the latter case invert the reached
\texttt{parse\_scientific} Result bind in the given successful execution.
It must return normally; its option branch must be \texttt{Continue}
with some signed value $v$, because \texttt{Break} returns
\texttt{None} by \noderef{ModelOptionBranch} and
\noderef{ModelOptionFromResidual}.  Invert the next checked exponent
addition too: it must return normally with some I64 value $q$.
We do not infer normality of this addition merely from numeric grammar
or claim that $-F+v$ is in range for all valid strings.  If it is out of
range, the premise of this lemma is false.  The offset and consumed-length
cast which precede record construction are likewise either the actual
normal results forced by the premise, or the premise is impossible.
Their values are not needed below.  Thus, in every reached record-building
branch, mantissa is still zero and the signed count still has value $D$;
the presence and value of an explicit exponent do not alter either fact.

If $D\leq19$, each reached branch immediately constructs the record
with that zero mantissa, \texttt{negative=false}, and
\texttt{many\_digits=false}.
If $D>19$, the checked subtraction by 19 succeeds with value
$n=D-19$, since $1\leq n\leq D\leq C$.
For the reached adjustment call, take the zero-and-dot prefix $P=UZ$
and tail $E$ in \noderef{P364_T1_NumberHelperAdjustCountExact}.
Every byte of $P$ is 48 or 46.  The tail is empty or starts with 101 or 69,
so it starts with neither 48 nor 46.  Exactly $D$ bytes of $P$ are 48:
both integer and fractional zero lists contribute their full lengths,
and the optional dot contributes none.  Therefore $c_0(P)=D$.
All arithmetic premises of that lemma hold explicitly:
\[
 0\leq n=D-19\leq |s|,\qquad
 n-c_0(P)=D-19-D=-19\geq-2^{63}=\mathit{isize}_{\min},
 \qquad |s|\leq C.
\]
Hence the adjustment returns normally with integer value $-19$.
Its comparison with zero is false; in particular the
\texttt{parse\_many\_digits} retry is not reached even on a very long
all-zero significand.  Each reached branch again constructs the record
with zero mantissa and both Boolean fields false.  Comparing its normal
\texttt{Some} result with the inverted given result identifies that record
with $d$ and proves all three conclusions.
\end{proof}
