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.PeriodicLocalization |
| 2 | import NavierStokes.SolenoidalDiagonal |
| 3 | import NavierStokes.CylindricalResidual |
| 4 | import NavierStokes.ResidualRegularity |
| 5 | import NavierStokes.TimeLocalization |
| 6 | |
| 7 | /-! |
| 8 | # Spatial localization through actual Cartesian potentials |
| 9 | |
| 10 | The fixed cutoff is a smooth function of `x₀² + x₁²` and `x₂`. It is one |
| 11 | on an open cylinder containing the origin and has support strictly inside a |
| 12 | unit period cube. We multiply the potential before taking any curl, and |
| 13 | periodize the resulting potential by the actual locally finite lattice sum. |
| 14 | The pressure is cut and periodized as a scalar. |
| 15 | |
| 16 | The conclusions concern the spatial construction and the existing time |
| 17 | activation. No terminal residual limit is assumed or asserted here. |
| 18 | -/ |
| 19 | |
| 20 | namespace NavierStokes.SpatialLocalization |
| 21 | |
| 22 | noncomputable section |
| 23 | |
| 24 | open ProblemStatement Set Filter |
| 25 | open AxisymmetricFields (projection) |
| 26 | open scoped ContDiff Topology |
| 27 | |
| 28 | private theorem nat_le_infty (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := |
| 29 | (ENat.natCast_lt_of_coe_top_le_withTop le_rfl n).le |
| 30 | |
| 31 | /-- Squared distance to the symmetry axis, with no square-root singularity. -/ |
| 32 | noncomputable def radialSquare (x : Space) : ℝ := (x 0) ^ 2 + (x 1) ^ 2 |
| 33 | |
| 34 | theorem radialSquare_nonneg (x : Space) : 0 ≤ radialSquare x := |
| 35 | add_nonneg (sq_nonneg _) (sq_nonneg _) |
| 36 | |
| 37 | theorem radialSquare_contDiff : ContDiff ℝ ∞ radialSquare := |
| 38 | ((projection 0).contDiff.pow 2).add ((projection 1).contDiff.pow 2) |
| 39 | |
| 40 | /-- A globally smooth profile in squared radius and axial position. -/ |
| 41 | noncomputable def cutoffProfile (p : ℝ × ℝ) : ℝ := |
| 42 | SmoothCutoffs.cutoff (16 * p.1) * SmoothCutoffs.cutoff (4 * p.2) |
| 43 | |
| 44 | theorem cutoffProfile_contDiff : ContDiff ℝ ∞ cutoffProfile := |
| 45 | (SmoothCutoffs.cutoff_contDiff.comp (contDiff_const.mul contDiff_fst)).mul |
| 46 | (SmoothCutoffs.cutoff_contDiff.comp (contDiff_const.mul contDiff_snd)) |
| 47 | |
| 48 | /-- The explicit spatial cutoff used in both the potential and the pressure. -/ |
| 49 | noncomputable def spatialCutoff (x : Space) : ℝ := |
| 50 | cutoffProfile (radialSquare x, x 2) |
| 51 | |
| 52 | theorem spatialCutoff_contDiff : ContDiff ℝ ∞ spatialCutoff := |
| 53 | cutoffProfile_contDiff.comp (radialSquare_contDiff.prodMk (projection 2).contDiff) |
| 54 | |
| 55 | /-- The closed support cylinder has radius `1/4` and height `1/2`. -/ |
| 56 | noncomputable def supportCylinder : Set Space := |
| 57 | {x | radialSquare x ≤ 1 / 16 ∧ |x 2| ≤ 1 / 4} |
| 58 | |
| 59 | theorem isClosed_supportCylinder : IsClosed supportCylinder := |
| 60 | (isClosed_le radialSquare_contDiff.continuous continuous_const).inter |
| 61 | (isClosed_le (projection 2).continuous.abs continuous_const) |
| 62 | |
| 63 | theorem isCompact_supportCylinder : IsCompact supportCylinder := by |
| 64 | convert! AxisymmetricFields.isCompact_cylinder (1 / 32) (1 / 4) using 1 |
| 65 | ext x |
| 66 | simp only [supportCylinder, Set.mem_ofPred_eq, AxisymmetricFields.radialEnergy, radialSquare] |
| 67 | constructor <;> intro hx <;> constructor |
| 68 | · linarith [hx.1] |
| 69 | · exact hx.2 |
| 70 | · linarith [hx.1] |
| 71 | · exact hx.2 |
| 72 | |
| 73 | theorem spatialCutoff_support_subset : Function.support spatialCutoff ⊆ supportCylinder := by |
| 74 | intro x hx |
| 75 | have hprod : SmoothCutoffs.cutoff (16 * radialSquare x) * |
| 76 | SmoothCutoffs.cutoff (4 * x 2) ≠ 0 := hx |
| 77 | have hr : 16 * radialSquare x < 1 := by |
| 78 | by_contra h |
| 79 | exact (mul_ne_zero_iff.mp hprod).1 |
| 80 | (SmoothCutoffs.cutoff_zero_of_one_le (le_of_not_gt h)) |
| 81 | have hz : |4 * x 2| < 1 := by |
| 82 | by_contra h |
| 83 | exact (mul_ne_zero_iff.mp hprod).2 |
| 84 | (SmoothCutoffs.cutoff_zero_of_one_le_abs (le_of_not_gt h)) |
| 85 | simp only [abs_mul, abs_of_pos (show (0 : ℝ) < 4 by norm_num)] at hz |
| 86 | exact ⟨by linarith, by linarith⟩ |
| 87 | |
| 88 | theorem spatialCutoff_tsupport_subset : tsupport spatialCutoff ⊆ supportCylinder := |
| 89 | closure_minimal spatialCutoff_support_subset isClosed_supportCylinder |
| 90 | |
| 91 | theorem supportCylinder_coordinate_bound {x : Space} (hx : x ∈ supportCylinder) |
| 92 | (i : Fin 3) : |x i| ≤ 1 / 4 := by |
| 93 | have hr := hx.1 |
| 94 | change (x 0) ^ 2 + (x 1) ^ 2 ≤ 1 / 16 at hr |
| 95 | fin_cases i |
| 96 | · change |x 0| ≤ 1 / 4 |
| 97 | have hs : |x 0| ^ 2 ≤ (1 / 4 : ℝ) ^ 2 := by |
| 98 | rw [sq_abs] |
| 99 | nlinarith [sq_nonneg (x 1)] |
| 100 | nlinarith [abs_nonneg (x 0)] |
| 101 | · change |x 1| ≤ 1 / 4 |
| 102 | have hs : |x 1| ^ 2 ≤ (1 / 4 : ℝ) ^ 2 := by |
| 103 | rw [sq_abs] |
| 104 | nlinarith [sq_nonneg (x 0)] |
| 105 | nlinarith [abs_nonneg (x 1)] |
| 106 | · exact hx.2 |
| 107 | |
| 108 | /-- An open cylinder on which the cutoff is identically one. -/ |
| 109 | noncomputable def plateau : Set Space := {x | radialSquare x < 1 / 32 ∧ |x 2| < 1 / 8} |
| 110 | |
| 111 | theorem isOpen_plateau : IsOpen plateau := |
| 112 | (isOpen_lt radialSquare_contDiff.continuous continuous_const).inter |
| 113 | (isOpen_lt (projection 2).continuous.abs continuous_const) |
| 114 | |
| 115 | theorem zero_mem_plateau : (0 : Space) ∈ plateau := by |
| 116 | norm_num [plateau, radialSquare] |
| 117 | |
| 118 | theorem spatialCutoff_eq_one {x : Space} (hx : x ∈ plateau) : spatialCutoff x = 1 := by |
| 119 | have hr : |16 * radialSquare x| ≤ 1 / 2 := by |
| 120 | rw [abs_of_nonneg (mul_nonneg (by norm_num) (radialSquare_nonneg x))] |
| 121 | linarith [hx.1] |
| 122 | have hz : |4 * x 2| ≤ 1 / 2 := by |
| 123 | rw [abs_mul, abs_of_pos (show (0 : ℝ) < 4 by norm_num)] |
| 124 | linarith [hx.2] |
| 125 | simp only [spatialCutoff, cutoffProfile, SmoothCutoffs.cutoff_one_of_abs_le hr, |
| 126 | SmoothCutoffs.cutoff_one_of_abs_le hz, one_mul] |
| 127 | |
| 128 | theorem spatialCutoff_eventually_one {x : Space} (hx : x ∈ plateau) : |
| 129 | spatialCutoff =ᶠ[𝓝 x] (fun _ => 1) := by |
| 130 | filter_upwards [isOpen_plateau.mem_nhds hx] with y hy |
| 131 | exact spatialCutoff_eq_one hy |
| 132 | |
| 133 | theorem plateau_subset_innerCube : plateau ⊆ PeriodicLocalization.innerCube (1 / 4) := by |
| 134 | intro x hx i |
| 135 | have hb : x ∈ supportCylinder := ⟨by linarith [hx.1], by linarith [hx.2]⟩ |
| 136 | have := supportCylinder_coordinate_bound hb i |
| 137 | linarith |
| 138 | |
| 139 | /-- Multiplication of the actual Cartesian potential, before any curl. -/ |
| 140 | noncomputable def cutPotential (A : VelocityField) : VelocityField := |
| 141 | fun z => spatialCutoff z.2 • A z |
| 142 | |
| 143 | noncomputable def cutPressure (p : PressureField) : PressureField := |
| 144 | fun z => spatialCutoff z.2 * p z |
| 145 | |
| 146 | noncomputable def cutVelocity (A : VelocityField) : VelocityField := |
| 147 | SpatialCurl.spatialCurl (cutPotential A) |
| 148 | |
| 149 | theorem cutPotential_supported (A : VelocityField) : |
| 150 | PeriodicLocalization.SupportedInCube (1 / 4) (cutPotential A) := by |
| 151 | intro z hz i |
| 152 | have hc : spatialCutoff z.2 ≠ 0 := by |
| 153 | intro h |
| 154 | exact hz (by simp only [cutPotential, h, zero_smul]) |
| 155 | exact supportCylinder_coordinate_bound (spatialCutoff_support_subset hc) i |
| 156 | |
| 157 | theorem cutPressure_supported (p : PressureField) : |
| 158 | PeriodicLocalization.SupportedInCube (1 / 4) (cutPressure p) := by |
| 159 | intro z hz i |
| 160 | have hc : spatialCutoff z.2 ≠ 0 := by |
| 161 | intro h |
| 162 | exact hz (by simp only [cutPressure, h, zero_mul]) |
| 163 | exact supportCylinder_coordinate_bound (spatialCutoff_support_subset hc) i |
| 164 | |
| 165 | theorem cutVelocity_tsupport (A : VelocityField) (t : ℝ) : |
| 166 | tsupport (fun x => cutVelocity A (t, x)) ⊆ supportCylinder := |
| 167 | (SpatialCurl.tsupport_curl_cutoff_subset spatialCutoff (fun x => A (t, x))).trans |
| 168 | spatialCutoff_tsupport_subset |
| 169 | |
| 170 | /-- The actual lattice sum of the cut potential. -/ |
| 171 | noncomputable def periodicPotential (A : VelocityField) : VelocityField := |
| 172 | PeriodicLocalization.periodize (cutPotential A) |
| 173 | |
| 174 | noncomputable def periodicVelocity (A : VelocityField) : VelocityField := |
| 175 | SpatialCurl.spatialCurl (periodicPotential A) |
| 176 | |
| 177 | noncomputable def periodicPressure (p : PressureField) : PressureField := |
| 178 | PeriodicLocalization.periodize (cutPressure p) |
| 179 | |
| 180 | theorem periodicPotential_smoothOn {A : VelocityField} {times : Set ℝ} |
| 181 | (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) : |
| 182 | ContDiffOn ℝ ∞ (periodicPotential A) (times ×ˢ (univ : Set Space)) := |
| 183 | PeriodicLocalization.contDiffOn_periodize (cutPotential_supported A) |
| 184 | ((spatialCutoff_contDiff.comp contDiff_snd).contDiffOn.smul hA) |
| 185 | |
| 186 | theorem periodicVelocity_smoothOn {A : VelocityField} {times : Set ℝ} |
| 187 | (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) : |
| 188 | ContDiffOn ℝ ∞ (periodicVelocity A) (times ×ˢ (univ : Set Space)) := |
| 189 | SpatialCurl.contDiffOn_spatialCurl (periodicPotential_smoothOn hA) (by simp) |
| 190 | |
| 191 | theorem periodicPressure_smoothOn {p : PressureField} {times : Set ℝ} |
| 192 | (hp : ContDiffOn ℝ ∞ p (times ×ˢ (univ : Set Space))) : |
| 193 | ContDiffOn ℝ ∞ (periodicPressure p) (times ×ˢ (univ : Set Space)) := |
| 194 | PeriodicLocalization.contDiffOn_periodize (cutPressure_supported p) |
| 195 | ((spatialCutoff_contDiff.comp contDiff_snd).contDiffOn.mul hp) |
| 196 | |
| 197 | theorem periodicPotential_periodic (A : VelocityField) (times : Set ℝ) : |
| 198 | UnitSpatialPeriodsOn times (periodicPotential A) := |
| 199 | PeriodicLocalization.unitSpatialPeriodsOn_periodize (cutPotential A) times |
| 200 | |
| 201 | theorem periodicVelocity_periodic (A : VelocityField) (times : Set ℝ) : |
| 202 | UnitSpatialPeriodsOn times (periodicVelocity A) := |
| 203 | SpatialCurl.spatialCurl_periodic (periodicPotential_periodic A times) |
| 204 | |
| 205 | theorem periodicPressure_periodic (p : PressureField) (times : Set ℝ) : |
| 206 | UnitSpatialPeriodsOn times (periodicPressure p) := |
| 207 | PeriodicLocalization.unitSpatialPeriodsOn_periodize (cutPressure p) times |
| 208 | |
| 209 | theorem periodicVelocity_divergence_free {A : VelocityField} {times : Set ℝ} |
| 210 | (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) {t : ℝ} |
| 211 | (ht : t ∈ times) (x : Space) : spatialDivergence (periodicVelocity A) t x = 0 := |
| 212 | SpatialCurl.spatialDivergence_spatialCurl_on |
| 213 | ((periodicPotential_smoothOn hA).of_le (nat_le_infty 2)) ht x |
| 214 | |
| 215 | /-- Throughout the central no-overlap cube, periodization agrees locally |
| 216 | with the actual cut field, including its cutoff derivative terms. -/ |
| 217 | theorem periodicVelocity_eventuallyEq_cut (A : VelocityField) {z : SpaceTime} |
| 218 | (hz : z.2 ∈ PeriodicLocalization.innerCube (1 / 4)) : |
| 219 | periodicVelocity A =ᶠ[𝓝 z] cutVelocity A := |
| 220 | SolenoidalDiagonal.spatialCurl_eventuallyEq |
| 221 | (PeriodicLocalization.periodize_eventuallyEq (cutPotential_supported A) hz) |
| 222 | |
| 223 | theorem periodicPressure_eventuallyEq_cut (p : PressureField) {z : SpaceTime} |
| 224 | (hz : z.2 ∈ PeriodicLocalization.innerCube (1 / 4)) : |
| 225 | periodicPressure p =ᶠ[𝓝 z] cutPressure p := |
| 226 | PeriodicLocalization.periodize_eventuallyEq (cutPressure_supported p) hz |
| 227 | |
| 228 | theorem periodic_residual_eventuallyEq_cut (A : VelocityField) (p : PressureField) |
| 229 | {z : SpaceTime} (hz : z.2 ∈ PeriodicLocalization.innerCube (1 / 4)) : |
| 230 | (fun w => navierStokesResidual (periodicVelocity A) (periodicPressure p) w.1 w.2) |
| 231 | =ᶠ[𝓝 z] (fun w => navierStokesResidual (cutVelocity A) (cutPressure p) w.1 w.2) := |
| 232 | ResidualRegularity.residual_eventuallyEq (periodicVelocity_eventuallyEq_cut A hz) |
| 233 | (periodicPressure_eventuallyEq_cut p hz) |
| 234 | |
| 235 | theorem cutPotential_eventuallyEq (A : VelocityField) {z : SpaceTime} |
| 236 | (hz : z.2 ∈ plateau) : cutPotential A =ᶠ[𝓝 z] A := by |
| 237 | have he := (spatialCutoff_eventually_one hz).comp_tendsto continuous_snd.continuousAt |
| 238 | filter_upwards [he] with w hw |
| 239 | change spatialCutoff w.2 = 1 at hw |
| 240 | simp only [cutPotential, hw, one_smul] |
| 241 | |
| 242 | theorem cutPressure_eventuallyEq (p : PressureField) {z : SpaceTime} |
| 243 | (hz : z.2 ∈ plateau) : cutPressure p =ᶠ[𝓝 z] p := by |
| 244 | have he := (spatialCutoff_eventually_one hz).comp_tendsto continuous_snd.continuousAt |
| 245 | filter_upwards [he] with w hw |
| 246 | change spatialCutoff w.2 = 1 at hw |
| 247 | simp only [cutPressure, hw, one_mul] |
| 248 | |
| 249 | /-- Local equality includes all nearby physical times and all spatial directions. -/ |
| 250 | theorem periodicPotential_eventuallyEq (A : VelocityField) {z : SpaceTime} |
| 251 | (hz : z.2 ∈ plateau) : periodicPotential A =ᶠ[𝓝 z] A := |
| 252 | (PeriodicLocalization.periodize_eventuallyEq (cutPotential_supported A) |
| 253 | (plateau_subset_innerCube hz)).trans (cutPotential_eventuallyEq A hz) |
| 254 | |
| 255 | theorem periodicVelocity_eventuallyEq (A : VelocityField) {z : SpaceTime} |
| 256 | (hz : z.2 ∈ plateau) : periodicVelocity A =ᶠ[𝓝 z] SpatialCurl.spatialCurl A := |
| 257 | SolenoidalDiagonal.spatialCurl_eventuallyEq (periodicPotential_eventuallyEq A hz) |
| 258 | |
| 259 | theorem periodicVelocity_eq (A : VelocityField) {z : SpaceTime} (hz : z.2 ∈ plateau) : |
| 260 | periodicVelocity A z = SpatialCurl.spatialCurl A z := |
| 261 | (periodicVelocity_eventuallyEq A hz).self_of_nhds |
| 262 | |
| 263 | /-- The previously constructed time switch is applied to the spatially |
| 264 | localized fields. It is independent of the spatial variables. -/ |
| 265 | noncomputable def localizedVelocity (A : VelocityField) : VelocityField := |
| 266 | TimeLocalization.activatedVelocity (periodicVelocity A) |
| 267 | |
| 268 | noncomputable def localizedPressure (p : PressureField) : PressureField := |
| 269 | TimeLocalization.activatedPressure (periodicPressure p) |
| 270 | |
| 271 | theorem localizedVelocity_eq (A : VelocityField) {z : SpaceTime} |
| 272 | (ht : 3 / 4 ≤ z.1) (hz : z.2 ∈ plateau) : |
| 273 | localizedVelocity A z = SpatialCurl.spatialCurl A z := by |
| 274 | rw [localizedVelocity, TimeLocalization.activatedVelocity_eq_late _ ht, |
| 275 | periodicVelocity_eq A hz] |
| 276 | |
| 277 | theorem localizedVelocity_origin (A : VelocityField) {t : ℝ} (ht : 3 / 4 ≤ t) : |
| 278 | localizedVelocity A (t, 0) = SpatialCurl.spatialCurl A (t, 0) := |
| 279 | localizedVelocity_eq A ht zero_mem_plateau |
| 280 | |
| 281 | theorem localizedVelocity_origin_blowup (A : VelocityField) |
| 282 | (hA : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) (𝓝[<] 1) atTop) : |
| 283 | Tendsto (fun t : ℝ => ‖localizedVelocity A (t, 0)‖) (𝓝[<] 1) atTop := by |
| 284 | apply hA.congr' |
| 285 | have hlate : ∀ᶠ t in 𝓝[<] (1 : ℝ), 3 / 4 < t := |
| 286 | mem_nhdsWithin_of_mem_nhds (Ioi_mem_nhds (by norm_num)) |
| 287 | filter_upwards [hlate] with t ht |
| 288 | rw [localizedVelocity_origin A ht.le] |
| 289 | |
| 290 | private theorem unbounded_of_origin_blowup {u : VelocityField} |
| 291 | (hu : Tendsto (fun t : ℝ => ‖u (t, 0)‖) (𝓝[<] 1) atTop) : |
| 292 | SpeedUnboundedAtOne u := by |
| 293 | intro M _ δ hδ |
| 294 | have hlow : Ioi (max 0 (1 - δ)) ∈ 𝓝[<] (1 : ℝ) := |
| 295 | mem_nhdsWithin_of_mem_nhds (Ioi_mem_nhds (max_lt (by norm_num) (by linarith))) |
| 296 | have hlarge : ∀ᶠ t in 𝓝[<] (1 : ℝ), M < ‖u (t, 0)‖ := |
| 297 | hu.eventually (eventually_gt_atTop M) |
| 298 | have hbefore : ∀ᶠ t in 𝓝[<] (1 : ℝ), t < 1 := self_mem_nhdsWithin |
| 299 | obtain ⟨t, ht, hMt, hlo⟩ := (hbefore.and (hlarge.and hlow)).exists |
| 300 | exact ⟨t, 0, ⟨(le_max_left _ _).trans_lt hlo, ht⟩, |
| 301 | (le_max_right _ _).trans_lt hlo, hMt⟩ |
| 302 | |
| 303 | theorem localizedVelocity_speed_unbounded (A : VelocityField) |
| 304 | (hA : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) (𝓝[<] 1) atTop) : |
| 305 | SpeedUnboundedAtOne (localizedVelocity A) := |
| 306 | unbounded_of_origin_blowup (localizedVelocity_origin_blowup A hA) |
| 307 | |
| 308 | end |
| 309 | |
| 310 | end NavierStokes.SpatialLocalization |