Overview
LeanPDE is our collection of three open-source Lean 4 libraries for partial differential equations: BlowupZoo, PDEAtlas and SymLean. With FloatLib and Mathlib, they put analysis and rigorous numerics in one proof: the infinite-dimensional estimates are Lean theorems, and the finite-dimensional inequalities are numerical certificates that Lean's kernel checks. A solver or an AI agent can find the numbers, and nothing it does has to be trusted. All three libraries are released under the Apache 2.0 license.
BlowupZoo
BlowupZoo is an open, Polymath-style collaboration to understand how singularities in different differential equations are related. It compares classical and recent results on blowup and nonuniqueness, to find mechanisms and proof ideas that carry from one equation to another. The zoo lists results and open questions with their sources, hypotheses and Lean status: its map has 945 results in ten families and 2,571 relations between them. The ladder has Lean proofs, from the ODE u′ = uᵖ to nonuniqueness of Leray–Hopf solutions. Each formalized proof is explained in words for its mathematical ideas, next to its Lean proof, and 18 of them have proof graphs that open down to their declarations. Among the results Lean proves:
- Navier–Stokes nonuniqueness. One initial velocity with infinitely many Leray–Hopf solutions, without any force: Theorem 1 of Hou, Wang and Yang as the paper prints it.
- Navier–Stokes, Euler and Boussinesq blowup. Navier–Stokes with a force, from OpenAI's proof. Euler without a force on ℝ³, from OpenAI's proof, and on the torus, by Alpöge, Buckmaster and Coiculescu. Euler and Boussinesq with a smooth force, by Alpöge and Buckmaster. Euler and Boussinesq with a boundary, after Chen and Hou, conditional on stated numerical bounds.
- Elliptic systems and Hilbert's 19th problem. De Giorgi's example of a discontinuous weak solution of a linear elliptic system, in every dimension n ≥ 3.
- Classical examples and one-dimensional models. Burgers' equation, heat and wave equations with power sources, and one-dimensional models of the Euler equations such as the De Gregorio and Hou–Luo models.
Code · Website · The live map
PDEAtlas
PDEAtlas is our library of partial differential equations in Lean 4 and Mathlib. It follows Lawrence C. Evans's Partial Differential Equations, second edition, and formalizes selected results from every section of chapters 2 to 12: the four linear equations, first-order equations, Sobolev spaces, elliptic and evolution equations, the calculus of variations, Hamilton–Jacobi equations, conservation laws and nonlinear waves. Beyond the book, it covers incompressible fluid mechanics. The idea is to open Evans and use the theorems of a graduate PDE course in a Lean proof, with all their hypotheses in view. Two examples:
- Smooth functions are dense in every Sobolev space Wk,p(U), 1 ≤ p < ∞, on every open set U. Evans §5.3.2, Theorem 2, proves it for bounded U.
- Weak solutions of second-order parabolic equations exist and are unique under the assumptions of §7.1.2, Theorems 3 and 4, with the symmetry assumption aij = aji dropped.
The Blueprint goes with the library: statements, proof ideas, worked examples and figures linked to the Lean declarations. Lawrence C. Evans gave us his full support in following his book.
SymLean
SymLean is a computer algebra system for Lean 4. It covers symbolic algebra,
differentiation, integration, series expansions, limits, sums, equation solving, ODEs
and recurrences, factoring and Gröbner bases, special functions and certified
numerical computation. You run a calculation interactively with #cas, or
inside a proof with the cas and cega tactics, and every
answer comes back as a theorem that Lean's kernel checks. The algorithms that find the
answers don't have to be trusted: they can be heuristic, and they can even be external
computer algebra systems.
import CAS
#cas [factor] (2*x^3 - 3*x^2 + 1) -- (x - 1)^2*(2*x + 1)
#cas [derive x] (x ^ 2 * sin x) -- x*(2*sin(x) + x*cos(x))
#cas [integrate x] (atan x) -- x*atan(x) - 1/2*log(1 + x^2)
Its certificate layer checks numerical certificates of any size, and the Navier–Stokes certificates are built on it.
The first result
The first result is a complete formalization of the computer-assisted proof of Hou, Wang and Yang that suitable Leray–Hopf solutions of the unforced three-dimensional Navier–Stokes equations are not unique, with over 117,000 numerical certificates checked in Lean's kernel. The paper has the precise statements and numerical details, and the blog post explains the ideas, the numerics and how to check the proof yourself.
What we hope for
Motivated by recent advances in AI-assisted mathematics, we release BlowupZoo, PDEAtlas and SymLean for studying singularity formation and nonuniqueness in the spirit of the Polymath projects. There is a difference between knowing that a proof exists and knowing why it works, and we'd like these libraries to help with both: do the two certified Navier–Stokes profiles coincide, does the determinant argument work outside the symmetry classes of the paper, and which numerical constants are really responsible for a proof working?
We're hopeful that this helps more people in the field try Lean, now for numerics as well, even if it looks a bit scary at first. There is no need to know Lean to contribute: a better proof of a lemma, a numerical experiment that suggests a stronger estimate, or a good explanation of why a construction works would all be useful. And if your computation seems too large to verify, please open an issue or a pull request on any of the libraries. We'd be very happy to help :)
Paper
Robert Joseph George, Changhe Yang, Peicong Song, Thomas Y. Hou and Anima Anandkumar. Formalizing Leray–Hopf Nonuniqueness for the Unforced Navier–Stokes Equations. arXiv:2612.04720, 2026.
@misc{george2026leray,
title = {Formalizing Leray-Hopf Nonuniqueness for the Unforced Navier-Stokes Equations},
author = {Robert Joseph George and Changhe Yang and Peicong Song and Thomas Y. Hou and Anima Anandkumar},
year = {2026},
eprint = {2612.04720},
archivePrefix = {arXiv},
primaryClass = {math.NA}
}