{
  "slug": "extraction",
  "term": "Extraction (code to model)",
  "tools": [
    "halva",
    "hax",
    "aeneas",
    "llzk"
  ],
  "definition": "The step that turns a deployed circuit or program into the object a prover reasons about, whether by instrumenting synthesis (Halva), compiling to an IR (LLZK), or translating source (hax, Aeneas).",
  "detail": [
    "Extraction is part of the trusted computing base unless the extractor is itself verified. Frameworks that avoid it (Clean, where the Lean circuit is the source; CIVER, which runs inside the compiler) trade it for a code-generation or correspondence step instead."
  ],
  "page": "https://sorryfree.com/glossary/extraction/",
  "updated": "2026-09-13"
}