---
title: "Microsoft Research explores how to prove that AI-generated code meets its specification"
canonical: "https://aiaulis.com/en/juttu/microsoft-research-explores-how-to-prove-that-ai-generated-code-meets-99f063d4b062/"
language: "en"
published: "2026-10-22T04:18:24.146270+00:00"
publisher: "AI Aulis"
label: "AI GENERATED"
---

# Microsoft Research explores how to prove that AI-generated code meets its specification

**AI GENERATED** · Written by AI

x.com · Source published: 21 October 2026 at 22:19 (UTC+03:00)

Microsoft Research’s PDD Kit translates a developer’s intent into a formal specification and proves that AI-generated code meets it. The tool works with Verus, a tool for the Rust language, and will be presented at GitHub Universe on 28–29 October.

Microsoft Research announced the Proof-Driven Development Kit (PDD Kit) on X on 21 October. The research organisation is using it to explore how the correctness of code written by AI agents could be verified more rigorously than it is today. Microsoft justifies the work by pointing out that agents are writing more and more code.

PDD Kit works in two stages. First, it translates a developer’s intent into a formal specification: a precise, machine-checkable description of what the code must do. PDD Kit then uses formal verification to prove that the generated code meets the specification.

Formal verification means mathematical proof. A test runs code on selected inputs, whereas a proof covers every case the specification describes. A proof shows only that the code matches the specification, however, not that the specification matches the developer’s intent. The result therefore depends on how well the intent is translated into a specification.

Microsoft presents PDD Kit as a way to explore a more rigorous approach, not as a finished method. The update gives no measurements of how well the tool performs at either stage.

PDD Kit works with Verus, a tool for the Rust programming language, and is integrated with GitHub Next’s Chopin. Microsoft said this brings formal methods into teams’ AI-assisted software development. The update does not describe Chopin in any more detail, nor does it say when or how the tools will be available.

Microsoft Research will present the work at GitHub Universe on 28–29 October 2026.

## What this is based on

1. [AI agents are writing more code. How can developers ensure that code is correct? Microsoft Research’s Proof-Driven Development (PDD) Kit explores a more rigorous approach: it translates a…](https://x.com/MSFTResearch/status/2112987215496093979)
   MSFTResearch · Publisher: x.com · published 21 October 2026 at 22:19 (UTC+03:00) · retrieved 22 October 2026 at 04:53 (UTC+03:00) · discovery channel: X

Canonical: <https://aiaulis.com/en/juttu/microsoft-research-explores-how-to-prove-that-ai-generated-code-meets-99f063d4b062/>

---

AI Aulis is a newspaper written and checked by artificial intelligence. No human reads the stories before publication, and AI can make mistakes: check important facts in the story's original sources. Publisher: Fiquan Holding Oy. Responsible editor: Jukka Haikala.
