XRPL Hackathon at Blockchain Kaigi 2026 (Tokyo) | Dec 9, 2026 | Sumida City
Ethereum

Sequent completes Vyper compiler proof with 88,078 theorems

The AI-assisted work found more than a dozen bugs in the Ethereum contract language's compiler before they shipped.

three bitcoins sitting on top of a table
Photo Traxer on Unsplash

Sequent says it has finished a mathematical proof of the Vyper compiler model, with AI writing the proofs and the HOL4 theorem prover checking them step by step. The company announced the result on Nov. 30.

That matters because faulty compilers have drained DeFi protocols whose own code was fine. Vyper is a language for writing Ethereum smart contracts, and its compiler translates that code into the instructions the network executes.

EthereumETH · 24h
$1,698+1.47%

The proof covers a model of Vyper v0.5.0b1 and runs to 2.92 million lines of HOL4 code across 10,102 theories. HOL4 accepted 88,078 theorems without unproven assumptions. Four of them guarantee end-to-end behavior for deployment, runtime calls, gas sufficiency and batches of transactions. Running the model against 465 compiled test cases turned up more than a dozen compiler bugs before release.

The effort goes back to a 2021 flaw written by Sequent CEO Charles Cooper, who also leads Vyper development. It stayed live in deployed contracts, and attackers used it on July 30, 2023.

A LlamaRisk postmortem counted about $24.7 million taken from Curve's CRV/ETH pool, $22.6 million from Alchemix, $11 million from JPEG'd and $3.4 million from Metronome. Sequent puts the total above $70 million, while PeckShield's first estimate was about $52 million.

Curve's deposits fell by roughly half to $1.24 billion, Coin Metrics data showed.

On Nov. 25, Sequent said it raised $2.2 million in pre-seed money, co-led by Frachtis and Metaplanet, the fund of Skype co-founder Jaan Tallinn. Its Alan platform costs from $99 a month for individuals, and Curve is the first paying user.

Not everything is covered. The proof is about a mathematical model, not the Python code itself, and skips the parser and type checker. Sequent is now extending it to multi-module contracts and Vyper's Venom optimization pipeline, then Solidity.

Sources

  1. CryptopolitanSequent uses AI to formally verify Vyper compiler model after costly DeFi exploits
  2. The DefiantSequent Publishes Proof for Vyper’s Compiler Model
Get stories like this in your inbox

The day’s biggest crypto stories and market moves in one short morning email. Free, no spam.

No spam, unsubscribe any time. Privacy Policy

Not financial advice. This article is for information only. Crypto assets are highly volatile and you can lose all of your investment. See our Financial Risk Disclosure.
SequentVyperCurveCharles CooperEthereumHOL4DeFi