Formalizing CPython
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
David Andrews and Chao Zhang report that AI agents (Opus 5.5) rewrote CPython 3.15.2 functions line by line in Lean, tested each copy against real Python, and had a second agent review the proofs. So far 4,071 of 28,393 functions (14.3%) are accepted, in 613,318 lines of Lean. The work produced 418 bug reports, about 55 of them crashes or memory corruption. A first pass yielded many correct but vacuous proofs, so reviewers now ask whether a broken version would pass. All figures are the authors' own and unverified.