Basis uses LLMs to formalize language semantics, Lean-verified interpreter down to RISC-V machine code

patrickmineault · x · 2026-10-17

Basis published "Ship Your Interpreter": they had LLMs write precise formal semantics for a small programming language, then used Lean to prove the interpreter follows those rules even after compilation to low-level RISC-V machine instructions.

Key points:

Original post →

More from coding & agent

coding & agent channel →