Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Introducing alphaproof code a breakthrough in verifying complex software at dept
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

Introducing AlphaProof Code: a breakthrough in verifying complex software at depth

Source: Google DeepMind•November 10, 2026 at 12:27 PM

Introducing AlphaProof Code: a breakthrough in verifying complex software at depth

AlphaProof Code agents wrote three million lines of proofs in Lean to verify Signal’s core encryption.

November 10, 2026 Research

Pushmeet Kohli and Swarat Chaudhuri

How Google DeepMind researchers built a new agentic framework that formally verified the code of Signal’s cryptographic protocol — long considered to be a grand security challenge

Today, we’re sharing a milestone in software security long considered to be a grand security challenge: Google DeepMind researchers guided AI agents to mathematically prove key security properties of the actual code underlying the Signal protocol, the technology that protects billions of private conversations in apps like Signal and Google Messages.

This breakthrough discovery was made using AlphaProof Code, a novel agentic framework for formal verification at unprecedented depth that combines human expertise with AI agents. Formal verification—mathematically proving code runs correctly without flaws—is the highest standard of security assurance; however, it is difficult and often labor-intensive.

Our work marks the first time AI has been used to formally verify a widely deployed cryptographic protocol at this depth. It's also the first time the implementation of a widely deployed protocol like this has been formally verified by any method, with or without AI.

How we verified Signal

AlphaProof Code is a multi-LLM agentic framework that splits the work of formal verification the way a research team would: human experts work with AI to decide what to prove, and a group of AI agents does it.

First, our researchers collaborated with a mix of models to translate Signal’s security goals into formal mathematical specifications, with human experts reviewing every one. From there, agents powered by Gemini Carbon did the proofs, generating over six million lines of Lean, a computer language that mathematically proves the accuracy of code.

Next, the agents audited the proof and highlighted areas that needed a second look by a human – just one percent of the codebase, a massive time savings. Because Lean automatically checks the rest, our experts could focus their review where human judgment matters most.

Cryptographic protocols underpin nearly all digital communication, from online banking to web browsing, and a single flaw can expose millions of people at once. That's why experts have spent decades formally analyzing them.

But most protocol verification stops at the design level. Our agents went further, proving that the compiled code fulfills the key security properties – such as keeping messages protected before and after a device is temporarily compromised – down to the exact code running on devices. Because real-world vulnerabilities often hide in the gap between design and implementation, bridging this gap makes these proofs vastly more complex.

Even at this complexity, our verification process took just four weeks – a task that historically takes expert teams years – proving that Signal's core cryptographic code delivers the security protections our experts specified.

To confirm that AlphaProof Code can tell correct code from buggy code, we reintroduced two real, previously fixed bugs into an isolated version of Signal's code. In both cases, the system produced a machine-checked proof that the buggy version was insecure.

In AlphaProof Code, AI agents help users write a specification, then autonomously prove that the implementation meets it. Every proof is checked by Lean to verify the agents' work.

While prior formal verification work has necessarily focused on smaller scopes, this new approach enables a significant expansion. Traditionally, verifying that production code strictly matches its cryptographic design required extensive manual effort, making the use of AI agents to automatically translate live code into valid Lean theorems a great breakthrough. As AI-driven security threats grow, having the core Signal protocol rigorously verified with automated theorem proving gives us even greater confidence that our code delivers on its privacy guarantees.

The future of security

Achieving this long-standing challenge demonstrates how AI can bring elite security assurance to businesses, governments, and critical infrastructure, helping defend against agent-driven cyber threats.

Verifying Signal's core cryptography lays the groundwork to secure other vital systems, from medical device firmware to power grid software.

Scaling these techniques requires continued research. Paired with automated defense agents like CodeMender, formal verification can help counter the speed and scale of modern cyber threats to create software with mathematical proof that its protections work.

We are open-sourcing our formal verification artifacts for community use. Read the technical paper below.

Acknowledgements

This research was developed by Swarat Chaudhuri, Andrew Ferraiuolo, Anton Kovsharov, Tej Chajed, Sam Schlesinger, Karn Seth, Jonathan Katz, Charles Sutton, and Pushmeet Kohli.

We thank Eric Wieser for help with open-sourcing our code, Owen Jones for program management support, and Martín Abadi, Christopher Henson, Katerina Hristova, Henryk Michalewski, Jonathan Protzenko and George Tsoukalas for helpful discussions. We thank Signal's Rolfe Schmidt, Michael Rosenberg, and Ehren Kret for their feedback on our methodology. We also thank Tulsee Doshi, Four Flynn, Kate Olszewska, Alicia Huang, Andy Liu, Benoit Schillings, Raluca Ada Popa, Melvin Johnson, Koray Kavukcuoglu, Demis Hassabis, and Sundar Pichai for their support of the project.

← All articles

What this article says

More in AI & Machine Learning

All →
Introducing the Waymo Accessibility Network UK: Co-Designing the Future of Autonomous Mobility
Waymo

Introducing the Waymo Accessibility Network UK: Co-Designing the Future of Autonomous Mobility

Closing the AI guidance gap in education
OpenAI

Closing the AI guidance gap in education

Form field detection: fewer missed fields, cleaner labels
Datalab

Form field detection: fewer missed fields, cleaner labels

Transitioning Height Inspection From Sample Inspection to 100% Inspection: Designing From Reference Plane, Tact Time, and Threshold
Keyence

Transitioning Height Inspection From Sample Inspection to 100% Inspection: Designing From Reference Plane, Tact Time, and Threshold

Resolution Is Not Accuracy: Reading and Understanding the Four Indexes for Each Condition
Keyence

Resolution Is Not Accuracy: Reading and Understanding the Four Indexes for Each Condition

Non-Contact Measurement of Wire Outer Diameter: Full-Length Measurement of Running Wire With High Resistance to Vibration
Keyence

Non-Contact Measurement of Wire Outer Diameter: Full-Length Measurement of Running Wire With High Resistance to Vibration

More from DeepMind

Gemini Omni 1.2 Flash: Fast and cost-effective with longer clips
DeepMind

Gemini Omni 1.2 Flash: Fast and cost-effective with longer clips

Agentic cheminformatics with Google Antigravity
DeepMind

Agentic cheminformatics with Google Antigravity

Speeding up planning decisions with AI
DeepMind

Speeding up planning decisions with AI

Gemini 4 Carbon: Our next frontier model
DeepMind

Gemini 4 Carbon: Our next frontier model

Genie 4: A new generation of world simulation
DeepMind

Genie 4: A new generation of world simulation

Beyond tree cover: mapping the world’s forest types
DeepMind

Beyond tree cover: mapping the world’s forest types