Run locally
git clone -- https://github.com/nyuichi/rust-crate-proofs report-31-source-1
git -C report-31-source-1 checkout --detach 9e4aa31960ae3b6b129ba88dd8aaa368df4111c3
git -C report-31-source-1 submodule update --init --recursive --checkout
cd report-31-source-1/base16ct/1.0.0/aeneas/2026-11-05/proofs
lake build +Proofs
printf '%s' 'import Lean
import Proofs
open Lean Elab Command
run_cmd do
let theorem_name := `Proofs.encoded_len_spec
match (← getEnv).find? theorem_name with
| some (.thmInfo _) => pure ()
| _ => throwError "Expected a theorem: Proofs.encoded_len_spec"
let axioms ← Lean.collectAxioms theorem_name
for ax in axioms do
unless [``propext, ``Classical.choice, ``Quot.sound].contains ax do
throwError "Unapproved axiom in Proofs.encoded_len_spec: {ax}"
liftIO <| IO.println "proofs.rs:checked:Proofs.encoded_len_spec"
run_cmd do
let theorem_name := `Proofs.decoded_len_spec
match (← getEnv).find? theorem_name with
| some (.thmInfo _) => pure ()
| _ => throwError "Expected a theorem: Proofs.decoded_len_spec"
let axioms ← Lean.collectAxioms theorem_name
for ax in axioms do
unless [``propext, ``Classical.choice, ``Quot.sound].contains ax do
throwError "Unapproved axiom in Proofs.decoded_len_spec: {ax}"
liftIO <| IO.println "proofs.rs:checked:Proofs.decoded_len_spec"
run_cmd do
let theorem_name := `Proofs.error_to_fmt_spec
match (← getEnv).find? theorem_name with
| some (.thmInfo _) => pure ()
| _ => throwError "Expected a theorem: Proofs.error_to_fmt_spec"
let axioms ← Lean.collectAxioms theorem_name
for ax in axioms do
unless [``propext, ``Classical.choice, ``Quot.sound].contains ax do
throwError "Unapproved axiom in Proofs.error_to_fmt_spec: {ax}"
liftIO <| IO.println "proofs.rs:checked:Proofs.error_to_fmt_spec"
' | lake env lean --stdinSource on GitHub · SARIF with logs (.json)
Recorded run
Completed · 3 checks passed · 0 failed
| Check | Result | Claim |
|---|---|---|
| Lean checked theorem Proofs.encoded_len_spec; axioms limited to propext, Classical.choice, Quot.sound | Passed | Claim #1 |
| Lean checked theorem Proofs.decoded_len_spec; axioms limited to propext, Classical.choice, Quot.sound | Passed | Claim #2 |
| Lean checked theorem Proofs.error_to_fmt_spec; axioms limited to propext, Classical.choice, Quot.sound | Passed | Claim #3 |
Execution details
- Started
- 2026-11-05T08:43:12.957712660+00:00
- Finished
- 2026-11-05T08:44:44.374851094+00:00
- Platform
- linux x86_64
- Rust compiler
- rustc 1.100.0-nightly (923c95cdf 2026-09-16) binary: rustc commit-hash: 923c95cdf5ba65cea505aa2ea829f578e1506ed8 commit-date: 2026-09-16 host: x86_64-unknown-linux-gnu release: 1.100.0-nightly LLVM version: 23.1.1
- Working directory
- base16ct/1.0.0/aeneas/2026-11-05/proofs
- Environment overrides
- None recorded
- Git repository
- https://github.com/nyuichi/rust-crate-proofs
- Git commit
- 9e4aa31960ae3b6b129ba88dd8aaa368df4111c3
Diagnostics & logs
=== stdout === ⚠ [2/11] Ran aeneas:extraDep warning: building from source; failed to fetch GitHub release (run with '-v' for details) ✔ [3/530] Built Aeneas.Std.Global (40s) ✔ [4/530] Built AeneasMeta.UtilsCore (40s) ✔ [1797/1798] Built Generated.Base16ct (1.7s) ℹ [1798/1798] Built Proofs (2.3s) info: Proofs.lean:26:0: 'Proofs.encoded_len_spec' depends on axioms: [propext, Classical.choice, Quot.sound] info: Proofs.lean:27:0: 'Proofs.decoded_len_spec' depends on axioms: [propext, Classical.choice, Quot.sound] info: Proofs.lean:29:0: 'Proofs.error_to_fmt_spec' depends on axioms: [propext, Quot.sound] Build completed successfully (1798 jobs). $ lake env lean --stdin (proofs.rs theorem/axiom audit) proofs.rs:checked:Proofs.encoded_len_spec proofs.rs:checked:Proofs.decoded_len_spec proofs.rs:checked:Proofs.error_to_fmt_spec === stderr === info: aeneas: materializing new dependency info: aeneas: fetching revision 'be86ab0f1989d04944292b345b24c435be3ad10a' from https://github.com/AeneasVerif/aeneas info: aeneas: checking out revision 'be86ab0f1989d04944292b345b24c435be3ad10a' info: mathlib: materializing new dependency info: mathlib: fetching revision '56a005855ea17e0b0958f73ec801ae140b0a1679' from https://github.com/leanprover-community/mathlib4.git info: mathlib: checking out revision '56a005855ea17e0b0958f73ec801ae140b0a1679' info: plausible: materializing new dependency info: plausible: fetching revision 'dfa4f38190d07c37e315953e08b90fe2d95b3c24' from https://github.com/leanprover-community/plausible info: plausible: checking out revision 'dfa4f38190d07c37e315953e08b90fe2d95b3c24' info: LeanSearchClient: materializing new dependency info: LeanSearchClient: fetching revision 'd6b4c7be5be75ec4917c873ac50c756dc1436372' from https://github.com/leanprover-community/LeanSearchClient info: LeanSearchClient: checking out revision 'd6b4c7be5be75ec4917c873ac50c756dc1436372' info: importGraph: materializing new dependency info: importGraph: fetching revision 'a41f0e9a4dea23188ea9cc1c41ac9f8bbafe0b93' from https://github.com/leanprover-community/import-graph info: importGraph: checking out revision 'a41f0e9a4dea23188ea9cc1c41ac9f8bbafe0b93' info: proofwidgets: materializing new dependency info: proofwidgets: fetching revision 'df72b022e558978a1c50264cfc4d7fec86fa8e04' from https://github.com/leanprover-community/ProofWidgets4 info: proofwidgets: checking out revision 'df72b022e558978a1c50264cfc4d7fec86fa8e04' info: aesop: materializing new dependency info: aesop: fetching revision '4a174c490d8707121c4a9290800489f105d85e07' from https://github.com/leanprover-community/aesop info: aesop: checking out revision '4a174c490d8707121c4a9290800489f105d85e07' info: Qq: materializing new dependency info: Qq: fetching revision 'dce0ad79c486cb1fb504af04f953c3466b0c6db8' from https://github.com/leanprover-community/quote4 info: Qq: checking out revision 'dce0ad79c486cb1fb504af04f953c3466b0c6db8' info: batteries: materializing new dependency info: batteries: fetching revision '66e469188fe07963e5cf666c7d4433f45b8131c5' from https://github.com/leanprover-community/batteries info: batteries: checking out revision '66e469188fe07963e5cf666c7d4433f45b8131c5' info: Cli: materializing new dependency info: Cli: fetching revision 'c24fe6078c630e89b489bffe59b3e20ac30d12c8' from https://github.com/leanprover/lean4-cli info: Cli: checking out revision 'c24fe6078c630e89b489bffe59b3e20ac30d12c8'