Source-valid byte-slice and string domain evidence
==================================================

Scope and pinned identities
---------------------------

All commands below were run from the repository root.  The configured compiler
is:

  /home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/bin/rustc

Its SHA-256 is:

  162c2a2d2d89b94e5bc2ec6b179a49d12a7ea1527db9ff1df20b5d09c432924b

The exact identity commands were:

  R=/home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/bin/rustc
  sha256sum "$R"
  "$R" --version --verbose
  "$R" --target x86_64-unknown-linux-gnu --print cfg | LC_ALL=C sort | \
    rg 'target_(arch|pointer_width)'

Their relevant raw output was:

  rustc 1.98.0-nightly (14210df0e 2026-05-31)
  binary: rustc
  commit-hash: 14210df0e27ccd7d9e6a05b8085cbd438e4bbc65
  commit-date: 2026-05-31
  host: x86_64-unknown-linux-gnu
  release: 1.98.0-nightly
  LLVM version: 22.1.6
  target_arch="x86_64"
  target_pointer_width="64"

Retained configured-target probe
--------------------------------

The retained probe source is
reference/model-evidence/source-valid-byte-slice-probe.rs.  It was compiled
for the configured target and executed with this exact command, which depends
only on the retained source and the pinned compiler:

  R=/home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/bin/rustc
  P=reference/model-evidence/source-valid-byte-slice-probe.rs
  B=/tmp/dec2flt-source-valid-byte-slice-probe
  O=reference/model-evidence/source-valid-byte-slice-probe.out
  "$R" --edition 2024 --target x86_64-unknown-linux-gnu -C opt-level=0 \
    -C debuginfo=0 -C overflow-checks=on -C debug-assertions=on \
    --crate-name source_valid_byte_slice_probe "$P" -o "$B"
  sha256sum "$R" "$P" "$B"
  "$B" > "$O"
  sha256sum "$O"
  cat "$O"

The actual hashes were:

  162c2a2d2d89b94e5bc2ec6b179a49d12a7ea1527db9ff1df20b5d09c432924b  /home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/bin/rustc
  b75928df9e68445ef508e70db9b4d11ec4411a2210cd057e1ef0f2ebe06f8bcd  reference/model-evidence/source-valid-byte-slice-probe.rs
  87dc3b9b7a46506d2205503d8aa007b451c452968af48d1ba5961a821934ee55  /tmp/dec2flt-source-valid-byte-slice-probe
  01a71f1529010d8652ee73ee42a63dfcd93a4019d9739732d33f69d14ab588b4  reference/model-evidence/source-valid-byte-slice-probe.out

The retained raw output file contains exactly:

  arch=x86_64
  usize_bits=64
  isize_max=9223372036854775807
  u8_size=1

Pinned core-library source
--------------------------

Let:

  S=/home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src

The exact commands used to identify and inspect the relevant core sources were:

  sha256sum "$S/slice/mod.rs" "$S/num/int_macros.rs" "$S/str/mod.rs"
  sed -n '798,808p' "$S/slice/mod.rs"
  sed -n '43,51p' "$S/num/int_macros.rs"
  sed -n '495,510p' "$S/str/mod.rs"

The file identities are:

  354992a6a3d69a0185eef9044a07ea5180e767bdb467aef55e69ee3d44317840  core/src/slice/mod.rs
  3896304e7cb14628e293134ac41fd18be2b5369bedc02d1c6a7408bd8c755a31  core/src/num/int_macros.rs
  284b4c147b5d0497ce9146f6b96e564f196aed10411a62cdccf5fc5243d40f78  core/src/str/mod.rs

The relevant exact excerpt of slice/mod.rs, line 801, is:

  //   - The size of the slice is never larger than `isize::MAX` bytes, as

The relevant exact declaration in num/int_macros.rs, line 47, is:

  pub const MAX: Self = (<$UnsignedT>::MAX >> 1) as Self;

The relevant exact excerpts of str/mod.rs are its same-layout byte-slice
conversion at lines 498-500:

  pub const fn as_bytes(&self) -> &[u8] {
      // SAFETY: const sound because we transmute two types with the same layout
      unsafe { mem::transmute(self) }
  }

and its UTF-8 invariant at lines 507-510:

  /// The caller must ensure that the content of the slice is valid UTF-8
  /// before the borrow ends and the underlying `str` is used.
  ///
  /// Use of a `str` whose contents are not valid UTF-8 is undefined behavior.

