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.PeriodicUniqueness |
| 2 | |
| 3 | /-! |
| 4 | # Conditional maximal classical lifespan of the candidate |
| 5 | |
| 6 | An actual `CandidateProperties` witness has maximal classical lifespan one. |
| 7 | The proof uses the proved periodic uniqueness theorem and a compactness bound |
| 8 | for a continuous periodic field across time one. It assumes no general |
| 9 | Navier--Stokes existence theorem and never identifies pressure gauges. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open Set |
| 15 | open scoped Topology ContDiff |
| 16 | |
| 17 | namespace NavierStokes.MaximalLifespan |
| 18 | |
| 19 | open ProblemStatement PeriodicIntegration |
| 20 | |
| 21 | noncomputable def lifespanDomain (T : ℝ) : Set SpaceTime := Ico 0 T ×ˢ univ |
| 22 | |
| 23 | /-- A finite, positive classical lifespan for the exact viscosity-one PDE. |
| 24 | The initial datum is an actual spatial velocity field. Pressures are retained |
| 25 | as witnesses but are never required to agree with a different gauge. -/ |
| 26 | structure ClassicalSolution (f : VelocityField) (initial : Space → Space) |
| 27 | (T : ℝ) (u : VelocityField) (p : PressureField) : Prop where |
| 28 | lifespan_pos : 0 < T |
| 29 | velocity_smooth : ContDiffOn ℝ ∞ u (lifespanDomain T) |
| 30 | pressure_smooth : ContDiffOn ℝ ∞ p (lifespanDomain T) |
| 31 | velocity_periodic : UnitSpatialPeriodsOn (Ico (0 : ℝ) T) u |
| 32 | pressure_periodic : UnitSpatialPeriodsOn (Ico (0 : ℝ) T) p |
| 33 | initial_velocity : ∀ x : Space, u (0, x) = initial x |
| 34 | divergence_free : ∀ t ∈ Ico (0 : ℝ) T, ∀ x : Space, spatialDivergence u t x = 0 |
| 35 | navier_stokes : ∀ t ∈ Ioo (0 : ℝ) T, ∀ x : Space, |
| 36 | navierStokesResidual u p t x = f (t, x) |
| 37 | |
| 38 | noncomputable def VelocityAgreesOn (T : ℝ) (u v : VelocityField) : Prop := |
| 39 | ∀ t ∈ Ico (0 : ℝ) T, ∀ x : Space, u (t, x) = v (t, x) |
| 40 | |
| 41 | /-- An extension has a strictly larger time interval and preserves the |
| 42 | velocity on the entire original interval. Its pressure may have a different |
| 43 | time-dependent spatially constant normalization. -/ |
| 44 | noncomputable def HasClassicalExtension (f : VelocityField) (initial : Space → Space) |
| 45 | (T : ℝ) (u : VelocityField) : Prop := |
| 46 | ∃ S : ℝ, ∃ v : VelocityField, ∃ q : PressureField, |
| 47 | T < S ∧ ClassicalSolution f initial S v q ∧ VelocityAgreesOn T u v |
| 48 | |
| 49 | noncomputable def IsMaximalClassicalSolution (f : VelocityField) (initial : Space → Space) |
| 50 | (T : ℝ) (u : VelocityField) (p : PressureField) : Prop := |
| 51 | ClassicalSolution f initial T u p ∧ ¬HasClassicalExtension f initial T u |
| 52 | |
| 53 | /-- The actual set of finite positive times supported by classical solutions |
| 54 | for the fixed force and initial datum. No existence is built into the definition. -/ |
| 55 | noncomputable def admissibleLifespans (f : VelocityField) (initial : Space → Space) : Set ℝ := |
| 56 | {T | ∃ u : VelocityField, ∃ p : PressureField, ClassicalSolution f initial T u p} |
| 57 | |
| 58 | theorem ClassicalSolution.restrict {f : VelocityField} {initial : Space → Space} |
| 59 | {S T : ℝ} {u : VelocityField} {p : PressureField} |
| 60 | (h : ClassicalSolution f initial T u p) (hS : 0 < S) (hST : S ≤ T) : |
| 61 | ClassicalSolution f initial S u p := by |
| 62 | have hsub : lifespanDomain S ⊆ lifespanDomain T := by |
| 63 | intro z hz |
| 64 | exact ⟨⟨hz.1.1, hz.1.2.trans_le hST⟩, hz.2⟩ |
| 65 | refine ⟨hS, h.velocity_smooth.mono hsub, h.pressure_smooth.mono hsub, ?_, ?_, |
| 66 | h.initial_velocity, ?_, ?_⟩ |
| 67 | · intro t ht x i |
| 68 | exact h.velocity_periodic t ⟨ht.1, ht.2.trans_le hST⟩ x i |
| 69 | · intro t ht x i |
| 70 | exact h.pressure_periodic t ⟨ht.1, ht.2.trans_le hST⟩ x i |
| 71 | · intro t ht x |
| 72 | exact h.divergence_free t ⟨ht.1, ht.2.trans_le hST⟩ x |
| 73 | · intro t ht x |
| 74 | exact h.navier_stokes t ⟨ht.1, ht.2.trans_le hST⟩ x |
| 75 | |
| 76 | /-- Any two actual classical solutions agree on their common interval. |
| 77 | This is derived by restriction to each compact subinterval and the proved |
| 78 | energy uniqueness theorem. Only velocity equality is asserted. -/ |
| 79 | theorem ClassicalSolution.agree_on_overlap {f : VelocityField} {initial : Space → Space} |
| 80 | {T S : ℝ} {u v : VelocityField} {p q : PressureField} |
| 81 | (hu : ClassicalSolution f initial T u p) (hv : ClassicalSolution f initial S v q) : |
| 82 | VelocityAgreesOn (min T S) u v := by |
| 83 | intro t ht x |
| 84 | have htT : t < T := (lt_min_iff.mp ht.2).1 |
| 85 | have htS : t < S := (lt_min_iff.mp ht.2).2 |
| 86 | have hsubT : PeriodicUniqueness.slab 0 t ⊆ lifespanDomain T := by |
| 87 | intro z hz |
| 88 | exact ⟨⟨hz.1.1, hz.1.2.trans_lt htT⟩, hz.2⟩ |
| 89 | have hsubS : PeriodicUniqueness.slab 0 t ⊆ lifespanDomain S := by |
| 90 | intro z hz |
| 91 | exact ⟨⟨hz.1.1, hz.1.2.trans_lt htS⟩, hz.2⟩ |
| 92 | have hcompact : ∀ r ∈ Icc (0 : ℝ) t, ∀ y : Space, u (r, y) = v (r, y) := by |
| 93 | apply PeriodicUniqueness.classical_uniqueness_on_Icc |
| 94 | (hu.velocity_smooth.mono hsubT) (hv.velocity_smooth.mono hsubS) |
| 95 | (hu.pressure_smooth.mono hsubT) (hv.pressure_smooth.mono hsubS) |
| 96 | · intro r hr y i |
| 97 | exact hu.velocity_periodic r ⟨hr.1, hr.2.trans_lt htT⟩ y i |
| 98 | · intro r hr y i |
| 99 | exact hv.velocity_periodic r ⟨hr.1, hr.2.trans_lt htS⟩ y i |
| 100 | · intro r hr y i |
| 101 | exact hu.pressure_periodic r ⟨hr.1, hr.2.trans_lt htT⟩ y i |
| 102 | · intro r hr y i |
| 103 | exact hv.pressure_periodic r ⟨hr.1, hr.2.trans_lt htS⟩ y i |
| 104 | · intro r hr y |
| 105 | exact hu.divergence_free r ⟨hr.1.le, hr.2.trans htT⟩ y |
| 106 | · intro r hr y |
| 107 | exact hv.divergence_free r ⟨hr.1.le, hr.2.trans htS⟩ y |
| 108 | · intro r hr y |
| 109 | exact hu.navier_stokes r ⟨hr.1, hr.2.trans htT⟩ y |
| 110 | · intro r hr y |
| 111 | exact hv.navier_stokes r ⟨hr.1, hr.2.trans htS⟩ y |
| 112 | · intro y |
| 113 | exact (hu.initial_velocity y).trans (hv.initial_velocity y).symm |
| 114 | exact hcompact t ⟨ht.1, le_rfl⟩ x |
| 115 | |
| 116 | theorem candidate_is_classical_solution {u : VelocityField} {p : PressureField} |
| 117 | {f : VelocityField} (h : CandidateProperties u p f) : |
| 118 | ClassicalSolution f (fun _ => 0) 1 u p := |
| 119 | ⟨zero_lt_one, h.velocity_smooth, h.pressure_smooth, h.velocity_periodic, |
| 120 | h.pressure_periodic, h.zero_initial_velocity, h.divergence_free, h.navier_stokes⟩ |
| 121 | |
| 122 | theorem candidate_agree_on_overlap {u v : VelocityField} {p q : PressureField} |
| 123 | {f : VelocityField} {T : ℝ} (h : CandidateProperties u p f) |
| 124 | (hv : ClassicalSolution f (fun _ => 0) T v q) : |
| 125 | VelocityAgreesOn (min T 1) v u := |
| 126 | hv.agree_on_overlap (candidate_is_classical_solution h) |
| 127 | |
| 128 | /-- Compactness bounds a relatively continuous periodic field on an entire |
| 129 | closed time slab, uniformly over all spatial points. -/ |
| 130 | theorem periodic_bound_on_slab {V : Type*} [NormedAddCommGroup V] |
| 131 | {g : SpaceTime → V} {a b : ℝ} |
| 132 | (hg : ContinuousOn g (Icc a b ×ˢ (univ : Set Space))) |
| 133 | (hperiod : UnitSpatialPeriodsOn (Icc a b) g) : |
| 134 | ∃ B : ℝ, 0 < B ∧ ∀ t ∈ Icc a b, ∀ x : Space, ‖g (t, x)‖ ≤ B := by |
| 135 | have hK : IsCompact (toSpace '' cube) := |
| 136 | (show IsCompact cube from isCompact_Icc).image toSpace.continuous |
| 137 | have hgK : ContinuousOn g (Icc a b ×ˢ (toSpace '' cube)) := |
| 138 | hg.mono (fun z hz => ⟨hz.1, mem_univ z.2⟩) |
| 139 | obtain ⟨B, hB⟩ := (isCompact_Icc.prod hK).exists_bound_of_continuousOn hgK |
| 140 | refine ⟨max B 1, lt_of_lt_of_le zero_lt_one (le_max_right _ _), ?_⟩ |
| 141 | intro t ht x |
| 142 | obtain ⟨z, hz, hzx⟩ := PeriodicUniqueness.exists_cube_representative |
| 143 | (f := fun y : Space => g (t, y)) (fun i y => hperiod t ht y i) x |
| 144 | have hzK : z ∈ toSpace '' cube := by |
| 145 | refine ⟨toSpace.symm z, ?_, toSpace.apply_symm_apply z⟩ |
| 146 | exact ⟨fun i => (hz i).1, fun i => (hz i).2⟩ |
| 147 | calc |
| 148 | ‖g (t, x)‖ = ‖g (t, z)‖ := congrArg norm hzx.symm |
| 149 | _ ≤ B := hB (t, z) ⟨ht, hzK⟩ |
| 150 | _ ≤ max B 1 := le_max_left _ _ |
| 151 | |
| 152 | /-- Unbounded speed rules out even a continuous periodic extension through |
| 153 | time one, once agreement with the original field is known. -/ |
| 154 | theorem unbounded_excludes_continuous_extension {u v : VelocityField} |
| 155 | (h : SpeedUnboundedAtOne u) |
| 156 | (hv : ContinuousOn v (Icc (0 : ℝ) 1 ×ˢ (univ : Set Space))) |
| 157 | (hpv : UnitSpatialPeriodsOn (Icc (0 : ℝ) 1) v) |
| 158 | (hagrees : VelocityAgreesOn 1 u v) : False := by |
| 159 | obtain ⟨B, _, hB⟩ := periodic_bound_on_slab hv hpv |
| 160 | apply unbounded_speed_excludes_uniform_bound h |
| 161 | refine ⟨B, ?_⟩ |
| 162 | intro t ht x |
| 163 | rw [hagrees t ht x] |
| 164 | exact hB t ⟨ht.1, ht.2.le⟩ x |
| 165 | |
| 166 | /-- No classical solution for the same force and datum can have lifespan |
| 167 | larger than one. Uniqueness supplies the required pre-one agreement. -/ |
| 168 | theorem candidate_no_solution_after_one {u v : VelocityField} {p q : PressureField} |
| 169 | {f : VelocityField} {T : ℝ} (h : CandidateProperties u p f) (hT : 1 < T) |
| 170 | (hv : ClassicalSolution f (fun _ => 0) T v q) : False := by |
| 171 | have hsub : Icc (0 : ℝ) 1 ×ˢ (univ : Set Space) ⊆ lifespanDomain T := by |
| 172 | intro z hz |
| 173 | exact ⟨⟨hz.1.1, hz.1.2.trans_lt hT⟩, hz.2⟩ |
| 174 | apply unbounded_excludes_continuous_extension h.speed_unbounded |
| 175 | (hv.velocity_smooth.continuousOn.mono hsub) |
| 176 | · intro t ht x i |
| 177 | exact hv.velocity_periodic t ⟨ht.1, ht.2.trans_lt hT⟩ x i |
| 178 | · intro t ht x |
| 179 | exact (candidate_agree_on_overlap h hv t |
| 180 | ⟨ht.1, lt_min (ht.2.trans hT) ht.2⟩ x).symm |
| 181 | |
| 182 | theorem candidate_all_lifespans_le_one {u v : VelocityField} {p q : PressureField} |
| 183 | {f : VelocityField} {T : ℝ} (h : CandidateProperties u p f) |
| 184 | (hv : ClassicalSolution f (fun _ => 0) T v q) : T ≤ 1 := by |
| 185 | by_contra hnot |
| 186 | exact candidate_no_solution_after_one h (lt_of_not_ge hnot) hv |
| 187 | |
| 188 | /-- The given lifespan-one solution is maximal under extension of its |
| 189 | velocity. No literal equality between pressure representatives is required. -/ |
| 190 | theorem candidate_is_maximal {u : VelocityField} {p : PressureField} |
| 191 | {f : VelocityField} (h : CandidateProperties u p f) : |
| 192 | IsMaximalClassicalSolution f (fun _ => 0) 1 u p := by |
| 193 | refine ⟨candidate_is_classical_solution h, ?_⟩ |
| 194 | rintro ⟨T, v, q, hT, hv, _⟩ |
| 195 | exact candidate_no_solution_after_one h hT hv |
| 196 | |
| 197 | /-- Any shorter classical solution extends by the actual candidate field. -/ |
| 198 | theorem candidate_extends_shorter_solution {u v : VelocityField} {p q : PressureField} |
| 199 | {f : VelocityField} {T : ℝ} (h : CandidateProperties u p f) |
| 200 | (hv : ClassicalSolution f (fun _ => 0) T v q) (hT : T < 1) : |
| 201 | HasClassicalExtension f (fun _ => 0) T v := by |
| 202 | refine ⟨1, u, p, hT, candidate_is_classical_solution h, ?_⟩ |
| 203 | simpa only [min_eq_left hT.le] using candidate_agree_on_overlap h hv |
| 204 | |
| 205 | /-- Every maximal classical solution for these data has exactly lifespan one. -/ |
| 206 | theorem maximal_lifespan_eq_one {u v : VelocityField} {p q : PressureField} |
| 207 | {f : VelocityField} {T : ℝ} (h : CandidateProperties u p f) |
| 208 | (hv : IsMaximalClassicalSolution f (fun _ => 0) T v q) : T = 1 := by |
| 209 | have hle := candidate_all_lifespans_le_one h hv.1 |
| 210 | apply le_antisymm hle |
| 211 | by_contra hnot |
| 212 | exact hv.2 (candidate_extends_shorter_solution h hv.1 (lt_of_not_ge hnot)) |
| 213 | |
| 214 | /-- There is a greatest admissible finite classical lifespan, and it is one. |
| 215 | Existence at that time comes solely from the supplied candidate witness. -/ |
| 216 | theorem candidate_greatest_lifespan {u : VelocityField} {p : PressureField} |
| 217 | {f : VelocityField} (h : CandidateProperties u p f) : |
| 218 | IsGreatest (admissibleLifespans f (fun _ => 0)) 1 := by |
| 219 | refine ⟨⟨u, p, candidate_is_classical_solution h⟩, ?_⟩ |
| 220 | rintro T ⟨v, q, hv⟩ |
| 221 | exact candidate_all_lifespans_le_one h hv |
| 222 | |
| 223 | /-- The entire set of finite admissible classical lifespans is `(0,1]`. -/ |
| 224 | theorem candidate_admissible_lifespans {u : VelocityField} {p : PressureField} |
| 225 | {f : VelocityField} (h : CandidateProperties u p f) : |
| 226 | admissibleLifespans f (fun _ => 0) = Ioc (0 : ℝ) 1 := by |
| 227 | ext T |
| 228 | constructor |
| 229 | · rintro ⟨v, q, hv⟩ |
| 230 | exact ⟨hv.lifespan_pos, candidate_all_lifespans_le_one h hv⟩ |
| 231 | · intro ht |
| 232 | exact ⟨u, p, (candidate_is_classical_solution h).restrict ht.1 ht.2⟩ |
| 233 | |
| 234 | /-- A global classical solution would restrict to a forbidden lifespan |
| 235 | greater than one. This makes the exclusion of infinite-time continuation |
| 236 | explicit without assuming any existence theorem. -/ |
| 237 | theorem candidate_excludes_global_solution {u v : VelocityField} {p q : PressureField} |
| 238 | {f : VelocityField} (h : CandidateProperties u p f) |
| 239 | (hv : ContDiffOn ℝ ∞ v futureDomain) (hq : ContDiffOn ℝ ∞ q futureDomain) |
| 240 | (hpv : UnitSpatialPeriodsOn (Ici (0 : ℝ)) v) |
| 241 | (hpq : UnitSpatialPeriodsOn (Ici (0 : ℝ)) q) |
| 242 | (hvzero : ∀ x : Space, v (0, x) = 0) |
| 243 | (hdv : ∀ t : ℝ, 0 ≤ t → ∀ x : Space, spatialDivergence v t x = 0) |
| 244 | (hNSv : ∀ t : ℝ, 0 < t → ∀ x : Space, navierStokesResidual v q t x = f (t, x)) : |
| 245 | False := by |
| 246 | have hsub : lifespanDomain 2 ⊆ futureDomain := by |
| 247 | intro z hz |
| 248 | exact ⟨hz.1.1, hz.2⟩ |
| 249 | apply candidate_no_solution_after_one h (T := 2) (by norm_num) |
| 250 | refine ⟨by norm_num, hv.mono hsub, hq.mono hsub, ?_, ?_, hvzero, ?_, ?_⟩ |
| 251 | · intro t ht x i |
| 252 | exact hpv t ht.1 x i |
| 253 | · intro t ht x i |
| 254 | exact hpq t ht.1 x i |
| 255 | · intro t ht x |
| 256 | exact hdv t ht.1 x |
| 257 | · intro t ht x |
| 258 | exact hNSv t ht.1 x |
| 259 | |
| 260 | theorem zero_classical_solution_of_zero_force {f : VelocityField} {T : ℝ} |
| 261 | (hT : 0 < T) (hf : ∀ t ∈ Ioo (0 : ℝ) T, ∀ x : Space, f (t, x) = 0) : |
| 262 | ClassicalSolution f (fun _ => 0) T (fun _ => 0) (fun _ => 0) := by |
| 263 | refine ⟨hT, contDiffOn_const, contDiffOn_const, ?_, ?_, fun _ => rfl, ?_, ?_⟩ |
| 264 | · intro t ht x i |
| 265 | rfl |
| 266 | · intro t ht x i |
| 267 | rfl |
| 268 | · intro t ht x |
| 269 | simp [spatialDivergence, spatialDerivative] |
| 270 | · intro t ht x |
| 271 | exact (zero_residual t x).trans (hf t ht x).symm |
| 272 | |
| 273 | /-- The specified force must be nonzero somewhere before the breakdown |
| 274 | time. Otherwise uniqueness identifies the candidate with the zero solution. -/ |
| 275 | theorem candidate_force_nonzero_before_one {u : VelocityField} {p : PressureField} |
| 276 | {f : VelocityField} (h : CandidateProperties u p f) : |
| 277 | ∃ t ∈ Ioo (0 : ℝ) 1, ∃ x : Space, f (t, x) ≠ 0 := by |
| 278 | by_contra hnot |
| 279 | have hf : ∀ t ∈ Ioo (0 : ℝ) 1, ∀ x : Space, f (t, x) = 0 := by |
| 280 | intro t ht x |
| 281 | by_contra hnonzero |
| 282 | exact hnot ⟨t, ht, x, hnonzero⟩ |
| 283 | have hz := zero_classical_solution_of_zero_force zero_lt_one hf |
| 284 | have hagree : VelocityAgreesOn 1 (fun _ => 0) u := by |
| 285 | simpa only [min_self] using candidate_agree_on_overlap h hz |
| 286 | apply unbounded_speed_excludes_uniform_bound h.speed_unbounded |
| 287 | refine ⟨0, ?_⟩ |
| 288 | intro t ht x |
| 289 | rw [← hagree t ht x] |
| 290 | exact norm_zero.le |
| 291 | |
| 292 | end NavierStokes.MaximalLifespan |