\begin{definition}
For every modeled Aeneas \texttt{Str} byte slice $s$,
$\mathsf{ModelStrAsBytes}(s)$ successfully returns $s$ itself.
\end{definition}
\begin{preservation}
\begin{claim}
For every Aeneas \texttt{Str} value $s$ satisfying
$\mathsf{DecimalGoalVocabularyDefault.sourceString}(s)$, the configured Rust
\texttt{str} represented by $s$ has exactly the same complete ordered UTF-8
bytes, source \texttt{str::as\_bytes} returns normally with a shared slice of
exactly those bytes, and $\mathsf{ModelStrAsBytes}(s)$ returns
\texttt{ok} of the identical ordered Aeneas \texttt{Slice U8} $s$.
\end{claim}
\begin{proof}
Aeneas defines \texttt{Str} to be \texttt{Slice U8}; its exact definition, the
frozen external declaration, its sole generated call, the support binding, and
the configured Rust \texttt{as\_bytes} body are pinned in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}.  By itself this
Aeneas type overapproximates Rust \texttt{str}: it permits arbitrary byte values
up to Aeneas's \texttt{Usize.max} slice bound, rather than requiring UTF-8 and
the stricter configured \texttt{isize::MAX} byte bound.  The paired definition
\noderef{DecimalGoalVocabularyDefault} supplies exactly the missing restriction:
its \texttt{sourceString} predicate requires length at most
$9223372036854775807$ and a witness Lean string whose UTF-8 encoding is the
entire byte list of $s$.  Those are precisely the configured Rust
\texttt{str} representation conditions established by
\evidenceref{reference/model-evidence/source-valid-byte-slice.txt}.

