Fresh extraction and composition evidence for Preamble
======================================================

Scope
-----

This record was produced from the repository root on 2026-09-24.  It records
the current frozen extraction configuration and a fresh execution of the
Cargo, Charon, and Aeneas stages.  It is evidence about the bytes and commands
used to build the model, not evidence that any supplied GOAL is true.

Pinned configuration
--------------------

modeling-input/extraction.json contains exactly:

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

crate/Cargo.toml:5-22 names one edition-2024 library package, gives the
"default" feature an empty definition, gives "optimize_for_size" a distinct
feature, and sets overflow-checks=true in both development and release
profiles.  The fresh run used the development profile.  The configuration
probe below reported debug_assertions, overflow_checks, target_arch="x86_64",
target_pointer_width="64", target_env="gnu", and target_feature="sse2"; it
did not report feature="optimize_for_size".  Its final Cargo line was:

  Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s

The exact probe command was:

  env RUSTUP_TOOLCHAIN=nightly-2026-06-01 \
    CARGO_TARGET_DIR=.trellis/scratch/preamble-cfg-target \
    /home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/bin/cargo \
    rustc --offline \
    --manifest-path .trellis/scratch/provenance-evidence-1790263924955098840/extraction/source/Cargo.toml \
    --lib -- --print cfg

The materialized source used by that command is the source copy made by the
fresh extraction run described below.  Relevant raw stdout was:

  debug_assertions
  feature="default"
  overflow_checks
  target_arch="x86_64"
  target_endian="little"
  target_env="gnu"
  target_family="unix"
  target_feature="sse"
  target_feature="sse2"
  target_feature="x87"
  target_os="linux"
  target_pointer_width="64"

Tool identities
---------------

These are the executable identities in modeling-input/tool-identities.json,
rechecked with sha256sum:

  cargo
    /home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/bin/cargo
    54e05dce8c9ca2f638cc3d87ec1a19425b5d0bf1f31aeb48cf4792aec5cadf27
    cargo 1.98.0-nightly (fbb61be30 2026-05-26)
  rustc
    /home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/bin/rustc
    162c2a2d2d89b94e5bc2ec6b179a49d12a7ea1527db9ff1df20b5d09c432924b
    rustc 1.98.0-nightly (14210df0e 2026-05-31), LLVM 22.1.6
  rustdoc
    /home/leanagent/.rustup/toolchains/nightly-2026-06-01-x86_64-unknown-linux-gnu/bin/rustdoc
    2bf660d140310e28146e2c002dc6fcabd957c0a3b740be0419e6f8e5a9c87523
    rustdoc 1.98.0-nightly (14210df0e 2026-05-31)
  Charon
    /home/leanagent/pv_spike/tools/charon/bin/charon
    6490034f368ce98f3e7ae5a28bf71ed56d03bdf1e3712e71376b96fc55baeade
    Charon 0.1.216, toolchain nightly-2026-06-01
  Aeneas
    /home/leanagent/pv_spike/tools/aeneas/bin/aeneas
    9f446d2aaf59e8e705e36d05cb993f1c6ab0e97f8dc6fd2f19907a86ede30922
    aeneas fa699427
  Lean
    /home/leanagent/.elan/toolchains/leanprover--lean4---v4.30.0-rc2/bin/lean
    3e0d0d3d801675359f2d4cf9815bfdb417b20b92fdd9d48b3b14c95bbae28bbf
    Lean 4.30.0-rc2, commit 3dc1a088b6d2d8eafe25a7cd7ec7b58d731bd7cc

Fresh extraction
----------------

The public reproduction command recorded by modeling-input/manifest.json is:

  python3 .trellis/scripts/pv_modeling.py check-native . --fresh

For this record the same check_provenance implementation was invoked directly
so that its complete result could be retained without the CLI's bounded JSON
preview.  It wrote:

  .trellis/scratch/provenance-evidence-1790263924955098840/provenance.json
  .trellis/scratch/provenance-evidence-1790263924955098840/extraction/observation.json

The extractor instantiated the empty argument lists above as these commands
(the output and cache paths are those beneath that scratch directory):

  <cargo> check --offline
  <charon> cargo --preset=aeneas --dest-file Generated/m.llbc -- --offline
  <aeneas> -backend lean -dest Generated -emit-json Generated/m.llbc

