Solana
SOL$70.68-1.9% co-founder Anatoly Yakovenko has published lean-svm-jit, a compiler for Solana programs written in Lean 4 and shipped with machine-checked proofs. The GitHub repository made its first commit on 29 November 2026. Its README says lean-svm-jit passes all 436 official solana-sbpf tests and runs batched workloads up to 28.78 times faster than Agave's compiler. It is a personal Apache-2.0 project, separate from the Agave and Firedancer validator clients.
Yakovenko announced it on X late on 29 November: "My lean svm jit passed all the sbpf comparability tests on first run."
What lean-svm-jit does for Solana programs
Solana programs are compiled to a bytecode called sBPF. Agave, the validator client maintained by Anza, runs that bytecode through the solana-sbpf crate, which its README describes as "a virtual machine for eBPF program execution" with "an interpreter, an x86_64 JIT-compiler". A JIT (just-in-time) compiler translates the bytecode into native processor instructions just before it runs, rather than interpreting it one instruction at a time.
lean-svm-jit does the same job, translating sBPF into x86-64 machine code. Lean 4 is both a programming language and a proof assistant, so the compiler and the mathematical proofs about it are written and checked in one place. According to the README, it builds into a 25 KB shared library with no outside dependencies, plus a Rust crate meant as a drop-in for LiteSVM, a test harness for running Solana programs locally. On versions, the README says it matches sBPF v0 to v3 under Agave 4.x flags, and separately that its integration supports the "full V0..=V4" instruction set, which matters as Anza moves program deploys to SBPFv3.
What the Lean 4 proofs in lean-svm-jit cover
A JIT sits between every program and the hardware of the validators that run the network, so one compiler bug is a bug in every program at once, which is the case for proving a compiler rather than only testing it. The README reports 92 public theorems with "0 sorry, 0 custom axioms" (a sorry is Lean's placeholder for a step left unproven). It lists the properties they cover: no undefined x86 instructions, no divide-by-zero faults, memory accesses kept inside the program's sandbox, a bounded call stack, termination under compute-unit metering, and "bit-exact ALU & branch refinement", meaning arithmetic and branch instructions behave exactly as sBPF defines them.
Those proofs hold against the models of sBPF and x86-64 written in the repo. Agreement with Agave's real behaviour is checked by testing. The README reports 67 of 67 mainnet program files run with zero compute-unit difference, plus 1,000 generated programs and 500 randomly fuzzed ones with no divergence. Yakovenko's GitHub bio reads "Do not trust me, formally verify all code", and the same push is reaching application code, as with Harmonic's Aristotle checking Rust programs on Solana.
lean-svm-jit benchmarks against Agave, including where it is slower
BENCHMARKS.md says the numbers come from GitHub Actions runners, and that each test asserts bit-for-bit identical account state against Agave via litesvm 0.18.2 before timing. The biggest gains are in batched replay, where many transactions run against code that is already compiled.
Per BENCHMARKS.md, the DeFi loop took 5.6 microseconds per transaction against Agave's 162.6, SPL Token transfers 10.7 against 114.5, Pinocchio token transfers 23.29 times faster and Token-2022 transfers 8.67 times faster. Single transactions show smaller gains: a hot arithmetic loop ran 1.27 times faster.
Cold starts can be slower. Compiling a 100 KB program up front took 1,410.4 microseconds against Agave's 441.5 in BENCHMARKS.md, and the README's own table shows a similar gap. lean-svm-jit's lazy mode, which compiles only the blocks a transaction reaches, finished the same case in 192.7 microseconds. All of these are self-reported on shared cloud runners, and the figures shift between the repo's documents as commits land.
lean-svm-jit is a personal Yakovenko project outside Agave and Firedancer
Yakovenko is the sole committer, with 32 commits by 30 November. He keeps a fork of Anza's sbpf crate for the integration. We found no comment from Anza or Firedancer on lean-svm-jit as of 30 November, and nothing suggesting it is headed into either client. The README makes no audit claim. An earlier repo of his, lean-svm, works in the opposite direction, compiling Lean to sBPF, and says it is provided "strictly for educational and research purposes".
Things to check next: whether anyone outside the repo reproduces the test pass and the benchmarks, and whether client engineers take up the approach.