On November 30, 2026, Sequent announced a machine-checked proof for a mathematical model of the Vyper v0.5.0b1 smart contract compiler. The announcement was reported on December 1, 2026, at 12:35:45 UTC+08:00. The proof addresses a narrow but important question: under what conditions does a property verified in the code a developer writes still hold in the instructions Ethereum executes?
What the proof covers
Unlike CompCert and CakeML, compilers designed with verification in mind, Sequent started with an existing compiler and built a model of it. Sequent used AI to construct proofs and HOL4, a theorem prover, to check each mathematical step. The work spans 2.92 million lines of HOL4 code and 10,102 theories. HOL4 checked 88,078 theorems, with no unproven assumptions reported.
Four of those theorems connect Vyper source code to Ethereum Virtual Machine bytecode, the instructions the network executes. They cover contract deployment, calls to a running contract, whether enough gas is available for execution, and sequences of transactions. Under the conditions specified in each theorem, developers can establish a property in the source code and show that it still holds after compilation. That required accounting for changes made by Venom, Vyper’s optimization pipeline. Sequent also tested the model against 465 compiled test cases and identified more than a dozen compiler bugs before they reached production.
Why the distinction matters for DeFi
In 2021, Charles Cooper, Vyper’s lead developer and Sequent’s CEO, inadvertently introduced a compiler bug that disabled a protection against reentrancy. Developers fixed the compiler, but that did not change the code of contracts already deployed. On July 30, 2023, attackers exploited the flaw.
LlamaRisk documented about $24.7 million extracted from Curve’s CRV/ETH pool, $22.6 million from Alchemix, $11 million from JPEG’d and $3.4 million from Metronome. Sequent estimated that more than $70 million was extracted in total; PeckShield’s initial estimate was about $52 million. Neither figure represents the final loss after recoveries. According to Coin Metrics, the value locked in Curve roughly halved to $1.24 billion, exposing lending markets to liquidation risk.
Curve became the first paying customer of Alan, Sequent’s AI-assisted verification platform. It used Alan to establish how much depositors could lose under specified conditions in certain pools. Curve CEO Michael Egorov said the team could check whether the same loss limit still held after a change to a pool’s code.
The cost and limits of verification
On November 25, 2026, Sequent announced $2.2 million in pre-seed funding, co-led by Frachtis and Jaan Tallinn’s Metaplanet. Monthly subscriptions to Alan started at $99 for individuals, $200 for auditors and $500 for teams. Separately, the DAO Security Fund identified end-to-end Vyper compiler verification as a $600,000 funding target, not an awarded grant.
In October 2026, Anthropic reported using Claude to prove security properties across 123 open-source libraries. Theorem estimated that verifying 95% of nixpkgs machine code could cost $134 million by late 2027, a projection that depends on further improvements in AI verification.
For Vyper, the main limitation is the scope of the proof. It covers the model, not the compiler’s Python implementation, and excludes the parser and type checker. An October advisory, CVE-2026-114116, described eight line-separator characters that could silently change numeric values or types in Vyper source code. A scan of 45,774 source files found no instance that triggered the flaw.
Sequent was working to extend the proof to multi-module contracts and Venom’s -O2 optimization pipeline, with Solidity and general-purpose languages planned beyond Vyper. Even a compiler that faithfully preserves a contract’s rules cannot establish that those rules protect depositors. That remains a separate question for each contract.
