Formalizing Julia in Lean (and finding 400 bugs in Base)
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Miles Cranmer's project formalizes Julia's source code in Lean 4 and attempts to prove the docstring promises, using AI agents to write models and proofs. Differential testing against real Julia and reproducers guard against false claims.