Google DeepMind 用 Gemini 4 Carbon 驱动的智能体,在未修改的 libsignal 代码上写出约 650 万行 Lean 证明,五人的团队四周完成证明工作。人类与智能体共同编写安全规格,证明智能体写证明,Lean 在接受前检查每一条证明;重新引入两个旧 Signal 漏洞后,系统证明有漏洞的版本不安全。作为对照,验证 seL4 微内核曾耗费二十人年。
同一新闻,精选展示《Google DeepMind 推出 AlphaProof Code,用 AI 智能体形式化验证 Signal 协议代码》
Banger report from Google DeepMind.
This is also a good example of the type of ambitious work you can now do with frontier models.
(bookmark it)
They used AI agents to prove key security properties of Signal's code, down to the compiled machine code.
Agents powered by Gemini 4 Carbon wrote about 6.5 million lines of Lean proofs on the unmodified libsignal code. A team of five finished the proof work in four weeks. Verifying the seL4 microkernel took twenty person-years.
In this work, humans and agents write the security specs, prover agents write the proofs, and Lean checks every proof before it is accepted.
When they reintroduced two old Signal bugs, the system proved the buggy versions were insecure.
Paper: https://deepmind.google/documents/36/Formal_Verification_of_Signal_4.pdf
来源:elvis · x.com