Formalize Navier-StokesOpen Problem
Motivation
The incompressible Navier–Stokes equations are the standard model for the motion of a viscous fluid such as water or air, used daily in engineering, meteorology and oceanography. Yet the most basic mathematical question about them is open: starting from smooth initial data in three dimensions, does a smooth solution exist for all time? This is one of the seven Millennium Prize Problems of the Clay Mathematics Institute. Its official formulation is Charles Fefferman's problem description, Existence and smoothness of the Navier–Stokes equation (2000), which offers a prize for a proof of any one of four statements: global existence and smoothness on (statement (A)) or on the torus (statement (B)), or a counterexample to either (statements (C) and (D)). This mission formalizes statement (A), together with the classical partial results that Fefferman lists as known.
Timeline.
- 1822–1845: Navier and Stokes write down the equations of a viscous incompressible fluid.
- 1934: Jean Leray, Sur le mouvement d'un liquide visqueux emplissant l'espace (Acta Math. 63), proves on that smooth solutions exist for a positive time depending on the data, that they exist for all time when the data is small compared with the viscosity, and that global weak solutions with finite energy always exist. Their smoothness and uniqueness are left open.
- 1933–1969: the two-dimensional problem is settled (Leray for the plane; Olga Ladyzhenskaya's monograph The Mathematical Theory of Viscous Incompressible Flow, 2nd ed. 1969, for bounded domains): smooth solutions exist for all time and are unique.
- 1984: Tosio Kato, Strong -solutions of the Navier–Stokes equation in (Math. Z. 187), gives global solutions for initial data small in .
- 1976–1998: partial regularity. Scheffer, then Caffarelli, Kohn and Nirenberg (Comm. Pure Appl. Math. 35, 1982), show that the singular set of a suitable weak solution has one-dimensional parabolic Hausdorff measure zero.
- 2000: the Clay Mathematics Institute adopts Fefferman's formulation as a Millennium Prize Problem. It remains open.
Setting
Fix a dimension and write for Euclidean -space with its Euclidean norm ; in Lean this is NavierStokes.Vec n. A velocity field assigns to each time and point a vector ; in Lean is the field at time and is Fefferman's . A pressure is a real function . The viscosity is a positive constant. The external force of Fefferman's equation (1) is identically zero throughout, as in statement (A).
For a vector field the divergence is
in Lean NavierStokes.div, computed from the Fréchet derivative as . The Laplacian acts componentwise (Mathlib's Laplacian on inner product spaces). The gradient is Mathlib's gradient. The convective term is the derivative of at in the direction . Finally is NavierStokes.gradNormSq.
Admissible initial data (Fefferman's condition (4), NavierStokes.IsInitialData): a , divergence-free vector field that decays together with all its derivatives faster than any power,
In Lean the bound is on the -th Fréchet derivative, an equivalent family of conditions. These are exactly the divergence-free Schwartz functions.
A physically reasonable solution on a set of times (NavierStokes.IsSolutionOn; for NavierStokes.IsSolution) is a pair such that
- (Fefferman (6)) and are on , up to the boundary of ;
- (Fefferman (1), ) for every with and every ,
- (Fefferman (2)) for every ;
- (Fefferman (3)) ;
- (Fefferman (7), bounded energy) for all , for some constant .
Formalization targets
Goal: Fefferman's statement (A)
Take and . For every admissible initial datum there exist a velocity field and a pressure forming a physically reasonable solution on :
This is NavierStokes.existence_and_smoothness_R3. It is open; a proof would settle the Millennium Prize Problem in the affirmative.
Milestones: what Fefferman lists as known
- Local existence (
NavierStokes.local_existence_R3): for and every admissible there are and a physically reasonable solution on . Fefferman: "(A) and (B) hold ... if the time interval is replaced by a small time interval , with depending on the initial data." - Global existence for small data (
NavierStokes.small_data_global_existence_R3): there is an absolute constant such that, for , (A) holds for every admissible with
Fefferman: "(A) and (B) hold provided the initial velocity satisfies a smallness condition." The scale-invariant product is Leray's form of the condition; it implies smallness of , so Kato's theorem also applies.
3. The two-dimensional case (NavierStokes.existence_and_smoothness_R2): statement (A) with . Fefferman: "In two dimensions, the analogues of assertions (A) and (B) have been known for a long time (Ladyzhenskaya)."
A bridging lemma, NavierStokes.isInitialData_iff_schwartz, identifies the admissible data with the divergence-free elements of Mathlib's Schwartz space.
Significance
The result itself. Statement (A) asks whether the basic model of viscous flow is well posed in the classical sense, i.e. whether smooth finite-energy flows can develop singularities in finite time. A positive answer shows the equations never leave the classical regime; a negative one shows the model predicts its own breakdown. Fefferman: "since we don't even know whether these solutions exist, our understanding is at a very primitive level."
Formalizing it. None of the results in this mission has a machine-checked proof, and Mathlib contains no theory of the Navier–Stokes or Euler equations. The milestones are all proved in the literature; formalizing them requires building, on Mathlib's calculus, measure theory and Schwartz space, the heat semigroup on , the pressure equation or the Leray projection, energy estimates, and a fixed-point construction of solutions, most of which is reusable for other evolution equations. The goal is open and expected to remain so; its role is to fix in Lean the exact statement the prize asks for, so partial results are formalized against it.
Difficulty
The energy identity controls in and in , but in three dimensions this control is supercritical: under the scaling that preserves the equations, the energy of shrinks as , so bounded energy does not prevent concentration at small scales. Every known continuation criterion (Leray, Prodi–Serrin, Beale–Kato–Majda, Escauriaza–Seregin–Šverák) needs a quantity at or above critical scaling, none of which the energy controls. The obvious first idea, an ordinary differential inequality for , gives , which closes only for small data or short time. That is exactly why milestones 1 and 2 are theorems and the goal is not.
The formalization adds a second difficulty: the solutions of the literature live in Sobolev or Besov spaces, with pointwise smoothness of and recovered afterwards by regularity theory, and Mathlib has neither Sobolev spaces on nor the heat semigroup in usable form.
Formalization scope
- is
EuclideanSpace ℝ (Fin n)with Lebesgue measure; the dimension is a parameter, the goal fixes and the 2D milestone . - A velocity field is a function of all real times, but every condition is imposed only on the time set ; values at negative times are unconstrained.
- Smoothness on is Mathlib's
ContDiffOnof the uncurried map on the closed half-space, i.e. all derivatives extend continuously to . The momentum equation is imposed at interior times with two-sided derivatives; by continuity of the derivatives this is equivalent to Fefferman's "". - Derivatives are Mathlib's total functions (
fderiv,deriv,iteratedFDeriv,gradient, Laplacian) with junk value at non-differentiable points; the smoothness hypotheses make every derivative in the statements honest. - The energy is a Lebesgue integral in , equal to when , so bounded energy cannot hold vacuously. The norms in the small-data hypothesis are Bochner integrals, genuine for Schwartz data.
- No normalization is imposed on the pressure, as in Fefferman's text.
No trivializing formalization. The zero field solves the equations only for ; for any other admissible the initial condition, smoothness, the equation on and bounded energy must all hold.
Infrastructure needed and welcome contributions. The heat kernel on with Schwartz bounds; the Riesz-transform representation of the pressure or the Leray projection; energy identities for smooth decaying solutions; local existence by Picard iteration; the two-dimensional vorticity equation and its maximum principle. Theorems in the NavierStokes namespace, decompositions of the milestones, and Mathlib lemmas about ContDiffOn on half-spaces are all welcome. Statements (B), (C), (D) and the Euler equations () are out of scope.
Selected references
- C. L. Fefferman, Existence and smoothness of the Navier–Stokes equation, Clay Mathematics Institute Millennium Prize Problem description, 2000. https://www.claymath.org/wp-content/uploads/2022/06/navierstokes.pdf
- J. Leray, Sur le mouvement d'un liquide visqueux emplissant l'espace, Acta Mathematica 63 (1934), 193–248. https://doi.org/10.1007/BF02547354
- O. A. Ladyzhenskaya, The Mathematical Theory of Viscous Incompressible Flow, 2nd ed., Gordon and Breach, 1969. https://archive.org/details/mathematicaltheo0000lady
- T. Kato, Strong -solutions of the Navier–Stokes equation in , with applications to weak solutions, Mathematische Zeitschrift 187 (1984), 471–480. https://doi.org/10.1007/BF01174182
- L. Caffarelli, R. Kohn, L. Nirenberg, Partial regularity of suitable weak solutions of the Navier–Stokes equations, Communications on Pure and Applied Mathematics 35 (1982), 771–831. https://doi.org/10.1002/cpa.3160350604
- A. J. Majda, A. L. Bertozzi, Vorticity and Incompressible Flow, Cambridge University Press, 2002. https://doi.org/10.1017/CBO9780511613203
- J. C. Robinson, J. L. Rodrigo, W. Sadowski, The Three-Dimensional Navier–Stokes Equations: Classical Theory, Cambridge University Press, 2016. https://doi.org/10.1017/CBO9781139095143