Conclusion
----------

The configured target has 64-bit usize/isize and one-byte u8 elements.
The pinned signed-MAX definition therefore gives
isize::MAX = 2^63 - 1 = 9223372036854775807, and the pinned slice rule bounds a
slice by that many bytes.  For &[u8], this is exactly an element-count bound;
the rule adds no UTF-8 condition or other restriction on the byte contents.
The pinned str source exposes the identical-layout &[u8] bytes and separately
requires them to be valid UTF-8.  Consequently the exact configured domains
are arbitrary &[u8] bytes of length at most isize::MAX, and Rust str bytes of
length at most isize::MAX that are valid UTF-8.  No smaller convenience bound
is introduced.

CURRENT reproduction: request 272, managed task 12, 2026-10-10 UTC
================================================================

This append-only record identifies a fresh managed reproduction, not canonical
publication or preservation approval.  The retained probe source and output
were restored byte-exactly from the read-only predecessor's directory:

  /home/leanagent/math/.trellis-viewer/create-jobs/dec2flt/native/generations/0002/dec2flt-r0002/reference/model-evidence

The hashes of both predecessor and restored artifacts are:

  b75928df9e68445ef508e70db9b4d11ec4411a2210cd057e1ef0f2ebe06f8bcd  source-valid-byte-slice-probe.rs
  01a71f1529010d8652ee73ee42a63dfcd93a4019d9739732d33f69d14ab588b4  source-valid-byte-slice-probe.out

Managed commands and settings
-----------------------------

The following shell notation gives the exact managed invocations with the
absolute variables expanded.  They were issued from ROOT and executed with
cwd ROOT/.trellis/scratch.  Logs/build storage were confined to W.  No compiler
command bypassed the supplied managed wrapper.

  ROOT=/home/leanagent/math/dec2flt-r0003-runtime/dispatch/12/repo
  R=/home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/bin/rustc
  W="$ROOT/.trellis/scratch/task-12-evidence"
  P="$ROOT/reference/model-evidence/source-valid-byte-slice-probe.rs"
  B="$W/source-valid-byte-slice-probe"
  O="$ROOT/reference/model-evidence/source-valid-byte-slice-probe.out"
  python3 "$ROOT/.trellis/scripts/pv_modeling.py" exec "$ROOT" \
    --cwd "$ROOT/.trellis/scratch" --output "$W" --timeout 600 \
    --command "$R" --edition 2024 --target x86_64-unknown-linux-gnu \
    -C opt-level=0 -C debuginfo=0 -C overflow-checks=on -C debug-assertions=on \
    --crate-name source_valid_byte_slice_probe "$P" -o "$B"
  python3 "$ROOT/.trellis/scripts/pv_modeling.py" exec "$ROOT" \
    --cwd "$ROOT/.trellis/scratch" --output "$W" --timeout 600 \
    --command "$B"
  python3 "$ROOT/.trellis/scripts/pv_modeling.py" exec "$ROOT" \
    --cwd "$ROOT/.trellis/scratch" --output "$W" --timeout 600 \
    --command "$R" --version --verbose
  python3 "$ROOT/.trellis/scripts/pv_modeling.py" exec "$ROOT" \
    --cwd "$ROOT/.trellis/scratch" --output "$W" --timeout 600 \
    --command "$R" --target x86_64-unknown-linux-gnu --print cfg

The complete domain-probe flag set reproduces the historical edition, target,
opt-level, debuginfo, overflow/debug checks and crate name.  It sets no feature
cfg and uses the pinned std/core directly, with no Cargo profile.  The wrapper
pins RUSTC/RUSTDOC to this toolchain, RUSTUP_TOOLCHAIN to
nightly-2026-06-01-x86_64-unknown-linux-gnu, and per-execution CARGO_HOME,
CARGO_TARGET_DIR and TMPDIR under W.  The manifest's LD_LIBRARY_PATH is
/home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/lib.
modeling-input/manifest.json is unchanged, SHA-256:

  4b71c7166d09bafef194283156edd10e58f25ffd1a498d785e0af04a600c5b32

Records (relative to W), with complete argv, environment and raw streams:

  exec-1791599091559654118/execution.json  compile: exit_code=0, timeout=false
  exec-1791599101697515551/execution.json  run: exit_code=0, timeout=false
  exec-1791599121355087776/execution.json  version: exit_code=0, timeout=false
  exec-1791599126547341832/execution.json  target cfg: exit_code=0, timeout=false

