Sequent Proves Vyper Compiler Correct With AI
The machine-checked proof covers the compiler used to build Vyper smart contracts, following a 2023 exploit tied to a compiler flaw.
Updated on Dec. 1, 2026 in Cybersecurity

Sequent completed a machine-checked proof of the Vyper smart contract compiler, using AI to obtain proofs and the HOL4 theorem prover to verify them. The announcement came alongside $2.2 million in pre-seed funding.
Why it matters
Compiler bugs can silently undermine smart contract security even when the contract code itself is sound. The work targets that gap by verifying the tool that turns Vyper source code into deployed contracts.
The verification spans 2.92 million lines of HOL4 code across 10,102 theories, with HOL4 validating 88,078 theorems and no unproven assumptions reported. Sequent's testing against 465 compiled test cases detected over a dozen compiler bugs, while plans to extend the work to multi-module contracts and Venom's -O2 pipeline remain ahead.
The players
Sequent
Sequent is the company that carried out the formal verification of the Vyper compiler and announced its pre-seed funding round.
Vyper
Vyper is a Python-like programming language for writing Ethereum smart contracts, designed with an emphasis on security and auditability.
The details
Sequent created and verified a mathematical model of the existing Vyper v0.5.0b1 compiler rather than building a new one, accounting for code changes during compilation and the Venom optimization pipeline. Four theorems establish end-to-end guarantees covering contract deployment, runtime calls, gas sufficiency and multiple-transaction sequences.
Timeline
2021: Charles Cooper inadvertently introduced a compiler flaw.
July 30, 2023: Hackers exploited a reentrancy-lock bug in Vyper contracts.
November 25, 2025: Sequent announced $2.2 million in pre-seed funding.
November 30, 2025: Sequent revealed the completed Vyper compiler proof.
The Tech Race
The 2023 exploit showed that a flaw in the compiler could strip reentrancy protection from contracts already on-chain, a failure no single contract audit would catch. Verifying the compiler directly targets that class of failure at its source rather than in each deployed contract.
Developers writing Vyper contracts gain a compiler whose behavior has been formally checked, reducing the risk that a compiler flaw strips protections from their code. Users of deployed Vyper contracts benefit indirectly, since the verification targets the class of bug behind the 2023 exploit.
The takeaway
Verifying the tools that build smart contracts can catch failures that auditing individual contracts would miss. Developers should treat compiler version and reliability as part of their security review.
Further reading
Explore more Cybersecurity coverage on how smart contract vulnerabilities are being addressed.
Source note: This article includes information reported by Cryptopolitan.



