
Code tests are one thing, but a mathematical proof is one heck of a security blanket.
a]:text-inherit [&>a]:underline">
When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works .
More explicitly, the team reviewed an Arm-compiled version of libsignal, the library that the Signal application itself incorporates and uses, with some minimal scaffolding around it. Note that the verification wasn't done against the source code: it was purposely executed against an AArch64 binary , meaning the method can be reused for future verifications of other software.
In a similar vein to the AI labs' work on mathematics, the bulk of the work was done in Lean , a purpose-built language for formal proofs. There's a key difference for this effort, though. Lean is primarily used to prove the underlying math in algorithms, which in this case would be the specifications for Signal's encryption.
However, what the scientists actually did was create millions of lines of Lean proofs that were run against the actual implementation, in this case checking that the final binary executable corresponds to the initial specification.
Everyone knows about code tests in software development, but a mathematical proof of code is a different beast altogether, and one particularly elusive over the history of computing. It's akin to being able to check that an entire factory campus produces the actual parts it was designed to make, with the same exact inputs, with zero variation, no matter what else is happening.
AI causes uproar in mathematics as experts warn against sharing research with LLMs after OpenAI shares 722 manuscripts and proofs
OpenAI's isolated red-team agents built a hidden CPU cache channel to talk with no network or shared files
Researchers easily trick Fortune-500 companies' AI agents into running arbitrary code — supply-chain attack via llms.txt guidance file illustrates how data has become code
The DeepMind scientists mention previous year-long efforts in this vein to create formal proofs for relatively small pieces of software. The seL4 microkernel purportedly took twenty years to prove , while CompCert's C compiler took six. This may sound like going way overboard on software engineering, until you consider that said programs are now, in practical terms, bulletproof and cannot fail due to a code flaw, at least for the inputs they control.
While it'd be a questionable use of resources to formally prove all software on Earth, AlphaProof Code providing the ability to do so for mission-critical code like the Signal comms protocol is quite a boon.
As an oversimplification, the actual AlphaProof Code workflow comprised various stages of back-and-forth between humans and Gemini 4 Carbon agents. The first steps were laying out the groundwork and infrastructure. The team defined the base scope of work, and then created textual bot skills to prepare agents for their future tasks, among them specification writers, proof workers, and orchestration.
Then, it was time to have agents create the first set of Lean definitions for AArch64 instructions, how registers, memory, and system calls work, and how Linux processes operate. At this point, however, nothing is proven about Signal or any other application. That came next, as the team and its army of agents drafted fully revised specifications for libsignal's cryptography implementation. This then generated just over 1.2 million lines of Lean, for checking the mathematical reasoning behind the protocol.
The bulk of the agentic work was generating 5.3 million lines of Lean to verify that each binary instruction matched the previously defined AArch64, CPU, and process formal behaviors. During this stage, the agent flagged one percent of the codebase for humans to review and verify. When it was all complete, the team had fully verified that the cryptographic engine in the binary did indeed match all the generated proofs, down to the last processed bit.
As the researchers point out: "the most important lesson from our experience is that, once proofs become cheap, the hard question is what to prove," adding that "the majority of our effort went not into proofs but into specifications," and underscoring that this is particularly important for software topics like cryptography.
Interestingly, they mention that "writing specifications against real code also turned out to be a stress test for the literature," an insightful note on verifying that one did write the software's specifications properly to begin with.
Bruno Ferreira Social Links Navigation Contributor Bruno Ferreira is a contributing writer for Tom's Hardware. He has decades of experience with PC hardware and assorted sundries, alongside a career as a developer. He's obsessed with detail and has a tendency to ramble on the topics he loves. When not doing that, he's usually playing games, or at live music shows and festivals.
Key considerations
- Investor positioning can change fast
- Volatility remains possible near catalysts
- Macro rates and liquidity can dominate flows
Reference reading
- https://www.tomshardware.com/tech-industry/artificial-intelligence/SPONSORED_LINK_URL
- https://www.tomshardware.com/tech-industry/artificial-intelligence/google-deepmind-ai-engineers-conjure-mathematical-proof-of-signals-encryption-protocol-alphaproof-code-framework-powered-human-bot-cooperation-for-speedy-work#main
- https://www.tomshardware.com/my-account
- Buying single sticks of DDR5 memory can save you more than buying a kit
- Lambda Boosts AI Factory Resiliency and Efficiency With NVIDIA Photonics
- PS5 modder rips out logic board, turns his console into liquid-cooled Phanteks PC
- Best Black Friday 2026 tech deals
- Merry Making: Play, Build and Create With NVIDIA Technologies This Holiday Season
Informational only. No financial advice. Do your own research.