Compile stdout and stderr were empty; run, version and cfg stderr were empty.
Raw version stdout:

  rustc 1.98.0-nightly (14210df0e 2026-05-31)
  binary: rustc
  commit-hash: 14210df0e27ccd7d9e6a05b8085cbd438e4bbc65
  commit-date: 2026-05-31
  host: x86_64-unknown-linux-gnu
  release: 1.98.0-nightly
  LLVM version: 22.1.6

Complete raw default target cfg stdout:

  debug_assertions
  emscripten_wasm_eh
  fmt_debug="full"
  overflow_checks
  panic="unwind"
  relocation_model="pic"
  target_abi=""
  target_arch="x86_64"
  target_endian="little"
  target_env="gnu"
  target_family="unix"
  target_feature="fxsr"
  target_feature="sse"
  target_feature="sse2"
  target_feature="x87"
  target_has_atomic
  target_has_atomic="16"
  target_has_atomic="32"
  target_has_atomic="64"
  target_has_atomic="8"
  target_has_atomic="ptr"
  target_has_atomic_load_store
  target_has_atomic_load_store="16"
  target_has_atomic_load_store="32"
  target_has_atomic_load_store="64"
  target_has_atomic_load_store="8"
  target_has_atomic_load_store="ptr"
  target_has_atomic_primitive_alignment="16"
  target_has_atomic_primitive_alignment="32"
  target_has_atomic_primitive_alignment="64"
  target_has_atomic_primitive_alignment="8"
  target_has_atomic_primitive_alignment="ptr"
  target_has_reliable_f128
  target_has_reliable_f16
  target_has_reliable_f16_math
  target_object_format="elf"
  target_os="linux"
  target_pointer_width="64"
  target_thread_local
  target_vendor="unknown"
  ub_checks
  unix

Complete raw probe stdout and identities
----------------------------------------

W/exec-1791599101697515551/stdout contains exactly:

  arch=x86_64
  usize_bits=64
  isize_max=9223372036854775807
  u8_size=1

The commands sha256sum "$R" "$P" "$B" "$O" and sha256sum on the fresh
stdout gave (paths abbreviated by the variables above):

  162c2a2d2d89b94e5bc2ec6b179a49d12a7ea1527db9ff1df20b5d09c432924b  R
  b75928df9e68445ef508e70db9b4d11ec4411a2210cd057e1ef0f2ebe06f8bcd  P
  87dc3b9b7a46506d2205503d8aa007b451c452968af48d1ba5961a821934ee55  CURRENT executable B
  01a71f1529010d8652ee73ee42a63dfcd93a4019d9739732d33f69d14ab588b4  restored O
  01a71f1529010d8652ee73ee42a63dfcd93a4019d9739732d33f69d14ab588b4  CURRENT raw stdout

cmp "$O" "$W/exec-1791599101697515551/stdout" exited 0 with empty stdout.
Thus fresh stdout is byte-exactly the restored historical output; this does
not overwrite either the historical output or its provenance.

CURRENT pinned core-source argument for the whole domain
--------------------------------------------------------

Let T=/home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu
and S="$T/lib/rustlib/src/rust/library/core/src".  sha256sum on the following
exact paths gave:

  ac95ece05f436bbdc71cc1e8dcf0e99db24ea1c08b17cbfbc111e0631148e8d9  T/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-58aeee91aeb71c13.rlib
  6a40f794a28cdd69182753e14782bd46f65cb446210fe8b0c251b6efdc5d4ffd  T/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ebc3593764c44f83.rlib
  354992a6a3d69a0185eef9044a07ea5180e767bdb467aef55e69ee3d44317840  S/slice/mod.rs
  3896304e7cb14628e293134ac41fd18be2b5369bedc02d1c6a7408bd8c755a31  S/num/int_macros.rs
  284b4c147b5d0497ce9146f6b96e564f196aed10411a62cdccf5fc5243d40f78  S/str/mod.rs
  0914968067f7e2bc798680c1edd72bcb032a9fd44ebb2b6fbc082a3a2b16941f  S/slice/raw.rs

