Research·4 min read
By BitsMindsSource: Google DeepMind

AlphaProof Code Verifies Signal Down to Machine Code

Google DeepMind’s AlphaProof Code, a team of Gemini Carbon agents, wrote more than six million lines of Lean proving that the compiled code of Signal’s encryption library keeps its core security promises. The job took four weeks, with humans reviewing about 1 percent of the output. DeepMind says no implementation of a widely deployed protocol had been formally verified at this depth before, by any method, and it has open-sourced the proofs.

Google DeepMind AlphaProof Code verifies Signal Editorial illustration on a deep navy field: a machined steel padlock tilted toward the viewer, its navy enamel face carrying the DeepMind logo in white, with a small green plaque reading PROVED. The type column reads Google DeepMind, AlphaProof Code, Signal verified in Lean. An editorial metaphor, not a Google or Signal product. GOOGLE DEEPMIND AlphaProof Code SIGNAL · VERIFIED IN LEAN BITSMINDS.COM PROVED
Share:

Google DeepMind has introduced AlphaProof Code, an agentic framework for formal verification, and its first target was the code behind Signal’s encrypted messaging. In a research post by Pushmeet Kohli and Swarat Chaudhuri, DeepMind says the system produced a machine-checked proof that Signal’s compiled code delivers key security properties, such as keeping messages protected both before and after a device is temporarily compromised. Cryptographers call those guarantees forward secrecy and post-compromise security. DeepMind describes the result as the first time AI has formally verified a widely deployed cryptographic protocol at this depth, and the first time an implementation of a protocol like this has been verified by any method, with or without AI. Those are the lab’s own claims.

Formal verification means proving, mathematically, that a program does what its specification says, rather than testing it and hoping the tests were good enough. The proofs here are written in Lean, a language whose checker accepts a proof only if every step holds. The catch has always been labour: according to DeepMind, expert teams have historically needed years to verify software of this kind. AlphaProof Code finished in four weeks.

Diagram of the AlphaProof Code workflow: a spec-writer agent turns research papers into a Lean specification approved by a human, Signal’s Rust code is compiled to machine code that runs on a Lean model of the processor, and a team of prover agents submits proofs to a trusted gatekeeper
The three stages of AlphaProof Code. Agents (blue) produce untrusted output; the Lean specification, the compiled code and its processor model, and the gatekeeper (yellow) are the trusted parts. Image: Google DeepMind

The framework splits the work the way a research team would. First, researchers used a mix of models to turn Signal’s security goals into formal specifications, and human experts reviewed every one of them. Second, a team of prover agents running on Gemini Carbon, Google’s newest frontier model, wrote the proofs: more than six million lines of Lean. Third, the agents audited their own output and flagged the parts that deserved a second look from a person, which DeepMind puts at about 1 percent of the codebase. Lean checks the rest automatically. The key design choice is that nothing an agent writes is trusted until the checker accepts it.

What makes the depth unusual is the target. According to the README of the released artifacts, the proofs cover the compiled AArch64 machine code of libsignal, the library Signal’s apps are built on, rather than a simplified model of the protocol. There are two of them: one in the symbolic model of cryptography and one in the computational model, which the authors say give independent arguments for security. DeepMind’s point is that the gap between a protocol’s design and the code that ships is where real vulnerabilities tend to hide. To test that the method catches them, the team put two real, previously fixed bugs back into an isolated copy of Signal’s code; in both cases the system produced a machine-checked proof that the buggy version was insecure.

Signal took part. DeepMind thanks Signal’s Rolfe Schmidt, Michael Rosenberg and Ehren Kret for feedback on the methodology, and quotes Kret, Signal’s chief technology officer, calling the agents’ translation of live code into valid Lean theorems “a major breakthrough.” He adds that, as AI-driven threats grow, this kind of verification gives Signal even greater confidence in its privacy guarantees. Signal’s own blog had not posted about the work when this article was written.

The scope has limits that the announcement states or implies. The proofs cover key security properties, not every behaviour of the library; the README says they run through a command-line harness with hooked cryptographic primitives; and DeepMind says scaling the techniques needs more research. Rebuilding the proofs is heavy work, too: the README warns of several hours and roughly 15 to 34 GiB of peak memory. The artifacts are open-sourced under the Apache 2.0 licence, with the copied libsignal code keeping its AGPL-3.0 licence.

DeepMind frames the result as groundwork for checking other software that cannot be allowed to fail, from medical-device firmware to power-grid control code, and pairs it with CodeMender, its agent that finds and patches vulnerabilities. Finding bugs with AI has become a crowded race; Anthropic’s Project Glasswing counts its zero-days in the thousands. AlphaProof Code makes the opposite kind of claim. It does not say what is broken in the code. It proves what cannot go wrong, and gives the proof to anyone who wants to check it.

Want AI news before everyone else?

The morning's most important AI stories, straight to your inbox. No fluff.

Related Articles

Anthropic FlashProve Editorial illustration on a cream field: an ivory sheet printed with rows of token bars, like a model's reply, sealed with a large clay wax seal into which the Anthropic logo is pressed. The type column reads Anthropic research, FlashProve, proof of which model answered. An editorial metaphor for Anthropic's research prototype for cryptographic proofs of inference; it is not deployed in any product. RESPONSE · 1,024 TOKENS ANTHROPIC · RESEARCH FlashProve Proof of which model answered BITSMINDS.COM
Research

FlashProve: Anthropic Can Prove Which Model Answered

SemiAnalysis GDPx benchmark: best score 12% Editorial illustration on a deep petrol field: a tall glass measuring cylinder graduated from 0 to 100 holds a clay-coloured liquid only up to the 12 mark, with the Claude logo etched large into the empty glass above it. The type column reads GDPx benchmark, 12%, best score. An editorial metaphor for SemiAnalysis's leaderboard, where Claude Opus 5.5 leads with 12.0. GDPX BENCHMARK 12% best score BITSMINDS.COM 20406080100
Research

GDPx: SemiAnalysis’s New Agent Benchmark Tops Out at 12%

Google Project Suncatcher satellite Editorial illustration on a night-indigo field: a satellite with two blue solar wings floats above the curved blue limb of the Earth, lit by the sun from the upper right, with the Google G logo set on a white plate on its body. The words Project Suncatcher, TPUs and in orbit sit in the type column. An editorial rendering, not a photograph of the Suncatcher prototype. PROJECT SUNCATCHER TPUs in orbit BITSMINDS.COM
Research

Google Suncatcher Satellite Runs AI on a TPU in Orbit