Research & Papers

AI helps formalize Vlasov equation in Lean 4 as a 'strategy game'

Human directs, AI executes: a month-long formalization game yields 299 Lean declarations.

Deep Dive

Joseph K. Miller presents a novel approach to formalizing mathematical results in the Lean 4 proof assistant by framing the process as a strategy game where a mathematician directs an AI system. The objective: convert a LaTeX document into a complete, axiom-clean Lean development. The case study is the well-posedness of the nonlinear Vlasov equation via Dobrushin's mean-field route, covering existence, uniqueness, stability, mean-field limit, and a short-window superposition principle. The human's role was to define scope, steer decompositions, and identify missing library pieces, while the AI agent executed the proof writing. The final development contains 299 declarations, of which 49 (about a sixth) form a self-contained layer of optimal-transport machinery (Wasserstein-1 metric, Kantorovich-Rubinstein duality) that compiles against Mathlib alone via a 22-declaration interface with no reverse dependencies.

Key results: headline theorems were verified in about a week, the full development in about a month. The formalization is not intended as a general law but as an observed game outcome. The methodology is tool-agnostic: the game rules name no particular system, so the framing is designed to outlast any single AI assistant. Crucially, the mathematician remains the judge of whether the written statement matches the intended theorem. This work demonstrates a practical division of labor: humans handle high-level strategy and validation, AI handles the tactical proof steps. It also showcases how formalization can yield reusable mathematics—the separated library layer is a tangible contribution to Mathlib.

Key Points
  • 299 declarations in Lean 4, fully compiled without 'sorry', relying only on foundational axioms
  • Self-contained reusable layer: 49 declarations (Wasserstein-1 & Kantorovich-Rubinstein) behind a 22-declaration interface
  • Human directed, AI executed: mathematician scoped definitions and triaged library gaps; agent wrote proofs in about a month

Why It Matters

Demonstrates a scalable, tool-agnostic paradigm for AI-assisted formal verification, letting mathematicians focus on strategy while AI handles proof details.

📬 Get the top 10 AI stories daily