AI Trends
Three million lines of proof: what DeepMind's AlphaProof Code is really aiming at
Google DeepMind says its AlphaProof Code agents wrote three million lines of Lean proofs to verify Signal's core encryption. What formal verification is, why it matters beyond code generation, and what the announcement leaves open.
Why formal verification is hard
Tests only show the paths software actually ran. Formal verification goes further: the properties a program must satisfy are written down as mathematical claims, and a machine checks that the code really satisfies them. The proofs are written in a proof assistant such as Lean, and a proof that passes the checker rules out inputs and execution paths a human reviewer might never have imagined. The catch has always been cost. Proofs are long and difficult to write by hand, so industrial-scale examples have been rare.
What Google DeepMind announced
In a blog post dated 10 November 2026, Google DeepMind introduced AlphaProof Code. According to the announcement, its agents wrote three million lines of Lean proofs to verify Signal’s core encryption. DeepMind describes the work as a step toward verifying complex software “at depth” — a characterization from the publisher, not a result confirmed by outside review.
Signal is an end-to-end encrypted messenger, and its cryptographic code is exactly the kind where a single constant or a single branch in the wrong place can undo the whole security model. That this is the code chosen as a verification target is what gives the announcement its weight.
Why it is worth remembering
So far, most of the meeting point between AI and software has been code generation. Writing code faster is a productivity question; whether that code can be trusted is a different one. A formal proof moves the basis for trust away from human attention and into logic that a machine can re-check indefinitely. If AI can relieve the bottleneck of writing proofs, verification could move from a specialty practiced by a few experts to a routine stage in a development pipeline. Code where failure is expensive — cryptography, kernels, compilers — will be the first candidates.
What remains open
The published material leaves several things unanswered. It does not say how much of Signal’s implementation the proofs cover, whether the proof checking ran all the way through, or whether the proofs are public enough for a third party to check. And formal verification only guarantees that code matches its specification, not that the specification is right: a badly written specification yields an immaculate proof of the wrong thing. Three million lines is an impressive number, but volume is not a measure of difficulty.