Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Navier–Stokes (Clay problem) — data conditions and solution notions

Definition
ClayNavierStokes_defs

by LG · Sep 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

fluid-dynamicsnavier-stokespde

Definitions for the Navier–Stokes equations on Rn\mathbb R^nRn following Fefferman's Clay problem description:

  1. the divergence div⁡v=tr⁡Dv\operatorname{div} v=\operatorname{tr}Dvdivv=trDv of a vector field and 111-periodicity g(x+ei)=g(x)g(x+e_i)=g(x)g(x+ei​)=g(x);
  2. admissible initial velocities: smooth and divergence-free, plus either the decay condition (4) ∣∂xαu0(x)∣≤CαK(1+∣x∣)−K|\partial^\alpha_x u_0(x)|\le C_{\alpha K}(1+|x|)^{-K}∣∂xα​u0​(x)∣≤CαK​(1+∣x∣)−K or 111-periodicity (8);
  3. admissible forces: smooth on Rn×[0,∞)\mathbb R^n\times[0,\infty)Rn×[0,∞), plus either decay (5) ∣∂xα∂tmf∣≤C(1+∣x∣+t)−K|\partial^\alpha_x\partial^m_t f|\le C(1+|x|+t)^{-K}∣∂xα​∂tm​f∣≤C(1+∣x∣+t)−K or spatial periodicity (8) with time decay (9);
  4. global smooth solutions of (1)–(3) on Rn×[0,∞)\mathbb R^n\times[0,\infty)Rn×[0,∞) with smoothness (6)/(11), plus finite, uniformly bounded energy (7) on the whole space, or periodic velocity (10) and pressure (errata) on the torus;
  5. local smooth solutions on Rn×[0,T)\mathbb R^n\times[0,T)Rn×[0,T) with the same side conditions restricted to [0,T)[0,T)[0,T).

These definitions are shared by every theorem of the mission.

Formalization Note Time derivatives are taken within [0,∞)[0,\infty)[0,∞) (resp. [0,T)[0,T)[0,T)), so they are one-sided at t=0t=0t=0. Solutions are functions on Rn×R\mathbb R^n\times\mathbb RRn×R constrained only for t≥0t\ge0t≥0. The torus is encoded through 111-periodic functions on Rn\mathbb R^nRn. Adapted from the Formal Conjectures file NavierStokes.lean.

Definition code
import Mathlib

/-!
# Clay Millennium Problem: Navier–Stokes existence and smoothness — definitions

Definitions follow C. L. Fefferman, *Existence and smoothness of the Navier–Stokes
equation* (Clay Mathematics Institute), equations (1)–(11) and the errata, adapted from
the Formal Conjectures file `NavierStokes.lean`. Space is `EuclideanSpace ℝ (Fin n)`;
the velocity is `v x t`, the pressure `p x t`, the force `f x t` (position before time).
-/

open ContDiff Set InnerProductSpace MeasureTheory
open scoped Laplacian

namespace ClayNavierStokes

variable {n : ℕ}

/-- Divergence `∇ · v` of `v : ℝⁿ → ℝⁿ` at `x`: the trace of the Fréchet derivative
(junk value `0` where `v` is not differentiable). -/
noncomputable def divergence (v : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (x : EuclideanSpace ℝ (Fin n)) : ℝ :=
  LinearMap.trace ℝ (EuclideanSpace ℝ (Fin n)) (fderiv ℝ v x)

/-- `f` is 1-periodic in each coordinate direction: `f (x + eᵢ) = f x`. -/
def IsOnePeriodic {α : Sort*} (f : EuclideanSpace ℝ (Fin n) → α) : Prop :=
  ∀ x i, f (x + EuclideanSpace.single i 1) = f x

/-- Initial velocity: divergence-free (2) and `C^∞`. -/
structure InitialVelocityCondition
    (u₀ : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n)) : Prop where
  div_free : ∀ x, divergence u₀ x = 0
  smooth : ContDiff ℝ ∞ u₀

/-- Initial velocity on `ℝⁿ`: additionally condition (4), rapid decay of all derivatives. -/
structure InitialVelocityConditionDecay
    (u₀ : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n)) : Prop
    extends InitialVelocityCondition u₀ where
  decay : ∀ m : ℕ, ∀ K : ℝ, ∃ C : ℝ, ∀ x,
    ‖iteratedFDeriv ℝ m u₀ x‖ ≤ C / (1 + ‖x‖) ^ K

/-- Initial velocity on the torus: additionally 1-periodic (8). -/
structure InitialVelocityConditionPeriodic
    (u₀ : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n)) : Prop
    extends InitialVelocityCondition u₀ where
  isOnePeriodic : IsOnePeriodic u₀

