Thriving Thriving LE Python PY
↑ 38 ?
lean-surfaces thomasnormal/lean-surfaces

Prove real Python & SystemVerilog programs correct in Lean 4 — deep embeddings with differentially-tested semantics, and a spec surface where proofs read like pure Lean

HEALTH ? 80 / Healthy
// solo builder// hidden gem ?

// readme

lean_models

Prove real Python / C++ / Rust / SystemVerilog programs correct in Lean 4.

Each language gets a deep embedding: the program’s real AST becomes a Lean value, and a definitional interpreter gives it meaning. Programs stay source-shaped — the Lean term mirrors the file you wrote — so specs and proofs read against code you recognize, which is what makes AI-assisted proving tractable.

Language progress

These bars use each tier’s checked-in differential corpus: MATCH rows divided by all rows, rounded to one decimal place. The linked coverage pages are the source of truth; this table is regenerated by harness/language_progress.py.

LanguageCompletionCurrent measurement
Python99.7% 99.7%4,174 / 4,188 differential rows (coverage); proof interpreter: 4,059 / 4,188
C++98.9% 98.9%1,565 / 1,582 differential rows…