{
  "id": "aeneas",
  "name": "Aeneas (with Charon)",
  "aka": [
    "Aeneas",
    "Charon"
  ],
  "summary": "Translate safe Rust into pure functions in Lean 4 (or F*, Rocq, HOL4) and prove properties there; the Lean kernel checks every proof.",
  "use_if": [
    "Your Rust code is safe, sequential code such as cryptography, parsers or data structures.",
    "You want every proof checked by a small proof kernel (Lean's), including proofs written by AI tools.",
    "You prefer reasoning about pure functions over reasoning about pointers and memory."
  ],
  "avoid_if": [
    "Your code uses unsafe, raw pointers, interior mutability (Cell, RefCell) or threads; these are not supported yet.",
    "You want push-button checking; proofs are written interactively in Lean.",
    "You need calls into the standard library or other crates that have no model yet; you would have to write the models by hand."
  ],
  "effort": "interactive",
  "open": "open-source",
  "license": "Apache-2.0",
  "maintainers": [
    "AeneasVerif team (Microsoft Azure Research",
    "Inria",
    "Google",
    "Beneficial AI Foundation)"
  ],
  "links": {
    "homepage": "https://aeneasverif.github.io/",
    "repo": "https://github.com/AeneasVerif/aeneas",
    "docs": "https://github.com/AeneasVerif/aeneas/tree/main/documentation",
    "paper": "https://doi.org/10.1145/3547647",
    "tutorial": "https://github.com/AeneasVerif/aeneas/tree/main/tests/lean/Tutorial"
  },
  "components": [
    {
      "role": "frontend",
      "name": "Charon (rustc driver that exports MIR as LLBC)",
      "assurance": "trusted",
      "note": "Charon uses rustc to compile the crate and translates its MIR into the LLBC format; the translator is not verified."
    },
    {
      "role": "translation",
      "name": "Aeneas (symbolic execution of LLBC into pure functional code)",
      "assurance": "trusted",
      "note": "The ICFP 2024 paper proves on paper that LLBC and its symbolic semantics are sound with respect to a lower-level pointer-based model; the Aeneas implementation itself is not verified."
    },
    {
      "role": "checker",
      "name": "Lean 4 kernel",
      "ref": "lean4",
      "ref_kind": "prover",
      "assurance": "trusted",
      "note": "Lean is the most mature backend. F*, Rocq (Coq) and HOL4 backends exist but receive less attention."
    },
    {
      "role": "automation",
      "name": "Aeneas Lean tactics (progress / step and others)",
      "assurance": "checked",
      "note": "The tactics build proofs that the Lean kernel then checks."
    },
    {
      "role": "compiler",
      "name": "rustc / LLVM",
      "assurance": "trusted"
    }
  ],
  "verifies": [
    {
      "target": "rust",
      "note": "A subset of safe, sequential Rust; see the README's list of current limitations."
    }
  ],
  "properties": {
    "no-ub": {
      "status": "full",
      "note": "For the safe Rust it supports. Panics and integer overflow become failures in the generated model, so proving a function returns a result shows it does not panic or overflow. Unsafe code is not supported.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/documentation/aeneas-overview.md"
    },
    "functional": {
      "status": "full",
      "note": "Properties are stated and proved as Lean theorems about the generated functions.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/documentation/aeneas-overview.md"
    },
    "equivalence": {
      "status": "partial",
      "note": "No dedicated equivalence mode. Because each Rust function becomes a pure function, you can prove it equal to a reference or specification function by hand."
    },
    "info-flow": {
      "status": "none",
      "note": "No documented support for information-flow or constant-time properties.",
      "source": "https://github.com/AeneasVerif/aeneas/tree/main/documentation"
    },
    "concurrency": {
      "status": "none",
      "note": "Concurrency is not supported; the README says support is planned through ongoing separation-logic work.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/README.md"
    },
    "termination": {
      "status": "full",
      "note": "Loops and recursion become possibly diverging Lean definitions; the Lean and HOL4 backends support proving termination separately.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/README.md"
    }
  },
  "features": {
    "core.integers": {
      "status": "full",
      "note": "Machine integers with overflow checks; an overflow makes the model fail.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/documentation/aeneas-overview.md"
    },
    "core.floats": {
      "status": "unknown",
      "note": "Floating point is not mentioned in the documentation or the test suite."
    },
    "core.heap": {
      "status": "partial",
      "note": "References and owned data (including Box) become plain values; raw pointers are not supported.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/README.md"
    },
    "core.arrays": {
      "status": "full",
      "note": "Arrays, slices and Vec are covered by tests and standard-library models.",
      "source": "https://github.com/AeneasVerif/aeneas/tree/main/tests/src"
    },
    "core.loops": {
      "status": "partial",
      "note": "Loops become recursive helper functions. A return inside nested loops, or a break/continue to an outer loop, is not supported yet.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/README.md"
    },
    "core.recursion": {
      "status": "full",
      "note": "Recursive functions become recursive Lean definitions; termination may need a separate proof.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/documentation/aeneas-overview.md"
    },
    "core.higher-order": {
      "status": "partial",
      "note": "Simple closures work in the Lean backend; closures that capture mutable state are still commented out as TODO in the tests.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/tests/src/closures.rs"
    },
    "core.concurrency": {
      "status": "none",
      "note": "Not supported (README limitations).",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/README.md"
    },
    "core.io": {
      "status": "partial",
      "note": "I/O and other external functions are not translated; you write a model for each one by hand, and Aeneas trusts it.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/README.md"
    },
    "core.stdlib": {
      "status": "partial",
      "note": "Aeneas ships Lean models for part of the Rust standard library; missing items need hand-written models.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/documentation/std-models.md"
    },
    "rust.borrows": {
      "status": "partial",
      "note": "Shared and mutable borrows, including functions returning mutable borrows, are supported. Instantiating a generic type with a mutable reference is not supported yet.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/README.md"
    },
    "rust.traits": {
      "status": "full",
      "note": "Traits become Lean type classes.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/documentation/aeneas-overview.md"
    },
    "rust.closures": {
      "status": "partial",
      "note": "Closures without mutable captures, Lean backend only.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/tests/src/closures.rs"
    },
    "rust.unsafe": {
      "status": "none",
      "note": "Unsafe code is not supported; planned through separation-logic work.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/README.md"
    },
    "rust.interior-mut": {
      "status": "none",
      "note": "The Aeneas paper excludes programs that rely on interior mutability.",
      "source": "https://doi.org/10.1145/3547647"
    },
    "rust.dyn": {
      "status": "partial",
      "note": "Simple Box<dyn Trait> cases are in the test suite (Lean backend only); the extent of support is not documented.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/tests/src/dyn.rs"
    },
    "rust.iterators": {
      "status": "partial",
      "note": "Tests cover iterators over ranges, arrays, slices and Vec and some adapters; there is no documented list of supported iterator methods.",
      "source": "https://github.com/AeneasVerif/aeneas/tree/main/tests/src"
    },
    "rust.panics": {
      "status": "full",
      "note": "Panics, overflow and out-of-bounds accesses are modeled as failures that proofs must rule out.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/documentation/aeneas-overview.md"
    },
    "rust.async": {
      "status": "unknown",
      "note": "Not mentioned in the documentation."
    }
  },
  "trust": {
    "checker": {
      "level": "green",
      "summary": "The Lean 4 kernel checks every proof, including those built by tactics or AI tools.",
      "source": "https://github.com/AeneasVerif/aeneas/blob/main/documentation/aeneas-overview.md"
    },
    "semantics": {
      "level": "amber",
      "summary": "Aeneas's own model of Rust (LLBC); proved sound on paper, no published validation.",
      "note": "The soundness proof relates LLBC to a lower-level pointer model; it does not compare the tool with rustc's behavior.",
      "source": "https://doi.org/10.1145/3674640"
    },
    "frontend": {
      "level": "amber",
      "summary": "Charon, a separate unverified translator from rustc's MIR to LLBC.",
      "source": "https://github.com/AeneasVerif/charon"
    },
    "binary_gap": {
      "level": "red",
      "summary": "The binary comes from rustc and LLVM, which are not verified."
    },
    "escape_hatches": {
      "level": "amber",
      "summary": "Hand-written models of external code and Lean axioms; #print axioms lists axioms.",
      "note": "Lean's \"#print axioms\" command lists every axiom a theorem depends on. Hand-written models of external functions (kept in files such as FunsExternal.lean) are trusted and must be reviewed by hand.",
      "source": "https://lean-lang.org/doc/reference/latest/Axioms/"
    }
  },
  "stage_evidence": {
    "public_artifact": {
      "met": true,
      "evidence": "https://github.com/AeneasVerif/aeneas"
    },
    "published_use": {
      "met": true,
      "evidence": "https://doi.org/10.1145/3547647",
      "note": "ICFP 2022 paper with a verified resizing hash table; later, SHA-3 and ML-KEM in Microsoft's SymCrypt (arXiv 2609.15648)."
    },
    "installs_on_current": {
      "met": true,
      "evidence": "https://github.com/AeneasVerif/aeneas/releases/tag/nightly-2026.11.26-69280e0",
      "note": "Nightly binaries for Linux (x86-64, Arm) and macOS (Arm); also builds with Nix or from source."
    },
    "user_docs": {
      "met": true,
      "evidence": "https://github.com/AeneasVerif/aeneas/tree/main/documentation",
      "note": "Getting-started guide, overview, tactics reference and a Lean tutorial."
    },
    "external_users": {
      "met": true,
      "evidence": "https://arxiv.org/abs/2605.30106",
      "note": "Runtime Verification used Charon and Aeneas to verify parts of Plonky3 and RISC Zero in Lean (CAV 2026 AIMACS workshop)."
    },
    "soundness_channel": {
      "met": true,
      "evidence": "https://github.com/AeneasVerif/aeneas/issues",
      "note": "Public GitHub issue tracker; there is no dedicated soundness label."
    }
  },
  "production_users": [],
  "last_release": {
    "version": "nightly-2026.11.26-69280e0",
    "date": "2026-11-26",
    "source": "https://github.com/AeneasVerif/aeneas/releases/tag/nightly-2026.11.26-69280e0"
  },
  "used_for": [
    {
      "name": "SHA-3 and ML-KEM in Microsoft SymCrypt (Rust)",
      "url": "https://www.microsoft.com/en-us/research/blog/verifying-rust-cryptography-in-symcrypt-from-standards-to-code/",
      "note": "In July 2026 Microsoft said this code is used in Windows Insider builds, with production versions planned."
    },
    {
      "name": "Resizing hash table (ICFP 2022 case study)",
      "url": "https://doi.org/10.1145/3547647"
    },
    {
      "name": "Plonky3 and RISC Zero components (Runtime Verification)",
      "url": "https://arxiv.org/abs/2605.30106"
    }
  ],
  "last_checked": "2026-11-26",
  "attestation": "maintainer",
  "claimed_by_authors": false,
  "sources": [
    {
      "url": "https://github.com/AeneasVerif/aeneas/blob/main/README.md",
      "title": "Aeneas README (targeted subset and limitations)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://github.com/AeneasVerif/aeneas/blob/main/documentation/aeneas-overview.md",
      "title": "Aeneas overview for proof engineers",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://aeneasverif.github.io/people",
      "title": "AeneasVerif people",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://doi.org/10.1145/3547647",
      "title": "Aeneas: Rust verification by functional translation (ICFP 2022)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://doi.org/10.1145/3674640",
      "title": "Sound Borrow-Checking for Rust via Symbolic Semantics (ICFP 2024)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://arxiv.org/abs/2609.15648",
      "title": "Scaling Verification of Cryptographic Software with Aeneas, Rust, and Lean (arXiv, 2026)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://www.microsoft.com/en-us/research/blog/verifying-rust-cryptography-in-symcrypt-from-standards-to-code/",
      "title": "Verifying Rust cryptography in SymCrypt (Microsoft Research blog, 2026-07-13)",
      "accessed": "2026-11-26"
    }
  ],
  "computed": {
    "kind": "toolchains",
    "methodology_version": "0.1",
    "built": "2026-11-26",
    "links": {
      "html": "/toolchains/aeneas/",
      "json": "/toolchains/aeneas.json",
      "markdown": "/toolchains/aeneas.md"
    },
    "stage": {
      "stage": 1,
      "name": "Usable",
      "criteria": [
        {
          "key": "public_artifact",
          "stage": 0,
          "label": "Publicly available",
          "met": true,
          "evidence": "https://github.com/AeneasVerif/aeneas",
          "computed": false
        },
        {
          "key": "published_use",
          "stage": 0,
          "label": "At least one published verification uses it",
          "met": true,
          "evidence": "https://doi.org/10.1145/3547647",
          "note": "ICFP 2022 paper with a verified resizing hash table; later, SHA-3 and ML-KEM in Microsoft's SymCrypt (arXiv 2609.15648).",
          "computed": false
        },
        {
          "key": "recent_release",
          "stage": 1,
          "label": "Released or updated in the last 12 months",
          "met": true,
          "evidence": "https://github.com/AeneasVerif/aeneas/releases/tag/nightly-2026.11.26-69280e0",
          "note": "Latest release: nightly-2026.11.26-69280e0, 2026-11-26.",
          "computed": true
        },
        {
          "key": "installs_on_current",
          "stage": 1,
          "label": "Installs and runs on current platforms",
          "met": true,
          "evidence": "https://github.com/AeneasVerif/aeneas/releases/tag/nightly-2026.11.26-69280e0",
          "note": "Nightly binaries for Linux (x86-64, Arm) and macOS (Arm); also builds with Nix or from source.",
          "computed": false
        },
        {
          "key": "user_docs",
          "stage": 1,
          "label": "User documentation or tutorial",
          "met": true,
          "evidence": "https://github.com/AeneasVerif/aeneas/tree/main/documentation",
          "note": "Getting-started guide, overview, tactics reference and a Lean tutorial.",
          "computed": false
        },
        {
          "key": "external_users",
          "stage": 1,
          "label": "Used by a group other than its authors",
          "met": true,
          "evidence": "https://arxiv.org/abs/2605.30106",
          "note": "Runtime Verification used Charon and Aeneas to verify parts of Plonky3 and RISC Zero in Lean (CAV 2026 AIMACS workshop).",
          "computed": false
        },
        {
          "key": "production_users",
          "stage": 2,
          "label": "Verified code in production at two or more independent organizations",
          "met": false,
          "note": "None recorded.",
          "computed": true
        },
        {
          "key": "checker_not_red",
          "stage": 2,
          "label": "Checker axis is not red",
          "met": true,
          "computed": true
        },
        {
          "key": "semantics_not_red",
          "stage": 2,
          "label": "Semantics axis is not red",
          "met": true,
          "computed": true
        },
        {
          "key": "soundness_channel",
          "stage": 2,
          "label": "Public channel for soundness bugs",
          "met": true,
          "evidence": "https://github.com/AeneasVerif/aeneas/issues",
          "note": "Public GitHub issue tracker; there is no dedicated soundness label.",
          "computed": false
        }
      ],
      "missing_for_next": [
        "production_users"
      ]
    }
  }
}