
AlphaProof Code uses AI agents to help experts create Lean proofs that connect specified software properties to compiled code. In Google DeepMind's libsignal case study, the team verified selected properties against compiled AArch64 machine code, not the security of all Signal software.
Key takeaways
- AlphaProof Code uses AI agents to assist with proof creation, while experts define and review the properties being verified.
- Lean checks whether the generated proofs follow from their stated definitions and assumptions.
- The libsignal case study connected selected properties to compiled AArch64 machine code.
- Google DeepMind reported approximately 6.5 million lines of proof and roughly four weeks of work.
- The result covers specified properties under a particular model; it is not a blanket security certification for Signal.
What Google DeepMind’s AlphaProof Code Means for Software Verification
Google DeepMind announced AlphaProof Code on November 10, 2026, describing an AI-assisted approach to formal verification of software. In a case study involving libsignal, the software library used by Signal, the team connected selected security properties to compiled AArch64 machine code and checked the resulting proofs with the Lean theorem prover.
The work is a notable step toward machine-checked software guarantees. It does not establish that all of Signal is secure, but it demonstrates a way to verify whether a particular implementation satisfies carefully defined properties under a stated model.
How AlphaProof Code turns security properties into checked proofs
AlphaProof Code uses AI agents to help produce formal proofs, while human experts remain responsible for defining and reviewing the properties being proved. Those properties describe specific behaviors or security guarantees that the software is expected to uphold.
The agents generate proofs in Lean, a theorem prover that can check mathematical claims against formal rules. Rather than treating an AI-generated explanation as evidence on its own, the workflow relies on Lean to verify whether each proof follows from its assumptions and definitions. That independent checking is central: the system’s output must satisfy the prover, not merely sound plausible to a person.
For software verification, the challenge is to connect those formal claims to the program that actually runs. The libsignal project aimed to carry the guarantees through to compiled code, rather than stopping at a high-level description of how the software should behave.
What the libsignal and compiled AArch64 case study established
Google DeepMind reported that the team verified selected properties of libsignal against compiled AArch64 machine code. The effort produced approximately 6.5 million lines of proof and took roughly four weeks of work.
The scale reflects how much formal detail can be needed to connect a security specification to real implementation code. The result is not simply that tests passed, or that an AI reviewed the software. It is a collection of machine-checked proofs intended to show that the modeled implementation satisfies the properties the team specified.
This matters because conventional testing can reveal bugs, but passing tests cannot generally rule out every way a program might violate a particular security property. Formal verification offers a different kind of assurance: within the limits of the model and assumptions, it can establish that specified behaviors hold across the cases covered by the proof.
What the verification does - and does not - guarantee
The scope is important. AlphaProof Code’s result does not prove that every component or use of Signal is secure, nor does it guarantee that the software has no bugs. It addresses defined properties of libsignal under a particular model. The report also identifies limitations, including the treatment of group messaging and trusted contracts.
Formal verification is only as meaningful as the specification and model behind it. If a property is missing, incorrectly stated, or fails to reflect real-world behavior, a proof cannot make up for that gap. Human review therefore remains essential, both when selecting the guarantees to verify and when deciding whether the assumptions match the software’s intended use.
AlphaProof Code’s contribution is a method for helping experts create proofs that a trusted checker can validate, including proofs tied to compiled machine code. The libsignal case study shows the potential of that approach, while its boundaries make clear that a verified property is not the same as a blanket security certification. Google DeepMind’s technical report details the properties, assumptions, and limitations behind the results.
By the numbers
Approximately 6.5 million lines of proof
Google DeepMind reported this approximate proof volume for its libsignal case study, which connected selected properties to compiled AArch64 machine code.
Roughly four weeks of work
Google DeepMind reported this duration for the libsignal verification effort; it describes the case study, not a general estimate for verifying other software.
Step by step
- 01
Define the security properties
Have experts specify the precise behaviors or guarantees to verify, including the assumptions that define their scope.
- 02
Model the implementation
Connect the specified properties to the software implementation and the relevant compiled target, such as AArch64 machine code.
- 03
Generate formal proofs
Use AI agents to help produce proofs in Lean that relate the modeled implementation to the defined properties.
- 04
Check proofs and review assumptions
Run each proof through Lean, then have experts assess whether the specification, model, and assumptions reflect the intended use.
Frequently asked questions
What is AlphaProof Code?
AlphaProof Code is Google DeepMind's AI-assisted approach to formal software verification. Its agents help generate proofs in Lean, while human experts define and review the claims being proved. The checker validates proofs against their formal assumptions and definitions.
What did AlphaProof Code verify in libsignal?
The case study verified selected properties of libsignal against compiled AArch64 machine code. Google DeepMind reported that the work produced approximately 6.5 million lines of proof. The result applies to the specified properties and model, not every component or use of Signal.
How is formal verification different from software testing?
Formal verification can establish that specified properties hold within a defined model and its assumptions, while tests check selected executions. Passing tests cannot generally rule out every way a property might be violated. A proof also depends on the accuracy and completeness of its specification and model.
Does AlphaProof Code prove that Signal is completely secure?
No, the libsignal case study does not prove that all of Signal is secure or bug-free. It addresses selected properties under a particular model, and the report notes limitations including group messaging and trusted contracts. Human review remains necessary to assess the scope and assumptions.



