6.5 million lines of mathematical proofs, submitted in 4 weeks! Gemini 4 Carbon cracks the hard nut of encryption protocol verification
Google DeepMind released the AlphaProof Code method, in which an AI Agent driven by Gemini 4 Carbon wrote about 6.5 million lines of Lean proofs for the Signal encryption protocol within four weeks, bringing about 140,000 machine instructions into mathematical verification. DeepMind Vice President Pushmeet Kohli said this is the first time anyone has verified a widely used encryption protocol down to the actually running machine code layer. In the approach, 5 DeepMind experts first worked with AI to write the security requirements as Lean mathematical specifications and reviewed them one by one; then the Agent divided the work of writing proofs and checking each other, with Lean checking each section, and ultimately about 1% of the code required focused expert review. The researchers also reinstalled two real, already-fixed Signal bugs into an isolated test version, and both were found and accompanied by proofs that passed Lean checking.
The approach and boundaries of an AI Agent writing 6.5 million lines of Lean proofs in four weeks and verifying Signal down to the machine code layer can be a reference for teams doing verification of critical software.