Assumptions

Lean checked

Definition and explanation

This explanation was written alongside the formalization to describe the statement and its reasoning.

Definition

For the configured x86_64-unknown-linux-gnu extraction environment, the Aeneas platform parameter satisfies \mathtt{System.Platform.numBits}=64.

Lean definition

Trellis authored these statements and proofs. Lean checks the formal proofs; the assumptions used by each proof are listed below.

import Tablet.Preamble
open Aeneas Aeneas.Std Result ControlFlow Error

-- [PV UNDER-MODEL ASSUMPTIONS]
-- Worker-authored staged assumptions live between markers:
--   -- BEGIN UNDERMODEL ASSUMPTION <id>
--   axiom <name> : <type>
--   -- END UNDERMODEL ASSUMPTION <id>

-- BEGIN UNDERMODEL ASSUMPTION configured-x86_64-platform-width
axiom Dec2Flt.configured_x86_64_numBits : System.Platform.numBits = 64
-- END UNDERMODEL ASSUMPTION configured-x86_64-platform-width
Preservation and explanation

Natural-language argument

The status above describes the Lean proof. Its explanatory prose may remain a sketch after that proof closes.

Explanatory prose status

Prose retained as authored. The explanatory prose is preserved as it stood when captured.

Preservation argument

Claim

The axiom binds the Aeneas pointer-width parameter to the already-selected x86_64-unknown-linux-gnu source environment. Consequently the Aeneas Usize and Isize widths are both 64, exactly matching the configured Rust usize and isize widths. This binding does not remove any configured source value or introduce a smaller slice or string bound.

Proof

The accepted extraction scope fixes nightly-2026-06-01 and target x86_64-unknown-linux-gnu; the setup record fixes the same target and the extraction command actually passes it to cargo rustc. The pinned compiler's raw --print cfg result for that invocation contains target_arch="x86_64" and target_pointer_width="64". A separately retained program compiled for that target reports usize::BITS = 64 and isize::MAX = 9223372036854775807. The compiler identity, commands, hashes, and raw results are recorded in reference/model-evidence/platform-width.txt and reference/model-evidence/source-valid-byte-slice.txt.
The pinned Aeneas scalar source defines UScalarTy.Usize.numBits and IScalarTy.Isize.numBits to be System.Platform.numBits, and defines Usize and Isize using exactly those two scalar kinds. The source excerpt and its hash are also recorded in reference/model-evidence/platform-width.txt. Substituting the configured compiler fact therefore gives both Aeneas widths as 64. The usual Aeneas definition Usize.max = 2^{\mathtt{Usize.numBits}}-1 then gives Usize.max = 2^{64}-1, so in particular 2^{63}-1\leq\mathtt{Usize.max}. Thus every Rust byte slice allowed by the configured isize::MAX byte-size rule remains representable by the Aeneas slice carrier. The axiom supplies only the omitted target parameter: it neither assumes parser behavior nor changes any goal proposition, and the same environment binding applies whether a goal is proved or disproved.

Requirement: assembly correspondence

This goal uses fixed-width u64, u32, and binary64 values; fixing the pointer width changes none of its inputs or observations.

Requirement: classification determinism

This finite-byte-string classification statement has no pointer-sized scalar or Aeneas slice carrier, so the environment binding is noninterfering.

Requirement: classification significand digit

This grammar consequence concerns finite byte strings and digit positions; it is independent of the platform-width parameter.

Requirement: classification totality

The mathematical finite-byte-string domain is unchanged; the width equation only instantiates the extracted model's pointer-sized environment parameter.

Requirement: dispatch abstract composition

The abstract dispatch statement keeps its existing source-valid string and byte-slice domains. The binding makes their 64-bit bounds representable and does not alter the statement in either its positive or refutation direction.

Requirement: dispatch component compliance

Every configured dispatcher slice/string value retains the same bytes and source bound. The binding only aligns Aeneas pointer-sized widths with the selected target, independently of the currently selected disproof direction.

Requirement: exponent value agreement

This decimal-value comparison is purely mathematical and contains no pointer-sized model carrier, so the binding is noninterfering.

Requirement: integer correct or defer

The helper's arithmetic inputs are fixed-width integers; assigning the configured pointer width changes neither its execution nor observations.

Requirement: native correct or defer

The native helper consumes the fixed-field decimal record and fixed-width binary64 operations, so this environment equality is noninterfering.

Requirement: number helper acceptance

The goal quantifies over the full configured source-valid byte-slice domain. The equality supplies the 64-bit Aeneas carrier capacity for that same domain, including its largest Rust-valid length, without imposing a smaller bound.

Requirement: number helper accumulated value

The same source-valid slices and returned record fields remain in scope; the binding only makes their configured pointer-sized indices and lengths 64-bit.

Requirement: number helper record bounds

The source-valid slice predicate and record conclusion are unchanged. The environment equality aligns their pointer-sized bounds with the selected target rather than strengthening either one.

Requirement: number helper rejection

Every source-valid invalid byte slice keeps the same bytes and Rust length bound, so the rejection proposition is unchanged by the environment binding.