/-- Force: `C^∞` on `ℝⁿ × [0, ∞)`. -/
structure ForceCondition (f : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n)) :
    Prop where
  smooth : ContDiffOn ℝ ∞ (↿f) (Set.univ ×ˢ Set.Ici 0)

/-- Force on `ℝⁿ`: additionally condition (5), decay in space and time. -/
structure ForceConditionDecay (f : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n)) :
    Prop extends ForceCondition f where
  decay : ∀ m : ℕ, ∀ K : ℝ, ∃ C : ℝ, ∀ x, ∀ t ≥ 0,
    ‖iteratedFDerivWithin ℝ m (↿f) (Set.univ ×ˢ Set.Ici 0) (x, t)‖ ≤ C / (1 + ‖x‖ + t) ^ K

/-- Force on the torus: additionally 1-periodic in space (8) and decaying in time (9). -/
structure ForceConditionPeriodic
    (f : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n)) : Prop
    extends ForceCondition f where
  isOnePeriodic : ∀ t ≥ 0, IsOnePeriodic (f · t)
  decay : ∀ m : ℕ, ∀ K : ℝ, ∃ C : ℝ, ∀ x, ∀ t ≥ 0,
    ‖iteratedFDerivWithin ℝ m (↿f) (Set.univ ×ˢ Set.Ici 0) (x, t)‖ ≤ C / (1 + t) ^ K

/-- A global smooth solution `(v, p)` on `ℝⁿ × [0, ∞)`: equations (1), (2), (3) and
smoothness (6)/(11). -/
structure NavierStokesExistenceAndSmoothness
    (nu : ℝ) (u₀ : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (f : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n))
    (v : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n))
    (p : EuclideanSpace ℝ (Fin n) → ℝ → ℝ) : Prop where
  navier_stokes : ∀ x, ∀ t ≥ 0,
    derivWithin (v x ·) (Set.Ici 0) t + fderiv ℝ (v · t) x (v x t) =
      nu • Δ (v · t) x - gradient (p · t) x + f x t
  div_free : ∀ x, ∀ t ≥ 0, divergence (v · t) x = 0
  initial_condition : ∀ x, v x 0 = u₀ x
  velocity_smooth : ContDiffOn ℝ ∞ (↿v) (Set.univ ×ˢ Set.Ici 0)
  pressure_smooth : ContDiffOn ℝ ∞ (↿p) (Set.univ ×ˢ Set.Ici 0)

/-- Global solution on `ℝⁿ`: additionally square-integrable with bounded energy (7). -/
structure NavierStokesExistenceAndSmoothnessRn
    (nu : ℝ) (u₀ : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (f : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n))
    (v : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n))
    (p : EuclideanSpace ℝ (Fin n) → ℝ → ℝ) : Prop
    extends NavierStokesExistenceAndSmoothness nu u₀ f v p where
  integrable : ∀ t ≥ 0, MemLp (fun x => ‖v x t‖) 2
  globally_bounded_energy : ∃ E, ∀ t ≥ 0, (∫ x, ‖v x t‖ ^ 2) < E

/-- Global solution on the torus: additionally velocity (10) and pressure (errata)
1-periodic in space. -/
structure NavierStokesExistenceAndSmoothnessPeriodic
    (nu : ℝ) (u₀ : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (f : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n))
    (v : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n))
    (p : EuclideanSpace ℝ (Fin n) → ℝ → ℝ) : Prop
    extends NavierStokesExistenceAndSmoothness nu u₀ f v p where
  isOnePeriodic_velocity : ∀ t ≥ 0, IsOnePeriodic (v · t)
  isOnePeriodic_pressure : ∀ t ≥ 0, IsOnePeriodic (p · t)

/-- A smooth solution on the finite time window `ℝⁿ × [0, T)`: equations (1), (2), (3)
for `0 ≤ t < T` (time derivative taken within `[0, T)`) and smoothness on `ℝⁿ × [0, T)`. -/
structure NavierStokesLocalSmoothSolution
    (nu : ℝ) (u₀ : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (f : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n)) (T : ℝ)
    (v : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n))
    (p : EuclideanSpace ℝ (Fin n) → ℝ → ℝ) : Prop where
  navier_stokes : ∀ x, ∀ t ∈ Set.Ico 0 T,
    derivWithin (v x ·) (Set.Ico 0 T) t + fderiv ℝ (v · t) x (v x t) =
      nu • Δ (v · t) x - gradient (p · t) x + f x t
  div_free : ∀ x, ∀ t ∈ Set.Ico 0 T, divergence (v · t) x = 0
  initial_condition : ∀ x, v x 0 = u₀ x
  velocity_smooth : ContDiffOn ℝ ∞ (↿v) (Set.univ ×ˢ Set.Ico 0 T)
  pressure_smooth : ContDiffOn ℝ ∞ (↿p) (Set.univ ×ˢ Set.Ico 0 T)

