Ethereum Research Team Advances Formal Verification for Consensus Upgrades

The Ethereum (ETH) research team is advancing a project called Etheorem that implements and mathematically verifies the consensus specifications for the Fulu, Gloas, and Heze upgrades using Lean 4. The initiative aims to reduce the risk of chain splits caused by different clients interpreting the same specifications differently.
On May 21, the Ethereum Protocol Fellowship (EPF) and Invisible Garden research teams shared updates on the Etheorem project in a post on the Ethereum Research Forum. Etheorem uses Lean 4, a proof language, to implement Ethereum's consensus specifications in executable form and mathematically verify core logic beyond code testing.
Ethereum operates with multiple client implementations developed by different teams. Even if clients follow the same specifications, differing interpretations of minor logic can lead to variations in block validity checks or chain selection outcomes. Etheorem addresses these interpretation differences through formal verification.
The project has implemented consensus specifications corresponding to Fulu, Gloas, and Heze upgrades. It can execute state transitions and fork choice logic, comparing results against official Ethereum consensus test vectors. Fulu includes data availability sampling specifications, Gloas features an ePBS execution payload auction structure, and Heze incorporates inclusion list structures for censorship resistance.
Etheorem is built on the SSZ (Simple Serialize) library SizzLean, which verifies certain properties of serialized consensus data within the Lean kernel. This includes ensuring serialized data can be restored to its original value, different values don't share identical encoding, and encoding size doesn't exceed pre-calculated limits.
The project focuses on minimizing discrepancies between verified code and actual implementation. By using the same specification definitions in both verification and execution environments, it aims to reduce mismatches between logic used in proofs and that implemented in client software.
Formal verification only checks logic within its defined scope, so Etheorem does not replace entire Ethereum clients. Similar to other blockchain protocol formal verification cases, the project models core logic for verification purposes. Passing test vectors doesn't guarantee operational stability or official release readiness.
Korean Source
This article is an English localization of a Korean-language crypto news report. Original headline: 이더리움, 린 4로 3개 업그레이드 합의 검증