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

chore(NavierStokes/Past): delete 11 declarations nothing uses
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −77 NavierStokes/PastExtension.lean View file
| @@ -39,11 +39,6 @@ theorem zeroBefore_of_neg (g : SpaceTime → V) {t : ℝ} (ht : t < 0) (x : Spac | ||
| 39 | 39 | zeroBefore g (t, x) = 0 := by |
| 40 | 40 | simp only [zeroBefore, not_le.mpr ht, ite_false] |
| 41 | 41 | |
| 42 | -theorem zeroBefore_eqOn_nonneg (g : SpaceTime → V) : | |
| 43 | - EqOn (zeroBefore g) g (Ici (0 : ℝ) ×ˢ (univ : Set Space)) := by | |
| 44 | - intro z hz | |
| 45 | - exact zeroBefore_of_nonneg g hz.1 z.2 | |
| 46 | - | |
| 47 | 42 | theorem zeroBefore_eventuallyEq_pos {g : SpaceTime → V} {z : SpaceTime} |
| 48 | 43 | (hz : 0 < z.1) : zeroBefore g =ᶠ[𝓝 z] g := by |
| 49 | 44 | have hU : {w : SpaceTime | 0 < w.1} ∈ 𝓝 z := |
| @@ -128,20 +123,6 @@ theorem activatedPressure_zero_germ (p : PressureField) (x : Space) : | ||
| 128 | 123 | filter_upwards [hs] with z hz |
| 129 | 124 | simp only [activatedPressure, hz, zero_mul] |
| 130 | 125 | |
| 131 | -theorem pastVelocity_eq_activated (u : VelocityField) {t : ℝ} (ht : 0 ≤ t) (x : Space) : | |
| 132 | - pastVelocity u (t, x) = activatedVelocity u (t, x) := | |
| 133 | - zeroBefore_of_nonneg _ ht x | |
| 134 | - | |
| 135 | -theorem pastPressure_eq_activated (p : PressureField) {t : ℝ} (ht : 0 ≤ t) (x : Space) : | |
| 136 | - pastPressure p (t, x) = activatedPressure p (t, x) := | |
| 137 | - zeroBefore_of_nonneg _ ht x | |
| 138 | - | |
| 139 | -theorem pastVelocity_zero_negative (u : VelocityField) {t : ℝ} (ht : t < 0) (x : Space) : | |
| 140 | - pastVelocity u (t, x) = 0 := zeroBefore_of_neg _ ht x | |
| 141 | - | |
| 142 | -theorem pastPressure_zero_negative (p : PressureField) {t : ℝ} (ht : t < 0) (x : Space) : | |
| 143 | - pastPressure p (t, x) = 0 := zeroBefore_of_neg _ ht x | |
| 144 | - | |
| 145 | 126 | theorem pastVelocity_smooth (u : VelocityField) |
| 146 | 127 | (hu : ContDiffOn ℝ ∞ u preSingularDomain) : |
| 147 | 128 | ContDiffOn ℝ ∞ (pastVelocity u) pastDomain := |
| @@ -172,14 +153,6 @@ theorem pastPressure_eventuallyEq_activated (p : PressureField) {t : ℝ} | ||
| 172 | 153 | pastPressure p =ᶠ[𝓝 (t, x)] activatedPressure p := |
| 173 | 154 | zeroBefore_eventuallyEq_nonneg (activatedPressure_zero_germ p) ht x |
| 174 | 155 | |
| 175 | -theorem pastVelocity_eq_late (u : VelocityField) {t : ℝ} (ht : 3 / 4 ≤ t) (x : Space) : | |
| 176 | - pastVelocity u (t, x) = u (t, x) := by | |
| 177 | - rw [pastVelocity_eq_activated u (by linarith), activatedVelocity_eq_late u ht] | |
| 178 | - | |
| 179 | -theorem pastPressure_eq_late (p : PressureField) {t : ℝ} (ht : 3 / 4 ≤ t) (x : Space) : | |
| 180 | - pastPressure p (t, x) = p (t, x) := by | |
| 181 | - rw [pastPressure_eq_activated p (by linarith), activatedPressure_eq_late p ht] | |
| 182 | - | |
| 183 | 156 | theorem pastVelocity_eventuallyEq_late (u : VelocityField) {t : ℝ} |
| 184 | 157 | (ht : 3 / 4 < t) (x : Space) : pastVelocity u =ᶠ[𝓝 (t, x)] u := |
| 185 | 158 | (pastVelocity_eventuallyEq_activated u (by linarith) x).trans |
| @@ -190,28 +163,6 @@ theorem pastPressure_eventuallyEq_late (p : PressureField) {t : ℝ} | ||
| 190 | 163 | (pastPressure_eventuallyEq_activated p (by linarith) x).trans |
| 191 | 164 | (activatedPressure_eventuallyEq_late p ht x) |
| 192 | 165 | |
| 193 | -theorem pastVelocity_divergence_free (u : VelocityField) | |
| 194 | - (hu : ContDiffOn ℝ ∞ u preSingularDomain) | |
| 195 | - (hdiv : ∀ t ∈ Ico (0 : ℝ) 1, ∀ x : Space, spatialDivergence u t x = 0) : | |
| 196 | - ∀ t ∈ Iio (1 : ℝ), ∀ x : Space, spatialDivergence (pastVelocity u) t x = 0 := by | |
| 197 | - intro t ht x | |
| 198 | - by_cases hnonneg : 0 ≤ t | |
| 199 | - · have hder := spatialDerivative_congr (pastVelocity_eventuallyEq_activated u hnonneg x) | |
| 200 | - simpa only [spatialDivergence, hder] using | |
| 201 | - activatedVelocity_divergence_free u hu hdiv t ⟨hnonneg, ht⟩ x | |
| 202 | - · have heq : pastVelocity u =ᶠ[𝓝 (t, x)] (fun _ => 0) := | |
| 203 | - zeroBefore_eventually_zero_neg (lt_of_not_ge hnonneg) | |
| 204 | - have hder := spatialDerivative_congr heq | |
| 205 | - simp only [spatialDivergence, hder] | |
| 206 | - simp [spatialDerivative] | |
| 207 | - | |
| 208 | -theorem pastVelocity_speed_unbounded (u : VelocityField) (hu : SpeedUnboundedAtOne u) : | |
| 209 | - SpeedUnboundedAtOne (pastVelocity u) := by | |
| 210 | - intro M hM δ hδ | |
| 211 | - obtain ⟨t, x, ht, hnear, hlarge⟩ := activatedVelocity_speed_unbounded u hu M hM δ hδ | |
| 212 | - refine ⟨t, x, ht, hnear, ?_⟩ | |
| 213 | - simpa only [pastVelocity_eq_activated u ht.1.le] using hlarge | |
| 214 | - | |
| 215 | 166 | /-- The force used by the endpoint theorem is the actual residual of the |
| 216 | 167 | new fields on the entire open past, including negative times. -/ |
| 217 | 168 | def pastResidual (u : VelocityField) (p : PressureField) : VelocityField := |
| @@ -258,11 +209,6 @@ theorem pastResidual_eventuallyEq_late (u : VelocityField) (p : PressureField) | ||
| 258 | 209 | residual_eventuallyEq (pastVelocity_eventuallyEq_late u ht x) |
| 259 | 210 | (pastPressure_eventuallyEq_late p ht x) |
| 260 | 211 | |
| 261 | -theorem pastResidual_eq_late (u : VelocityField) (p : PressureField) | |
| 262 | - {t : ℝ} (ht : 3 / 4 < t) (x : Space) : | |
| 263 | - pastResidual u p (t, x) = navierStokesResidual u p t x := | |
| 264 | - (pastResidual_eventuallyEq_late u p ht x).self_of_nhds | |
| 265 | - | |
| 266 | 212 | /-- Full joint derivative tensors, not only values, retain the terminal germ. -/ |
| 267 | 213 | theorem pastResidual_iteratedFDeriv_eq_late (u : VelocityField) (p : PressureField) |
| 268 | 214 | (n : ℕ) {t : ℝ} (ht : 3 / 4 < t) (x : Space) : |
| @@ -311,27 +257,4 @@ theorem pastResidual_derivative_recurrence (u : VelocityField) (p : PressureFiel | ||
| 311 | 257 | simp only [fderiv_iteratedFDeriv, Function.comp_apply] at hd |
| 312 | 258 | exact hd |
| 313 | 259 | |
| 314 | -/-- A direct adapter to joint endpoint regularity. Only the locally uniform | |
| 315 | -limits near time one remain an analytic input; no negative-time assumptions | |
| 316 | -are imposed on the original velocity or pressure. -/ | |
| 317 | -theorem exists_joint_endpoint_extension_of_residual_limits | |
| 318 | - (u : VelocityField) (p : PressureField) | |
| 319 | - (hu : ContDiffOn ℝ ∞ u preSingularDomain) | |
| 320 | - (hp : ContDiffOn ℝ ∞ p preSingularDomain) | |
| 321 | - (L : Space → FormalMultilinearSeries ℝ SpaceTime Space) | |
| 322 | - (hlim : ∀ n : ℕ, TendstoLocallyUniformly | |
| 323 | - (fun t x => iteratedFDeriv ℝ n (fun z => navierStokesResidual u p z.1 z.2) (t, x)) | |
| 324 | - (fun x => L x n) (𝓝[<] (1 : ℝ))) : | |
| 325 | - ∃ g : VelocityField, EqOn g (pastResidual u p) pastDomain ∧ | |
| 326 | - ContDiffOn ℝ ∞ g (SpacetimeEndpoint.closedPast 1) ∧ | |
| 327 | - ∀ n : ℕ, ∀ x : Space, | |
| 328 | - iteratedFDerivWithin ℝ n g (SpacetimeEndpoint.closedPast 1) (1, x) = L x n := by | |
| 329 | - apply SpacetimeEndpoint.exists_joint_endpoint_extension | |
| 330 | - (J := ftaylorSeries ℝ (pastResidual u p)) | |
| 331 | - · intro z _ | |
| 332 | - rfl | |
| 333 | - · exact pastResidual_derivative_recurrence u p hu hp | |
| 334 | - · intro n | |
| 335 | - exact pastResidual_locallyUniform_limit u p n (fun x => L x n) (hlim n) | |
| 336 | - | |
| 337 | 260 | end NavierStokes.PastExtension |
+23 −0 routes/s1-ns-past-1/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-past-1 | |
| 6 | + | |
| 7 | +One unit of #10 (S-1: delete declarations that nothing uses): the family | |
| 8 | +`NavierStokes/Past*`. Deletes 11 declarations from | |
| 9 | +`NavierStokes/PastExtension.lean` (77 lines, deletions only) that nothing in the | |
| 10 | +tree refers to: `zeroBefore_eqOn_nonneg`, `pastVelocity_eq_activated`, | |
| 11 | +`pastPressure_eq_activated`, `pastVelocity_zero_negative`, | |
| 12 | +`pastPressure_zero_negative`, `pastVelocity_eq_late`, `pastPressure_eq_late`, | |
| 13 | +`pastVelocity_divergence_free`, `pastVelocity_speed_unbounded`, | |
| 14 | +`pastResidual_eq_late`, `exists_joint_endpoint_extension_of_residual_limits`. | |
| 15 | +They come from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, | |
| 16 | +upstream `f9e8bc5`), read again on main `5baf4fe` under this project's rule: | |
| 17 | +no paper result reaches them, none has a docstring citing the paper, and no | |
| 18 | +declaration that stays names them. | |
| 19 | + | |
| 20 | +## Next | |
| 21 | + | |
| 22 | +Await the maintainer's review of the pull request. The rest of Treant's | |
| 23 | +deletions in this family, if any survive on main, are later units. | |