\begin{definition}
An Aeneas byte slice is \emph{source-valid} for the configured 64-bit Rust
target exactly when its byte length is at most
$\mathtt{isize::MAX}=2^{63}-1=9223372036854775807$.  This predicate places no
restriction on byte values and, in particular, imposes no UTF-8 condition.
\end{definition}
\begin{preservation}
\begin{claim}
For the configured \texttt{x86\_64-unknown-linux-gnu} source domain,
\texttt{SourceValidByteSlice} is exactly the length condition on a Rust
\texttt{\&[u8]} represented by an Aeneas byte slice: the represented byte count
is at most \texttt{isize::MAX}; byte contents are unrestricted.
\end{claim}
\begin{proof}
An Aeneas \texttt{Slice Std.U8} exposes its represented elements as
\texttt{s.val}, so \texttt{s.val.length} is its byte count.  The pinned
toolchain reports a 64-bit pointer width, \texttt{isize::MAX} equal to
$9223372036854775807$, and one-byte \texttt{u8} elements.  Its core slice
source records that a slice occupies at most \texttt{isize::MAX} bytes.
These commands, raw results, and source locations are recorded in
\evidenceref{reference/model-evidence/source-valid-byte-slice.txt}.  Thus the
Lean inequality is precisely the configured source length bound.  Since the
definition inspects only length, it adds neither a byte-value condition nor
the UTF-8 invariant that belongs specifically to Rust strings.
\end{proof}
\begin{goalproof}{parser_totality}The parser's Rust-string domain already carries its own source-validity and UTF-8 conditions; this byte-slice predicate does not alter that domain.\end{goalproof}
\begin{goalproof}{parser_numeric_acceptance}The parser's source-valid string supplies a bounded byte slice when \texttt{as\_bytes} is called; numeric grammar remains a separate premise.\end{goalproof}
\begin{goalproof}{parser_invalid_rejection}The parser's source-valid string supplies the same bounded byte slice, while invalidity remains the complement of the stated grammar.\end{goalproof}
\begin{goalproof}{parser_nan_acceptance}The predicate contributes only the length fact inherited by the helper slice and does not change NaN spelling or UTF-8 validity.\end{goalproof}
\begin{goalproof}{parser_infinity}The predicate contributes only the length fact inherited by the helper slice and does not change infinity spelling or sign.\end{goalproof}
\begin{goalproof}{parser_non_nan_results}The byte-length representation does not change any returned floating-point observation.\end{goalproof}
\begin{goalproof}{parser_numeric_sign}The byte-length representation does not change lexical or returned-word signs.\end{goalproof}
\begin{goalproof}{parser_signed_zero}The byte-length representation does not identify or alter the two signed-zero words.\end{goalproof}
\begin{goalproof}{parser_exact_rounding}The predicate only identifies source-representable helper inputs and leaves exact decimal values and binary64 rounding unchanged.\end{goalproof}
\begin{goalproof}{parser_selected_exponent}The predicate adds no constraint on selected raw-pair fields.\end{goalproof}
\begin{goalproof}{parser_selected_magnitude_sign}The predicate adds no constraint on selected raw-pair words or their sign bits.\end{goalproof}
\begin{goalproof}{dispatch_abstract_composition}The abstract flow ranges over bytes of source-valid Rust strings.  Sign stripping preserves their inherent length bound on the body, so this predicate supplies exactly the helper-slice domain used by the numeric, special, and slow contracts without adding UTF-8 to those helper inputs.\end{goalproof}
\begin{goalproof}{dispatch_component_compliance}Every helper body slice comes from a source-valid Rust string by taking a subslice, so its byte count still satisfies this exact source bound.\end{goalproof}
\begin{goalproof}{parser_accumulated_rounding}The predicate identifies the actual helper-call domain without changing the accumulated-exponent value.\end{goalproof}
\begin{goalproof}{parser_equal_target_rounding}The predicate identifies the actual helper-call domain without changing either rounding target.\end{goalproof}
\begin{goalproof}{number_helper_acceptance}The GOAL quantifies over Rust byte slices, whose exact modeled length domain is supplied by this predicate; arbitrary byte contents remain allowed.\end{goalproof}
\begin{goalproof}{number_helper_rejection}The GOAL quantifies over Rust byte slices, so this predicate supplies only their inherent length bound and imposes no UTF-8 condition.\end{goalproof}
\begin{goalproof}{number_helper_record_bounds}Premising the model theorem with this predicate makes its slice quantifier exactly the configured Rust domain while retaining nonemptiness and every returned-record conclusion.\end{goalproof}
\begin{goalproof}{number_helper_accumulated_value}The GOAL's unsigned numeric Rust slice must satisfy this inherent bound; the predicate does not discard any source input or alter its diagnostic value.\end{goalproof}
\begin{goalproof}{special_helper_infinity}The GOAL's Rust byte slices satisfy this inherent bound, independently of keyword bytes and the separate sign argument.\end{goalproof}
\begin{goalproof}{special_helper_nan}The GOAL's Rust byte slices satisfy this inherent bound, independently of keyword bytes and the separate sign argument.\end{goalproof}
\begin{goalproof}{special_helper_rejection}The GOAL's Rust byte slices satisfy this inherent bound without any UTF-8 restriction on rejected contents.\end{goalproof}
\begin{goalproof}{native_correct_or_defer}This goal ranges over \texttt{Decimal} records rather than slices, so the predicate is noninterfering.\end{goalproof}
\begin{goalproof}{integer_correct_or_defer}This goal ranges over integer machine values rather than slices, so the predicate is noninterfering.\end{goalproof}
\begin{goalproof}{slow_accumulated_rounding}The GOAL's unsigned-numeric Rust slice satisfies this inherent bound; its full significand and accumulated value remain unchanged.\end{goalproof}
\begin{goalproof}{assembly_correspondence}This goal ranges over unrestricted raw pairs rather than slices, so the predicate is noninterfering.\end{goalproof}
\begin{goalproof}{classification_totality}This purely mathematical goal remains quantified over every finite byte string, including lists longer than the Rust slice bound.\end{goalproof}
\begin{goalproof}{classification_determinism}This purely mathematical goal remains quantified over every finite byte string, including lists longer than the Rust slice bound.\end{goalproof}
\begin{goalproof}{classification_significand_digit}This purely mathematical grammar fact remains unrestricted by source representability.\end{goalproof}
\begin{goalproof}{rounding_totality}This purely mathematical real-number goal has no slice input, so the predicate is noninterfering.\end{goalproof}
\begin{goalproof}{rounding_determinism}This purely mathematical real-number goal has no slice input, so the predicate is noninterfering.\end{goalproof}
\begin{goalproof}{exponent_value_agreement}This lexical value comparison is unchanged; source-facing uses apply the predicate only to their Rust slice carrier.\end{goalproof}
\end{preservation}
