Developer builds SMT-solver-free formal verifier for EVM smart contracts
A developer named Dhruv has built DhrLang, an experimental formal verification tool for Ethereum Virtual Machine (EVM) smart contracts that operates without any external SMT solver like Z3. The tool allows developers to annotate contract functions with preconditions, postconditions, and invariants, then returns one of three verdicts: PROVED, REFUTED with a counterexample, or UNKNOWN. Instead of an SMT solver, the prover uses Fourier-Motzkin elimination to reason about linear arithmetic constraints within the uint256 domain. The system is deliberately sound, meaning it never falsely claims a property is proved, and falls back to UNKNOWN for loops, nonlinear logic, or mapping aliasing. The project, available on GitHub, is described as experimental and educational rather than a competitor to production-grade tools like Certora or Halmos.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in