\begin{definition}
$\mathsf{ModelSliceFirst}(s)$ successfully returns the first element of $s$
when present and $\mathsf{none}$ when $s$ is empty.
\end{definition}
\begin{preservation}
\begin{claim}
For every Aeneas \texttt{Slice Std.U8} satisfying
\noderef{SourceValidByteSlice} and representing a configured Rust
\texttt{\&[u8]}, this binding returns normally with \texttt{ok none} for the
empty slice and otherwise with \texttt{ok (some x)}, where \texttt{x} is the
same first byte returned by the source's shared reference.
It leaves the complete ordered input unchanged and requires no UTF-8,
lexical-validity, A/B, or termination premise.
\end{claim}
\begin{proof}
The configured arbitrary-byte slice domain and target length bound are
\noderef{SourceValidByteSlice} and
\evidenceref{reference/model-evidence/source-valid-byte-slice.txt}.
Historical Aeneas representation, borrow translation and Rust-body evidence
is retained as predecessor evidence in
\evidenceref{reference/model-evidence/aeneas-slice-observations.txt}.
Current applicability, exact signatures and Rust symbols, raw declaration
digests, support bindings and the complete generated call inventory are
checked in
\evidenceref{reference/model-evidence/P89_T1_PrimitiveApplicability.txt}.
The same Aeneas slice representation is a complete ordered list subtype.
On \texttt{[]}, the Rust body and \noderef{ModelSliceFirst} both return
\texttt{None}; on \texttt{x :: xs}, both return the identical head, by shared
reference in Rust and as the immutable value \texttt{x} in Aeneas.
Both cases return normally, do not change the input, and inspect no length
or content condition beyond the empty/head distinction.

The only current generated bound \texttt{first} call is
\texttt{generated.lean:4568}, in \texttt{dec2flt\_with\_trace}, immediately
after \texttt{as\_bytes} at \texttt{4567};
its source counterpart is \texttt{crate/dec2flt/mod.rs:365}.
Here \texttt{T = Std.U8} and the head is copied to test \texttt{+} and
\texttt{-}; no reference identity, lifetime, or mutation is observed.
The fixed dispatcher frame of \noderef{P9_T1_DispatchFrame} retains this
same first-byte operation
even with abstract helper components, as recorded in the current evidence.
On a Rust string, the complete UTF-8 bytes satisfy the slice length predicate
of \noderef{SourceValidByteSlice}; on arbitrary source-valid helper slices
the primitive claim needs no UTF-8 condition.
If a leading sign is consumed, the nonempty case justifies taking the tail,
whose length is no greater than the original slice's.  The original complete
string length is not replaced by this shortened length in any GOAL premise.

Absence from the bound-call inventory is not absence of the original source
observation.  In particular,
\texttt{upstream/dec2flt/parse.rs:86} uses \texttt{first} in the scientific
digit-entry test.  Its audited replacement at
\texttt{crate/dec2flt/parse.rs:134-137} first tests nonemptiness and then
reads index zero for \texttt{is\_ascii\_digit}.
On an empty post-exponent-sign slice both tests are false and read no byte;
on \texttt{x :: xs} both test the same \texttt{x}.  Index zero is in bounds
because $0<1+|\mathit{xs}|$.
The current extraction at \texttt{1747-1753} therefore implements that
upstream first observation without calling this bound external.
The distinction also applies transitively through \texttt{parse\_number}
and through the slow-to-decimal-to-scientific path recorded in the evidence.
This binding does not implement or remove their indexed tests; the already
audited adaptation remains fixed.