For such an $s$, the witness therefore identifies a source-valid Rust
\texttt{str} with the same complete ordered bytes.  The frozen Rust body is an
infallible same-layout transmutation from that \texttt{str} to a shared
\texttt{[u8]} slice, so it neither changes the byte sequence nor introduces a
panic or error.  Aeneas represents the slice as the complete ordered list
subtype and erases this immutable shared borrow to its value observation, as
pinned in \evidenceref{reference/model-evidence/aeneas-slice-observations.txt}.
Finally, the bound implementation is literally \texttt{ok s}.  Hence, on
exactly the \texttt{sourceString} subset and without making a claim about other
Aeneas \texttt{Str} values, the source call and its replacement both continue
normally with the identical complete ordered \texttt{U8} slice.
\end{proof}
\begin{goalproof}{assembly_correspondence}
The source subject \texttt{biased\_fp\_to\_float} begins from a
\texttt{BiasedFp} and contains no string-to-bytes conversion; the unique frozen
\texttt{as\_bytes} call is instead in \texttt{dec2flt\_with\_trace}, as shown by
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}.  This binding is
therefore noninterfering with every execution and raw-word observation of the
assembly goal.
\end{goalproof}
\begin{goalproof}{classification_determinism}
This is a mathematical claim about the classification relation on arbitrary
finite byte strings, not an execution of a Rust string operation.  It therefore
contains no \texttt{as\_bytes} call, so this binding neither restricts its byte
domain nor supplies its uniqueness conclusion.
\end{goalproof}
\begin{goalproof}{classification_significand_digit}
This mathematical goal inspects the significand of a classified finite byte
string and performs no source call.  Consequently string conversion is absent
and this binding is noninterfering; in particular, it does not assume that a
numeric classification contains a digit.
\end{goalproof}
\begin{goalproof}{classification_totality}
The goal quantifies over every finite byte string without a source-string or
UTF-8 restriction and is stated entirely in the mathematical classification
relation.  It never executes \texttt{as\_bytes}; this source-valid-string claim
therefore adds no restriction and does not assert total classification.
\end{goalproof}
\begin{goalproof}{dispatch_abstract_composition}
For the theorem's source-valid-string input, the claim identifies exactly the
complete ordered byte slice passed to its abstract flow.  Thus the string input
and abstract byte-domain input are connected without changing bytes or adding a
failure at conversion.  The abstract flow itself does not execute the frozen
source call; this application asserts neither contract inhabitation nor any
classification, rounding, sign, or normal-return conclusion.
\end{goalproof}
\begin{goalproof}{dispatch_component_compliance}
The unique frozen \texttt{as\_bytes} call is the first operation of the concrete
\texttt{dec2flt\_with\_trace} execution, as pinned in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}.  On the goal's
source-valid strings, the replacement succeeds exactly when the infallible
source call does and feeds the identical ordered bytes to every subsequent
branch, helper call, trace field, and result; later panic-versus-normal behavior
is therefore unchanged.  This establishes only preservation of the concrete
execution and of later comparisons with contracts, not existence of a compliant
contract instance or the component-compliance conclusion.
\end{goalproof}
\begin{goalproof}{exponent_value_agreement}
This is a mathematical relation among a valid numeric lexeme, its two exponent
interpretations, and their rounding targets.  It contains no source operation,
so the string binding is noninterfering and does not assume that the targets
agree.
\end{goalproof}
\begin{goalproof}{integer_correct_or_defer}
The source subject \texttt{compute\_float} starts directly from an \texttt{i64}
exponent and \texttt{u64} mantissa and has no string conversion.  The sole
\texttt{as\_bytes} call belongs to the outer traced dispatcher, so this binding
does not affect the integer tier's return, deferral, or assembled-word behavior.
\end{goalproof}
\begin{goalproof}{native_correct_or_defer}
The source subject \texttt{try\_fast\_path} starts directly from a
\texttt{Decimal} record and contains no \texttt{str::as\_bytes} call.  Hence the
binding is noninterfering with its panic/normal, \texttt{None}/\texttt{Some}, and
float-result observations and does not assert native correctness.
\end{goalproof}
\begin{goalproof}{number_helper_acceptance}
The source subject \texttt{parse\_number} receives a Rust byte slice directly;
it does not convert a Rust string.  The sole frozen \texttt{as\_bytes} call is in
the outer traced dispatcher, so this binding neither restricts helper slices nor
asserts that this helper accepts numeric input.
\end{goalproof}
\begin{goalproof}{number_helper_accumulated_value}
This helper goal starts with the byte slice passed directly to
\texttt{parse\_number}.  Since that source function contains no string
conversion, this binding changes neither its returned record nor the values
compared with that record, and supplies none of the interval conclusion.
\end{goalproof}
\begin{goalproof}{number_helper_record_bounds}
The quantified source-valid object here is already a Rust byte slice in the
sense of \noderef{SourceValidByteSlice}, not a Rust \texttt{str}.  The helper
therefore does not call \texttt{as\_bytes}; this binding is noninterfering with
normal return and the record-field bounds.
\end{goalproof}
\begin{goalproof}{number_helper_rejection}
The source subject \texttt{parse\_number} takes its arbitrary nonempty byte slice
directly and performs no string conversion.  Thus this binding adds no UTF-8
premise, changes no helper execution, and does not presume the asserted
\texttt{None} result.
\end{goalproof}
\begin{goalproof}{parser_accumulated_rounding}
The sole frozen \texttt{as\_bytes} call is the first operation of the public
parser path through \texttt{dec2flt\_with\_trace}, as pinned in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}.  On each
source-valid input the source call and replacement both continue with identical
ordered bytes, so every later branch, panic/normal outcome, returned word, and
trace observation is unchanged.  This does not assume accumulated-value
rounding.
\end{goalproof}
\begin{goalproof}{parser_equal_target_rounding}
At the unique frozen public-parser \texttt{as\_bytes} call recorded in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}, the
\texttt{sourceString} premise places the input exactly in the claim's domain.
Both sides continue infallibly with the same ordered bytes, preserving all
downstream branches, panic/normal behavior, words, and traces without assuming
the equal-target bridge.
\end{goalproof}
\begin{goalproof}{parser_exact_rounding}
The unique frozen string conversion on the public parser path is pinned in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}.  For every
source-valid numeric input it is replaced by \texttt{ok} of precisely the same
ordered bytes, with no new failure; hence all subsequent control flow,
panic-versus-normal behavior, and result words are preserved.  No exact-rounding
conclusion is used here.
\end{goalproof}
\begin{goalproof}{parser_infinity}
For a source-valid infinity literal, the unique public-parser
\texttt{as\_bytes} call pinned in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt} and its model both
continue normally with the literal's identical ordered bytes.  All subsequent
matching, sign handling, panic/normal behavior, and returned word are therefore
unchanged; this does not assert acceptance or the infinity result.
\end{goalproof}
\begin{goalproof}{parser_invalid_rejection}
For every source-valid string in this goal, the unique conversion at the start
of \texttt{dec2flt\_with\_trace}, pinned in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}, is infallible and
is replaced by \texttt{ok} of the exact same bytes.  Downstream classification,
panic/normal behavior, and \texttt{Ok}/\texttt{Err} observations are preserved
without assuming that invalid inputs are rejected.
\end{goalproof}
\begin{goalproof}{parser_nan_acceptance}
The source-valid NaN spelling reaches the sole frozen public-parser
\texttt{as\_bytes} call recorded in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}.  That call and
the replacement both continue with exactly the same ordered bytes, preserving
later case matching, sign handling, panic/normal behavior, and result bits; no
NaN acceptance claim is assumed.
\end{goalproof}
\begin{goalproof}{parser_non_nan_results}
The unique public-parser \texttt{as\_bytes} call is pinned in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}.  On every
source-valid non-NaN input it and the replacement succeed with identical bytes,
so later branches, panic/normal outcomes, and the returned word are unchanged.
Whether that word is non-NaN remains the separate GOAL obligation.
\end{goalproof}
\begin{goalproof}{parser_numeric_acceptance}
The unique conversion at the start of the public parser's traced execution is
pinned in \evidenceref{reference/model-evidence/aeneas-string-bytes.txt}.  The
source-valid numeric input satisfies the claim premise, so source and model
continue infallibly with identical ordered bytes; all later control flow,
panic/normal behavior, and \texttt{Ok}/\texttt{Err} results are preserved without
asserting acceptance.
\end{goalproof}
\begin{goalproof}{parser_numeric_sign}
At the sole frozen public-parser \texttt{as\_bytes} call pinned in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}, each source-valid
numeric input and its model expose the same first sign byte and remaining
ordered bytes.  Thus all downstream branches, panic/normal behavior, assembly,
and returned words are unchanged, without assuming the claimed lexical sign.
\end{goalproof}
\begin{goalproof}{parser_selected_exponent}
The unique frozen \texttt{as\_bytes} call on the public traced-parser path is
pinned in \evidenceref{reference/model-evidence/aeneas-string-bytes.txt}.  On
source-valid inputs the model supplies its exact bytes with the same infallible
boundary behavior, preserving every later branch, panic/normal outcome, and
recorded selected pair.  It does not assume that the selected exponent is in
range.
\end{goalproof}
\begin{goalproof}{parser_selected_magnitude_sign}
At the sole public-parser string conversion recorded in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}, source and model
continue normally with identical ordered bytes for every source-valid input.
Therefore downstream control, panic/normal behavior, selected-pair and assembled
word observations are unchanged; the clear-sign-bit conclusion is not assumed.
\end{goalproof}
\begin{goalproof}{parser_signed_zero}
For a source-valid numeric zero literal, the unique frozen public-parser
\texttt{as\_bytes} call pinned in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt} and the replacement
both continue infallibly with the identical sign and digit bytes.  This preserves
later branches, panic/normal behavior, and the returned word but does not assert
the signed-zero conclusion.
\end{goalproof}
\begin{goalproof}{parser_totality}
The unique string conversion at the beginning of the public parser's traced
execution is pinned in
\evidenceref{reference/model-evidence/aeneas-string-bytes.txt}.  Every input
satisfying \texttt{sourceString} lies in the claim's exact domain, and source and
model both pass the same ordered bytes without failure at this boundary.  Thus
all later execution, including any panic, normal return, or divergence, is
unchanged; this application does not assume totality.
\end{goalproof}
\begin{goalproof}{rounding_determinism}
This mathematical goal quantifies over nonnegative reals and binary64 rounding
targets and contains no source execution.  It never calls \texttt{as\_bytes}, so
the binding is noninterfering and supplies no uniqueness premise or conclusion.
\end{goalproof}
\begin{goalproof}{rounding_totality}
This mathematical existence statement concerns every nonnegative real and the
binary64 rounding relation, not a Rust parser call.  String conversion is absent,
so the binding neither changes its domain nor assumes a rounding target exists.
\end{goalproof}
\begin{goalproof}{slow_accumulated_rounding}
The source subject \texttt{parse\_long\_mantissa} begins directly from a Rust
byte slice and does not call \texttt{str::as\_bytes}; the sole frozen call is in
the outer traced dispatcher.  This binding therefore changes neither helper
execution nor its raw pair and does not assert the rounding conclusion.
\end{goalproof}
\begin{goalproof}{special_helper_infinity}
The specialized \texttt{parse\_inf\_nan} source subject receives its keyword as
a Rust byte slice directly, so it performs no string conversion.  This binding
adds no UTF-8 condition and is noninterfering with its return and sign
observations, without assuming infinity acceptance.
\end{goalproof}
\begin{goalproof}{special_helper_nan}
This helper starts directly from a Rust byte slice and a separate sign argument;
it contains no \texttt{as\_bytes} call.  The string binding therefore changes no
branch, panic/normal outcome, or returned word and does not assume NaN acceptance.
\end{goalproof}
\begin{goalproof}{special_helper_rejection}
The source subject \texttt{parse\_inf\_nan} receives an arbitrary Rust byte slice
directly and never converts a Rust string.  Consequently this binding is
noninterfering, imposes no UTF-8 restriction, and supplies none of the claimed
\texttt{None} result.
\end{goalproof}
\end{preservation}
