Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

| 1 | import NavierStokes.ProblemStatement |
| 2 | import Mathlib.MeasureTheory.Integral.Bochner.Basic |
| 3 | import Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace |
| 4 | import Mathlib.Topology.Algebra.Support |
| 5 | |
| 6 | /-! |
| 7 | # The whole-space assertion of Part II, Theorem 1.1 |
| 8 | |
| 9 | This module states the R³ theorem, including its comparison claim, independently |
| 10 | of the existing periodic target. The coordinates, Euclidean norm, and differential |
| 11 | operators are those of `NavierStokes.ProblemStatement`; no periodicity assumption |
| 12 | is made here. Time is the first coordinate of spacetime. |
| 13 | |
| 14 | The force is a globally smooth function whose topological support is compact and |
| 15 | contained in strictly positive time. This represents the zero extension of an |
| 16 | element of `C_c^∞(R³ × (0, ∞); R³)` and, in particular, requires support separated |
| 17 | from initial time as well as from spatial and future-time infinity. |
| 18 | |
| 19 | Smoothness of velocity and pressure at time zero is relative to the physical |
| 20 | half-domain. The equation uses ordinary derivatives at positive times; zero |
| 21 | initial velocity is imposed separately. This avoids differentiating an arbitrary |
| 22 | extension to negative time at the boundary. `∞` in the `ContDiff` scope means |
| 23 | every finite differentiability order. |
| 24 | |
| 25 | `breakdownStatement` is the full proposition to prove. Introducing it does not |
| 26 | assert that it has a proof or supply a witness. |
| 27 | -/ |
| 28 | |
| 29 | |
| 30 | noncomputable section |
| 31 | |
| 32 | open Set MeasureTheory |
| 33 | open scoped ContDiff |
| 34 | |
| 35 | namespace NavierStokesR3.ProblemStatement |
| 36 | |
| 37 | /-- R³ with its ordinary Euclidean norm. -/ |
| 38 | abbrev Space := NavierStokes.ProblemStatement.Space |
| 39 | |
| 40 | /-- Spacetime, with time first. -/ |
| 41 | abbrev SpaceTime := NavierStokes.ProblemStatement.SpaceTime |
| 42 | |
| 43 | abbrev VelocityField := NavierStokes.ProblemStatement.VelocityField |
| 44 | abbrev PressureField := NavierStokes.ProblemStatement.PressureField |
| 45 | |
| 46 | /-- The physical domain before the asserted singular time. -/ |
| 47 | abbrev preSingularDomain := NavierStokes.ProblemStatement.preSingularDomain |
| 48 | |
| 49 | /-- The physical domain for a global competing solution. -/ |
| 50 | abbrev futureDomain := NavierStokes.ProblemStatement.futureDomain |
| 51 | |
| 52 | /-- The open set in which the prescribed force must have compact support. -/ |
| 53 | def positiveTimeDomain : Set SpaceTime := Ioi 0 ×ˢ univ |
| 54 | |
| 55 | /-- The exact incompressible Navier--Stokes residual at viscosity `ν`. |
| 56 | The viscosity multiplies only the spatial Laplacian. -/ |
| 57 | def navierStokesResidual (ν : ℝ) (u : VelocityField) (p : PressureField) |
| 58 | (t : ℝ) (x : Space) : Space := |
| 59 | NavierStokes.ProblemStatement.temporalDerivative u t x + |
| 60 | NavierStokes.ProblemStatement.advection u t x - |
| 61 | ν • NavierStokes.ProblemStatement.spatialLaplacian u t x + |
| 62 | NavierStokes.ProblemStatement.pressureGradient p t x |
| 63 | |
| 64 | /-- Compact spacetime support contained in `t > 0`, using the closure of the |
| 65 | nonzero set. Together with global smoothness this is the required force class. -/ |
| 66 | def CompactPositiveTimeSupport (f : VelocityField) : Prop := |
| 67 | HasCompactSupport f ∧ tsupport f ⊆ positiveTimeDomain |
| 68 | |
| 69 | /-- Square integrability with respect to ordinary Lebesgue volume on R³. |
| 70 | This condition is explicit because the real Bochner integral is totalized. -/ |
| 71 | def SquareIntegrableAtTime (u : VelocityField) (t : ℝ) : Prop := |
| 72 | Integrable (fun x : Space => ‖u (t, x)‖ ^ 2) (volume : Measure Space) |
| 73 | |
| 74 | /-- Kinetic energy at a time. It is used below only together with the explicit |
| 75 | integrability condition `SquareIntegrableAtTime`. -/ |
| 76 | def kineticEnergy (u : VelocityField) (t : ℝ) : ℝ := |
| 77 | (1 / 2 : ℝ) * ∫ x : Space, ‖u (t, x)‖ ^ 2 ∂(volume : Measure Space) |
| 78 | |
| 79 | /-- One finite bound for the kinetic energy at every time in `times`, with |
| 80 | square integrability required at every such time. -/ |
| 81 | def UniformFiniteEnergy (times : Set ℝ) (u : VelocityField) : Prop := |
| 82 | ∃ E : ℝ, 0 ≤ E ∧ ∀ t ∈ times, |
| 83 | SquareIntegrableAtTime u t ∧ kineticEnergy u t ≤ E |
| 84 | |
| 85 | /-- Pointwise unbounded speed in every left neighborhood of time one. For the |
| 86 | continuous, compactly supported spatial slices in `CandidateProperties`, this |
| 87 | expresses the L∞ blow-up assertion of Theorem 1.1. -/ |
| 88 | abbrev SpeedUnboundedAtOne := NavierStokes.ProblemStatement.SpeedUnboundedAtOne |
| 89 | |
| 90 | /-- The properties of the constructed fields in Theorem 1.1. The same single |
| 91 | compact set `K` contains both spatial supports for every `0 ≤ t < 1`. -/ |
| 92 | structure CandidateProperties (ν : ℝ) (u : VelocityField) (p : PressureField) |
| 93 | (f : VelocityField) (K : Set Space) : Prop where |
| 94 | velocity_smooth : ContDiffOn ℝ ∞ u preSingularDomain |
| 95 | pressure_smooth : ContDiffOn ℝ ∞ p preSingularDomain |
| 96 | support_compact : IsCompact K |
| 97 | velocity_support : ∀ t ∈ Ico (0 : ℝ) 1, |
| 98 | tsupport (fun x : Space => u (t, x)) ⊆ K |
| 99 | pressure_support : ∀ t ∈ Ico (0 : ℝ) 1, |
| 100 | tsupport (fun x : Space => p (t, x)) ⊆ K |
| 101 | force_smooth : ContDiff ℝ ∞ f |
| 102 | force_support : CompactPositiveTimeSupport f |
| 103 | zero_initial_velocity : ∀ x : Space, u (0, x) = 0 |
| 104 | divergence_free : ∀ t ∈ Ico (0 : ℝ) 1, ∀ x : Space, |
| 105 | NavierStokes.ProblemStatement.spatialDivergence u t x = 0 |
| 106 | navier_stokes : ∀ t ∈ Ioo (0 : ℝ) 1, ∀ x : Space, |
| 107 | navierStokesResidual ν u p t x = f (t, x) |
| 108 | energy_bounded : UniformFiniteEnergy (Ico 0 1) u |
| 109 | speed_unbounded : SpeedUnboundedAtOne u |
| 110 | |
| 111 | /-- Data realizing the primary existence assertion at one viscosity. -/ |
| 112 | structure Candidate (ν : ℝ) where |
| 113 | velocity : VelocityField |
| 114 | pressure : PressureField |
| 115 | force : VelocityField |
| 116 | support : Set Space |
| 117 | properties : CandidateProperties ν velocity pressure force support |
| 118 | |
| 119 | /-- A global smooth solution with uniformly bounded kinetic energy for the |
| 120 | given viscosity and the given force, starting from the same zero datum. |
| 121 | |
| 122 | There are no support, periodicity, pressure-growth, derivative-growth, or energy |
| 123 | inequality assumptions on a competitor. The square-integrability requirement |
| 124 | and its uniform energy bound use all of R³ and all nonnegative times. -/ |
| 125 | structure GlobalFiniteEnergySolution (ν : ℝ) (f : VelocityField) where |
| 126 | velocity : VelocityField |
| 127 | pressure : PressureField |
| 128 | velocity_smooth : ContDiffOn ℝ ∞ velocity futureDomain |
| 129 | pressure_smooth : ContDiffOn ℝ ∞ pressure futureDomain |
| 130 | zero_initial_velocity : ∀ x : Space, velocity (0, x) = 0 |
| 131 | divergence_free : ∀ t ∈ Ici (0 : ℝ), ∀ x : Space, |
| 132 | NavierStokes.ProblemStatement.spatialDivergence velocity t x = 0 |
| 133 | navier_stokes : ∀ t ∈ Ioi (0 : ℝ), ∀ x : Space, |
| 134 | navierStokesResidual ν velocity pressure t x = f (t, x) |
| 135 | energy_bounded : UniformFiniteEnergy (Ici 0) velocity |
| 136 | |
| 137 | /-- The primary existence assertion at one fixed viscosity. -/ |
| 138 | def candidateStatement (ν : ℝ) : Prop := |
| 139 | ∃ u : VelocityField, ∃ p : PressureField, ∃ f : VelocityField, ∃ K : Set Space, |
| 140 | CandidateProperties ν u p f K |
| 141 | |
| 142 | /-- The primary existence assertion for every positive viscosity. -/ |
| 143 | def coreBreakdownStatement : Prop := |
| 144 | ∀ ν : ℝ, 0 < ν → candidateStatement ν |
| 145 | |
| 146 | /-- The full assertion of Theorem 1.1: at every positive viscosity there is a |
| 147 | candidate whose same prescribed force and zero datum have no global smooth |
| 148 | solution with uniformly bounded kinetic energy. This is a target proposition, |
| 149 | not an asserted theorem. -/ |
| 150 | def breakdownStatement : Prop := |
| 151 | ∀ ν : ℝ, 0 < ν → |
| 152 | ∃ u : VelocityField, ∃ p : PressureField, ∃ f : VelocityField, ∃ K : Set Space, |
| 153 | CandidateProperties ν u p f K ∧ ¬ Nonempty (GlobalFiniteEnergySolution ν f) |
| 154 | |
| 155 | /-- Bundling the witnesses in `Candidate` does not change any hypothesis of |
| 156 | the explicit primary existence assertion. -/ |
| 157 | theorem candidateStatement_iff_nonempty (ν : ℝ) : |
| 158 | candidateStatement ν ↔ Nonempty (Candidate ν) := by |
| 159 | constructor |
| 160 | · rintro ⟨u, p, f, K, h⟩ |
| 161 | exact ⟨⟨u, p, f, K, h⟩⟩ |
| 162 | · rintro ⟨c⟩ |
| 163 | exact ⟨c.velocity, c.pressure, c.force, c.support, c.properties⟩ |
| 164 | |
| 165 | /-- The unit-viscosity residual is exactly the existing differential expression. -/ |
| 166 | @[simp] theorem residual_at_viscosity_one (u : VelocityField) (p : PressureField) |
| 167 | (t : ℝ) (x : Space) : |
| 168 | navierStokesResidual 1 u p t x = |
| 169 | NavierStokes.ProblemStatement.navierStokesResidual u p t x := by |
| 170 | simp [navierStokesResidual, NavierStokes.ProblemStatement.navierStokesResidual] |
| 171 | |
| 172 | /-- The support convention really excludes forcing at every nonpositive time. -/ |
| 173 | theorem CompactPositiveTimeSupport.eq_zero_of_nonpos {f : VelocityField} |
| 174 | (hf : CompactPositiveTimeSupport f) {t : ℝ} (ht : t ≤ 0) (x : Space) : |
| 175 | f (t, x) = 0 := by |
| 176 | apply image_eq_zero_of_notMem_tsupport |
| 177 | intro h |
| 178 | exact (not_lt_of_ge ht) (hf.2 h).1 |
| 179 | |
| 180 | /-- Restricting the set of times preserves the same energy bound. -/ |
| 181 | theorem UniformFiniteEnergy.mono {times shorter : Set ℝ} {u : VelocityField} |
| 182 | (hu : UniformFiniteEnergy times u) (hsub : shorter ⊆ times) : |
| 183 | UniformFiniteEnergy shorter u := by |
| 184 | obtain ⟨E, hE, hu⟩ := hu |
| 185 | exact ⟨E, hE, fun t ht => hu t (hsub ht)⟩ |
| 186 | |
| 187 | /-- Zero velocity and pressure solve the equation for zero force at any |
| 188 | viscosity. This checks that the competing-solution class is inhabited. -/ |
| 189 | theorem zero_force_has_global_solution (ν : ℝ) : |
| 190 | Nonempty (GlobalFiniteEnergySolution ν (fun _ => 0)) := by |
| 191 | refine ⟨{ |
| 192 | velocity := fun _ => 0 |
| 193 | pressure := fun _ => 0 |
| 194 | velocity_smooth := contDiff_const.contDiffOn |
| 195 | pressure_smooth := contDiff_const.contDiffOn |
| 196 | zero_initial_velocity := fun _ => rfl |
| 197 | divergence_free := ?_ |
| 198 | navier_stokes := ?_ |
| 199 | energy_bounded := ?_ |
| 200 | }⟩ |
| 201 | · intro t ht x |
| 202 | simp [NavierStokes.ProblemStatement.spatialDivergence, |
| 203 | NavierStokes.ProblemStatement.spatialDerivative] |
| 204 | · intro t ht x |
| 205 | simp [navierStokesResidual, NavierStokes.ProblemStatement.temporalDerivative, |
| 206 | NavierStokes.ProblemStatement.advection, |
| 207 | NavierStokes.ProblemStatement.spatialLaplacian, |
| 208 | NavierStokes.ProblemStatement.spatialDerivative, |
| 209 | NavierStokes.ProblemStatement.pressureGradient] |
| 210 | · refine ⟨0, le_refl 0, ?_⟩ |
| 211 | intro t ht |
| 212 | constructor |
| 213 | · simp [SquareIntegrableAtTime] |
| 214 | · simp [kineticEnergy] |
| 215 | |
| 216 | /-- The full target contains the primary candidate-existence target. -/ |
| 217 | theorem breakdown_implies_core (h : breakdownStatement) : coreBreakdownStatement := by |
| 218 | intro ν hν |
| 219 | obtain ⟨u, p, f, K, hc, _⟩ := h ν hν |
| 220 | exact ⟨u, p, f, K, hc⟩ |
| 221 | |
| 222 | end NavierStokesR3.ProblemStatement |