Holding all other operations and adaptations fixed, the binding's exact
normally returned option feeds the same dispatcher continuation.
The empty branch, leading sign flag, optional one-byte sign removal, sign-only
branch and all later helper inputs consequently stay identical.
Every finite execution prefix is unchanged; any normal Rust result and trace,
outer failure or divergence is preserved.  This is extensional primitive
preservation, not lexical acceptance, full-parser termination, rounding
correctness, or component-package existence.
In the applications below the original constants are
$A=3458764513820540928$ and $B=576460752303421440$ bytes; their public uses
always bound the complete Rust string.
\end{proof}
\begin{goalproof}{assembly_correspondence}
The direct assembly subject takes every unrestricted raw pair and has no
transitive bound first call.  Its required normal return and cast/shift/OR
equation are unchanged.
\end{goalproof}
\begin{goalproof}{classification_determinism}
This is a mathematical relation on all finite byte strings and executes no
first call.  No source-validity or UTF-8 bound is added.
\end{goalproof}
\begin{goalproof}{classification_significand_digit}
The mathematical grammar statement executes no first call.  Its unrestricted
domain and significand-digit obligation remain unchanged.
\end{goalproof}
\begin{goalproof}{classification_totality}
Classification retains all finite byte strings, including those longer than
Rust slices.  This source primitive supplies no total-classification premise.
\end{goalproof}
\begin{goalproof}{dispatch_abstract_composition}
On source-valid complete strings through A, the fixed frame observes exactly
the same empty/head option and lexical sign, including with abstract components.
Lexical component domains through A, exact transport through B and the full
unbounded source-valid slow domain are unchanged.  Inhabited-package existence,
abstract normal output existence and conditional rounding/sign conclusions
remain obligations, not consequences of primitive infallibility alone.
\end{goalproof}
\begin{goalproof}{dispatch_component_compliance}
The claim applies to each complete source-valid string before any component
call and gives the same sign-stripped body to the concrete frame.
Complete-string A/B bounds are retained, not transferred to a shorter
replacement premise.  Required normal realization at every reached A-bounded
call, unrestricted on-normal slow refinement and compatible-package existence
are not assumed by first-byte preservation.
\end{goalproof}
\begin{goalproof}{exponent_value_agreement}
This mathematical conditional comparison has no source execution, so its
value meanings and unrestricted lexical domain are not altered by first.
\end{goalproof}
\begin{goalproof}{integer_correct_or_defer}
The direct integer tier ranges over every \texttt{i64}/\texttt{u64} input and
has no first callee.  Its on-normal alternatives are unaffected.
\end{goalproof}
\begin{goalproof}{native_correct_or_defer}
The direct native tier ranges over every \texttt{Decimal}, including the
disguised path, and has no first callee.  Its on-normal contract is unchanged.
\end{goalproof}
\begin{goalproof}{number_helper_acceptance}
The current direct helper and its callees have no call to this bound first
external; their upstream scientific first observation is the indexed test
distinguished in the shared proof.  Thus this binding does not change the
nonempty source-valid unsigned-slice domain through A, impose UTF-8 or an
exponent digit limit, or assume the required normal \texttt{Some}.
\end{goalproof}
\begin{goalproof}{number_helper_accumulated_value}
The helper's scientific digit-entry observation uses the audited indexed
replacement, not this bound first.  Its source-valid unsigned slices through A,
full-significand accumulated value and returned-record qualifications are
unchanged; equality and interval conclusions are not presumed.
\end{goalproof}
\begin{goalproof}{number_helper_record_bounds}
Every nonempty source-valid arbitrary-byte slice is retained, without A/B or
UTF-8 restriction.  There is no transitive bound first call in the current
helper; the original scientific observation uses the indexed replacement.
Neither a normal record nor its field bounds are assumed.
\end{goalproof}
\begin{goalproof}{number_helper_rejection}
The current helper uses the indexed scientific test, not this bound first.
Its nonempty arbitrary-byte source-valid domain through A, entire-slice grammar
check and required normal \texttt{None} remain unchanged, including malformed
tails after exponent updates stop.
\end{goalproof}
\begin{goalproof}{parser_accumulated_rounding}
For accepted numeric complete strings through A, identical initial empty/head
observations preserve lexical sign, the full helper body and all subsequent
execution and result words.  The accumulated-rounding conclusion is not used.
\end{goalproof}
\begin{goalproof}{parser_equal_target_rounding}
For accepted numeric complete strings through A, the initial byte and all
subsequent outcomes are preserved.  Both value interpretations and the
common-target premise remain as stated, without assuming the bridge.
\end{goalproof}
\begin{goalproof}{parser_exact_rounding}
The bound is B on the complete source-valid Rust string.  Returning its
identical first byte preserves optional leading-sign removal and the full
remaining body; any accepted word is unchanged without assuming exact rounding.
\end{goalproof}
\begin{goalproof}{parser_infinity}
For every source-valid infinity spelling, the initial byte preserves the
lexical sign and unchanged unsigned keyword body.  All later outcomes are
preserved, without assuming normal signed-infinity acceptance or imposing A/B.
\end{goalproof}
\begin{goalproof}{parser_invalid_rejection}
For invalid complete strings through A, the same empty/head and sign-only
branches and helper inputs are retained.  The required normal Rust error,
rather than failure/divergence, is not a premise of preservation.
\end{goalproof}
\begin{goalproof}{parser_nan_acceptance}
For every source-valid NaN spelling, the same copied sign byte and unsigned
body preserve the execution.  The required normal NaN result is not assumed
and no A/B bound is added.
\end{goalproof}
\begin{goalproof}{parser_non_nan_results}
For every source-valid non-NaN input, identical initial observations preserve
branch selection and any successful word.  Whether it is non-NaN remains
the separate conclusion.
\end{goalproof}
\begin{goalproof}{parser_numeric_acceptance}
For numeric complete strings through A, identical initial observations keep
the leading sign and all body bytes, including the independently signed
exponent.  Normal Rust \texttt{Ok} without panic remains required, not presumed.
\end{goalproof}
\begin{goalproof}{parser_numeric_sign}
For every successful numeric parse, the same copied leading byte preserves
the lexical sign flag; it is distinct from the exponent sign tested later.
The final word is unchanged, without using the lexical-sign conclusion.
\end{goalproof}
\begin{goalproof}{parser_selected_exponent}
For successful numeric parses, the same initial observation and helper inputs
preserve every selected raw pair and trace.  The selected-exponent range is
not assumed by this argument.
\end{goalproof}
\begin{goalproof}{parser_selected_magnitude_sign}
For successful numeric parses, the initial observation preserves the selected
raw pair and its assembly word.  No clear-sign-bit premise is introduced.
\end{goalproof}
\begin{goalproof}{parser_signed_zero}
For accepted numeric zero literals, the same first byte preserves the lexical
sign flag and entire subsequent execution.  Any returned word is unchanged;
the signed-zero conclusion is not used.
\end{goalproof}
\begin{goalproof}{parser_totality}
For every Rust string of complete length through A, first itself returns
normally in both cases.  Its exact observation preserves every later branch,
including empty/sign-only, any outer failure and divergence.
This introduces no first-boundary panic but does not prove parser termination
or normal output, which remain the GOAL's required conclusion.
\end{goalproof}
\begin{goalproof}{rounding_determinism}
This mathematical real-number goal executes no first call and gains no
uniqueness assumption from the primitive.
\end{goalproof}
\begin{goalproof}{rounding_totality}
This mathematical existence goal executes no first call and retains every
nonnegative real.
\end{goalproof}
\begin{goalproof}{slow_accumulated_rounding}
For every source-valid unsigned numeric literal, without A/B or public
reachability restrictions, the slow scientific callee retains the upstream
first observation via guarded indexing, not this bound first external.
Changing this binding therefore changes no slow execution or normal raw pair.
The independent exponent sign, full digit scan and full-significand diagnostic
are untouched; no slow termination or on-normal rounding is assumed.
\end{goalproof}
\begin{goalproof}{special_helper_infinity}
The direct helper and its callees have no first call.  Every source-valid
arbitrary-byte slice and either separate sign remain allowed, without UTF-8
or A/B restrictions; the normal signed-infinity requirement is unchanged.
\end{goalproof}
\begin{goalproof}{special_helper_nan}
The direct helper has no first callee.  Its complete arbitrary-byte source-valid
domain and either separate sign are unchanged, without assuming a normal NaN.
\end{goalproof}
\begin{goalproof}{special_helper_rejection}
The direct helper has no first callee.  Its whole-keyword rejection on every
source-valid arbitrary-byte slice and either sign is unchanged, with no UTF-8
condition and no assumed normal \texttt{None}.
\end{goalproof}
\end{preservation}
