evm-sail

github.com/frisitano/evm-sail

What it is

  • Formal specification of the EVM, written in Sail

Kernel design

  • EVM core: opcodes · gas · frames
  • kernel interface (k_set_balance, k_get_nonce, k_get_slot, k_set_slot, …)

Extraction targets & uses

  • Lean — theorems · prove evm-asm + riscv guest compliance
  • Islaris — symbolic execution · automated test vector generation · client testing · contract verification
  • C — 100% EEST state-tests + blockchain-tests
  • RISC-V — zkEVM guest
  • Rocq — foundational proofs & extraction