The first three source identities match the historical record above.  Exact
current inspection commands were:

  sed -n '798,808p' "$S/slice/mod.rs"
  sed -n '43,51p' "$S/num/int_macros.rs"
  sed -n '495,510p' "$S/str/mod.rs"
  sed -n '12,34p' "$S/slice/raw.rs"

slice/mod.rs:801-807 retains its size assumption and its qualification:

  //   - The size of the slice is never larger than `isize::MAX` bytes, as
  //     noted here:
  //       - https://github.com/rust-lang/unsafe-code-guidelines/issues/102#issuecomment-473340447
  //       - https://doc.rust-lang.org/reference/behavior-considered-undefined.html
  //       - https://doc.rust-lang.org/core/slice/fn.from_raw_parts.html#safety
  //     (This doesn't seem normative yet, but the very same assumption is
  //     made in many places, including the Index implementation of slices.)

The additional pinned primary safety text in slice/raw.rs:12,26,31-33 states:

  /// Behavior is undefined if any of the following conditions are violated:
  /// * `data` must point to `len` consecutive properly initialized values of type `T`.
  /// * The total size `len * size_of::<T>()` of the slice must be no larger than `isize::MAX`,
  ///   and adding that size to `data` must not "wrap around" the address space.
  ///   See the safety documentation of [`pointer::offset`].

num/int_macros.rs:47 fixes signed MAX, independently of allocation tests:

  pub const MAX: Self = (<$UnsignedT>::MAX >> 1) as Self;

str/mod.rs:498-501 exposes the identical-layout bytes:

  pub const fn as_bytes(&self) -> &[u8] {
      // SAFETY: const sound because we transmute two types with the same layout
      unsafe { mem::transmute(self) }
  }

str/mod.rs:507-510 separately imposes the string invariant:

  /// The caller must ensure that the content of the slice is valid UTF-8
  /// before the borrow ends and the underlying `str` is used.
  ///
  /// Use of a `str` whose contents are not valid UTF-8 is undefined behavior.

The probe confirms target constants only.  The general size condition follows
from these pinned slice and integer sources: usize/isize have width 64, signed
MAX is 2^63-1, and u8 occupies one byte, so the byte count and element count of
&[u8] have exactly the full bound 9223372036854775807.  Initialized u8 values
may have arbitrary byte contents; the slice condition introduces no UTF-8
premise.  A Rust str contributes the separate UTF-8 invariant and exposes the
same bytes through as_bytes.  This concerns the modeled content/length of a
valid reference, not a claim that a given machine can allocate every such
length; pointer validity, alignment and lifetime obligations of real references
are not inferred from the probe or replaced by a sampled allocation test.
No smaller bound or physical-constructibility premise is introduced.  The
mathematical classification of every finite byte string remains independent
of the Rust slice domain.  All Tablet pairs, preservation claims and separate
GOAL applications are byte-unchanged; this record restores their primary
evidence without proving or changing any supplied GOAL.

CURRENT selected-target width binding: request 341, managed task 22
==================================================================

This appendix was recorded on 2026-10-10 UTC in the current private checkout.
It preserves all evidence above and stages only the missing environment
binding System.Platform.numBits = 64.  Staging is not assumption approval,
human ratification, or closure of any dependent GOAL.  No predecessor axiom
or predecessor preservation approval is used as current authority.

Current accepted scope and extraction provenance
------------------------------------------------

These commands inspect the CURRENT records, not predecessor extraction:

  jq '.effective_tools, .resource_environment, .audits.setup.decision, \
      .audits.setup.reason, .audits.adaptation.decision, \
      .generated_modules' modeling-input/manifest.json
  sed -n '13,33p' modeling-input/SETUP.md
  cat modeling-input/extraction.json crate/rust-toolchain.toml
  sha256sum modeling-input/manifest.json modeling-input/SETUP.md \
    modeling-input/extraction.json crate/rust-toolchain.toml generated.lean

Relevant manifest JSON locators and exact values:

  /effective_tools/cargo = /home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/bin/cargo
  /effective_tools/env/RUSTUP_TOOLCHAIN = nightly-2026-06-01
  /effective_tools/lean = /home/leanagent/.elan/toolchains/leanprover--lean4---v4.30.0-rc2/bin/lean
  /effective_tools/lean_paths/0 = /home/leanagent/pv_spike/tools/aeneas/backends/lean/.lake/build/lib/lean
  /resource_environment/ELAN_TOOLCHAIN = leanprover/lean4:v4.30.0-rc2
  /audits/setup/decision = accept
  /audits/adaptation/decision = accept
  /generated_modules/M = /home/leanagent/math/.trellis-viewer/create-jobs/dec2flt/native/generations/0003/dec2flt-r0003-preparation/observations/check-1791487636453795674/Generated/M.lean

The accepted /audits/setup/reason specifically records the pinned
nightly-2026-06-01 x86_64 configuration, development debug assertions, and
explicit overflow checks.  SETUP.md, "Package and extraction", explains that
the configured rustc host is x86_64-unknown-linux-gnu and, with no target
override in extraction.json, is the extraction target.  This is the accepted
setup selection.  The toolchain's targets list alone would not prove what
target an extraction used.

Exact current extraction.json:

  {
    "crate": "crate",
    "cargo_args": [],
    "charon_args": [],
    "aeneas_args": []
  }

Exact current crate/rust-toolchain.toml:

  [toolchain]
  channel = "nightly-2026-06-01"
  profile = "minimal"
  targets = ["x86_64-unknown-linux-gnu"]

Current SHA-256 identities (unchanged by this appendix):

  4b71c7166d09bafef194283156edd10e58f25ffd1a498d785e0af04a600c5b32  modeling-input/manifest.json
  76541e251dd08753ec262a142b47e411e2fe70056bf5230b4a4ef79083c8ea92  modeling-input/SETUP.md
  a45e9bc0c57213e415eb8fa5cec983c44259d336522e6eec8760e7237b7779d7  modeling-input/extraction.json
  a8a913abf2e9b3508218d8f83aec85bda8b0364eaee331ad394144cbec9b2c9b  crate/rust-toolchain.toml
  438af8398703b81aa311d7885dfb34f1909125bee48b096dacc93baefcc4bcf9  generated.lean

The GOAL.md source domain distinctions remain the ones documented in
SETUP.md, "Domains and goal observations": complete-string A/B versus
unsigned-body A/B, full-domain record/slow/special and successful-result
obligations, and unrestricted mathematical list/real goals.  All 32 goals
remain pursued.  This binding changes none of their statements or bounds.

Fresh managed compiler and domain probes
----------------------------------------

The commands below ran from ROOT, with command cwd ROOT/.trellis/scratch.
Each used the supplied pv_modeling.py exec wrapper; no compiler guard was
bypassed.  Let:

  ROOT=/home/leanagent/math/dec2flt-r0003-runtime/dispatch/22/repo
  R=/home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/bin/rustc
  W="$ROOT/.trellis/scratch/task-22-width"
  P="$ROOT/reference/model-evidence/source-valid-byte-slice-probe.rs"
  B="$W/source-valid-byte-slice-probe"

Exact invocations, with these variable expansions:

  python3 .trellis/scripts/pv_modeling.py exec . \
    --cwd .trellis/scratch --output .trellis/scratch/task-22-width \
    --timeout 600 --command "$R" --version --verbose
  python3 .trellis/scripts/pv_modeling.py exec . \
    --cwd .trellis/scratch --output .trellis/scratch/task-22-width \
    --timeout 600 --command "$R" --print cfg
  python3 .trellis/scripts/pv_modeling.py exec . \
    --cwd .trellis/scratch --output .trellis/scratch/task-22-width \
    --timeout 600 --command "$R" --target x86_64-unknown-linux-gnu --print cfg
  python3 .trellis/scripts/pv_modeling.py exec . \
    --cwd .trellis/scratch --output .trellis/scratch/task-22-width \
    --timeout 600 --command "$R" --edition 2024 \
    --target x86_64-unknown-linux-gnu -C opt-level=0 -C debuginfo=0 \
    -C overflow-checks=on -C debug-assertions=on \
    --crate-name source_valid_byte_slice_probe "$P" -o "$B"
  python3 .trellis/scripts/pv_modeling.py exec . \
    --cwd .trellis/scratch --output .trellis/scratch/task-22-width \
    --timeout 600 --command "$B"

Per-execution records, relative to W, contain complete argv, environment,
stdout/stderr paths and settings.  All have exit_code=0, timeout=false:

  exec-1791631852821355416/execution.json  version
  exec-1791631853161432714/execution.json  default target cfg
  exec-1791631853463233065/execution.json  explicit x86_64 target cfg
  exec-1791631853750677890/execution.json  compile retained domain probe
  exec-1791631854318725335/execution.json  run fresh domain probe