/-- Local solution on `ℝⁿ`: additionally condition (7) on `[0, T)`. -/
structure NavierStokesLocalSmoothSolutionRn
    (nu : ℝ) (u₀ : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (f : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n)) (T : ℝ)
    (v : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n))
    (p : EuclideanSpace ℝ (Fin n) → ℝ → ℝ) : Prop
    extends NavierStokesLocalSmoothSolution nu u₀ f T v p where
  integrable : ∀ t ∈ Set.Ico 0 T, MemLp (fun x => ‖v x t‖) 2
  bounded_energy : ∃ E, ∀ t ∈ Set.Ico 0 T, (∫ x, ‖v x t‖ ^ 2) < E

/-- Local solution on the torus: additionally (10) and periodic pressure on `[0, T)`. -/
structure NavierStokesLocalSmoothSolutionPeriodic
    (nu : ℝ) (u₀ : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (f : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n)) (T : ℝ)
    (v : EuclideanSpace ℝ (Fin n) → ℝ → EuclideanSpace ℝ (Fin n))
    (p : EuclideanSpace ℝ (Fin n) → ℝ → ℝ) : Prop
    extends NavierStokesLocalSmoothSolution nu u₀ f T v p where
  isOnePeriodic_velocity : ∀ t ∈ Set.Ico 0 T, IsOnePeriodic (v · t)
  isOnePeriodic_pressure : ∀ t ∈ Set.Ico 0 T, IsOnePeriodic (p · t)

end ClayNavierStokes
Source
C. L. Fefferman, Existence and Smoothness of the Navier–Stokes Equation, Clay Mathematics Institute Millennium Prize Problem description, https://www.claymath.org/wp-content/uploads/2022/06/navierstokes.pdf, pp. 1–2, equations (1)–(11) and errata; adapted from the Formal Conjectures file NavierStokes.lean
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind

Non-blind read-back. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted these Lean statements, at the explicit instruction of the proposal owner. It is not independent testimony from a blind auditor, and no reviewer should treat it as such. Compare it against the Lean code yourself.

The definition file fixes a dimension n∈Nn\in\mathbb Nn∈N (any nnn, including n=0n=0n=0; the theorems specialize it) and works on Rn\mathbb R^nRn with the Euclidean norm. It introduces:

  1. Divergence of v:Rn→Rnv:\mathbb R^n\to\mathbb R^nv:Rn→Rn at xxx: the trace of the Fréchet derivative Dv(x)Dv(x)Dv(x). Where vvv is not differentiable, the Fréchet derivative is taken to be 000, so the divergence is 000.
  2. One-periodicity of a map ggg on Rn\mathbb R^nRn (any codomain): g(x+ei)=g(x)g(x+e_i)=g(x)g(x+ei​)=g(x) for every xxx and every standard unit vector eie_iei​ (only shifts by +ei+e_i+ei​ are stated).
  3. Initial-velocity condition: u0u_0u0​ has divergence 000 at every point and is C∞C^\inftyC∞. The decay variant adds: for all m∈Nm\in\mathbb Nm∈N and all real KKK there exists a real CCC with ∥Dmu0(x)∥≤C (1+∥x∥)−K\|D^m u_0(x)\|\le C\,(1+\|x\|)^{-K}∥Dmu0​(x)∥≤C(1+∥x∥)−K for all xxx (real power; KKK and CCC may be any reals). The periodic variant adds one-periodicity of u0u_0u0​.
  4. Force condition: the map (x,t)↦f(x,t)(x,t)\mapsto f(x,t)(x,t)↦f(x,t) on Rn×R\mathbb R^n\times\mathbb RRn×R is C∞C^\inftyC∞ on the set Rn×[0,∞)\mathbb R^n\times[0,\infty)Rn×[0,∞). The decay variant adds: for all mmm and real KKK there is a real CCC with ∥Dmf(x,t)∥≤C(1+∥x∥+t)−K\|D^m f(x,t)\|\le C(1+\|x\|+t)^{-K}∥Dmf(x,t)∥≤C(1+∥x∥+t)−K for all xxx and all t≥0t\ge0t≥0, where DmD^mDm is the mmm-th derivative in (x,t)(x,t)(x,t) computed within Rn×[0,∞)\mathbb R^n\times[0,\infty)Rn×[0,∞). The periodic variant adds: f(⋅,t)f(\cdot,t)f(⋅,t) is one-periodic for every t≥0t\ge0t≥0, and for all mmm and real KKK there is a real CCC with ∥Dmf(x,t)∥≤C(1+t)−K\|D^m f(x,t)\|\le C(1+t)^{-K}∥Dmf(x,t)∥≤C(1+t)−K for all xxx, t≥0t\ge0t≥0.
  5. Global smooth solution (v,p)(v,p)(v,p) for data (ν,u0,f)(\nu,u_0,f)(ν,u0​,f), with v:Rn×R→Rnv:\mathbb R^n\times\mathbb R\to\mathbb R^nv:Rn×R→Rn, p:Rn×R→Rp:\mathbb R^n\times\mathbb R\to\mathbb Rp:Rn×R→R: for all xxx and all t≥0t\ge0t≥0,
