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 | theorem spatialCutoff_mem_Icc (x : Space) : spatialCutoff x ∈ Icc (0 : ℝ) 1 := by |
| 56 | have hr := SmoothCutoffs.cutoff_mem_Icc (16 * radialSquare x) |
| 57 | have hz := SmoothCutoffs.cutoff_mem_Icc (4 * x 2) |
| 58 | exact ⟨mul_nonneg hr.1 hz.1, (mul_le_of_le_one_left hz.1 hr.2).trans hz.2⟩ |
| 59 | |
| 60 | /-- Invariance under the actual Cartesian rotation about the third axis. -/ |
| 61 | theorem spatialCutoff_rotation (θ : ℝ) (x : Space) : |
| 62 | spatialCutoff (CylindricalResidual.frame θ x) = spatialCutoff x := by |
| 63 | have hr : radialSquare (CylindricalResidual.frame θ x) = radialSquare x := by |
| 64 | simp only [radialSquare, CylindricalResidual.frame_apply, |
| 65 | AxisymmetricResidual.pack_zero, AxisymmetricResidual.pack_one] |
| 66 | linear_combination ((x 0) ^ 2 + (x 1) ^ 2) * Real.cos_sq_add_sin_sq θ |
| 67 | simp only [spatialCutoff] |
| 68 | rw [hr] |
| 69 | simp only [CylindricalResidual.frame_apply, AxisymmetricResidual.pack_two] |
| 70 | |
| 71 | /-- The closed support cylinder has radius `1/4` and height `1/2`. -/ |
| 72 | noncomputable def supportCylinder : Set Space := |
| 73 | {x | radialSquare x ≤ 1 / 16 ∧ |x 2| ≤ 1 / 4} |
| 74 | |
| 75 | theorem isClosed_supportCylinder : IsClosed supportCylinder := |
| 76 | (isClosed_le radialSquare_contDiff.continuous continuous_const).inter |
| 77 | (isClosed_le (projection 2).continuous.abs continuous_const) |
| 78 | |
| 79 | theorem isCompact_supportCylinder : IsCompact supportCylinder := by |
| 80 | convert! AxisymmetricFields.isCompact_cylinder (1 / 32) (1 / 4) using 1 |
| 81 | ext x |
| 82 | simp only [supportCylinder, Set.mem_ofPred_eq, AxisymmetricFields.radialEnergy, radialSquare] |
| 83 | constructor <;> intro hx <;> constructor |
| 84 | · linarith [hx.1] |
| 85 | · exact hx.2 |
| 86 | · linarith [hx.1] |
| 87 | · exact hx.2 |
| 88 | |
| 89 | theorem spatialCutoff_support_subset : Function.support spatialCutoff ⊆ supportCylinder := by |
| 90 | intro x hx |
| 91 | have hprod : SmoothCutoffs.cutoff (16 * radialSquare x) * |
| 92 | SmoothCutoffs.cutoff (4 * x 2) ≠ 0 := hx |
| 93 | have hr : 16 * radialSquare x < 1 := by |
| 94 | by_contra h |
| 95 | exact (mul_ne_zero_iff.mp hprod).1 |
| 96 | (SmoothCutoffs.cutoff_zero_of_one_le (le_of_not_gt h)) |
| 97 | have hz : |4 * x 2| < 1 := by |
| 98 | by_contra h |
| 99 | exact (mul_ne_zero_iff.mp hprod).2 |
| 100 | (SmoothCutoffs.cutoff_zero_of_one_le_abs (le_of_not_gt h)) |
| 101 | simp only [abs_mul, abs_of_pos (show (0 : ℝ) < 4 by norm_num)] at hz |
| 102 | exact ⟨by linarith, by linarith⟩ |
| 103 | |
| 104 | theorem spatialCutoff_tsupport_subset : tsupport spatialCutoff ⊆ supportCylinder := |
| 105 | closure_minimal spatialCutoff_support_subset isClosed_supportCylinder |
| 106 | |
| 107 | theorem spatialCutoff_hasCompactSupport : HasCompactSupport spatialCutoff := |
| 108 | isCompact_supportCylinder.of_isClosed_subset (isClosed_tsupport _) spatialCutoff_tsupport_subset |
| 109 | |
| 110 | theorem supportCylinder_coordinate_bound {x : Space} (hx : x ∈ supportCylinder) |
| 111 | (i : Fin 3) : |x i| ≤ 1 / 4 := by |
| 112 | have hr := hx.1 |
| 113 | change (x 0) ^ 2 + (x 1) ^ 2 ≤ 1 / 16 at hr |
| 114 | fin_cases i |
| 115 | · change |x 0| ≤ 1 / 4 |
| 116 | have hs : |x 0| ^ 2 ≤ (1 / 4 : ℝ) ^ 2 := by |
| 117 | rw [sq_abs] |
| 118 | nlinarith [sq_nonneg (x 1)] |
| 119 | nlinarith [abs_nonneg (x 0)] |
| 120 | · change |x 1| ≤ 1 / 4 |
| 121 | have hs : |x 1| ^ 2 ≤ (1 / 4 : ℝ) ^ 2 := by |
| 122 | rw [sq_abs] |
| 123 | nlinarith [sq_nonneg (x 0)] |
| 124 | nlinarith [abs_nonneg (x 1)] |
| 125 | · exact hx.2 |
| 126 | |
| 127 | /-- The support is strictly inside the centered fundamental period cube. -/ |
| 128 | theorem spatialCutoff_strictly_inside_cube {x : Space} (hx : x ∈ tsupport spatialCutoff) |
| 129 | (i : Fin 3) : |x i| < 1 / 2 := by |
| 130 | have := supportCylinder_coordinate_bound (spatialCutoff_tsupport_subset hx) i |
| 131 | linarith |
| 132 | |
| 133 | /-- An open cylinder on which the cutoff is identically one. -/ |
| 134 | noncomputable def plateau : Set Space := {x | radialSquare x < 1 / 32 ∧ |x 2| < 1 / 8} |
| 135 | |
| 136 | theorem isOpen_plateau : IsOpen plateau := |
| 137 | (isOpen_lt radialSquare_contDiff.continuous continuous_const).inter |
| 138 | (isOpen_lt (projection 2).continuous.abs continuous_const) |
| 139 | |
| 140 | theorem zero_mem_plateau : (0 : Space) ∈ plateau := by |
| 141 | norm_num [plateau, radialSquare] |
| 142 | |
| 143 | theorem spatialCutoff_eq_one {x : Space} (hx : x ∈ plateau) : spatialCutoff x = 1 := by |
| 144 | have hr : |16 * radialSquare x| ≤ 1 / 2 := by |
| 145 | rw [abs_of_nonneg (mul_nonneg (by norm_num) (radialSquare_nonneg x))] |
| 146 | linarith [hx.1] |
| 147 | have hz : |4 * x 2| ≤ 1 / 2 := by |
| 148 | rw [abs_mul, abs_of_pos (show (0 : ℝ) < 4 by norm_num)] |
| 149 | linarith [hx.2] |
| 150 | simp only [spatialCutoff, cutoffProfile, SmoothCutoffs.cutoff_one_of_abs_le hr, |
| 151 | SmoothCutoffs.cutoff_one_of_abs_le hz, one_mul] |
| 152 | |
| 153 | theorem spatialCutoff_eventually_one {x : Space} (hx : x ∈ plateau) : |
| 154 | spatialCutoff =ᶠ[𝓝 x] (fun _ => 1) := by |
| 155 | filter_upwards [isOpen_plateau.mem_nhds hx] with y hy |
| 156 | exact spatialCutoff_eq_one hy |
| 157 | |
| 158 | theorem plateau_subset_innerCube : plateau ⊆ PeriodicLocalization.innerCube (1 / 4) := by |
| 159 | intro x hx i |
| 160 | have hb : x ∈ supportCylinder := ⟨by linarith [hx.1], by linarith [hx.2]⟩ |
| 161 | have := supportCylinder_coordinate_bound hb i |
| 162 | linarith |
| 163 | |
| 164 | /-- Multiplication of the actual Cartesian potential, before any curl. -/ |
| 165 | noncomputable def cutPotential (A : VelocityField) : VelocityField := |
| 166 | fun z => spatialCutoff z.2 • A z |
| 167 | |
| 168 | noncomputable def cutPressure (p : PressureField) : PressureField := |
| 169 | fun z => spatialCutoff z.2 * p z |
| 170 | |
| 171 | noncomputable def cutVelocity (A : VelocityField) : VelocityField := |
| 172 | SpatialCurl.spatialCurl (cutPotential A) |
| 173 | |
| 174 | theorem cutPotential_supported (A : VelocityField) : |
| 175 | PeriodicLocalization.SupportedInCube (1 / 4) (cutPotential A) := by |
| 176 | intro z hz i |
| 177 | have hc : spatialCutoff z.2 ≠ 0 := by |
| 178 | intro h |
| 179 | exact hz (by simp only [cutPotential, h, zero_smul]) |
| 180 | exact supportCylinder_coordinate_bound (spatialCutoff_support_subset hc) i |
| 181 | |
| 182 | theorem cutPressure_supported (p : PressureField) : |
| 183 | PeriodicLocalization.SupportedInCube (1 / 4) (cutPressure p) := by |
| 184 | intro z hz i |
| 185 | have hc : spatialCutoff z.2 ≠ 0 := by |
| 186 | intro h |
| 187 | exact hz (by simp only [cutPressure, h, zero_mul]) |
| 188 | exact supportCylinder_coordinate_bound (spatialCutoff_support_subset hc) i |
| 189 | |
| 190 | theorem cutVelocity_tsupport (A : VelocityField) (t : ℝ) : |
| 191 | tsupport (fun x => cutVelocity A (t, x)) ⊆ supportCylinder := |
| 192 | (SpatialCurl.tsupport_curl_cutoff_subset spatialCutoff (fun x => A (t, x))).trans |
| 193 | spatialCutoff_tsupport_subset |
| 194 | |
| 195 | theorem cutVelocity_hasCompactSupport (A : VelocityField) (t : ℝ) : |
| 196 | HasCompactSupport (fun x => cutVelocity A (t, x)) := |
| 197 | SpatialCurl.hasCompactSupport_curl_cutoff spatialCutoff_hasCompactSupport (fun x => A (t, x)) |
| 198 | |
| 199 | /-- This identity displays the entire cutoff derivative term. -/ |
| 200 | theorem cutVelocity_product_rule (A : VelocityField) (t : ℝ) (x : Space) |
| 201 | (hA : DifferentiableAt ℝ (fun y => A (t, y)) x) : |
| 202 | cutVelocity A (t, x) = spatialCutoff x • SpatialCurl.spatialCurl A (t, x) + |
| 203 | SpatialCurl.curlLinear ((fderiv ℝ spatialCutoff x).smulRight (A (t, x))) := by |
| 204 | change SpatialCurl.curlLinear (fderiv ℝ (fun y => spatialCutoff y • A (t, y)) x) = _ |
| 205 | rw [fderiv_fun_smul (spatialCutoff_contDiff.differentiable (by simp) x) hA, map_add, |
| 206 | map_smul] |
| 207 | rfl |
| 208 | |
| 209 | /-- The actual lattice sum of the cut potential. -/ |
| 210 | noncomputable def periodicPotential (A : VelocityField) : VelocityField := |
| 211 | PeriodicLocalization.periodize (cutPotential A) |
| 212 | |
| 213 | noncomputable def periodicVelocity (A : VelocityField) : VelocityField := |
| 214 | SpatialCurl.spatialCurl (periodicPotential A) |
| 215 | |
| 216 | noncomputable def periodicPressure (p : PressureField) : PressureField := |
| 217 | PeriodicLocalization.periodize (cutPressure p) |
| 218 | |
| 219 | theorem periodicPotential_locally_finite (A : VelocityField) : |
| 220 | LocallyFinite (fun n : PeriodicLocalization.Lattice => |
| 221 | Function.support (PeriodicLocalization.translate (cutPotential A) n)) := |
| 222 | PeriodicLocalization.locallyFinite_support_translate (cutPotential_supported A) |
| 223 | |
| 224 | theorem periodicPressure_locally_finite (p : PressureField) : |
| 225 | LocallyFinite (fun n : PeriodicLocalization.Lattice => |
| 226 | Function.support (PeriodicLocalization.translate (cutPressure p) n)) := |
| 227 | PeriodicLocalization.locallyFinite_support_translate (cutPressure_supported p) |
| 228 | |
| 229 | theorem periodicPotential_smoothOn {A : VelocityField} {times : Set ℝ} |
| 230 | (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) : |
| 231 | ContDiffOn ℝ ∞ (periodicPotential A) (times ×ˢ (univ : Set Space)) := |
| 232 | PeriodicLocalization.contDiffOn_periodize (cutPotential_supported A) |
| 233 | ((spatialCutoff_contDiff.comp contDiff_snd).contDiffOn.smul hA) |
| 234 | |
| 235 | theorem periodicVelocity_smoothOn {A : VelocityField} {times : Set ℝ} |
| 236 | (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) : |
| 237 | ContDiffOn ℝ ∞ (periodicVelocity A) (times ×ˢ (univ : Set Space)) := |
| 238 | SpatialCurl.contDiffOn_spatialCurl (periodicPotential_smoothOn hA) (by simp) |
| 239 | |
| 240 | theorem periodicPressure_smoothOn {p : PressureField} {times : Set ℝ} |
| 241 | (hp : ContDiffOn ℝ ∞ p (times ×ˢ (univ : Set Space))) : |
| 242 | ContDiffOn ℝ ∞ (periodicPressure p) (times ×ˢ (univ : Set Space)) := |
| 243 | PeriodicLocalization.contDiffOn_periodize (cutPressure_supported p) |
| 244 | ((spatialCutoff_contDiff.comp contDiff_snd).contDiffOn.mul hp) |
| 245 | |
| 246 | theorem periodicPotential_periodic (A : VelocityField) (times : Set ℝ) : |
| 247 | UnitSpatialPeriodsOn times (periodicPotential A) := |
| 248 | PeriodicLocalization.unitSpatialPeriodsOn_periodize (cutPotential A) times |
| 249 | |
| 250 | theorem periodicVelocity_periodic (A : VelocityField) (times : Set ℝ) : |
| 251 | UnitSpatialPeriodsOn times (periodicVelocity A) := |
| 252 | SpatialCurl.spatialCurl_periodic (periodicPotential_periodic A times) |
| 253 | |
| 254 | theorem periodicPressure_periodic (p : PressureField) (times : Set ℝ) : |
| 255 | UnitSpatialPeriodsOn times (periodicPressure p) := |
| 256 | PeriodicLocalization.unitSpatialPeriodsOn_periodize (cutPressure p) times |
| 257 | |
| 258 | theorem periodicVelocity_divergence_free {A : VelocityField} {times : Set ℝ} |
| 259 | (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) {t : ℝ} |
| 260 | (ht : t ∈ times) (x : Space) : spatialDivergence (periodicVelocity A) t x = 0 := |
| 261 | SpatialCurl.spatialDivergence_spatialCurl_on |
| 262 | ((periodicPotential_smoothOn hA).of_le (nat_le_infty 2)) ht x |
| 263 | |
| 264 | /-- Throughout the central no-overlap cube, periodization agrees locally |
| 265 | with the actual cut field, including its cutoff derivative terms. -/ |
| 266 | theorem periodicVelocity_eventuallyEq_cut (A : VelocityField) {z : SpaceTime} |
| 267 | (hz : z.2 ∈ PeriodicLocalization.innerCube (1 / 4)) : |
| 268 | periodicVelocity A =ᶠ[𝓝 z] cutVelocity A := |
| 269 | SolenoidalDiagonal.spatialCurl_eventuallyEq |
| 270 | (PeriodicLocalization.periodize_eventuallyEq (cutPotential_supported A) hz) |
| 271 | |
| 272 | theorem periodicPressure_eventuallyEq_cut (p : PressureField) {z : SpaceTime} |
| 273 | (hz : z.2 ∈ PeriodicLocalization.innerCube (1 / 4)) : |
| 274 | periodicPressure p =ᶠ[𝓝 z] cutPressure p := |
| 275 | PeriodicLocalization.periodize_eventuallyEq (cutPressure_supported p) hz |
| 276 | |
| 277 | theorem periodic_residual_eventuallyEq_cut (A : VelocityField) (p : PressureField) |
| 278 | {z : SpaceTime} (hz : z.2 ∈ PeriodicLocalization.innerCube (1 / 4)) : |
| 279 | (fun w => navierStokesResidual (periodicVelocity A) (periodicPressure p) w.1 w.2) |
| 280 | =ᶠ[𝓝 z] (fun w => navierStokesResidual (cutVelocity A) (cutPressure p) w.1 w.2) := |
| 281 | ResidualRegularity.residual_eventuallyEq (periodicVelocity_eventuallyEq_cut A hz) |
| 282 | (periodicPressure_eventuallyEq_cut p hz) |
| 283 | |
| 284 | theorem periodic_fields_eq_cut_on_unitCube (A : VelocityField) (p : PressureField) |
| 285 | (t : ℝ) {x : Space} (hx : ∀ i : Fin 3, |x i| ≤ 1 / 2) : |
| 286 | periodicVelocity A (t, x) = cutVelocity A (t, x) ∧ |
| 287 | periodicPressure p (t, x) = cutPressure p (t, x) ∧ |
| 288 | navierStokesResidual (periodicVelocity A) (periodicPressure p) t x = |
| 289 | navierStokesResidual (cutVelocity A) (cutPressure p) t x := by |
| 290 | have hi : x ∈ PeriodicLocalization.innerCube (1 / 4) := by |
| 291 | intro i |
| 292 | have := hx i |
| 293 | linarith |
| 294 | exact ⟨(periodicVelocity_eventuallyEq_cut A (z := (t, x)) hi).self_of_nhds, |
| 295 | (periodicPressure_eventuallyEq_cut p (z := (t, x)) hi).self_of_nhds, |
| 296 | (periodic_residual_eventuallyEq_cut A p (z := (t, x)) hi).self_of_nhds⟩ |
| 297 | |
| 298 | theorem cutPotential_eventuallyEq (A : VelocityField) {z : SpaceTime} |
| 299 | (hz : z.2 ∈ plateau) : cutPotential A =ᶠ[𝓝 z] A := by |
| 300 | have he := (spatialCutoff_eventually_one hz).comp_tendsto continuous_snd.continuousAt |
| 301 | filter_upwards [he] with w hw |
| 302 | change spatialCutoff w.2 = 1 at hw |
| 303 | simp only [cutPotential, hw, one_smul] |
| 304 | |
| 305 | theorem cutPressure_eventuallyEq (p : PressureField) {z : SpaceTime} |
| 306 | (hz : z.2 ∈ plateau) : cutPressure p =ᶠ[𝓝 z] p := by |
| 307 | have he := (spatialCutoff_eventually_one hz).comp_tendsto continuous_snd.continuousAt |
| 308 | filter_upwards [he] with w hw |
| 309 | change spatialCutoff w.2 = 1 at hw |
| 310 | simp only [cutPressure, hw, one_mul] |
| 311 | |
| 312 | /-- Local equality includes all nearby physical times and all spatial directions. -/ |
| 313 | theorem periodicPotential_eventuallyEq (A : VelocityField) {z : SpaceTime} |
| 314 | (hz : z.2 ∈ plateau) : periodicPotential A =ᶠ[𝓝 z] A := |
| 315 | (PeriodicLocalization.periodize_eventuallyEq (cutPotential_supported A) |
| 316 | (plateau_subset_innerCube hz)).trans (cutPotential_eventuallyEq A hz) |
| 317 | |
| 318 | theorem periodicVelocity_eventuallyEq (A : VelocityField) {z : SpaceTime} |
| 319 | (hz : z.2 ∈ plateau) : periodicVelocity A =ᶠ[𝓝 z] SpatialCurl.spatialCurl A := |
| 320 | SolenoidalDiagonal.spatialCurl_eventuallyEq (periodicPotential_eventuallyEq A hz) |
| 321 | |
| 322 | theorem periodicPressure_eventuallyEq (p : PressureField) {z : SpaceTime} |
| 323 | (hz : z.2 ∈ plateau) : periodicPressure p =ᶠ[𝓝 z] p := |
| 324 | (PeriodicLocalization.periodize_eventuallyEq (cutPressure_supported p) |
| 325 | (plateau_subset_innerCube hz)).trans (cutPressure_eventuallyEq p hz) |
| 326 | |
| 327 | theorem periodicVelocity_eq (A : VelocityField) {z : SpaceTime} (hz : z.2 ∈ plateau) : |
| 328 | periodicVelocity A z = SpatialCurl.spatialCurl A z := |
| 329 | (periodicVelocity_eventuallyEq A hz).self_of_nhds |
| 330 | |
| 331 | theorem periodicPressure_eq (p : PressureField) {z : SpaceTime} (hz : z.2 ∈ plateau) : |
| 332 | periodicPressure p z = p z := (periodicPressure_eventuallyEq p hz).self_of_nhds |
| 333 | |
| 334 | theorem periodicVelocity_jets_eq (A : VelocityField) {z : SpaceTime} |
| 335 | (hz : z.2 ∈ plateau) (m : ℕ) : |
| 336 | iteratedFDeriv ℝ m (periodicVelocity A) z = |
| 337 | iteratedFDeriv ℝ m (SpatialCurl.spatialCurl A) z := |
| 338 | (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (periodicVelocity_eventuallyEq A hz) m).self_of_nhds |
| 339 | |
| 340 | theorem periodicPressure_jets_eq (p : PressureField) {z : SpaceTime} |
| 341 | (hz : z.2 ∈ plateau) (m : ℕ) : |
| 342 | iteratedFDeriv ℝ m (periodicPressure p) z = iteratedFDeriv ℝ m p z := |
| 343 | (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (periodicPressure_eventuallyEq p hz) m).self_of_nhds |
| 344 | |
| 345 | theorem periodic_residual_eventuallyEq (A : VelocityField) (p : PressureField) |
| 346 | {z : SpaceTime} (hz : z.2 ∈ plateau) : |
| 347 | (fun w => navierStokesResidual (periodicVelocity A) (periodicPressure p) w.1 w.2) |
| 348 | =ᶠ[𝓝 z] (fun w => navierStokesResidual (SpatialCurl.spatialCurl A) p w.1 w.2) := |
| 349 | ResidualRegularity.residual_eventuallyEq (periodicVelocity_eventuallyEq A hz) |
| 350 | (periodicPressure_eventuallyEq p hz) |
| 351 | |
| 352 | theorem periodic_residual_eq (A : VelocityField) (p : PressureField) |
| 353 | {z : SpaceTime} (hz : z.2 ∈ plateau) : |
| 354 | navierStokesResidual (periodicVelocity A) (periodicPressure p) z.1 z.2 = |
| 355 | navierStokesResidual (SpatialCurl.spatialCurl A) p z.1 z.2 := |
| 356 | (periodic_residual_eventuallyEq A p hz).self_of_nhds |
| 357 | |
| 358 | theorem periodic_residual_jets_eq (A : VelocityField) (p : PressureField) |
| 359 | {z : SpaceTime} (hz : z.2 ∈ plateau) (m : ℕ) : |
| 360 | iteratedFDeriv ℝ m |
| 361 | (fun w => navierStokesResidual (periodicVelocity A) (periodicPressure p) w.1 w.2) z = |
| 362 | iteratedFDeriv ℝ m |
| 363 | (fun w => navierStokesResidual (SpatialCurl.spatialCurl A) p w.1 w.2) z := |
| 364 | (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 365 | (periodic_residual_eventuallyEq A p hz) m).self_of_nhds |
| 366 | |
| 367 | theorem periodicVelocity_origin (A : VelocityField) (t : ℝ) : |
| 368 | periodicVelocity A (t, 0) = SpatialCurl.spatialCurl A (t, 0) := |
| 369 | periodicVelocity_eq A zero_mem_plateau |
| 370 | |
| 371 | theorem periodicPressure_origin (p : PressureField) (t : ℝ) : |
| 372 | periodicPressure p (t, 0) = p (t, 0) := periodicPressure_eq p zero_mem_plateau |
| 373 | |
| 374 | theorem periodicVelocity_origin_blowup (A : VelocityField) |
| 375 | (hA : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) (𝓝[<] 1) atTop) : |
| 376 | Tendsto (fun t : ℝ => ‖periodicVelocity A (t, 0)‖) (𝓝[<] 1) atTop := by |
| 377 | simpa only [periodicVelocity_origin] using hA |
| 378 | |
| 379 | /-- The previously constructed time switch is applied to the spatially |
| 380 | localized fields. It is independent of the spatial variables. -/ |
| 381 | noncomputable def localizedVelocity (A : VelocityField) : VelocityField := |
| 382 | TimeLocalization.activatedVelocity (periodicVelocity A) |
| 383 | |
| 384 | noncomputable def localizedPressure (p : PressureField) : PressureField := |
| 385 | TimeLocalization.activatedPressure (periodicPressure p) |
| 386 | |
| 387 | /-- The same time activation can be performed on the actual potential. -/ |
| 388 | noncomputable def localizedPotential (A : VelocityField) : VelocityField := |
| 389 | TimeLocalization.activatedVelocity (periodicPotential A) |
| 390 | |
| 391 | theorem localizedPotential_smoothOn {A : VelocityField} {times : Set ℝ} |
| 392 | (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) : |
| 393 | ContDiffOn ℝ ∞ (localizedPotential A) (times ×ˢ (univ : Set Space)) := |
| 394 | (SmoothCutoffs.timeSwitch_contDiff.comp contDiff_fst).contDiffOn.smul |
| 395 | (periodicPotential_smoothOn hA) |
| 396 | |
| 397 | theorem localizedVelocity_eq_curl {A : VelocityField} {times : Set ℝ} |
| 398 | (hA : ContDiffOn ℝ ∞ A (times ×ˢ (univ : Set Space))) |
| 399 | {t : ℝ} (ht : t ∈ times) (x : Space) : |
| 400 | localizedVelocity A (t, x) = SpatialCurl.spatialCurl (localizedPotential A) (t, x) := by |
| 401 | have hd : DifferentiableAt ℝ (fun y => periodicPotential A (t, y)) x := |
| 402 | (SpatialCurl.contDiff_spatialSlice (periodicPotential_smoothOn hA) ht).differentiable |
| 403 | (by simp) x |
| 404 | change SmoothCutoffs.timeSwitch t • |
| 405 | SpatialCurl.curlLinear (fderiv ℝ (fun y => periodicPotential A (t, y)) x) = |
| 406 | SpatialCurl.curlLinear |
| 407 | (fderiv ℝ (fun y => SmoothCutoffs.timeSwitch t • periodicPotential A (t, y)) x) |
| 408 | rw [fderiv_fun_const_smul hd, map_smul] |
| 409 | |
| 410 | theorem localizedVelocity_smooth {A : VelocityField} |
| 411 | (hA : ContDiffOn ℝ ∞ A preSingularDomain) : |
| 412 | ContDiffOn ℝ ∞ (localizedVelocity A) preSingularDomain := |
| 413 | TimeLocalization.activatedVelocity_smooth _ (periodicVelocity_smoothOn hA) |
| 414 | |
| 415 | theorem localizedPressure_smooth {p : PressureField} |
| 416 | (hp : ContDiffOn ℝ ∞ p preSingularDomain) : |
| 417 | ContDiffOn ℝ ∞ (localizedPressure p) preSingularDomain := |
| 418 | TimeLocalization.activatedPressure_smooth _ (periodicPressure_smoothOn hp) |
| 419 | |
| 420 | theorem localizedVelocity_smooth_before {A : VelocityField} |
| 421 | (hA : ContDiffOn ℝ ∞ A (Iio (1 : ℝ) ×ˢ (univ : Set Space))) : |
| 422 | ContDiffOn ℝ ∞ (localizedVelocity A) preSingularDomain := |
| 423 | localizedVelocity_smooth (hA.mono (fun _ hz => ⟨hz.1.2, hz.2⟩)) |
| 424 | |
| 425 | theorem localizedPressure_smooth_before {p : PressureField} |
| 426 | (hp : ContDiffOn ℝ ∞ p (Iio (1 : ℝ) ×ˢ (univ : Set Space))) : |
| 427 | ContDiffOn ℝ ∞ (localizedPressure p) preSingularDomain := |
| 428 | localizedPressure_smooth (hp.mono (fun _ hz => ⟨hz.1.2, hz.2⟩)) |
| 429 | |
| 430 | theorem localizedVelocity_periodic (A : VelocityField) (times : Set ℝ) : |
| 431 | UnitSpatialPeriodsOn times (localizedVelocity A) := |
| 432 | TimeLocalization.activatedVelocity_periodic _ times (periodicVelocity_periodic A times) |
| 433 | |
| 434 | theorem localizedPressure_periodic (p : PressureField) (times : Set ℝ) : |
| 435 | UnitSpatialPeriodsOn times (localizedPressure p) := |
| 436 | TimeLocalization.activatedPressure_periodic _ times (periodicPressure_periodic p times) |
| 437 | |
| 438 | theorem localizedVelocity_zero_initial (A : VelocityField) (x : Space) : |
| 439 | localizedVelocity A (0, x) = 0 := TimeLocalization.activatedVelocity_zero_initial _ x |
| 440 | |
| 441 | theorem localizedPressure_zero_initial (p : PressureField) (x : Space) : |
| 442 | localizedPressure p (0, x) = 0 := TimeLocalization.activatedPressure_zero_initial _ x |
| 443 | |
| 444 | theorem localizedVelocity_zero_early (A : VelocityField) {t : ℝ} |
| 445 | (ht : |t| ≤ 3 / 8) (x : Space) : localizedVelocity A (t, x) = 0 := |
| 446 | TimeLocalization.activatedVelocity_zero_early _ ht x |
| 447 | |
| 448 | theorem localizedPressure_zero_early (p : PressureField) {t : ℝ} |
| 449 | (ht : |t| ≤ 3 / 8) (x : Space) : localizedPressure p (t, x) = 0 := |
| 450 | TimeLocalization.activatedPressure_zero_early _ ht x |
| 451 | |
| 452 | theorem localizedVelocity_divergence_free {A : VelocityField} |
| 453 | (hA : ContDiffOn ℝ ∞ A preSingularDomain) : |
| 454 | ∀ t ∈ Ico (0 : ℝ) 1, ∀ x : Space, spatialDivergence (localizedVelocity A) t x = 0 := |
| 455 | TimeLocalization.activatedVelocity_divergence_free _ (periodicVelocity_smoothOn hA) |
| 456 | (fun _ ht x => periodicVelocity_divergence_free hA ht x) |
| 457 | |
| 458 | theorem localizedVelocity_eventuallyEq (A : VelocityField) {z : SpaceTime} |
| 459 | (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) : |
| 460 | localizedVelocity A =ᶠ[𝓝 z] SpatialCurl.spatialCurl A := |
| 461 | (TimeLocalization.activatedVelocity_eventuallyEq_late _ ht z.2).trans |
| 462 | (periodicVelocity_eventuallyEq A hz) |
| 463 | |
| 464 | theorem localizedPressure_eventuallyEq (p : PressureField) {z : SpaceTime} |
| 465 | (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) : |
| 466 | localizedPressure p =ᶠ[𝓝 z] p := |
| 467 | (TimeLocalization.activatedPressure_eventuallyEq_late _ ht z.2).trans |
| 468 | (periodicPressure_eventuallyEq p hz) |
| 469 | |
| 470 | theorem localizedVelocity_eq (A : VelocityField) {z : SpaceTime} |
| 471 | (ht : 3 / 4 ≤ z.1) (hz : z.2 ∈ plateau) : |
| 472 | localizedVelocity A z = SpatialCurl.spatialCurl A z := by |
| 473 | rw [localizedVelocity, TimeLocalization.activatedVelocity_eq_late _ ht, |
| 474 | periodicVelocity_eq A hz] |
| 475 | |
| 476 | theorem localizedPressure_eq (p : PressureField) {z : SpaceTime} |
| 477 | (ht : 3 / 4 ≤ z.1) (hz : z.2 ∈ plateau) : localizedPressure p z = p z := by |
| 478 | rw [localizedPressure, TimeLocalization.activatedPressure_eq_late _ ht, |
| 479 | periodicPressure_eq p hz] |
| 480 | |
| 481 | theorem localized_residual_eventuallyEq (A : VelocityField) (p : PressureField) |
| 482 | {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) : |
| 483 | (fun w => navierStokesResidual (localizedVelocity A) (localizedPressure p) w.1 w.2) |
| 484 | =ᶠ[𝓝 z] (fun w => navierStokesResidual (SpatialCurl.spatialCurl A) p w.1 w.2) := |
| 485 | ResidualRegularity.residual_eventuallyEq (localizedVelocity_eventuallyEq A ht hz) |
| 486 | (localizedPressure_eventuallyEq p ht hz) |
| 487 | |
| 488 | theorem localized_residual_eq (A : VelocityField) (p : PressureField) |
| 489 | {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) : |
| 490 | navierStokesResidual (localizedVelocity A) (localizedPressure p) z.1 z.2 = |
| 491 | navierStokesResidual (SpatialCurl.spatialCurl A) p z.1 z.2 := |
| 492 | (localized_residual_eventuallyEq A p ht hz).self_of_nhds |
| 493 | |
| 494 | /-- An existing physical potential representation can be supplied as a local |
| 495 | identity. No additional regularity is needed to transfer the residual germ. -/ |
| 496 | theorem localized_residual_of_potential_germ (A u : VelocityField) (p : PressureField) |
| 497 | {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) |
| 498 | (hAu : SpatialCurl.spatialCurl A =ᶠ[𝓝 z] u) : |
| 499 | (fun w => navierStokesResidual (localizedVelocity A) (localizedPressure p) w.1 w.2) |
| 500 | =ᶠ[𝓝 z] (fun w => navierStokesResidual u p w.1 w.2) := |
| 501 | ResidualRegularity.residual_eventuallyEq |
| 502 | ((localizedVelocity_eventuallyEq A ht hz).trans hAu) |
| 503 | (localizedPressure_eventuallyEq p ht hz) |
| 504 | |
| 505 | theorem localizedVelocity_jets_eq (A : VelocityField) {z : SpaceTime} |
| 506 | (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) (m : ℕ) : |
| 507 | iteratedFDeriv ℝ m (localizedVelocity A) z = |
| 508 | iteratedFDeriv ℝ m (SpatialCurl.spatialCurl A) z := |
| 509 | (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 510 | (localizedVelocity_eventuallyEq A ht hz) m).self_of_nhds |
| 511 | |
| 512 | theorem localizedPressure_jets_eq (p : PressureField) {z : SpaceTime} |
| 513 | (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) (m : ℕ) : |
| 514 | iteratedFDeriv ℝ m (localizedPressure p) z = iteratedFDeriv ℝ m p z := |
| 515 | (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 516 | (localizedPressure_eventuallyEq p ht hz) m).self_of_nhds |
| 517 | |
| 518 | theorem localized_residual_jets_eq (A : VelocityField) (p : PressureField) |
| 519 | {z : SpaceTime} (ht : 3 / 4 < z.1) (hz : z.2 ∈ plateau) (m : ℕ) : |
| 520 | iteratedFDeriv ℝ m |
| 521 | (fun w => navierStokesResidual (localizedVelocity A) (localizedPressure p) w.1 w.2) z = |
| 522 | iteratedFDeriv ℝ m |
| 523 | (fun w => navierStokesResidual (SpatialCurl.spatialCurl A) p w.1 w.2) z := |
| 524 | (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 525 | (localized_residual_eventuallyEq A p ht hz) m).self_of_nhds |
| 526 | |
| 527 | theorem localizedVelocity_origin (A : VelocityField) {t : ℝ} (ht : 3 / 4 ≤ t) : |
| 528 | localizedVelocity A (t, 0) = SpatialCurl.spatialCurl A (t, 0) := |
| 529 | localizedVelocity_eq A ht zero_mem_plateau |
| 530 | |
| 531 | theorem localizedVelocity_origin_blowup (A : VelocityField) |
| 532 | (hA : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) (𝓝[<] 1) atTop) : |
| 533 | Tendsto (fun t : ℝ => ‖localizedVelocity A (t, 0)‖) (𝓝[<] 1) atTop := by |
| 534 | apply hA.congr' |
| 535 | have hlate : ∀ᶠ t in 𝓝[<] (1 : ℝ), 3 / 4 < t := |
| 536 | mem_nhdsWithin_of_mem_nhds (Ioi_mem_nhds (by norm_num)) |
| 537 | filter_upwards [hlate] with t ht |
| 538 | rw [localizedVelocity_origin A ht.le] |
| 539 | |
| 540 | private theorem unbounded_of_origin_blowup {u : VelocityField} |
| 541 | (hu : Tendsto (fun t : ℝ => ‖u (t, 0)‖) (𝓝[<] 1) atTop) : |
| 542 | SpeedUnboundedAtOne u := by |
| 543 | intro M _ δ hδ |
| 544 | have hlow : Ioi (max 0 (1 - δ)) ∈ 𝓝[<] (1 : ℝ) := |
| 545 | mem_nhdsWithin_of_mem_nhds (Ioi_mem_nhds (max_lt (by norm_num) (by linarith))) |
| 546 | have hlarge : ∀ᶠ t in 𝓝[<] (1 : ℝ), M < ‖u (t, 0)‖ := |
| 547 | hu.eventually (eventually_gt_atTop M) |
| 548 | have hbefore : ∀ᶠ t in 𝓝[<] (1 : ℝ), t < 1 := self_mem_nhdsWithin |
| 549 | obtain ⟨t, ht, hMt, hlo⟩ := (hbefore.and (hlarge.and hlow)).exists |
| 550 | exact ⟨t, 0, ⟨(le_max_left _ _).trans_lt hlo, ht⟩, |
| 551 | (le_max_right _ _).trans_lt hlo, hMt⟩ |
| 552 | |
| 553 | theorem localizedVelocity_speed_unbounded (A : VelocityField) |
| 554 | (hA : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) (𝓝[<] 1) atTop) : |
| 555 | SpeedUnboundedAtOne (localizedVelocity A) := |
| 556 | unbounded_of_origin_blowup (localizedVelocity_origin_blowup A hA) |
| 557 | |
| 558 | /-- The actual constructed pair, including its initial data and genuine local |
| 559 | Navier--Stokes residual equality. The only blowup input is at the origin of |
| 560 | the original curl field; no localization or residual-output estimate is assumed. -/ |
| 561 | theorem localization_properties (A : VelocityField) (p : PressureField) |
| 562 | (hA : ContDiffOn ℝ ∞ A (Iio (1 : ℝ) ×ˢ (univ : Set Space))) |
| 563 | (hp : ContDiffOn ℝ ∞ p (Iio (1 : ℝ) ×ˢ (univ : Set Space))) |
| 564 | (haxis : Tendsto (fun t : ℝ => ‖SpatialCurl.spatialCurl A (t, 0)‖) (𝓝[<] 1) atTop) : |
| 565 | ContDiffOn ℝ ∞ (localizedVelocity A) preSingularDomain ∧ |
| 566 | ContDiffOn ℝ ∞ (localizedPressure p) preSingularDomain ∧ |
| 567 | UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) (localizedVelocity A) ∧ |
| 568 | UnitSpatialPeriodsOn (Ico (0 : ℝ) 1) (localizedPressure p) ∧ |
| 569 | (∀ x : Space, localizedVelocity A (0, x) = 0) ∧ |
| 570 | (∀ t ∈ Ico (0 : ℝ) 1, ∀ x : Space, |
| 571 | spatialDivergence (localizedVelocity A) t x = 0) ∧ |
| 572 | SpeedUnboundedAtOne (localizedVelocity A) ∧ |
| 573 | (∀ z : SpaceTime, 3 / 4 < z.1 → z.2 ∈ plateau → |
| 574 | localizedVelocity A z = SpatialCurl.spatialCurl A z ∧ |
| 575 | localizedPressure p z = p z ∧ |
| 576 | navierStokesResidual (localizedVelocity A) (localizedPressure p) z.1 z.2 = |
| 577 | navierStokesResidual (SpatialCurl.spatialCurl A) p z.1 z.2) := by |
| 578 | refine ⟨localizedVelocity_smooth_before hA, localizedPressure_smooth_before hp, |
| 579 | localizedVelocity_periodic A _, localizedPressure_periodic p _, |
| 580 | localizedVelocity_zero_initial A, ?_, localizedVelocity_speed_unbounded A haxis, ?_⟩ |
| 581 | · exact localizedVelocity_divergence_free (hA.mono (fun _ hz => ⟨hz.1.2, hz.2⟩)) |
| 582 | · intro z ht hz |
| 583 | exact ⟨localizedVelocity_eq A ht.le hz, localizedPressure_eq p ht.le hz, |
| 584 | localized_residual_eq A p ht hz⟩ |
| 585 | |
| 586 | end |
| 587 | |
| 588 | end NavierStokes.SpatialLocalization |