The observation records exit code 0 for Cargo, Charon, and Aeneas.  Cargo's raw
terminal result was:

  Checking dec2flt-model v0.1.0 (.../extraction/source)
  warning: feature `f16` is declared but not used
  warning: `dec2flt-model` (lib) generated 1 warning
  Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s

Charon's raw terminal result was:

  Compiling dec2flt-model v0.1.0 (.../extraction/source)
  warning: feature `f16` is declared but not used
  warning: `dec2flt-model` (lib) generated 1 warning
  Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.24s

Aeneas reported 203 prepasses, 50 globals, 87 opaque functions, 107
transparent functions, 49 trait declarations, and 85 trait implementations.
Its raw terminal result ended:

  Generated: .../extraction/Generated/M.lean
  Generated: .../extraction/Generated/translation.json
  [Warn ] The crate contains extracted external, unknown definitions: ...
  [Info ] Total execution time: 7.332373 seconds

The warning is the inventoried external boundary below.  The fresh provenance
result had an empty error string, passed=true, no tool-identity differences,
and true values for every check, including fresh_extraction_succeeds,
fresh_model_export, crate_export, upstream_export, tool_identities_current,
bootstrap_receipt, and model_support_composition.  The canonical current crate
tree digest reported by that result was:

  b5ecf4d7e9dfa0337f1586ae0e865fbbe2dd384137ee6e2ad635f0d5d6e916a9

Generated bytes, placeholders, and axioms
-----------------------------------------

sha256sum gave the same digest for the fresh Generated/M.lean and the frozen
generated.lean:

  49949682d8e6c7a75a58e7f2535322d51f0af7513b8dad0f865ff3fa4387b692

The observation's raw-source placeholder count was 0.  Compiling raw M.lean
without model support fails as diagnosed because F64 and the external boundary
are absent; four "declaration uses sorry" diagnostics are Lean error-recovery
consequences for F64-valued constants, not tokens in the generated source.
The pinned compatibility report has SHA-256
557a4924d55becf1b33d7dc7f9dfdf2b675c895ce4a9b6bee8a0622378e48d6a,
checks 2225 declarations, reports no unapproved axiom, and marks only the 64
declarations downstream of the missing boundary as pending.  This is why the
24 operations below have separate authored model-support owners.

External boundary
-----------------

The exact command

  python3 .trellis/scripts/pv_modeling.py inspect-native .

returned declaration_count=24 and retained the full index at
.trellis/scratch/inspect-native-1790264067166282471.json.  The 24 names are:

  F64.Insts.CoreCloneClone.clone
  core.f64.F64.MANTISSA_DIGITS
  core.f64.F64.NAN
  core.f64.F64.INFINITY
  core.f64.F64.NEG_INFINITY
  core.f64.F64.EXPONENT_MASK
  core.f64.F64.MANTISSA_MASK
  core.f64.F64.classify
  core.f64.F64.to_bits
  core.f64.F64.from_bits
  core.num.U8.is_ascii_digit
  F64.Insts.CoreOpsArithMulF64F64.mul
  F64.Insts.CoreOpsArithDivF64F64.div
  F64.Insts.CoreOpsArithNegF64.neg
  U64.Insts.CoreOpsBitBitAndU64U64.bitand
  U64.Insts.CoreOpsBitBitOrU64U64.bitor
  U64.Insts.CoreOpsBitShlU32U64.shl
  U64.Insts.CoreOpsBitShrU32U64.shr
  core.option.Option.Insts.CoreOpsTry_traitTry.branch
  core.option.Option.Insts.CoreOpsTry_traitFromResidualOptionInfallible.from_residual
  core.slice.Slice.first
  core.slice.Slice.split_first
  core.str.Str.as_bytes
  F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64.from_u64

Tablet/model-support.json has exactly 24 bindings, one for each name.  This
record establishes completeness of that inventory and its composition; the
semantic justification for an individual binding remains the responsibility
of that binding's paired definition node.

Composition
-----------

The exact command

  python3 .trellis/scripts/pv_modeling.py compose-native . --check

returned matches=true, changed=false, no mismatched files, raw extraction hash
49949682d8e6c7a75a58e7f2535322d51f0af7513b8dad0f865ff3fa4387b692,
and both expected and actual Preamble hashes
15adb2db06b06e099d17070c2a373619ecdc481e32fc78d34054cd01fc7b492a.
The complete receipt is retained at
.trellis/scratch/compose-native-1790264071122343238.json.
