Google DeepMind introduced AlphaProof Code on November 10. It is a system of several LLM agents that does formal verification: instead of testing software, it proves properties of it in the Lean proof assistant. The post, by Pushmeet Kohli and Swarat Chaudhuri, reports that the system proved properties of the compiled code of Signal’s core protocol. Agents running on Gemini Carbon wrote more than 6 million lines of Lean in four weeks, and about 1% of the work was flagged for human review.
DeepMind stresses that the proofs do not rest on trust in the model: “Every proof is checked by Lean to verify the agents’ work.” As a test, two bugs were reintroduced into the code, and the system proved those versions insecure. The artifacts are open source at google-deepmind.github.io/code-verification. The results are DeepMind’s own report.
Source: Google DeepMind.