lean-svm

aeyakovenko

An experimental optimizing compiler toolchain written in Lean 4 that targets Solana sBPF bytecode with formal verification support.

LeanCreated

What is aeyakovenko/lean-svm?

lean-svm is a native Lean 4 to Solana sBPF optimizing compiler toolchain created for educational and research purposes. It compiles Lean 4 code directly toward Solana's eBPF-derived virtual machine.

The repository includes the compiler toolchain, formal proofs, and example programs, while explicitly warning that the software has not been independently audited and is not intended for production deployment or custody.

Programming-language researchers, Solana developers, and formal-methods enthusiasts can study lean-svm to explore verified smart-contract compilation.