# 🔐 AI agents produce mathematical proofs for parts of Signal’s encryption

AI Today · published 2026-11-10T23:35:50Z · https://ai-today.com/news/16ab8c36-ad54-44f5-966d-d581d5fa9a99?lang=en

- 📐 AlphaProof-Code mathematically checks specified security properties of software.
- 📅 DeepMind ran AI agents on Signal’s compiled cryptographic code for four weeks.
- 🧮 They produced over six million lines of formal proofs, with experts reviewing the requirements.
- 🔬 The system also proved insecurity in two isolated versions containing reintroduced, previously fixed bugs.

🧠 Google DeepMind has used AlphaProof-Code to verify specified properties of Signal’s actual compiled cryptographic implementation. Agents based on Gemini 4 Carbon generated more than six million lines of formal proofs over four weeks. Lean automatically checked the proofs, while experts reviewed the underlying security specifications. The team also reintroduced two historically fixed bugs into isolated versions and formally demonstrated their insecurity. Verification artifacts are being released.

🧪 A conventional software test tries selected inputs. A formal proof aims to establish that a precisely defined property holds for every case covered by its model. Defining the right property is crucial. For Signal’s cryptography, the questions include when messages remain protected if a device has been temporarily compromised.

🔍 AlphaProof-Code examines the compiled implementation. This brings verification closer to the software that runs than a proof about a simplified protocol on paper. DeepMind used agents based on Gemini 4 Carbon to develop the required proofs. The team reports producing over six million lines of Lean code in four weeks. Lean is a proof checker: it validates the logical steps independently of the AI model that proposed them.

🎓 People retained a central responsibility. Experts reviewed each formal specification, the precise statement the system was asked to prove. An additional agent audit flagged roughly 1% of the codebase for human investigation. This division of work addresses a basic problem in verification: a valid proof is useful only if the statement it establishes matches the intended security requirement.

🐞 For a countercheck, the team reintroduced two historically fixed vulnerabilities into isolated versions of the code. The system produced machine-checked insecurity proofs for both. Released verification artifacts allow others to inspect the work. The established results concern the specified properties of the cryptographic implementation under examination; other parts of the Signal app require their own checks.

## Sources

- [Introducing AlphaProof-Code](https://deepmind.google/blog/introducing-alphaproof-code/)

---
This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources.
