Google DeepMind introduced AlphaProof Code on 10 November 2026, a verification framework whose Gemini agents wrote Lean proofs about the compiled code of Signal’s protocol. The team applied it to libsignal-cli, a command-line harness wrapping unmodified libsignal v0.105.4 and SPQR v1.6.0, and reports the work took four weeks where expert teams have historically needed years.
Quick Take
- What: DeepMind agents wrote machine-checked Lean proofs for four security properties of libsignal v0.105.4 compiled code
- Coverage: Init handshake, send and recv for one-to-one sessions only, excludes key generation and group messaging
- Scale: Over six million lines of generated Lean on about 26,000 lines of human-reviewed specification
- Validation: Two previously fixed libsignal bugs were reintroduced and the system proved the buggy builds insecure
- What to do: Read the published specifications before treating the result as a guarantee, coverage is narrow
In plain English
Google DeepMind built a system that uses AI agents to write mathematical proofs about computer programs. They pointed it at Signal’s messaging code (the libsignal library version 0.105.4) and the agents wrote proofs that certain security properties hold when the code runs. The proofs cover four security goals (forward secrecy, authentication, post-compromise security and handshake secrecy) but only for one-to-one chats, not group messages or key generation. Signal and Google Messages users do not need to do anything. This is research showing that AI can help verify security code, not a security patch or a newly discovered problem.
What happened
Google DeepMind introduced AlphaProof Code on 10 November 2026, in a post by Pushmeet Kohli and Swarat Chaudhuri that comes with a technical paper and open-sourced proof artifacts. The team applied it to libsignal-cli, a command-line harness wrapping unmodified libsignal v0.105.4 and SPQR v1.6.0, and reports the work took four weeks. DeepMind states this is the first time the implementation of a widely deployed protocol has been formally verified by any method.
Human experts choose the properties to prove, specifications are drafted with a mix of models and reviewed by people, and agents running on Gemini Carbon write the proofs in Lean, whose kernel checks each one. The proofs reason about the AArch64 executable rather than the protocol design, using modelled semantics for 467 instructions and 31 system calls.
DeepMind reports over six million lines of generated Lean standing on about 26,000 lines of specification and semantics that humans have to trust, alongside cryptographic primitives the proofs assume secure. Coverage is narrow and stated in the paper: the init handshake, send and recv for one-to-one sessions, with ten symbolic theorems for forward secrecy, authentication, post-compromise security and handshake secrecy.
What it means
The target is libsignal-cli, a command-line harness that wraps unmodified libsignal v0.105.4 and SPQR v1.6.0 and is compiled with stock rustc into an AArch64 Linux executable. DeepMind says the proofs therefore reach the compiled code that runs on devices, which is where implementation flaws usually appear, rather than covering the protocol design alone.
DeepMind reintroduced two previously fixed libsignal bugs into an isolated copy of the code, and in both cases the system produced a machine-checked proof that the buggy build violated the symbolic security theorems. Signal’s CTO, Ehren Kret, calls the translation of live code into valid Lean theorems a major breakthrough, which is Signal’s own assessment rather than an independent review.
The exclusions include key generation, group messaging, multi-device state, more than two parties, and quantum attackers in the computational proof. Teams that want to try the same approach can take the Lean development and the proofs from the project page, which DeepMind has open-sourced.



