Find a tool · EVM bytecode

Proving that your EVM bytecode code behaves like another version

Two programs (an optimized and a reference version, or code before and after a change) are proved to behave the same, or one refines the other.

Change the question

I have code and want to prove

Effort
My code uses

Ranked by: support for this property, stage, coverage of the features you pick, and trust. Tools that work on compiled code rank lower. Ranking as JSON.

  1. Write properties as Foundry tests in Solidity; Kontrol checks them for all inputs by symbolically running the compiled EVM bytecode on KEVM.

    Partial.No dedicated mode. You write a test that calls two implementations with the same symbolic inputs and compares the results; the kontrol-solady repository calls this "function equivalence".
    Source
    Partial — No dedicated mode. You write a test that calls two implementations with the same symbolic inputs and compares the results; the kontrol-solady repository calls this "function equivalence".

    Effort
    Auto-active
    Covers
    1 of 4 EVM bytecode features
    Relies on
    K's symbolic execution engine and Z3 decide; no checked proof certificates. Hand-written K lemmas, vm.assume and loop bounds can hide bugs; all sit in project files.
    Stage 2 · Production Trust: Checker partial, Semantics strong, Frontend strong, Binary gap strong, Escape hatches partial 3/5 strong
  2. Write rules and invariants in Certora's spec language (CVL); an SMT-based prover checks them against your contract's compiled EVM bytecode.

    Partial.Concord, an experimental equivalence checker, compares one method of two contracts per run; both must use the same storage layout, and gas use is not compared.
    Source
    Partial — Concord, an experimental equivalence checker, compares one method of two contracts per run; both must use the same storage layout, and gas use is not compared.

    Effort
    Auto-active
    Covers
    1 of 4 EVM bytecode features
    Relies on
    SMT solvers (Z3, cvc5 and others) decide; no checked proof certificates. EVM model built into the Prover; no published validation found.
    Stage 2 · Production Trust: Checker partial, Semantics partial, Frontend strong, Binary gap strong, Escape hatches partial 2/5 strong

Ask something else about EVM bytecode

New to this? Start with the glossary: auto-activeAuto-active verification. You write specifications and hints in the code; an automatic solver does the proving., interactiveInteractive theorem prover. A proof assistant where you write proofs step by step and the system checks each step., trusted computing baseTrusted computing base (TCB). Everything that must be correct for a proof to mean what it says..

esc