The wrapper pins RUSTC and RUSTDOC to the selected toolchain, sets
RUSTUP_TOOLCHAIN to its absolute directory, and confines CARGO_HOME,
CARGO_TARGET_DIR and TMPDIR to the per-execution directory under W.
The manifest supplies LD_LIBRARY_PATH for that toolchain.  No additional
feature cfg, Cargo profile, or source modification was used.

All stderr streams are empty; compile stdout is empty.  Complete version
stdout:

  rustc 1.98.0-nightly (14210df0e 2026-05-31)
  binary: rustc
  commit-hash: 14210df0e27ccd7d9e6a05b8085cbd438e4bbc65
  commit-date: 2026-05-31
  host: x86_64-unknown-linux-gnu
  release: 1.98.0-nightly
  LLVM version: 22.1.6

Complete default target cfg stdout (explicit-target stdout is byte-identical):

  debug_assertions
  emscripten_wasm_eh
  fmt_debug="full"
  overflow_checks
  panic="unwind"
  relocation_model="pic"
  target_abi=""
  target_arch="x86_64"
  target_endian="little"
  target_env="gnu"
  target_family="unix"
  target_feature="fxsr"
  target_feature="sse"
  target_feature="sse2"
  target_feature="x87"
  target_has_atomic
  target_has_atomic="16"
  target_has_atomic="32"
  target_has_atomic="64"
  target_has_atomic="8"
  target_has_atomic="ptr"
  target_has_atomic_load_store
  target_has_atomic_load_store="16"
  target_has_atomic_load_store="32"
  target_has_atomic_load_store="64"
  target_has_atomic_load_store="8"
  target_has_atomic_load_store="ptr"
  target_has_atomic_primitive_alignment="16"
  target_has_atomic_primitive_alignment="32"
  target_has_atomic_primitive_alignment="64"
  target_has_atomic_primitive_alignment="8"
  target_has_atomic_primitive_alignment="ptr"
  target_has_reliable_f128
  target_has_reliable_f16
  target_has_reliable_f16_math
  target_object_format="elf"
  target_os="linux"
  target_pointer_width="64"
  target_thread_local
  target_vendor="unknown"
  ub_checks
  unix

Complete freshly executed domain-probe stdout:

  arch=x86_64
  usize_bits=64
  isize_max=9223372036854775807
  u8_size=1

Identity command and raw SHA-256 results (paths abbreviated above):

  sha256sum "$R" "$P" "$B" \
    "$W/exec-1791631854318725335/stdout" \
    "$W/exec-1791631853161432714/stdout" \
    "$W/exec-1791631853463233065/stdout"

  162c2a2d2d89b94e5bc2ec6b179a49d12a7ea1527db9ff1df20b5d09c432924b  R
  b75928df9e68445ef508e70db9b4d11ec4411a2210cd057e1ef0f2ebe06f8bcd  P
  87dc3b9b7a46506d2205503d8aa007b451c452968af48d1ba5961a821934ee55  B
  01a71f1529010d8652ee73ee42a63dfcd93a4019d9739732d33f69d14ab588b4  fresh probe stdout
  e4a6bae58d5e64db9a5f988ca37cee93ed3334a7926238050809bd2d0c4112f0  default cfg stdout
  e4a6bae58d5e64db9a5f988ca37cee93ed3334a7926238050809bd2d0c4112f0  explicit cfg stdout

cmp of the two cfg stdout files returned 0 with empty output.  cmp of
reference/model-evidence/source-valid-byte-slice-probe.out against fresh
probe stdout also returned 0 with empty output.  The retained source and
retained output were not edited.  These executions corroborate target
constants, not parser behavior or physical realizability of enormous inputs.

Primary Rust documentation
--------------------------

Current pinned documentation source:

  S=/home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src
  sha256sum "$S/primitive_docs.rs"
  sed -n '1480,1498p' "$S/primitive_docs.rs"

Raw SHA-256:

  c4b8627dd67d5dac8f383f383a9e7ff1229ea43e7599610fc61988694cf0f3e5  core/src/primitive_docs.rs

