A mathematician has successfully used an AI system to formalize a complex physics proof in the Lean 4 proof assistant, demonstrating a new approach to mathematical verification through human-AI collaboration.
Joseph K. Miller framed the project as a "formalization game" where the objective was converting a LaTeX document into Lean code. The game was won when the development compiled without errors, contained no unproven statements, and machine verification showed all theorems rested on Lean's foundational axioms alone.
The case study involved formalizing the well-posedness of the nonlinear Vlasov equation via Dobrushin's mean-field route. This included proving existence, uniqueness, stability estimates, and the mean-field limit — fundamental results in mathematical physics.
Human Direction, AI Execution
Miller's role was strategic rather than technical. He scoped definitions, steered mathematical decompositions, and identified gaps in existing libraries. The AI agent handled the actual proof writing and code generation.
The formalization produced 299 declarations total. About one-sixth of the development — 49 declarations focused on optimal transport machinery — separated into a self-contained layer that compiles against Mathlib alone. This included properties of the Wasserstein-1 metric and the Kantorovich-Rubinstein duality theorem.
The headline theorems were completed in approximately one week, with the full development taking about a month. Miller emphasized these timing claims as observations from a single experiment rather than general performance metrics.
The methodology deliberately avoided naming specific AI systems, designed to outlast any particular toolset. The approach required the human mathematician to maintain judgment about whether formalized statements matched intended theorems, while the AI handled mechanical proof construction.
This work represents a significant step toward scalable mathematical formalization, where human expertise guides AI systems in converting research-level mathematics into machine-verifiable form. The modular structure of the resulting code suggests potential for broader mathematical library integration.
💬 Discussion
Sign in to join the discussion.
Sign in →No comments yet — be the first.