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.SmoothCutoffs |
| 2 | import NavierStokes.ResidualCalculus |
| 3 | import NavierStokes.ProblemStatement |
| 4 | |
| 5 | /-! |
| 6 | # Time localization of the actual presingular fields |
| 7 | |
| 8 | The velocity and pressure are multiplied by the constructed smooth switch from |
| 9 | `SmoothCutoffs`. This gives zero initial velocity without an initial-value |
| 10 | assumption on the original field. The divergence, residual and blowup claims |
| 11 | below use the concrete operators and quantified blowup definition from |
| 12 | `ProblemStatement`. |
| 13 | |
| 14 | This transformation does not construct the incoming singular fields or a smooth |
| 15 | global force extension. It supplies the time-switch portion of Proposition 11.4. |
| 16 | -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | open Set Filter |
| 21 | open scoped Topology ContDiff |
| 22 | |
| 23 | namespace NavierStokes.TimeLocalization |
| 24 | |
| 25 | open ProblemStatement SmoothCutoffs ResidualCalculus |
| 26 | |
| 27 | def activatedVelocity (u : VelocityField) : VelocityField := |
| 28 | fun z => timeSwitch z.1 • u z |
| 29 | |
| 30 | def activatedPressure (p : PressureField) : PressureField := |
| 31 | fun z => timeSwitch z.1 * p z |
| 32 | |
| 33 | theorem activatedVelocity_smooth (u : VelocityField) |
| 34 | (hu : ContDiffOn ℝ ∞ u preSingularDomain) : |
| 35 | ContDiffOn ℝ ∞ (activatedVelocity u) preSingularDomain := |
| 36 | (timeSwitch_contDiff.comp contDiff_fst).contDiffOn.smul hu |
| 37 | |
| 38 | theorem activatedPressure_smooth (p : PressureField) |
| 39 | (hp : ContDiffOn ℝ ∞ p preSingularDomain) : |
| 40 | ContDiffOn ℝ ∞ (activatedPressure p) preSingularDomain := |
| 41 | (timeSwitch_contDiff.comp contDiff_fst).contDiffOn.mul hp |
| 42 | |
| 43 | theorem activatedVelocity_periodic (u : VelocityField) (times : Set ℝ) |
| 44 | (hu : UnitSpatialPeriodsOn times u) : |
| 45 | UnitSpatialPeriodsOn times (activatedVelocity u) := by |
| 46 | intro t ht x i |
| 47 | change timeSwitch t • u (t, x + coordinateVector i) = timeSwitch t • u (t, x) |
| 48 | rw [hu t ht x i] |
| 49 | |
| 50 | theorem activatedPressure_periodic (p : PressureField) (times : Set ℝ) |
| 51 | (hp : UnitSpatialPeriodsOn times p) : |
| 52 | UnitSpatialPeriodsOn times (activatedPressure p) := by |
| 53 | intro t ht x i |
| 54 | change timeSwitch t * p (t, x + coordinateVector i) = timeSwitch t * p (t, x) |
| 55 | rw [hp t ht x i] |
| 56 | |
| 57 | theorem activatedVelocity_zero_early (u : VelocityField) {t : ℝ} |
| 58 | (ht : |t| ≤ 3 / 8) (x : Space) : activatedVelocity u (t, x) = 0 := by |
| 59 | simp only [activatedVelocity, timeSwitch_zero_of_abs_le ht, zero_smul] |
| 60 | |
| 61 | theorem activatedPressure_zero_early (p : PressureField) {t : ℝ} |
| 62 | (ht : |t| ≤ 3 / 8) (x : Space) : activatedPressure p (t, x) = 0 := by |
| 63 | simp only [activatedPressure, timeSwitch_zero_of_abs_le ht, zero_mul] |
| 64 | |
| 65 | /-- No hypothesis on `u (0,x)` is required. -/ |
| 66 | theorem activatedVelocity_zero_initial (u : VelocityField) (x : Space) : |
| 67 | activatedVelocity u (0, x) = 0 := |
| 68 | activatedVelocity_zero_early u (by norm_num) x |
| 69 | |
| 70 | theorem activatedPressure_zero_initial (p : PressureField) (x : Space) : |
| 71 | activatedPressure p (0, x) = 0 := |
| 72 | activatedPressure_zero_early p (by norm_num) x |
| 73 | |
| 74 | theorem activatedVelocity_eq_late (u : VelocityField) {t : ℝ} |
| 75 | (ht : 3 / 4 ≤ t) (x : Space) : activatedVelocity u (t, x) = u (t, x) := by |
| 76 | simp only [activatedVelocity, timeSwitch_one_of_three_quarters_le ht, one_smul] |
| 77 | |
| 78 | theorem activatedPressure_eq_late (p : PressureField) {t : ℝ} |
| 79 | (ht : 3 / 4 ≤ t) (x : Space) : activatedPressure p (t, x) = p (t, x) := by |
| 80 | simp only [activatedPressure, timeSwitch_one_of_three_quarters_le ht, one_mul] |
| 81 | |
| 82 | /-- The entire spacetime field agrees locally, so all its existing local jets |
| 83 | agree at every time strictly later than `3/4`. -/ |
| 84 | theorem activatedVelocity_eventuallyEq_late (u : VelocityField) {t : ℝ} |
| 85 | (ht : 3 / 4 < t) (x : Space) : activatedVelocity u =ᶠ[𝓝 (t, x)] u := by |
| 86 | have hs : (fun z : SpaceTime => timeSwitch z.1) =ᶠ[𝓝 (t, x)] (fun _ => 1) := |
| 87 | (timeSwitch_eventually_one ht).comp_tendsto continuous_fst.continuousAt |
| 88 | filter_upwards [hs] with z hz |
| 89 | simp only [activatedVelocity, hz, one_smul] |
| 90 | |
| 91 | theorem activatedPressure_eventuallyEq_late (p : PressureField) {t : ℝ} |
| 92 | (ht : 3 / 4 < t) (x : Space) : activatedPressure p =ᶠ[𝓝 (t, x)] p := by |
| 93 | have hs : (fun z : SpaceTime => timeSwitch z.1) =ᶠ[𝓝 (t, x)] (fun _ => 1) := |
| 94 | (timeSwitch_eventually_one ht).comp_tendsto continuous_fst.continuousAt |
| 95 | filter_upwards [hs] with z hz |
| 96 | simp only [activatedPressure, hz, one_mul] |
| 97 | |
| 98 | /-- Restricting to a spatial slice is smooth also at time zero, because the |
| 99 | slice maps entirely into the relative presingular domain. -/ |
| 100 | theorem spatial_smooth_including_initial |
| 101 | {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 102 | (g : SpaceTime → V) (hg : ContDiffOn ℝ ∞ g preSingularDomain) |
| 103 | (t : ℝ) (ht : t ∈ Ico (0 : ℝ) 1) : |
| 104 | ContDiff ℝ ∞ (fun x : Space => g (t, x)) := by |
| 105 | apply contDiffOn_univ.mp |
| 106 | exact hg.comp (contDiff_const.prodMk contDiff_id).contDiffOn (by |
| 107 | intro x _ |
| 108 | exact ⟨ht, mem_univ x⟩) |
| 109 | |
| 110 | theorem activatedVelocity_divergence (u : VelocityField) |
| 111 | (hu : ContDiffOn ℝ ∞ u preSingularDomain) |
| 112 | (t : ℝ) (ht : t ∈ Ico (0 : ℝ) 1) (x : Space) : |
| 113 | spatialDivergence (activatedVelocity u) t x = |
| 114 | timeSwitch t * spatialDivergence u t x := by |
| 115 | change spatialDivergence (fun z => timeSwitch t • u z) t x = _ |
| 116 | exact spatialDivergence_const_smul u t x (timeSwitch t) |
| 117 | ((spatial_smooth_including_initial u hu t ht).differentiable (by simp) x) |
| 118 | |
| 119 | theorem activatedVelocity_divergence_free (u : VelocityField) |
| 120 | (hu : ContDiffOn ℝ ∞ u preSingularDomain) |
| 121 | (hdiv : ∀ t ∈ Ico (0 : ℝ) 1, ∀ x : Space, spatialDivergence u t x = 0) : |
| 122 | ∀ t ∈ Ico (0 : ℝ) 1, ∀ x : Space, |
| 123 | spatialDivergence (activatedVelocity u) t x = 0 := by |
| 124 | intro t ht x |
| 125 | rw [activatedVelocity_divergence u hu t ht x, hdiv t ht x, mul_zero] |
| 126 | |
| 127 | /-- Exact residual of the constructed activation: `χ R + χ' u + (χ²-χ)(u·∇)u`. -/ |
| 128 | theorem activated_residual_formula (u : VelocityField) (p : PressureField) |
| 129 | (hu : ContDiffOn ℝ ∞ u preSingularDomain) |
| 130 | (hp : ContDiffOn ℝ ∞ p preSingularDomain) |
| 131 | (t : ℝ) (ht : t ∈ Ioo (0 : ℝ) 1) (x : Space) : |
| 132 | navierStokesResidual (activatedVelocity u) (activatedPressure p) t x = |
| 133 | timeSwitch t • navierStokesResidual u p t x + deriv timeSwitch t • u (t, x) + |
| 134 | (timeSwitch t * timeSwitch t - timeSwitch t) • advection u t x := by |
| 135 | unfold activatedVelocity activatedPressure |
| 136 | simpa only [deriv, smul_eq_mul] using |
| 137 | navierStokesResidual_time_smul u p timeSwitch t x |
| 138 | (timeSwitch_contDiff.differentiable (by simp) t) |
| 139 | (temporal_differentiable_of_presingular_smooth u hu t ht x) |
| 140 | ((spatial_contDiff_of_presingular_smooth u hu t ht).of_le |
| 141 | (WithTop.coe_le_coe.mpr (show (2 : ℕ∞) ≤ ⊤ from le_top))) |
| 142 | ((spatial_contDiff_of_presingular_smooth p hp t ht).differentiable (by simp) x) |
| 143 | |
| 144 | theorem activated_temporalDerivative_eq_late (u : VelocityField) {t : ℝ} |
| 145 | (ht : 3 / 4 < t) (x : Space) : |
| 146 | temporalDerivative (activatedVelocity u) t x = temporalDerivative u t x := by |
| 147 | have he : (fun s : ℝ => activatedVelocity u (s, x)) =ᶠ[𝓝 t] |
| 148 | (fun s : ℝ => u (s, x)) := by |
| 149 | filter_upwards [timeSwitch_eventually_one ht] with s hs |
| 150 | simp only [activatedVelocity, hs, one_smul] |
| 151 | unfold temporalDerivative |
| 152 | rw [he.fderiv_eq] |
| 153 | |
| 154 | /-- Local agreement proves residual agreement without any smoothness assumption |
| 155 | on the original fields. The same concrete derivative operators are used. -/ |
| 156 | theorem activated_residual_eq_late (u : VelocityField) (p : PressureField) |
| 157 | {t : ℝ} (ht : 3 / 4 < t) (x : Space) : |
| 158 | navierStokesResidual (activatedVelocity u) (activatedPressure p) t x = |
| 159 | navierStokesResidual u p t x := by |
| 160 | unfold navierStokesResidual |
| 161 | rw [activated_temporalDerivative_eq_late u ht x] |
| 162 | simp only [advection, spatialLaplacian, spatialDerivative, pressureGradient, |
| 163 | activatedVelocity, activatedPressure, |
| 164 | timeSwitch_one_of_three_quarters_le ht.le, one_smul, one_mul] |
| 165 | |
| 166 | theorem activatedVelocity_norm_le (u : VelocityField) (z : SpaceTime) : |
| 167 | ‖activatedVelocity u z‖ ≤ ‖u z‖ := by |
| 168 | have hs := timeSwitch_mem_Icc z.1 |
| 169 | rw [activatedVelocity, norm_smul, Real.norm_eq_abs, abs_of_nonneg hs.1] |
| 170 | exact mul_le_of_le_one_left (norm_nonneg _) hs.2 |
| 171 | |
| 172 | /-- Activating the field does not remove speed blowup, because the switch is |
| 173 | identically one on the final quarter of the time interval. -/ |
| 174 | theorem activatedVelocity_speed_unbounded (u : VelocityField) |
| 175 | (hu : SpeedUnboundedAtOne u) : SpeedUnboundedAtOne (activatedVelocity u) := by |
| 176 | intro M hM δ hδ |
| 177 | have hsmall : 0 < min δ (1 / 4 : ℝ) := lt_min hδ (by norm_num) |
| 178 | obtain ⟨t, x, ht, hnear, hlarge⟩ := hu M hM (min δ (1 / 4)) hsmall |
| 179 | have hlate : 3 / 4 < t := by |
| 180 | have hmin := min_le_right δ (1 / 4 : ℝ) |
| 181 | linarith |
| 182 | refine ⟨t, x, ht, ?_, ?_⟩ |
| 183 | · have hmin := min_le_left δ (1 / 4 : ℝ) |
| 184 | linarith |
| 185 | · simpa only [activatedVelocity_eq_late u hlate.le x] using hlarge |
| 186 | |
| 187 | theorem activatedVelocity_speed_unbounded_iff (u : VelocityField) : |
| 188 | SpeedUnboundedAtOne (activatedVelocity u) ↔ SpeedUnboundedAtOne u := by |
| 189 | constructor |
| 190 | · intro hu M hM δ hδ |
| 191 | obtain ⟨t, x, ht, hnear, hlarge⟩ := hu M hM δ hδ |
| 192 | exact ⟨t, x, ht, hnear, hlarge.trans_le (activatedVelocity_norm_le u (t, x))⟩ |
| 193 | · exact activatedVelocity_speed_unbounded u |
| 194 | |
| 195 | /-- A constructed pair with zero initial velocity, retaining the incoming |
| 196 | presingular smoothness, periods, divergence constraint and terminal blowup. |
| 197 | The input field is not assumed to vanish initially. -/ |
| 198 | theorem exists_time_localized_pair (u : VelocityField) (p : PressureField) |
| 199 | (hu : ContDiffOn ℝ ∞ u preSingularDomain) |
| 200 | (hp : ContDiffOn ℝ ∞ p preSingularDomain) |
| 201 | (huper : UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) u) |
| 202 | (hpper : UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) p) |
| 203 | (hdiv : ∀ t ∈ Ico (0 : ℝ) 1, ∀ x : Space, spatialDivergence u t x = 0) |
| 204 | (hunbounded : SpeedUnboundedAtOne u) : |
| 205 | ∃ v : VelocityField, ∃ q : PressureField, |
| 206 | ContDiffOn ℝ ∞ v preSingularDomain ∧ |
| 207 | ContDiffOn ℝ ∞ q preSingularDomain ∧ |
| 208 | UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) v ∧ |
| 209 | UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) q ∧ |
| 210 | (∀ x : Space, v (0, x) = 0) ∧ |
| 211 | (∀ t ∈ Ico (0 : ℝ) 1, ∀ x : Space, spatialDivergence v t x = 0) ∧ |
| 212 | SpeedUnboundedAtOne v ∧ |
| 213 | (∀ t : ℝ, 3 / 4 < t → ∀ x : Space, |
| 214 | v (t, x) = u (t, x) ∧ q (t, x) = p (t, x) ∧ |
| 215 | navierStokesResidual v q t x = navierStokesResidual u p t x) := by |
| 216 | refine ⟨activatedVelocity u, activatedPressure p, |
| 217 | activatedVelocity_smooth u hu, activatedPressure_smooth p hp, |
| 218 | activatedVelocity_periodic u _ huper, activatedPressure_periodic p _ hpper, |
| 219 | activatedVelocity_zero_initial u, activatedVelocity_divergence_free u hu hdiv, |
| 220 | activatedVelocity_speed_unbounded u hunbounded, ?_⟩ |
| 221 | intro t ht x |
| 222 | exact ⟨activatedVelocity_eq_late u ht.le x, activatedPressure_eq_late p ht.le x, |
| 223 | activated_residual_eq_late u p ht x⟩ |
| 224 | |
| 225 | end NavierStokes.TimeLocalization |