\begin{lemma}[Public numeric overflow witness]
There are an Aeneas string $s$ and a decimal lexeme $x$ with the following
properties.  The bytes of $s$ are
\[
 [48,46]\mathbin{++}\operatorname{replicate}(11,48)
 \mathbin{++}\operatorname{bytes}(\texttt{1000000000000000080})
 \mathbin{++}\operatorname{replicate}(2147483618,48),              \tag{1}
\]
and their length is $2147483650$.  The lexeme $x$ has no leading sign,
integer digits $[0]$, fractional digits consisting of eleven zeroes, the
nineteen digits of \texttt{1000000000000000080}, and $2147483618$ further
zeroes, and no exponent.  Moreover, $s$ is a source-valid Rust string, $x$
is a valid numeric lexeme, the complete bytes of $s$ are exactly the numeric
rendering of $x$, and the extracted public binary64 parser satisfies
\[
 \texttt{dec2flt}(s)=\texttt{fail integerOverflow}.                \tag{2}
\]
\end{lemma}
\begin{proof}
Put $K=2147483618$.  Instantiate
\noderef{ParserNumericSlowPathOverflowWitness}; call the supplied body slice
$b$.  Its statement gives
\[
 b.\mathit{val}=[48,46]\mathbin{++}\operatorname{replicate}(11,48)
 \mathbin{++}\operatorname{bytes}(\texttt{1000000000000000080})
 \mathbin{++}\operatorname{replicate}(K,48),
 \qquad |b|=2147483650.                                           \tag{3}
\]
Use the same Aeneas slice carrier as a \texttt{Str} and call it $s$.  Define
$x$ to have no leading sign, integer list $[0]$, the fractional list of
eleven zeroes followed by
\[
 [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0]
\]
followed by $K$ zeroes, and no exponent.  These choices establish the first
three conjuncts of the statement directly from (3).

We next prove the three lexical conjuncts.  Every entry of both digit lists
is one of $0,1,8$, hence is strictly below ten, and the integer list is
nonempty.  There is no exponent condition.  Unfolding
\noderef{DecimalGoalVocabularyDefault} therefore proves
\texttt{validNumeric $x$}.  The same definition renders the absent sign as
the empty list, the integer zero as byte 48, the point as byte 46, every
fractional digit $d$ as byte $48+d$, and the absent exponent as the empty
list.  Distribution of \texttt{List.map} over the three fractional-list
appends, and its value on a replicated zero list, gives exactly (1).  Thus
\texttt{bytes $s$ = renderNumeric $x$}.

For source validity, $2147483650<9223372036854775807$, so the length conjunct
in \noderef{DecimalGoalVocabularyDefault} follows from (3).  For its UTF-8
conjunct, take the Lean string obtained by \texttt{String.ofList} from the
character list \texttt{0.}, then eleven \texttt{0} characters, the nineteen
characters of \texttt{1000000000000000080}, and $K$ further \texttt{0}
characters.  Each displayed character is ASCII and encodes to its single
byte in (1).  Induction on each \texttt{List.replicate}, together with UTF-8
encoding over list append, shows that this string's UTF-8 byte list is
exactly (1).  Mapping its \texttt{UInt8} values to naturals agrees entrywise
with mapping the Aeneas \texttt{u8} values to naturals.  This is the required
string witness, so \texttt{sourceString $s$} holds.

It remains to establish the public execution equation (2).  By
\noderef{ModelStrAsBytes}, the first bind of
\noderef{num_imp_dec2flt_dec2flt_with_trace} returns the complete slice (3).
It is nonempty and begins with byte 48, so \noderef{ModelSliceFirst} returns
\texttt{some 48}.  This byte is neither 45 nor 43.  Both sign tests are
therefore false, no range slice is taken, the unsigned body is exactly $b$,
and its emptiness test is false.

The remaining fixed-width facts now come solely from
\noderef{ParserNumericSlowPathOverflowWitness}.  Its statement says that
\texttt{parse\_number($b$)} is \texttt{ok (some $d$)}, where $d$ has
mantissa $1000000000000000080$, exponent $-30$, negative flag false, and
many-digits flag true.  It also says that \texttt{try\_fast\_path($d$)} is
\texttt{ok none}; because the lexical minus test was false, the record update
performed by the dispatcher leaves this $d$ unchanged.  The two stated
\texttt{compute\_float} results are respectively
$(448160529771025,983)$ and $(448160529771026,983)$.  Since
\texttt{many\_digits} is true and $983\geq0$, the second-computation guard in
\noderef{num_imp_dec2flt_dec2flt_with_trace} is true.  Incrementing the
mantissa gives $1000000000000000081<2^{64}$, so that checked addition
succeeds, and the witness statement gives the second result and says their
extracted comparison is \texttt{ok false}.

Consequently the false-comparison branch replaces the first pair's biased
power by $-1$ and records forced deferral.  Since $-1<0$, the next branch in
\noderef{num_imp_dec2flt_dec2flt_with_trace} invokes
\texttt{parse\_long\_mantissa($b$)}.  The slow-path witness states that this
exact call is \texttt{fail integerOverflow}; in particular, its fractional
slice has length $2^{31}$, the truncating cast is \texttt{i32::MIN}, and the
checked subtraction $0-\texttt{i32::MIN}$ fails.  Result-monad binding
propagates that same failure out of \texttt{dec2flt\_with\_trace} before
assembly or lexical sign application.  Finally,
\noderef{num_imp_dec2flt_dec2flt} binds the traced call before projecting its
ordinary result, so it propagates the identical failure.  This proves (2)
and all conjuncts of the lemma.
\end{proof}

