Google DeepMind announced AlphaProof Code and its formal verification of Signal's libsignal at the machine-code level, open-sourcing specifications and proofs.
DeepMind AlphaProof Code Formally Verifies Signal at Machine-Code Level
Formal verification of production cryptographic code at the machine-code level closes the gap between protocol design proofs and implementation correctness, catching bugs a compiler could introduce. DeepMind's open-sourcing of the artifacts makes the verification accessible for further scrutiny and extension.
When stories like this move, I write about them in an email each morning.
One free email each morning, around 8 AM US Eastern.
Check your email.
I have sent you a confirmation link. One click and you are in.
Not in your inbox? Look in spam or promotions. If it's there, mark it "Not spam" so future editions land in your inbox.
The full picture
Google DeepMind formally verified the security of Signal's cryptographic protocol at the processor instruction level using AlphaProof Code, a multi-LLM agentic framework. Teams of 40 to 80 Gemini Carbon agents generated approximately 6.5 million lines of Lean proof code in four weeks, a task DeepMind said would otherwise take expert teams years or decades. The verification covers libsignal, Signal's reference implementation, and operates at the machine-code level, meaning neither the Rust compiler nor Signal's source code is trusted in the resulting proofs. DeepMind described the result as the first time the actual production code of a widely deployed protocol has been formally verified by any method, with or without AI, and at this depth. AlphaProof Code splits verification labor between human experts, who focus on engineering the formal specification, and AI agents, who carry out the proof work. Lean's automated checking rejects any incorrect proof step the AI writes, so the correctness guarantee does not depend on trusting the AI's output directly. Researchers validated the system by reintroducing two previously fixed Signal bugs into the codebase; AlphaProof Code produced machine-checked proofs of insecurity in both cases. DeepMind is open-sourcing the formal specifications and verification artifacts, and Swarat Chaudhuri said the team plans to work with the open-source community on improving them. DeepMind cited medical device firmware and power grid software as domains where the approach could apply.
How it developed
Sources
- Claude's formal verification of open-source libraries
- AI proof of the Aaronson-Ambainis conjecture
- Axiom Math's machine-checked CFSG formalization
- Anthropic's FlashProve inference verification
BackgroundAI security: attacks and defenses
Get the daily email
When stories like this move, I write about them in an email each morning.
One free email each morning, around 8 AM US Eastern.
Check your email.
I have sent you a confirmation link. One click and you are in.
Not in your inbox? Look in spam or promotions. If it's there, mark it "Not spam" so future editions land in your inbox.