Requirement: parser accumulated rounding

All configured strings and their byte bodies remain representable with the same contents; no rounding observation or parser premise is added.

Requirement: parser equal target rounding

The equality preserves the full string/body domain and changes no decimal or binary64 value used by the equal-target statement.

Requirement: parser exact rounding

The configured parser domain is unchanged. This target binding applies also to the selected exact-negation direction and assumes no rounding result.

Requirement: parser infinity

All source-valid spellings and sign bytes retain their contents and lengths; the infinity observation uses no additional platform-dependent fact.

Requirement: parser invalid rejection

Every configured invalid Rust string remains in the model domain with the same bytes, so neither its classification nor rejection proposition changes.

Requirement: parser nan acceptance

The binding preserves all NaN spellings and the fixed-width binary64 classification observation without adding an acceptance premise.

Requirement: parser non nan results

The full configured string domain and fixed-width classification result are unchanged; only the model's target parameter is instantiated.

Requirement: parser numeric acceptance

All source-valid numeric strings and byte bodies remain representable under their original 64-bit Rust bounds, with no smaller length condition added.

Requirement: parser numeric sign

Lexical sign bytes and returned binary64 sign observations are unchanged by the pointer-width equality.

Requirement: parser selected exponent

The binding preserves every input byte and only fixes pointer-sized indices; selected fixed-width exponent observations are unchanged.

Requirement: parser selected magnitude sign

The same strings, unsigned raw pairs, and assembled binary64 words remain in scope, so the selected magnitude/sign observation is unchanged.

Requirement: parser signed zero

The full configured input domain, lexical sign, and binary64 zero word are unchanged by fixing the model's pointer width.

Requirement: parser totality

Every configured Rust string remains represented with its original 64-bit length bound. The equality does not assume termination or successful return.

Requirement: rounding determinism

This nonnegative-real rounding statement has no platform-sized carrier, so the environment binding is noninterfering.

Requirement: rounding totality

This nonnegative-real existence statement has no platform-sized carrier, so the environment binding is noninterfering.

Requirement: slow accumulated rounding

The source-valid slice domain is preserved in full, including the configured 64-bit bound; the binding assumes no slow-parser result and applies equally to the selected refutation direction.

Requirement: special helper infinity

All source-valid byte slices and separate sign arguments remain unchanged; the result is a fixed-width binary64 observation.

Requirement: special helper nan

All source-valid NaN byte slices and their fixed-width classification observations remain unchanged.

Requirement: special helper rejection

Every source-valid non-special byte slice retains the same bytes and 64-bit Rust bound, with no additional rejection assumption.

Download Lean source · Download TeX source

Proof structure

Follow the declared dependencies to read the supporting statements and proofs.

Used by

All 183 entries

Explore this dependency tree

Inspect related source (44)
More program dependencies (11)
Standard-library dependencies (30)

Related source and models come from the extraction records and declared dependencies.

Proof assumptions and review

Lean checks the formal proof. Trellis also reviews how the statement corresponds to the intended requirement.

Transitive assumptions

This list combines the assumptions recorded for this declaration and its dependencies. It may include assumptions used by auxiliary declarations in those modules.

Helper theorems included
Technical checking records
Local closure summary
{
  "node": "Assumptions",
  "closure_version": "patch_c_v1",
  "active_decl_hash": "5321b6e0bb17aef0416df9b09af7059861db39dbd3746762824e996343488a47",
  "active_statement_hash": "",
  "kernel_axioms": [
    "Dec2Flt.configured_x86_64_numBits"
  ],
  "toolchain_hash": "ce4c4e3d87434b9663f46de25ce34b48a0cf0d392e0a320a0787b4674a2d7b61",
  "lean_executable_hash": "3e0d0d3d801675359f2d4cf9815bfdb417b20b92fdd9d48b3b14c95bbae28bbf",
  "checker_script_hash": "c8e4a03273e23b9a8f2e141020652a4e0b7b0a8ab0883366ea9d031ca3f37aa1",
  "approved_axioms_hash": "d5c04ffa333d9b33b238a527f5beaa2be82e021d3e9c0bbe01b1310280f7f55a",
  "axcheck_status": "Agreed",
  "accepted_at_snapshot_id": "worker-result-local-closure-issuance-cycle-23",
  "boundary_theorems": {},
  "strict_theorem_deps": {},
  "strict_definition_deps": {}
}
Prose assessment
{
  "label": "Recorded Sound: VerifierPass",
  "assessment_status": "VerifierPass",
  "fingerprint_relation": "matches current fingerprint",
  "assessment_fingerprint": "preservation-v1:2e8560a60376a71d6b681ff6aef045877a329a22c62dc36c7af88688b28cabc9",
  "current_fingerprint": "preservation-v1:2e8560a60376a71d6b681ff6aef045877a329a22c62dc36c7af88688b28cabc9",
  "superseded_for_theorem_closure": false
}
Review verdicts
{
  "corr_status": "Pass",
  "sound_status": "Pass"
}