← Latest papers
🤖 AI

A Formalization of the Mean-Field Derivation of the Vlasov Equation: AI-Assisted Lean Formalization as a Strategy Game

This paper presents a case study where a mathematician directs an AI system to formalize the mean-field derivation of the Vlasov equation in Lean 4, framing the process as a "strategy game" that successfully produced a complete, axiom-clean proof and a reusable optimal-transport library within approximately one month.

Original authors: Joseph K. Miller

Published 2026-07-13
📖 5 min read🧠 Deep dive

Original authors: Joseph K. Miller

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a massive, high-stakes video game where the goal isn't to defeat a dragon, but to translate a complex, handwritten math proof into a language a computer can understand perfectly. This is the "Formalization Game" described in the paper. The players are a human mathematician and an AI assistant. The human acts as the Game Master, while the AI is the Builder.

The objective is simple: turn a paper written in LaTeX (a typesetting system for math) into code written in Lean 4 (a proof assistant). But there are strict rules to win. You don't just win by getting the code to run; you win only if the computer checks every single step and confirms the proof relies only on the most basic, unshakeable rules of logic, with no hidden shortcuts or "I'll fix this later" notes (called sorry) left behind.

The Three-Act Strategy

The paper breaks this game down into three distinct phases, like levels in a strategy game:

  1. The Early Game (Setting the Rules): This is where the human Game Master does the heavy lifting. They must define exactly what the math objects are. If they define a "circle" slightly wrong, the whole game crashes later. The paper notes that in one instance, the team almost lost because they used a definition that accidentally made a test class empty (like trying to find a square circle). A human had to read the code and catch the error before the AI could waste time trying to prove things about nothing.
  2. The Mid-Game (Breaking it Down): Here, the AI gets to work. The human breaks a giant, impossible theorem into smaller, bite-sized puzzles. The AI solves these smaller pieces. The paper emphasizes that the AI is great at the work, but the human is essential for the judgment—deciding which path to take and when to abandon a route that looks promising but is actually a dead end.
  3. The End Game (The Cleanup): Eventually, the AI hits a wall where the math library doesn't have the tools it needs. The human has to decide: do we build a new tool from scratch, or is this a "phantom" gap that doesn't actually matter? The team successfully built a new tool (a bridge between two ways of measuring distance) and discarded the ones they didn't need.

The Big Win: The "Self-Contained Layer"

The most exciting part of the paper is what was left behind after the game was won. The team didn't just solve the specific problem of the Vlasov equation (which describes how particles move in a plasma or gas). They accidentally built a self-contained layer of general math tools.

Think of it like this: The team went to the forest to find a specific rare mushroom (the Vlasov equation solution). In the process, they built a brand-new, high-quality shovel and a map of the forest floor. The paper shows that this shovel and map are so well-made that anyone else can pick them up and use them for their own forest adventures, without needing the original mushroom.

  • The Numbers: The team created 299 total declarations (definitions and theorems). Of those, 49 formed this reusable "shovel and map" layer. This layer sits behind a small interface of 22 declarations.
  • The Time: The main "marquee" results took about one week, and the entire project took about one month.
  • The Cost: The team used a subscription service costing $200 per month (no extra charges per token).

What the Paper Says (and Doesn't Say)

The paper is very careful about what it claims. It explicitly rules out the idea that the AI can do this entirely on its own. The AI cannot decide what to prove or how to split the problems; it needs a human director. If the human steps back, the AI might hallucinate a proof or get stuck on a fake problem.

The paper also does not claim that this method solves the hardest, most mysterious problems in physics (like gravity with singular forces). It specifically chose a "smooth" version of the problem because that's where reusable tools can be built. The authors admit that for the really hard, messy problems, the missing ingredient is new math, not just better proof-checking.

The Takeaway

The paper suggests that the future of math isn't about replacing humans with robots. Instead, it's a partnership where the human is the strategic director and the AI is the execution engine. The human provides the taste, the judgment, and the vision; the AI provides the speed and the ability to check millions of tiny steps.

The authors are confident that this "game" framework works because they actually played it, won, and showed the replay. They aren't just suggesting it might work; they have the code, the logs, and the "self-contained layer" to prove it. However, they warn that the specific tools they used (the AI models) might change or disappear by the time you read this, but the strategy of how humans and machines should work together is what will last.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →