.---------------------------------------------.
|  s p e c b o r n   ::   issue #005          |
|  2026-10-20        ::   "consensus ref"     |
'---------------------------------------------'

<- back to index

0x00 editorial

Wave three is finished. Both halves of Ethereum now have a frozen, reviewed Lean reference that we run directly on the official tests: the execution layer since issue #003, and now the consensus layer and fork choice too.

 fork_choice vectors (fulu+gloas) ....... 253 / 253
 cl state transition, minimal ........... 1,903 / 1,903 reference checks
 cl state transition, mainnet ........... 1,724 / 1,724 reference checks

Two of the mainnet cases take the literal reference 7 to 8.5 hours each. It hashes the whole beacon state every slot for 8,192 slots. That's a good reason to have a fast implementation, and also a good reason to prove the fast one equal to the slow one.

0x01 the numbers

 theorems audited ......... 17,087
 definitions audited ...... 17,797
 axioms reached ........... propext, Classical.choice, Quot.sound
 gate checks .............. 6,875,281 passed, 0 failed
 spec files, hash-frozen .. 245

0x02 the evm, again

The shipped EVM now passes all 43,353 Amsterdam test fixtures, and in every one of 213,265 transaction-level calls it agrees field by field with the reference. It is still not merged.

A critic proved in Lean that the contract we assumed between the EVM and the chain's state can never hold for the real state. It bounded code size over every conceivable state rather than the reachable ones. So the state-level proofs were again vacuous, and only the 240 opcodes that don't touch state are genuinely covered.

Tests say the code is right. The proofs don't yet say anything about the parts that matter most. Until they do, it stays on its branch.

0x03 decisions

0x04 wave four (running)

 evm         make the state proofs mean something
 electra     electra transition into the reviewed spec
 elblock     execute blocks with specborn's own code (all eest)
 clstf       fast cl state transition (hours -> seconds)
 fcimpl      fast fork choice
 reqresp     consensus request/response
 gossip      gossipsub + consensus topics
 ethwire     eth/69-72 + snap/2
 netio       sockets, event loop, first live peering on a devnet
 persist     crash-safe storage

netio is the first piece that touches the operating system. It will be one small C file of syscall wrappers, every function listed in TRUST.md. Proofs stop at that boundary, and we say so.

0x05 the clock

 weighted plan ......... 45.0%   (was 43.6%)
 network functionality .  0%     (wave four aims at the first live peer)