Introducing AlphaProof Code: a breakthrough in verifying complex software at depth
Google DeepMind researchers used a new agentic framework called AlphaProof Code to formally verify the actual code behind Signal's cryptographic protocol, the technology protecting private messages in apps like Signal and Google Messages. Human experts first set the security goals as formal specifications, and AI agents then produced the mathematical proofs.
The agents generated more than six million lines of Lean code and flagged roughly one percent of the codebase for human review, with Lean automatically checking the rest. The project took four weeks, a task that expert teams have historically spent years on. To test the system, the team reintroduced two previously fixed bugs, and it produced proofs that the buggy versions were insecure. The team is open-sourcing its verification artifacts.
- AlphaProof Code pairs human experts, who define security specifications, with AI agents that carry out the proofs.
- The work verified the compiled Signal code itself, not only its design, and produced over six million lines of Lean.
- The verification took four weeks, and a test with two reintroduced bugs showed the system could flag insecure code.
Why it mattersIt shows AI can make rigorous, mathematically proven security checks on widely used production code far faster than traditional expert methods.
Summary written by AI from the original article. It may miss nuance, so check the source before relying on it.