∂t+v(x,t)+Dv(⋅,t)(x)[v(x,t)]=ν Δv(⋅,t)(x)−∇p(⋅,t)(x)+f(x,t),\partial_t^{+}v(x,t)+Dv(\cdot,t)(x)[v(x,t)]=\nu\,\Delta v(\cdot,t)(x)-\nabla p(\cdot,t)(x)+f(x,t),∂t+​v(x,t)+Dv(⋅,t)(x)[v(x,t)]=νΔv(⋅,t)(x)−∇p(⋅,t)(x)+f(x,t),

where ∂t+\partial_t^{+}∂t+​ is the derivative of s↦v(x,s)s\mapsto v(x,s)s↦v(x,s) within [0,∞)[0,\infty)[0,∞) at ttt (value 000 if it does not exist), Dv(⋅,t)(x)[w]Dv(\cdot,t)(x)[w]Dv(⋅,t)(x)[w] is the spatial Fréchet derivative applied to www (value 000 if not differentiable), Δ\DeltaΔ is the spatial Laplacian, and ∇p(⋅,t)(x)\nabla p(\cdot,t)(x)∇p(⋅,t)(x) is the spatial gradient (value 000 if not differentiable); the divergence of v(⋅,t)v(\cdot,t)v(⋅,t) vanishes at every xxx for every t≥0t\ge0t≥0; v(x,0)=u0(x)v(x,0)=u_0(x)v(x,0)=u0​(x) for every xxx; and (x,t)↦v(x,t)(x,t)\mapsto v(x,t)(x,t)↦v(x,t) and (x,t)↦p(x,t)(x,t)\mapsto p(x,t)(x,t)↦p(x,t) are C∞C^\inftyC∞ on Rn×[0,∞)\mathbb R^n\times[0,\infty)Rn×[0,∞). No condition is imposed for t<0t<0t<0. No sign or range is imposed on ν\nuν here. 6. Whole-space global solution: a global smooth solution such that for every t≥0t\ge0t≥0, x↦∥v(x,t)∥x\mapsto\|v(x,t)\|x↦∥v(x,t)∥ is in L2(Rn)L^2(\mathbb R^n)L2(Rn) for Lebesgue measure, and there exists a real EEE with ∫Rn∥v(x,t)∥2 dx<E\int_{\mathbb R^n}\|v(x,t)\|^2\,dx<E∫Rn​∥v(x,t)∥2dx<E for every t≥0t\ge0t≥0 (strict inequality, one EEE for all times). 7. Periodic global solution: a global smooth solution such that v(⋅,t)v(\cdot,t)v(⋅,t) and p(⋅,t)p(\cdot,t)p(⋅,t) are one-periodic for every t≥0t\ge0t≥0. No integrability is required. 8. Local smooth solution on [0,T)[0,T)[0,T) for a real TTT: the same as item 5 with every "t≥0t\ge0t≥0" replaced by "t∈[0,T)t\in[0,T)t∈[0,T)", the time derivative taken within [0,T)[0,T)[0,T), and smoothness required on Rn×[0,T)\mathbb R^n\times[0,T)Rn×[0,T); the initial condition is still required for all xxx. If T≤0T\le0T≤0 the window is empty and only the initial condition remains. The whole-space local version adds ∥v(⋅,t)∥∈L2\|v(\cdot,t)\|\in L^2∥v(⋅,t)∥∈L2 and ∫∥v(x,t)∥2dx<E\int\|v(x,t)\|^2dx<E∫∥v(x,t)∥2dx<E (single real EEE) for t∈[0,T)t\in[0,T)t∈[0,T); the periodic local version adds one-periodicity of v(⋅,t)v(\cdot,t)v(⋅,t) and p(⋅,t)p(\cdot,t)p(⋅,t) for t∈[0,T)t\in[0,T)t∈[0,T).

Here C∞C^\inftyC∞ means infinitely differentiable (not analytic). The file contains only definitions, no theorems.

Human review
  • Endorsed by Shuze Chen · Nov 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Nov 21, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me