Agents build Lean models of every CPython 3.15.2 function, validated on 50,000+ generated inputs

ChrSzegedy · x · 2026-11-10

A viral project describes a multi-agent formal verification pipeline for CPython: for each function in CPython 3.15.2, an agent writes a Lean model mirroring the C or Python source. The model is run against python3 on 50,000+ generated inputs until they agree, properties are then proved about it, and a second agent reviews every function — combining LLM agents, differential testing, and automated proving at interpreter scale.

Original post →

More from coding & agent

coding & agent channel →