{
  "id": "wasmcert-isabelle",
  "name": "WasmCert-Isabelle",
  "aka": [
    "WasmRef-Isabelle"
  ],
  "summary": "A model of WebAssembly 2.0 in Isabelle/HOL with a machine-checked type soundness proof, a verified type checker and a verified interpreter (WasmRef-Isabelle).",
  "target": "wasm",
  "fragment": "Wasm 2.0 typing, execution and module instantiation, including reference types and bulk memory. Floating-point and SIMD lane operations and binary decoding are left abstract (the PLDI 2023 work fully mechanised the integer operations). The extracted interpreter takes parsing and numeric operations from the official OCaml reference interpreter. Wasm 3.0 features (GC, exceptions, tail calls, multiple memories, 64-bit memories) are not covered.",
  "version": "WebAssembly 2.0",
  "framework": "Isabelle/HOL",
  "provers": [
    "isabelle"
  ],
  "open": "open-source",
  "license": "BSD-2-Clause",
  "maintainers": [
    "Conrad Watt and contributors (WasmCert)"
  ],
  "links": {
    "repo": "https://github.com/WasmCert/WasmCert-Isabelle",
    "paper": "https://link.springer.com/chapter/10.1007/978-3-030-90870-6_4"
  },
  "validation": "The FM 2021 paper reports that the extracted interpreter passes the official Wasm 1.0 test suite (about 17,810 tests) without error. The WasmRef-Isabelle interpreter, proved correct against this model (PLDI 2023), was adopted as a fuzzing oracle for the Wasmtime runtime; Wasmtime removed that spec-interpreter fuzzer in November 2026. No published test results for the Wasm 2.0 version were found.",
  "stage_evidence": {
    "mechanized": {
      "met": true,
      "evidence": "https://github.com/WasmCert/WasmCert-Isabelle"
    },
    "scope_stated": {
      "met": true,
      "evidence": "https://conf.researchr.org/details/icfp-splash-2025/webassembly-ws-2025-papers/9/Updating-WasmCert-Isabelle-to-WebAssembly-2-0",
      "note": "The README does not name a version; a 2025 WebAssembly Workshop talk says the updated model covers Wasm 2.0."
    },
    "executable": {
      "met": true,
      "evidence": "https://github.com/WasmCert/WasmCert-Isabelle/blob/master/WebAssembly/code/README.md",
      "note": "A verified interpreter is extracted to OCaml; parsing and numeric operations come from the reference interpreter."
    },
    "validated": {
      "met": true,
      "evidence": "https://link.springer.com/chapter/10.1007/978-3-030-90870-6_4",
      "note": "Published results are for the Wasm 1.0 version (official test suite, about 17,810 tests, all passing). Differential fuzzing inside Wasmtime is described in the PLDI 2023 WasmRef-Isabelle paper."
    },
    "adopted_by_owner": {
      "met": false,
      "note": "Not adopted by the WebAssembly Community Group. The FM 2021 paper notes that the Wasm 1.0 standard cites Watt's earlier mechanisation as the source of its type soundness proof."
    },
    "full_coverage": {
      "met": false,
      "evidence": "https://webassembly.org/news/2025-09-17-wasm-3.0/",
      "note": "Covers Wasm 2.0. The current version, Wasm 3.0 (September 2025), adds GC, exceptions, tail calls, multiple memories and 64-bit memories, which are not covered."
    },
    "tracks_versions": {
      "met": false,
      "note": "No stated schedule for following new Wasm versions was found."
    }
  },
  "features": {
    "wasm.control": {
      "status": "full",
      "source": "https://github.com/WasmCert/WasmCert-Isabelle/blob/master/WebAssembly/Wasm_Ast.thy"
    },
    "wasm.memory": {
      "status": "full",
      "note": "Wasm 2.0 memory instructions including bulk memory (fill, copy, init). One memory per module, as in Wasm 2.0.",
      "source": "https://github.com/WasmCert/WasmCert-Isabelle/blob/master/WebAssembly/Wasm_Ast.thy"
    },
    "wasm.tables": {
      "status": "full",
      "note": "Wasm 2.0 table instructions and call_indirect.",
      "source": "https://github.com/WasmCert/WasmCert-Isabelle/blob/master/WebAssembly/Wasm_Ast.thy"
    },
    "wasm.simd": {
      "status": "partial",
      "note": "Vector instructions are in the syntax and the reduction rules, but the lane operations are uninterpreted functions in Isabelle. The extracted interpreter uses the reference interpreter's OCaml code for them.",
      "source": "https://github.com/WasmCert/WasmCert-Isabelle/blob/master/WebAssembly/Wasm_Base_Defs.thy"
    },
    "wasm.gc": {
      "status": "partial",
      "note": "Only the Wasm 2.0 reference types (funcref and externref). The Wasm 3.0 GC types are not covered.",
      "source": "https://github.com/WasmCert/WasmCert-Isabelle/blob/master/WebAssembly/Wasm_Ast.thy"
    }
  },
  "last_release": {
    "version": "main@be80860",
    "date": "2026-11-26",
    "source": "https://github.com/WasmCert/WasmCert-Isabelle/commits/master"
  },
  "last_checked": "2026-11-26",
  "attestation": "maintainer",
  "claimed_by_authors": false,
  "sources": [
    {
      "url": "https://github.com/WasmCert/WasmCert-Isabelle",
      "title": "WasmCert-Isabelle repository and README",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://www.cl.cam.ac.uk/~jp622/two_wasm.pdf",
      "title": "Watt et al., Two Mechanisations of WebAssembly 1.0 (FM 2021), author copy",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://pldi23.sigplan.org/details/pldi-2023-pldi/5/WasmRef-Isabelle-A-Verified-Monadic-Interpreter-and-Industrial-Fuzzing-Oracle-for-We",
      "title": "Watt et al., WasmRef-Isabelle (PLDI 2023)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://conf.researchr.org/details/icfp-splash-2025/webassembly-ws-2025-papers/9/Updating-WasmCert-Isabelle-to-WebAssembly-2-0",
      "title": "Kalkauskas, Updating WasmCert-Isabelle to WebAssembly 2.0 (WebAssembly Workshop 2025)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://github.com/bytecodealliance/wasmtime/pull/15122",
      "title": "Wasmtime: Remove differential fuzzing with the spec interpreter (merged 2026-11-03)",
      "accessed": "2026-11-26"
    }
  ],
  "computed": {
    "kind": "semantics",
    "methodology_version": "0.1",
    "built": "2026-11-26",
    "links": {
      "html": "/semantics/wasmcert-isabelle/",
      "json": "/semantics/wasmcert-isabelle.json",
      "markdown": "/semantics/wasmcert-isabelle.md"
    },
    "stage": {
      "stage": 1,
      "name": "Validated",
      "criteria": [
        {
          "key": "mechanized",
          "stage": 0,
          "label": "Machine-checked or machine-readable definition",
          "met": true,
          "evidence": "https://github.com/WasmCert/WasmCert-Isabelle",
          "computed": false
        },
        {
          "key": "scope_stated",
          "stage": 0,
          "label": "Fragment and version are stated",
          "met": true,
          "evidence": "https://conf.researchr.org/details/icfp-splash-2025/webassembly-ws-2025-papers/9/Updating-WasmCert-Isabelle-to-WebAssembly-2-0",
          "note": "The README does not name a version; a 2025 WebAssembly Workshop talk says the updated model covers Wasm 2.0.",
          "computed": false
        },
        {
          "key": "executable",
          "stage": 1,
          "label": "Can be executed or tested",
          "met": true,
          "evidence": "https://github.com/WasmCert/WasmCert-Isabelle/blob/master/WebAssembly/code/README.md",
          "note": "A verified interpreter is extracted to OCaml; parsing and numeric operations come from the reference interpreter.",
          "computed": false
        },
        {
          "key": "validated",
          "stage": 1,
          "label": "Published results against conformance tests or real implementations",
          "met": true,
          "evidence": "https://link.springer.com/chapter/10.1007/978-3-030-90870-6_4",
          "note": "Published results are for the Wasm 1.0 version (official test suite, about 17,810 tests, all passing). Differential fuzzing inside Wasmtime is described in the PLDI 2023 WasmRef-Isabelle paper.",
          "computed": false
        },
        {
          "key": "authoritative",
          "stage": 2,
          "label": "Adopted by the language or ISA owner, or covers the full current version and tracks new ones",
          "met": false,
          "evidence": "https://webassembly.org/news/2025-09-17-wasm-3.0/",
          "note": "Adopted by the owner: no; full coverage: no; tracks new versions: no. Not adopted by the WebAssembly Community Group. The FM 2021 paper notes that the Wasm 1.0 standard cites Watt's earlier mechanisation as the source of its type soundness proof. Covers Wasm 2.0. The current version, Wasm 3.0 (September 2025), adds GC, exceptions, tail calls, multiple memories and 64-bit memories, which are not covered. No stated schedule for following new Wasm versions was found.",
          "computed": true
        }
      ],
      "missing_for_next": [
        "authoritative"
      ]
    },
    "used_by": []
  }
}