Skip to main content

Formal verification for Web3.

SINCE 2021

We use Rocq and Lean to prove that critical software meets its specification. We work on Rust programs, smart contracts, and zero-knowledge circuits.

Discuss a project 
An olive-green goldcrest with a bright orange crown perches on a spruce branch.
Goldcrest Regulus regulus

Philosophy

We audit your blockchain code, from smart contracts to infrastructure, to help you prepare for increasingly sophisticated AI-assisted attacks.

Since 2021, we’ve invested in interactive theorem proving. We work with PhD specialists and proof engineers who use Rocq and Lean to check specific properties of critical software.

Rocq
Inductive Value : Set :=
| Integer (z : Z)
| Closure {Value M : Set} (f : Value -> M).

Public proof reports

We are happy to have been trusted by some of the largest institutions.

Zcash

Orchard ZK circuits

Formal verification of Zcash's current Orchard zero-knowledge circuits using our Garden framework.

Verified using our tool garden

Ethereum Foundation

CompPoly - Lean / ZK

An optimized and modified Guruswami-Sudan decoding stack for Reed-Solomon codes verified in Lean, together with optimized primitive for many polynomial operations.

Ethereum Foundation

Revm formal specification - Rust / EVM

A public formal specification for Revm, the Rust implementation of the Ethereum Virtual Machine.

Verified using our tool rocq-of-rust

Ethereum Foundation

ZK verification reports

Verification work on Keccak, branch equality, and LLZK-related proof artifacts for zero-knowledge systems.

Verified using our tool garden

Sui

Move type-checker - Rust

Formal verification of part of the type-checker for the Move language, focused on correctness-critical infrastructure code.

Smoo.th

Elliptic curve library - Solidity

Formal verification work for a Solidity elliptic curve library where small arithmetic mistakes can invalidate protocol assumptions.

Verified using our tool rocq-of-solidity

Aleph Zero

Source-level verification tooling - Rust / Solidity

Source-level verification work that grew our Rust and Solidity toolchain, supporting maintainable proofs on production code.

Verified using our tools rocq-of-rust and rocq-of-solidity

Tezos

Layer 1 verification - OCaml

Verification work on parts of the Tezos implementation, leading to our long-running OCaml verification toolchain.

Verified using our tool rocq-of-ocaml

Research

We believe security is a race, and you need to innovate to truly survive. Many of our tools below are open source, but we now do our research in the dark. Optimal security now needs obscurity.

rocq-of-ocaml
We import OCaml programs into Rocq to prove properties about them. For Tezos, we imported 100,000 lines of OCaml code.
rocq-of-rust
We made this tool to formally verify Rust programs in Rocq, including instruction bodies in the Revm interpreter. A private, more scalable version is available on request.
rocq-of-solidity
We verify Solidity smart contracts at the Yul level. We are working on connecting those proofs to the EVM bytecode generated by solc.
Garden for ZK
Garden lets us prove that the constraints in a zero-knowledge circuit express its intended computation. Our work includes the Orchard Action circuit used by Zcash.
EVM semantics
We are proving the equivalence of several Ethereum Virtual Machine implementations at the source-code level.
A new separation logic
Separation logic is key for reasoning about imperative code like C. We are developing a new form of logic to verify much larger codebases with AI.
ME2LON
Our aim with ME2LON is to bring formal verification to general-purpose software. Contact us to learn more.

Formal verification engagements

Here are the three typical kinds of engagement that we provide.

Formal verification audit

A focused engagement for a code snapshot where a small set of high-value properties needs stronger evidence than tests can provide.

Verification subscription

A recurring workflow for teams that need proofs to remain useful as requirements, code, or dependencies change.

Consulting and training

Expert support for teams adopting formal methods or connecting production languages to Rocq/Lean proof workflows.

FAQ

What do buyers get at the end of a project?

A focused report, specifications, and machine-checked Rocq/Lean proof artifacts for the properties agreed at the start of the engagement.

Do you verify an entire codebase?

Usually not at first. The best starting point is a narrow component where failure would be costly: a control module, protocol component, cryptographic routine, type-checker rule, or interface boundary.

How does this fit with testing and review?

Formal verification complements tests, audits, and code review. It gives machine-checked evidence for selected properties that are hard to cover exhaustively with tests alone.

Which parts of a Web3 stack do you verify?

Smart contracts, virtual machines, type-checkers, protocol logic, and cryptographic or zero-knowledge components.

Do you verify software outside Web3?

Yes. We can help verify critical libraries, embedded software, and systems code. With ME2LON, we’re working to bring formal verification to general-purpose software. Tell us about your component and what it must guarantee. We’ll help you verify it.