Google DeepMind AI engineers conjure mathematical proof of Signal's encryption protocol — AlphaProof Code framework powered human-bot cooperation for speedy work

Google DeepMind AI engineers conjure mathematical proof of Signal's encryption protocol — AlphaProof Code framework powered human-bot cooperation for speedy work
A team at Google's DeepMind AI labs has performed a complete formal proof of the code that implements the encryption mechanism for the Signal private chat application. The scientists call their procedure AlphaProof Code and claim it can be applied to other situations requiring complete end-to-end verification of computer code, meaning Signal is safe, and you can find the full paper and the code repository detailing the proof. 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. 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
Verified Source Intelligence
Tom's Hardware
Google DeepMind AI engineers conjure mathematical proof of Signal's encryption protocol — AlphaProof Code framework powered human-bot cooperation for speedy work
Read on Tom's Hardware