primitive_docs.rs:1480-1488 documents isize as pointer-sized signed;
1490-1498 documents usize as pointer-sized unsigned.  Both document 4 bytes
on a 32-bit target and 8 bytes on a 64-bit target.  The pinned signed MAX,
slice safety and string UTF-8 sources are retained earlier in this file.

Primary public Rust-docs locators, consulted 2026-10-10 UTC:

  https://doc.rust-lang.org/reference/types/numeric.html#machine-dependent-integer-types
    [type.numeric.int.size.usize] and [type.numeric.int.size.isize]:
    usize/isize widths match the platform pointer width; isize uses signed
    two's-complement representation.
  https://doc.rust-lang.org/reference/conditional-compilation.html#target_pointer_width
    [cfg.target_pointer_width]: compiler target pointer-width configuration.

These docs explain what the configured width means; the CURRENT accepted
selection and pinned compiler results establish which target was selected.
They do not state that System.Platform.numBits is 64 on every Rust target.

Installed Aeneas and Lean correspondence
---------------------------------------

Let:

  A=/home/leanagent/pv_spike/tools/aeneas/backends/lean/Aeneas/Std
  L=/home/leanagent/.elan/toolchains/leanprover--lean4---v4.30.0-rc2

Commands used to inspect these CURRENT installed primary sources:

  sha256sum "$A/Scalar/Core.lean" "$A/Slice.lean" \
    "$A/Scalar/Casts.lean" "$A/Scalar/Ops/Sub.lean" \
    "$L/src/lean/Init/Prelude.lean" "$L/bin/lean"
  sed -n '46,78p;90,95p;103,110p;118,133p;649,661p' "$A/Scalar/Core.lean"
  sed -n '20,22p' "$A/Slice.lean"
  sed -n '16,42p' "$A/Scalar/Casts.lean"
  sed -n '15,21p' "$A/Scalar/Ops/Sub.lean"
  sed -n '587,602p' "$A/Scalar/Core.lean"
  sed -n '2275,2297p' "$L/src/lean/Init/Prelude.lean"
  file "$L/bin/lean"

Raw SHA-256 identities:

  a1c26c125a59bba635a2b2c170186ce07168c43308bcf386d508ebd77f01520e  A/Scalar/Core.lean
  c941826e8da78e1c517cae719b9f58e64671331957cce0b3c22c321a6c62c328  A/Slice.lean
  7ace724788adcdfa7f3ed285f736cb56f48ddb8681d2c8025f7b346ca3e0f15a  A/Scalar/Casts.lean
  bd6716dad017ce0c0e9cf9084f9223eb5407ece920853ae7675cbe2362dd5e37  A/Scalar/Ops/Sub.lean
  8f7cb4fa6dd34299944ad2b083b8a4b205e69c50893df3b199d130a2fbf0280b  L/src/lean/Init/Prelude.lean
  3e0d0d3d801675359f2d4cf9815bfdb417b20b92fdd9d48b3b14c95bbae28bbf  L/bin/lean

Relevant Scalar/Core.lean definitions (attributes/comments omitted):

  def UScalarTy.numBits (ty : UScalarTy) : Nat :=
    match ty with
    | Usize => System.Platform.numBits
    | U8 => 8
    | U16 => 16
    | U32 => 32
    | U64 => 64
    | U128 => 128
  def IScalarTy.numBits (ty : IScalarTy) : Nat :=
    match ty with
    | Isize => System.Platform.numBits
    | I8 => 8
    | I16 => 16
    | I32 => 32
    | I64 => 64
    | I128 => 128
  structure UScalar (ty : UScalarTy) where
    bv : BitVec ty.numBits
  def UScalar.val {ty} (x : UScalar ty) : Nat := x.bv.toNat
  structure IScalar (ty : IScalarTy) where
    bv : BitVec ty.numBits
  def IScalar.val {ty} (x : IScalar ty) : Int := x.bv.toInt
  irreducible_def UScalar.max (ty : UScalarTy) : Nat := 2^ty.numBits-1
  irreducible_def IScalar.min (ty : IScalarTy) : Int := -2^(ty.numBits - 1)
  irreducible_def IScalar.max (ty : IScalarTy) : Int := 2^(ty.numBits - 1)-1
  irreducible_def Usize.numBits : Nat := UScalarTy.Usize.numBits
  irreducible_def Isize.numBits : Nat := IScalarTy.Isize.numBits
  irreducible_def Usize.max : Nat := 2^Usize.numBits - 1
  irreducible_def Isize.min : Int := -2^(Isize.numBits - 1)
  irreducible_def Isize.max : Int := 2^(Isize.numBits - 1) - 1
  abbrev Usize := UScalar .Usize
  abbrev Isize := IScalar .Isize

