{
  "id": "kevm",
  "name": "KEVM",
  "aka": [
    "K semantics of the EVM",
    "evm-semantics"
  ],
  "summary": "An executable formal semantics of the Ethereum Virtual Machine written in the K framework. It runs the Ethereum conformance tests and is the model behind Runtime Verification's Kontrol.",
  "target": "evm",
  "fragment": "EVM bytecode execution: the opcodes, gas, precompiled contracts, transactions, and enough block processing to run the Ethereum blockchain tests. Precompile cryptography (hashing, elliptic curves, KZG, BLS12-381) is computed by a native C++ plugin, and only on concrete inputs. Also includes helper modules for proofs (ABI encoding, Solidity storage layout).",
  "version": "Hardforks from Frontier to Osaka (with gaps, see coverage); work on Amsterdam (Glamsterdam) started in September 2026",
  "framework": "K",
  "provers": [],
  "open": "open-source",
  "license": "BSD-3-Clause",
  "maintainers": [
    "Runtime Verification"
  ],
  "links": {
    "homepage": "https://jellopaper.org",
    "repo": "https://github.com/runtimeverification/evm-semantics",
    "docs": "https://github.com/runtimeverification/evm-semantics/blob/master/README.md",
    "paper": "https://formal-systems-laboratory.github.io/fsl/papers/2018/hildenbrandt-saxena-zhu-rodrigues-daian-guth-moore-zhang-park-rosu-2018-csf/hildenbrandt-saxena-zhu-rodrigues-daian-guth-moore-zhang-park-rosu-2018-csf.pdf"
  },
  "validation": "K generates an interpreter (LLVM backend) from the semantics. The CSF 2018 paper reports that it passed the official Ethereum test suites of the time (VMTests and GeneralStateTests). Today the CI runs the ethereum/tests conformance tests and the execution-spec-tests fixtures on every pull request. The known-failure list for execution-spec-tests (November 2026) names about 3,000 test files: most are for Amsterdam, which is still in development, and 86 are for Osaka, the fork live on mainnet.",
  "stage_evidence": {
    "mechanized": {
      "met": true,
      "evidence": "https://github.com/runtimeverification/evm-semantics"
    },
    "scope_stated": {
      "met": true,
      "evidence": "https://github.com/runtimeverification/evm-semantics/blob/master/kevm-pyk/src/kevm_pyk/kproj/evm-semantics/schedule.md",
      "note": "Each hardfork is a named gas and feature schedule (FRONTIER ... OSAKA, AMSTERDAM)."
    },
    "executable": {
      "met": true,
      "evidence": "https://github.com/runtimeverification/evm-semantics/blob/master/README.md",
      "note": "LLVM backend for concrete execution, Haskell backend for symbolic execution."
    },
    "validated": {
      "met": true,
      "evidence": "https://github.com/runtimeverification/evm-semantics/blob/master/.github/workflows/test-pr.yml",
      "note": "Conformance tests (ethereum/tests and execution-spec-tests) run in CI. Known failures are listed in tests/failing.llvm."
    },
    "adopted_by_owner": {
      "met": false,
      "note": "Not adopted by the Ethereum Foundation or the EIP process."
    },
    "full_coverage": {
      "met": false,
      "evidence": "https://github.com/runtimeverification/evm-semantics/blob/master/tests/execution-spec-tests/failing.llvm",
      "note": "Osaka, live on mainnet since December 2025, is not fully covered: the P256VERIFY precompile (EIP-7951) is missing, and 86 Osaka test files are on the known-failure list (14 for P256VERIFY, 10 for the modexp gas change EIP-7883)."
    },
    "tracks_versions": {
      "met": null,
      "evidence": "https://github.com/runtimeverification/evm-semantics/commits/master",
      "note": "New hardforks are added in practice (Amsterdam work began in September 2026), but no stated time commitment was found."
    }
  },
  "features": {
    "evm.gas": {
      "status": "full",
      "note": "Gas costs per hardfork are defined in gas.md and schedule.md.",
      "source": "https://github.com/runtimeverification/evm-semantics/blob/master/kevm-pyk/src/kevm_pyk/kproj/evm-semantics/schedule.md"
    },
    "evm.storage": {
      "status": "full",
      "source": "https://github.com/runtimeverification/evm-semantics/blob/master/kevm-pyk/src/kevm_pyk/kproj/evm-semantics/evm.md"
    },
    "evm.calls": {
      "status": "full",
      "note": "CALL, DELEGATECALL, STATICCALL, CREATE and CREATE2, including nested calls.",
      "source": "https://github.com/runtimeverification/evm-semantics/blob/master/kevm-pyk/src/kevm_pyk/kproj/evm-semantics/evm.md"
    },
    "evm.precompiles": {
      "status": "partial",
      "note": "Precompiles at addresses 1 to 17 (up to Prague's BLS12-381 operations) are defined, but the cryptography is not written in K: it calls a native library (blockchain-k-plugin) and is computed only when the inputs are concrete. Osaka's P256VERIFY precompile (EIP-7951) is missing.",
      "source": "https://github.com/runtimeverification/evm-semantics/blob/master/kevm-pyk/src/kevm_pyk/kproj/evm-semantics/evm.md"
    }
  },
  "last_release": {
    "version": "v1.0.921",
    "date": "2026-06-19",
    "source": "https://github.com/runtimeverification/evm-semantics/releases/tag/v1.0.921"
  },
  "last_commit": {
    "date": "2026-10-05",
    "source": "https://github.com/runtimeverification/evm-semantics/commits/master"
  },
  "last_checked": "2026-11-26",
  "attestation": "maintainer",
  "claimed_by_authors": false,
  "sources": [
    {
      "url": "https://github.com/runtimeverification/evm-semantics",
      "title": "KEVM repository and README",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://formal-systems-laboratory.github.io/fsl/papers/2018/hildenbrandt-saxena-zhu-rodrigues-daian-guth-moore-zhang-park-rosu-2018-csf/hildenbrandt-saxena-zhu-rodrigues-daian-guth-moore-zhang-park-rosu-2018-csf.pdf",
      "title": "Hildenbrandt et al., KEVM: A Complete Formal Semantics of the Ethereum Virtual Machine (CSF 2018)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://github.com/runtimeverification/evm-semantics/blob/master/.github/workflows/test-pr.yml",
      "title": "KEVM CI workflow (conformance tests)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://github.com/runtimeverification/evm-semantics/blob/master/tests/failing.llvm",
      "title": "Known failing ethereum/tests conformance tests",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://github.com/runtimeverification/evm-semantics/blob/master/tests/execution-spec-tests/failing.llvm",
      "title": "Known failing execution-spec-tests (fixtures tests-glamsterdam-devnet@v8.1.2)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://blog.ethereum.org/2025/11/06/fusaka-mainnet-announcement",
      "title": "Fusaka mainnet announcement (Osaka activation 2025-12-03, includes EIP-7951)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://github.com/runtimeverification/evm-semantics/releases",
      "title": "KEVM releases",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://github.com/runtimeverification/blockchain-k-plugin",
      "title": "blockchain-k-plugin (native cryptography for K)",
      "accessed": "2026-11-26"
    }
  ],
  "computed": {
    "kind": "semantics",
    "methodology_version": "0.1",
    "built": "2026-11-26",
    "links": {
      "html": "/semantics/kevm/",
      "json": "/semantics/kevm.json",
      "markdown": "/semantics/kevm.md"
    },
    "stage": {
      "stage": 1,
      "name": "Validated",
      "criteria": [
        {
          "key": "mechanized",
          "stage": 0,
          "label": "Machine-checked or machine-readable definition",
          "met": true,
          "evidence": "https://github.com/runtimeverification/evm-semantics",
          "computed": false
        },
        {
          "key": "scope_stated",
          "stage": 0,
          "label": "Fragment and version are stated",
          "met": true,
          "evidence": "https://github.com/runtimeverification/evm-semantics/blob/master/kevm-pyk/src/kevm_pyk/kproj/evm-semantics/schedule.md",
          "note": "Each hardfork is a named gas and feature schedule (FRONTIER ... OSAKA, AMSTERDAM).",
          "computed": false
        },
        {
          "key": "executable",
          "stage": 1,
          "label": "Can be executed or tested",
          "met": true,
          "evidence": "https://github.com/runtimeverification/evm-semantics/blob/master/README.md",
          "note": "LLVM backend for concrete execution, Haskell backend for symbolic execution.",
          "computed": false
        },
        {
          "key": "validated",
          "stage": 1,
          "label": "Published results against conformance tests or real implementations",
          "met": true,
          "evidence": "https://github.com/runtimeverification/evm-semantics/blob/master/.github/workflows/test-pr.yml",
          "note": "Conformance tests (ethereum/tests and execution-spec-tests) run in CI. Known failures are listed in tests/failing.llvm.",
          "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://github.com/runtimeverification/evm-semantics/blob/master/tests/execution-spec-tests/failing.llvm",
          "note": "Adopted by the owner: no; full coverage: no; tracks new versions: unknown. Not adopted by the Ethereum Foundation or the EIP process. Osaka, live on mainnet since December 2025, is not fully covered: the P256VERIFY precompile (EIP-7951) is missing, and 86 Osaka test files are on the known-failure list (14 for P256VERIFY, 10 for the modexp gas change EIP-7883). New hardforks are added in practice (Amsterdam work began in September 2026), but no stated time commitment was found.",
          "computed": true
        }
      ],
      "missing_for_next": [
        "authoritative"
      ]
    },
    "used_by": [
      "kontrol"
    ]
  }
}