{"ok":true,"apiVersion":"v1","tool":{"slug":"lean-svm","packageName":"aeyakovenko/lean-svm","version":"main","tier":"ecosystem","category":"svm-model","summary":"Compiler from Lean 4 to Solana sBPF v3: write a program in Lean, prove its invariants, and compile it to a .so with no LLVM or C runtime. Research use, not audited.","license":"Apache-2.0","repository":{"url":"https://github.com/aeyakovenko/lean-svm","owner":"aeyakovenko","repo":"lean-svm","defaultBranch":"main"},"github":{"stars":70,"language":"Lean","pushedAt":"2026-12-03T20:28:38Z","indexedAt":"2026-12-04T03:45:29Z"},"lean":{"toolchain":"leanprover/lean4:v4.36.0","rootModule":"LeanSVM","requiresMathlib":false},"solana":{"programs":["sBPF compiler","System","SPL-Token","Token-2022"],"useCase":"Write an on-chain program in Lean, prove properties such as constant-product k never falling, and compile it straight to deployable sBPF bytecode."},"install":{"cli":"git clone https://github.com/aeyakovenko/lean-svm.git && cd lean-svm && lake build","lakeRequire":"[[require]]\nname = \"lean-svm\"\ngit = \"https://github.com/aeyakovenko/lean-svm\"\nrev = \"main\""},"verification":{"status":"indexed-external","note":"Metadata and lean-toolchain read from the GitHub repository."}}}