The val codomains above use ASCII Nat/Int for the source's equivalent
mathematical notation; the rest of the displayed declaration bodies is exact.
Slice.lean:22 has:

  def Slice (alpha : Type u) := { l : List alpha // l.length <= Usize.max }

Here alpha and <= are ASCII renderings of the source's binder and inequality.
The slice carrier is larger than the source-valid domain; the existing hook
SourceValidByteSlice continues to impose length <= 2^63-1.  The axiom does
not assert a property about arbitrary over-approximating Slice values.

Casts.lean:18-42 defines the four cast bodies by, respectively,
x.bv.zeroExtend tgt_ty.numBits, x.bv.zeroExtend tgt_ty.numBits,
x.bv.signExtend tgt_ty.numBits, and x.bv.signExtend tgt_ty.numBits.
These are total bitvector casts, not rejecting casts.  Core.lean:587-602
defines checked constructors through check_bounds, returning integerOverflow
on failure.  Ops/Sub.lean:20-21 has the exact signed subtraction body:

  def IScalar.sub {ty : IScalarTy} (x y : IScalar ty) : Result (IScalar ty) :=
    IScalar.tryMk ty (x.val - y.val)

For a source-grounded example of why the width matters, the unchanged
crate/dec2flt/common.rs:34-36 has:

  fn offset_from(&self, other: &Self) -> isize {
      other.len() as isize - self.len() as isize
  }

Its pinned declaration in
Tablet/SliceU8_Insts_Dec2flt_modelNumImpDec2fltCommonByteSlice_offset_from.lean
uses Slice.len other, UScalar.hcast .Isize, Slice.len self,
UScalar.hcast .Isize, and then checked signed subtraction, in that order.
At width 64, each source-valid length is <= 2^63-1, so these casts preserve
its nonnegative integer value; any difference of two such lengths is within
[-(2^63-1),2^63-1].  This width correspondence does not prove a parser loop
invariant, record property, or full parser execution.

Prelude.lean:2275-2297 documents the word-size primitive as intentionally
opaque, to avoid requiring host and target word sizes to coincide at kernel
type checking.  An ASCII transcription of its central declarations is:

  @[extern "lean_system_platform_nbits"] opaque System.Platform.getNumBits : Unit -> Subtype fun (n : Nat) => Or (Eq n 32) (Eq n 64) :=
    fun _ => <64, Or.inr rfl> -- inhabitant
  def System.Platform.numBits : Nat :=
    (getNumBits ()).val
  theorem System.Platform.numBits_eq : Or (Eq numBits 32) (Eq numBits 64) :=
    (getNumBits ()).property

The arrow and tuple above are ASCII renderings of the source's Lean symbols.
The opaque body's inhabitant does not establish numBits = 64 by kernel
reduction.  The new axiom supplies only the already-selected environment
binding.  No native_decide, native proof, or reduction of this opaque
declaration was used to claim that equality.

Raw file output for the manifest-selected Lean executable:

  /home/leanagent/.elan/toolchains/leanprover--lean4---v4.30.0-rc2/bin/lean: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, with debug_info, not stripped

This executable identity is corroborating environment evidence, not a
kernel proof of an opaque constant.  Current Rust and Lean execution
environments are consistent with the selected width, and the installed
Aeneas API explicitly uses that primitive for the two pointer-sized types.

Preservation boundary
---------------------

Only the paired assumption block and this append-only evidence are authored.
The new axiom is precisely:

  axiom Dec2Flt.P340_T1_selected_target_numBits : System.Platform.numBits = 64

It has no quantified containers and no parser correctness conclusion.  It
does not narrow the source-valid domain or either A/B bound.  Under the
binding, Usize.max is 2^64-1 and Isize.max is 2^63-1.  Every abstract byte list
of a valid selected-target slice fits the carrier unchanged; the existing
source hook still rules out the extra carrier lengths.  String UTF-8 and
arbitrary-byte helper domains remain separate.  No physical-allocation
existence premise is asserted.  This same source-environment binding applies
to positive and exact-negation arguments.  The required verification lanes
and human gate must approve it before dependent registered proof work.
