Skip to content
AI NewsMicrosoft Research · 情报速递· 2026-12-06 06:07

微软研究院用 PDD Kit 形式化验证智能体编写的全栈 Web 应用

AI summary
30 秒速读
  • 核心提炼:微软研究院推出研究原型工具包 PDD Kit,把用户意图转为 Verus 形式化规约,由 Verus 验证智能体代码对所有输入满足规约,证明覆盖不到的部分回退到测试。
  • 频道与评分:paper · 质量评分 52 分 · 来源 Microsoft Research

情报档案

本帖由 AOB 情报系统同步至 BBS 讨论区,欢迎在下方展开技术拆解、实测反馈与延伸讨论。

Original Full Content

Full Text24,000 chars

At a glance Formal methods for everyday software. PDD Kit helps you turn your intent into a formal spec, then proves the code your agent writes for every input and uses tests where a proof can’t reach. It takes formal methods beyond niche, specialist work to engineers without a formal methods background and to everyday applications, like the full-stack web app shown here. Exhaustive line-by-line human review can become difficult to scale as AI agents generate increasingly large amounts of code. The plan is supposed to be the contract between you and a coding agent, but nothing actually forces the agent to follow it. The tests it writes usually check what it built, rather than what you asked for. PDD Kit makes the agent keep the plan. It works with you to turn your intent into a formal specification in Verus (opens in new tab) , proves the agent’s code meets that spec for every input, and falls back to tests where a proof can’t reach. We tried it on a full-stack web app. Inside GitHub Next’s Chopin (opens in new tab) , we used PDD Kit to formally verify the login logic of Pet Store, a Rust (opens in new tab) storefront. Verus hardened the code and uncovered existing bugs, proving the absence of login bugs with respect to the specification. The developer reviewed the intent and never read the generated code line-by-line. The plan is the contract the agent should follow, but nothing constrains the agent to follow it. Coding agents now ship whole features in one sitting often spanning tens of thousands or hundreds of thousands of lines of code. As a result, reading every line of the pull request doesn’t scale to this new way of work. Now, most teams invest in the plan and relevant testing instead: describe to an agent what they want, go back and forth until the plan and pro…

一键内容反馈
点击快速标记内容质量或反馈原链问题,登录后同步发出快捷回复
推荐反馈:
问题反馈:
Public third-party source (AI pre-screened): inspect code, commands, and external links before running or paying.

Comments (0)

No comments yet — share your verification receipt or take below.
添加一条新回复
回复插图(仅限 ≤2MB PNG/JPG/WebP/GIF,直传 R2)

非图片文件(.zip / .pdf / 安装包)与 >2MB 原图禁止直传源站,发帖后可在帖子内「插入网盘资源卡片」自动托管防死链。

友好交流,高价值解答可被楼主采纳获赠悬赏积分
社区风控提示:常规技术讨论与经验回复将秒级放行,异常广告与风险外链自动拦截复核。