Skip to main content
v2026.11,986 entries · CC-BY 4.0

Editorial · CASRAI · AI and ML research outputs

DeepMind releases AlphaProof Code and verifies Signal encryption components

Google DeepMind announced AlphaProof Code, using agentic AI and Lean to formally verify the Signal protocol’s compiled machine code in four weeks.

Published 14 Nov 2026· 3 minute read

Ask CASRAI · free to try

Ask about this story

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

CASRAI is the reference for research administration — bookmark it for the next question.

On November 10, 2026, Google DeepMind unveiled AlphaProof Code, an agentic artificial intelligence framework that achieved mathematical formal verification of the Signal protocol’s core cryptographic implementation down to the compiled AArch64 machine-code level in four weeks. The milestone marks the first time autonomous AI agents have been paired with interactive theorem provers to verify the machine code of a globally deployed cryptographic protocol, establishing mathematical proof that Signal’s encryption guarantees—including post-compromise security and post-quantum key exchange—hold without implementation flaws.

How AlphaProof Code Bridges the Implementation Gap

Formal software verification—the practice of proving mathematically that software execution adheres strictly to formal specifications—has historically represented the gold standard of cybersecurity assurance. However, its adoption across enterprise and research software has been severely constrained by extreme labour intensity. Classic verification landmarks, such as the seL4 microkernel or the CompCert verified C compiler, required person-decades of manual proof engineering. By applying a multi-agent framework powered by Google’s Gemini Carbon models, DeepMind demonstrated that AI systems can synthesize formal proofs at machine scale while relying on the deterministic kernel of the Lean 4 proof assistant to validate every step. This hybrid neurosymbolic architecture provides a rigorous approach to AI output verification, ensuring that machine learning models propose proof tactics without introducing logical hallucinations into the final certified system.

Traditional protocol verification efforts frequently operate on abstract algorithmic models rather than production binaries, leaving critical gaps where compiler bugs, memory layout mismatches, or microarchitectural quirks can introduce vulnerabilities. DeepMind’s team, led by research scientist Swarat Chaudhuri and Google Cloud Chief Scientist Pushmeet Kohli, tackled the actual compiled machine code of the libsignal reference implementation (v0.105.4) and the spqr cryptographic crate. Over four weeks, human cryptographers collaborated with specification-writing agents to produce approximately 26,000 lines of formal specifications and ARM architecture semantics. AlphaProof Code’s autonomous prover agents then generated more than 6.5 million lines of machine-checked Lean proof code, verifying that the assembly-level instructions satisfy high-level security invariants.

Cryptographic Guarantees and Empirical Bug Detection

The formal proofs cover two vital pillars of modern encrypted messaging: the post-quantum PQXDH (Post-Quantum Extended Diffie-Hellman) key-agreement protocol and the continuous Triple Ratchet mechanism. The machine-checked theorems establish mathematical guarantees for message authentication, forward secrecy, handshake secrecy, and post-compromise security—ensuring that if an endpoint device is temporarily compromised, future communications regain confidentiality once clean state resumes. To validate that the verification system could reliably discriminate between sound code and insecure implementations, the researchers intentionally reintroduced two historically patched vulnerabilities into an isolated test version of Signal. In both instances, AlphaProof Code produced automated proofs demonstrating that the flawed code failed the formal specification, confirming that the framework functions as an active vulnerability detector rather than a passive rubber stamp.

Crucially, the system retained a disciplined human-in-the-loop boundary. Prover agents audited generated proofs and flagged approximately 1% of the codebase where automated tactic synthesis stalled, allowing human domain experts to focus their mathematical review on high-ambiguity edge cases. Signal Chief Technology Officer Ehren Kret noted that while prior formal verification projects addressed narrower slices of code, DeepMind’s agentic methodology enables significant expansion across production-grade cryptographic infrastructure. As institutions modernize scientific software workflows, such techniques complement conventional code review for research software by replacing heuristic inspection with unconditional mathematical proof.

What Automated Verification Means for Research Infrastructure

For academic computing centres, research universities, and data infrastructure stewards, the release illustrates how automated formal methods may soon safeguard sensitive academic assets. DeepMind has open-sourced the Lean formal specifications and verification artifacts, providing computer science and cryptography faculties with reproducible benchmarks for automated reasoning. As university research offices evaluate the governance of AI and machine learning research outputs, the project exemplifies how formal methods provide verifiable provenance for mission-critical software pipelines. Stewarding such proof libraries in accordance with FAIR4RS software citation principles and preserving them within repositories like the Software Heritage archive will be essential as automated proof engineering moves into core scientific infrastructure.

Sources

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →