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

Merge pull request #671 from s5-euler-compact-1
Browse filesrefactor(Euler/Compact): 3 small modules folded into the file that imports them (−30.1%, measured)
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −32 Euler/CompactCurlBounds.lean deleted
| @@ -1,32 +0,0 @@ | ||
| 1 | -import Euler.CompactSmoothBounds | |
| 2 | -import Euler.CurlTimeDerivative | |
| 3 | - | |
| 4 | -/-! Joint smoothness bounds the actual spatial vorticity on every fixed | |
| 5 | -compact spatial set and every closed finite time interval. -/ | |
| 6 | - | |
| 7 | -noncomputable section | |
| 8 | - | |
| 9 | - | |
| 10 | -open Set EulerSmoothLimit EulerMeanBoundary EulerMeanCutoffCurl | |
| 11 | - | |
| 12 | -namespace Euler.EulerExistenceAndSmoothnessR3 | |
| 13 | - | |
| 14 | -variable {u₀ : Space → Space} {v : Space → ℝ → Space} {p : Space → ℝ → ℝ} | |
| 15 | - (h : EulerExistenceAndSmoothnessR3 u₀ v p) | |
| 16 | - | |
| 17 | -include h | |
| 18 | - | |
| 19 | -theorem vorticity_bounded_on_compact (K : Set Space) (hK : IsCompact K) (T : ℝ) : | |
| 20 | - ∃ M : ℝ, 0 ≤ M ∧ ∀ t ∈ Icc (0 : ℝ) T, ∀ x ∈ K, | |
| 21 | - ‖vectorCurl (v · t) x‖ ≤ M := by | |
| 22 | - obtain ⟨C, hC⟩ := h.spatial_fderiv_bounded_on_compact K hK T | |
| 23 | - refine ⟨‖ComparatorBridge.curlMatrixCLM‖ * max C 0, | |
| 24 | - mul_nonneg (norm_nonneg ComparatorBridge.curlMatrixCLM) (le_max_right _ _), ?_⟩ | |
| 25 | - intro t ht x hx | |
| 26 | - rw [vectorCurl_eq_matrix _ x ((h.velocity_contDiff t ht.1).differentiable (by simp) x)] | |
| 27 | - change ‖ComparatorBridge.curlMatrixCLM (fderiv ℝ (v · t) x)‖ ≤ _ | |
| 28 | - exact (ComparatorBridge.curlMatrixCLM.le_opNorm _).trans | |
| 29 | - (mul_le_mul_of_nonneg_left ((hC x hx t ht).trans (le_max_left _ _)) | |
| 30 | - (norm_nonneg ComparatorBridge.curlMatrixCLM)) | |
| 31 | - | |
| 32 | -end Euler.EulerExistenceAndSmoothnessR3 | |
+0 −50 Euler/CompactSmoothBounds.lean deleted
| @@ -1,50 +0,0 @@ | ||
| 1 | -import Euler.ClassicalBridge | |
| 2 | -import Mathlib.Analysis.Calculus.TangentCone.Prod | |
| 3 | -import Mathlib.Analysis.Normed.Group.Bounded | |
| 4 | - | |
| 5 | -/-! Joint smoothness in the reference bounds spatial derivatives on every fixed | |
| 6 | -compact spatial set and closed finite time interval, including time zero. -/ | |
| 7 | - | |
| 8 | -noncomputable section | |
| 9 | - | |
| 10 | -open Set Filter MeasureTheory ContinuousLinearMap | |
| 11 | -open scoped ContDiff Topology | |
| 12 | - | |
| 13 | -namespace Euler.EulerExistenceAndSmoothnessR3 | |
| 14 | - | |
| 15 | -local notation "ℝ³" => EuclideanSpace ℝ (Fin 3) | |
| 16 | - | |
| 17 | -variable {u₀ : ℝ³ → ℝ³} {v : ℝ³ → ℝ → ℝ³} {p : ℝ³ → ℝ → ℝ} | |
| 18 | - (h : EulerExistenceAndSmoothnessR3 u₀ v p) | |
| 19 | - | |
| 20 | -include h | |
| 21 | - | |
| 22 | -theorem spatial_fderiv_eq_within (x : ℝ³) (t : ℝ) (ht : 0 ≤ t) : | |
| 23 | - fderiv ℝ (v · t) x = | |
| 24 | - (fderivWithin ℝ (Function.uncurry v) (univ ×ˢ Ici 0) (x, t)).comp | |
| 25 | - (inl ℝ ℝ³ ℝ) := by | |
| 26 | - have hd := (h.velocity_smooth.differentiableOn (by simp) (x, t) | |
| 27 | - ⟨mem_univ x, ht⟩).hasFDerivWithinAt | |
| 28 | - exact (hd.comp_hasFDerivAt (f := fun y : ℝ³ => (y, t)) x | |
| 29 | - (hasFDerivAt_prodMk_left (𝕜 := ℝ) x t) | |
| 30 | - (Eventually.of_forall (fun y => ⟨mem_univ y, ht⟩))).fderiv | |
| 31 | - | |
| 32 | -theorem spatial_fderiv_continuousOn : | |
| 33 | - ContinuousOn (fun z : ℝ³ × ℝ => fderiv ℝ (v · z.2) z.1) | |
| 34 | - (univ ×ˢ Ici 0) := by | |
| 35 | - have hc := h.velocity_smooth.continuousOn_fderivWithin | |
| 36 | - (uniqueDiffOn_univ.prod (uniqueDiffOn_Ici 0)) (by simp) | |
| 37 | - apply (hc.clm_comp (continuousOn_const (c := inl ℝ ℝ³ ℝ))).congr | |
| 38 | - intro z hz | |
| 39 | - exact h.spatial_fderiv_eq_within z.1 z.2 hz.2 | |
| 40 | - | |
| 41 | -theorem spatial_fderiv_bounded_on_compact (K : Set ℝ³) (hK : IsCompact K) | |
| 42 | - (T : ℝ) : ∃ C : ℝ, ∀ x ∈ K, ∀ t ∈ Icc (0 : ℝ) T, | |
| 43 | - ‖fderiv ℝ (v · t) x‖ ≤ C := by | |
| 44 | - obtain ⟨C, hC⟩ := (hK.prod isCompact_Icc).exists_bound_of_continuousOn | |
| 45 | - (h.spatial_fderiv_continuousOn.mono | |
| 46 | - (show K ×ˢ Icc (0 : ℝ) T ⊆ univ ×ˢ Ici 0 from | |
| 47 | - fun _ hz => ⟨mem_univ _, hz.2.1⟩)) | |
| 48 | - exact ⟨C, fun x hx t ht => hC (x, t) ⟨hx, ht⟩⟩ | |
| 49 | - | |
| 50 | -end Euler.EulerExistenceAndSmoothnessR3 | |
+81 −1 Euler/CompactSmoothTimeField.lean View file
| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | import Euler.SmoothTimeField |
| 2 | -import Euler.CompactSupportBoundedPath | |
| 2 | +import Mathlib.Topology.ContinuousMap.Bounded.Normed | |
| 3 | +import Mathlib.Topology.UniformSpace.HeineCantor | |
| 3 | 4 | import Mathlib.Analysis.Calculus.ContDiff.Comp |
| 4 | 5 | import Mathlib.Analysis.Calculus.TangentCone.Prod |
| 5 | 6 | |
| @@ -7,6 +8,85 @@ import Mathlib.Analysis.Calculus.TangentCone.Prod | ||
| 7 | 8 | The compact support is common to the time slices, so compact joint continuity |
| 8 | 9 | upgrades to continuity in the uniform spatial norm at every derivative order. -/ |
| 9 | 10 | |
| 11 | +/-! ## From `Euler/CompactSupportBoundedPath.lean` | |
| 12 | + | |
| 13 | +The text of `Euler/CompactSupportBoundedPath.lean`, folded into this file, which was its only importer. -/ | |
| 14 | + | |
| 15 | +section | |
| 16 | + | |
| 17 | +/-! Continuous families with a common compact spatial support give continuous paths in the | |
| 18 | +space of bounded continuous functions, equipped with the uniform norm. -/ | |
| 19 | + | |
| 20 | +open Set Filter Topology | |
| 21 | +open scoped BoundedContinuousFunction | |
| 22 | + | |
| 23 | +noncomputable section | |
| 24 | + | |
| 25 | +namespace EulerComparator | |
| 26 | + | |
| 27 | +variable {A E V : Type*} [TopologicalSpace A] [TopologicalSpace E] | |
| 28 | + [NormedAddCommGroup V] | |
| 29 | + | |
| 30 | +/-- A continuous, compactly supported function, regarded as a bounded continuous function. -/ | |
| 31 | +def boundedOfCompactSupport (f : E → V) (hf : Continuous f) | |
| 32 | + (hs : HasCompactSupport f) : E →ᵇ V where | |
| 33 | + toFun := f | |
| 34 | + continuous_toFun := hf | |
| 35 | + map_bounded' := Metric.isBounded_range_iff.mp (hs.isCompact_range hf).isBounded | |
| 36 | + | |
| 37 | +@[simp] theorem boundedOfCompactSupport_apply (f : E → V) (hf : Continuous f) | |
| 38 | + (hs : HasCompactSupport f) (x : E) : boundedOfCompactSupport f hf hs x = f x := rfl | |
| 39 | + | |
| 40 | +/-- Uniformly compact spatial support upgrades joint continuity to continuity in the | |
| 41 | +bounded-continuous-function norm. No compactness assumption on the parameter space is needed. -/ | |
| 42 | +theorem continuous_boundedOfCompactSupport | |
| 43 | + (u : A × E → V) (hu : Continuous u) (K : Set E) (hK : IsCompact K) | |
| 44 | + (hs : ∀ t, tsupport (fun x => u (t, x)) ⊆ K) : | |
| 45 | + Continuous (fun t => boundedOfCompactSupport (fun x => u (t, x)) | |
| 46 | + (hu.comp (continuous_const.prodMk continuous_id)) | |
| 47 | + (hK.of_isClosed_subset (isClosed_tsupport _) (hs t))) := by | |
| 48 | + rw [continuous_iff_continuousAt] | |
| 49 | + intro t | |
| 50 | + apply Metric.continuousAt_iff'.mpr | |
| 51 | + intro ε hε | |
| 52 | + have hε2 : 0 < ε / 2 := half_pos hε | |
| 53 | + obtain ⟨U, hU, hclose⟩ := hK.mem_uniformity_of_prod | |
| 54 | + (f := fun t x => u (t, x)) (s := Set.univ) hu.continuousOn | |
| 55 | + (Set.mem_univ t) (Metric.dist_mem_uniformity hε2) | |
| 56 | + rw [nhdsWithin_univ] at hU | |
| 57 | + filter_upwards [hU] with s hsU | |
| 58 | + apply lt_of_le_of_lt _ (half_lt_self hε) | |
| 59 | + apply (BoundedContinuousFunction.dist_le hε2.le).mpr | |
| 60 | + intro x | |
| 61 | + change dist (u (s, x)) (u (t, x)) ≤ ε / 2 | |
| 62 | + by_cases hx : x ∈ K | |
| 63 | + · exact (hclose s hsU x hx).le | |
| 64 | + · have hsx : u (s, x) = 0 := image_eq_zero_of_notMem_tsupport | |
| 65 | + (f := fun y => u (s, y)) (fun h => hx (hs s h)) | |
| 66 | + have htx : u (t, x) = 0 := image_eq_zero_of_notMem_tsupport | |
| 67 | + (f := fun y => u (t, y)) (fun h => hx (hs t h)) | |
| 68 | + simpa [hsx, htx] using hε2.le | |
| 69 | + | |
| 70 | +/-- A continuous family with one common compact spatial support, bundled as a continuous | |
| 71 | +path of bounded continuous functions. -/ | |
| 72 | +def compactSupportBoundedPath | |
| 73 | + (u : A × E → V) (hu : Continuous u) (K : Set E) (hK : IsCompact K) | |
| 74 | + (hs : ∀ t, tsupport (fun x => u (t, x)) ⊆ K) : C(A, E →ᵇ V) where | |
| 75 | + toFun t := boundedOfCompactSupport (fun x => u (t, x)) | |
| 76 | + (hu.comp (continuous_const.prodMk continuous_id)) | |
| 77 | + (hK.of_isClosed_subset (isClosed_tsupport _) (hs t)) | |
| 78 | + continuous_toFun := continuous_boundedOfCompactSupport u hu K hK hs | |
| 79 | + | |
| 80 | +@[simp] theorem compactSupportBoundedPath_apply | |
| 81 | + (u : A × E → V) (hu : Continuous u) (K : Set E) (hK : IsCompact K) | |
| 82 | + (hs : ∀ t, tsupport (fun x => u (t, x)) ⊆ K) (t : A) (x : E) : | |
| 83 | + compactSupportBoundedPath u hu K hK hs t x = u (t, x) := rfl | |
| 84 | + | |
| 85 | +end EulerComparator | |
| 86 | +end | |
| 87 | + | |
| 88 | +end | |
| 89 | + | |
| 10 | 90 | noncomputable section |
| 11 | 91 | |
| 12 | 92 | open Set Filter |
+0 −72 Euler/CompactSupportBoundedPath.lean deleted
| @@ -1,72 +0,0 @@ | ||
| 1 | -import Mathlib.Topology.ContinuousMap.Bounded.Normed | |
| 2 | -import Mathlib.Topology.UniformSpace.HeineCantor | |
| 3 | - | |
| 4 | -/-! Continuous families with a common compact spatial support give continuous paths in the | |
| 5 | -space of bounded continuous functions, equipped with the uniform norm. -/ | |
| 6 | - | |
| 7 | -open Set Filter Topology | |
| 8 | -open scoped BoundedContinuousFunction | |
| 9 | - | |
| 10 | -noncomputable section | |
| 11 | - | |
| 12 | -namespace EulerComparator | |
| 13 | - | |
| 14 | -variable {A E V : Type*} [TopologicalSpace A] [TopologicalSpace E] | |
| 15 | - [NormedAddCommGroup V] | |
| 16 | - | |
| 17 | -/-- A continuous, compactly supported function, regarded as a bounded continuous function. -/ | |
| 18 | -def boundedOfCompactSupport (f : E → V) (hf : Continuous f) | |
| 19 | - (hs : HasCompactSupport f) : E →ᵇ V where | |
| 20 | - toFun := f | |
| 21 | - continuous_toFun := hf | |
| 22 | - map_bounded' := Metric.isBounded_range_iff.mp (hs.isCompact_range hf).isBounded | |
| 23 | - | |
| 24 | -@[simp] theorem boundedOfCompactSupport_apply (f : E → V) (hf : Continuous f) | |
| 25 | - (hs : HasCompactSupport f) (x : E) : boundedOfCompactSupport f hf hs x = f x := rfl | |
| 26 | - | |
| 27 | -/-- Uniformly compact spatial support upgrades joint continuity to continuity in the | |
| 28 | -bounded-continuous-function norm. No compactness assumption on the parameter space is needed. -/ | |
| 29 | -theorem continuous_boundedOfCompactSupport | |
| 30 | - (u : A × E → V) (hu : Continuous u) (K : Set E) (hK : IsCompact K) | |
| 31 | - (hs : ∀ t, tsupport (fun x => u (t, x)) ⊆ K) : | |
| 32 | - Continuous (fun t => boundedOfCompactSupport (fun x => u (t, x)) | |
| 33 | - (hu.comp (continuous_const.prodMk continuous_id)) | |
| 34 | - (hK.of_isClosed_subset (isClosed_tsupport _) (hs t))) := by | |
| 35 | - rw [continuous_iff_continuousAt] | |
| 36 | - intro t | |
| 37 | - apply Metric.continuousAt_iff'.mpr | |
| 38 | - intro ε hε | |
| 39 | - have hε2 : 0 < ε / 2 := half_pos hε | |
| 40 | - obtain ⟨U, hU, hclose⟩ := hK.mem_uniformity_of_prod | |
| 41 | - (f := fun t x => u (t, x)) (s := Set.univ) hu.continuousOn | |
| 42 | - (Set.mem_univ t) (Metric.dist_mem_uniformity hε2) | |
| 43 | - rw [nhdsWithin_univ] at hU | |
| 44 | - filter_upwards [hU] with s hsU | |
| 45 | - apply lt_of_le_of_lt _ (half_lt_self hε) | |
| 46 | - apply (BoundedContinuousFunction.dist_le hε2.le).mpr | |
| 47 | - intro x | |
| 48 | - change dist (u (s, x)) (u (t, x)) ≤ ε / 2 | |
| 49 | - by_cases hx : x ∈ K | |
| 50 | - · exact (hclose s hsU x hx).le | |
| 51 | - · have hsx : u (s, x) = 0 := image_eq_zero_of_notMem_tsupport | |
| 52 | - (f := fun y => u (s, y)) (fun h => hx (hs s h)) | |
| 53 | - have htx : u (t, x) = 0 := image_eq_zero_of_notMem_tsupport | |
| 54 | - (f := fun y => u (t, y)) (fun h => hx (hs t h)) | |
| 55 | - simpa [hsx, htx] using hε2.le | |
| 56 | - | |
| 57 | -/-- A continuous family with one common compact spatial support, bundled as a continuous | |
| 58 | -path of bounded continuous functions. -/ | |
| 59 | -def compactSupportBoundedPath | |
| 60 | - (u : A × E → V) (hu : Continuous u) (K : Set E) (hK : IsCompact K) | |
| 61 | - (hs : ∀ t, tsupport (fun x => u (t, x)) ⊆ K) : C(A, E →ᵇ V) where | |
| 62 | - toFun t := boundedOfCompactSupport (fun x => u (t, x)) | |
| 63 | - (hu.comp (continuous_const.prodMk continuous_id)) | |
| 64 | - (hK.of_isClosed_subset (isClosed_tsupport _) (hs t)) | |
| 65 | - continuous_toFun := continuous_boundedOfCompactSupport u hu K hK hs | |
| 66 | - | |
| 67 | -@[simp] theorem compactSupportBoundedPath_apply | |
| 68 | - (u : A × E → V) (hu : Continuous u) (K : Set E) (hK : IsCompact K) | |
| 69 | - (hs : ∀ t, tsupport (fun x => u (t, x)) ⊆ K) (t : A) (x : E) : | |
| 70 | - compactSupportBoundedPath u hu K hK hs t x = u (t, x) := rfl | |
| 71 | - | |
| 72 | -end EulerComparator | |
+99 −1 Euler/CompactVorticityContradiction.lean View file
| @@ -1,10 +1,108 @@ | ||
| 1 | -import Euler.CompactCurlBounds | |
| 1 | +import Euler.ClassicalBridge | |
| 2 | +import Mathlib.Analysis.Calculus.TangentCone.Prod | |
| 3 | +import Mathlib.Analysis.Normed.Group.Bounded | |
| 4 | +import Euler.CurlTimeDerivative | |
| 2 | 5 | import Euler.OrdinaryEulerBKM |
| 3 | 6 | |
| 4 | 7 | /-! A classical comparison field with uniformly confined vorticity cannot |
| 5 | 8 | agree with the maximal ordinary solution throughout a finite lifespan. |
| 6 | 9 | The contradiction uses the proved Beale--Kato--Majda integral criterion. -/ |
| 7 | 10 | |
| 11 | +/-! ## From `Euler/CompactSmoothBounds.lean` | |
| 12 | + | |
| 13 | +The text of `Euler/CompactSmoothBounds.lean`, folded into this file, which was its only importer. -/ | |
| 14 | + | |
| 15 | +section | |
| 16 | + | |
| 17 | +/-! Joint smoothness in the reference bounds spatial derivatives on every fixed | |
| 18 | +compact spatial set and closed finite time interval, including time zero. -/ | |
| 19 | + | |
| 20 | +noncomputable section | |
| 21 | + | |
| 22 | +open Set Filter MeasureTheory ContinuousLinearMap | |
| 23 | +open scoped ContDiff Topology | |
| 24 | + | |
| 25 | +namespace Euler.EulerExistenceAndSmoothnessR3 | |
| 26 | + | |
| 27 | +local notation "ℝ³" => EuclideanSpace ℝ (Fin 3) | |
| 28 | + | |
| 29 | +variable {u₀ : ℝ³ → ℝ³} {v : ℝ³ → ℝ → ℝ³} {p : ℝ³ → ℝ → ℝ} | |
| 30 | + (h : EulerExistenceAndSmoothnessR3 u₀ v p) | |
| 31 | + | |
| 32 | +include h | |
| 33 | + | |
| 34 | +theorem spatial_fderiv_eq_within (x : ℝ³) (t : ℝ) (ht : 0 ≤ t) : | |
| 35 | + fderiv ℝ (v · t) x = | |
| 36 | + (fderivWithin ℝ (Function.uncurry v) (univ ×ˢ Ici 0) (x, t)).comp | |
| 37 | + (inl ℝ ℝ³ ℝ) := by | |
| 38 | + have hd := (h.velocity_smooth.differentiableOn (by simp) (x, t) | |
| 39 | + ⟨mem_univ x, ht⟩).hasFDerivWithinAt | |
| 40 | + exact (hd.comp_hasFDerivAt (f := fun y : ℝ³ => (y, t)) x | |
| 41 | + (hasFDerivAt_prodMk_left (𝕜 := ℝ) x t) | |
| 42 | + (Eventually.of_forall (fun y => ⟨mem_univ y, ht⟩))).fderiv | |
| 43 | + | |
| 44 | +theorem spatial_fderiv_continuousOn : | |
| 45 | + ContinuousOn (fun z : ℝ³ × ℝ => fderiv ℝ (v · z.2) z.1) | |
| 46 | + (univ ×ˢ Ici 0) := by | |
| 47 | + have hc := h.velocity_smooth.continuousOn_fderivWithin | |
| 48 | + (uniqueDiffOn_univ.prod (uniqueDiffOn_Ici 0)) (by simp) | |
| 49 | + apply (hc.clm_comp (continuousOn_const (c := inl ℝ ℝ³ ℝ))).congr | |
| 50 | + intro z hz | |
| 51 | + exact h.spatial_fderiv_eq_within z.1 z.2 hz.2 | |
| 52 | + | |
| 53 | +theorem spatial_fderiv_bounded_on_compact (K : Set ℝ³) (hK : IsCompact K) | |
| 54 | + (T : ℝ) : ∃ C : ℝ, ∀ x ∈ K, ∀ t ∈ Icc (0 : ℝ) T, | |
| 55 | + ‖fderiv ℝ (v · t) x‖ ≤ C := by | |
| 56 | + obtain ⟨C, hC⟩ := (hK.prod isCompact_Icc).exists_bound_of_continuousOn | |
| 57 | + (h.spatial_fderiv_continuousOn.mono | |
| 58 | + (show K ×ˢ Icc (0 : ℝ) T ⊆ univ ×ˢ Ici 0 from | |
| 59 | + fun _ hz => ⟨mem_univ _, hz.2.1⟩)) | |
| 60 | + exact ⟨C, fun x hx t ht => hC (x, t) ⟨hx, ht⟩⟩ | |
| 61 | + | |
| 62 | +end Euler.EulerExistenceAndSmoothnessR3 | |
| 63 | +end | |
| 64 | + | |
| 65 | +end | |
| 66 | + | |
| 67 | +/-! ## From `Euler/CompactCurlBounds.lean` | |
| 68 | + | |
| 69 | +The text of `Euler/CompactCurlBounds.lean`, folded into this file, which was its only importer. -/ | |
| 70 | + | |
| 71 | +section | |
| 72 | + | |
| 73 | +/-! Joint smoothness bounds the actual spatial vorticity on every fixed | |
| 74 | +compact spatial set and every closed finite time interval. -/ | |
| 75 | + | |
| 76 | +noncomputable section | |
| 77 | + | |
| 78 | + | |
| 79 | +open Set EulerSmoothLimit EulerMeanBoundary EulerMeanCutoffCurl | |
| 80 | + | |
| 81 | +namespace Euler.EulerExistenceAndSmoothnessR3 | |
| 82 | + | |
| 83 | +variable {u₀ : Space → Space} {v : Space → ℝ → Space} {p : Space → ℝ → ℝ} | |
| 84 | + (h : EulerExistenceAndSmoothnessR3 u₀ v p) | |
| 85 | + | |
| 86 | +include h | |
| 87 | + | |
| 88 | +theorem vorticity_bounded_on_compact (K : Set Space) (hK : IsCompact K) (T : ℝ) : | |
| 89 | + ∃ M : ℝ, 0 ≤ M ∧ ∀ t ∈ Icc (0 : ℝ) T, ∀ x ∈ K, | |
| 90 | + ‖vectorCurl (v · t) x‖ ≤ M := by | |
| 91 | + obtain ⟨C, hC⟩ := h.spatial_fderiv_bounded_on_compact K hK T | |
| 92 | + refine ⟨‖ComparatorBridge.curlMatrixCLM‖ * max C 0, | |
| 93 | + mul_nonneg (norm_nonneg ComparatorBridge.curlMatrixCLM) (le_max_right _ _), ?_⟩ | |
| 94 | + intro t ht x hx | |
| 95 | + rw [vectorCurl_eq_matrix _ x ((h.velocity_contDiff t ht.1).differentiable (by simp) x)] | |
| 96 | + change ‖ComparatorBridge.curlMatrixCLM (fderiv ℝ (v · t) x)‖ ≤ _ | |
| 97 | + exact (ComparatorBridge.curlMatrixCLM.le_opNorm _).trans | |
| 98 | + (mul_le_mul_of_nonneg_left ((hC x hx t ht).trans (le_max_left _ _)) | |
| 99 | + (norm_nonneg ComparatorBridge.curlMatrixCLM)) | |
| 100 | + | |
| 101 | +end Euler.EulerExistenceAndSmoothnessR3 | |
| 102 | +end | |
| 103 | + | |
| 104 | +end | |
| 105 | + | |
| 8 | 106 | noncomputable section |
| 9 | 107 | |
| 10 | 108 | open Set EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field |
+11 −0 routes/s5-euler-compact-1/README.md added View file
| @@ -0,0 +1,11 @@ | ||
| 1 | +--- | |
| 2 | +issue: 14 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s5-euler-compact-1 | |
| 6 | + | |
| 7 | +S-5, unit: the family `Euler/Compact*`. Three small modules, each imported by exactly one file of the same family and folder, are folded into that file: `Euler/CompactSupportBoundedPath.lean` into `Euler/CompactSmoothTimeField.lean`, and `Euler/CompactSmoothBounds.lean` and `Euler/CompactCurlBounds.lean` into `Euler/CompactVorticityContradiction.lean`. The text of each moves unchanged under a heading that names it, in a `section` of its own, before the host's own text; no statement, proof or docstring changes. The plan is `plan.json` here; the tool is `docs/s5-folding/fold.py`. | |
| 8 | + | |
| 9 | +## Next | |
| 10 | + | |
| 11 | +The pull request is open. What comes next is the maintainer's verdict on whether this kind of change is wanted for this family; the rest of the series' folds wait on it. | |
+14 −0 routes/s5-euler-compact-1/plan.json added View file
| @@ -0,0 +1,14 @@ | ||
| 1 | +{ | |
| 2 | +"imports": "in place", | |
| 3 | +"folds": { | |
| 4 | +"Euler/CompactSmoothTimeField.lean": [ | |
| 5 | +"Euler/CompactSupportBoundedPath.lean", | |
| 6 | +"Euler/CompactSmoothTimeField.lean" | |
| 7 | +], | |
| 8 | +"Euler/CompactVorticityContradiction.lean": [ | |
| 9 | +"Euler/CompactSmoothBounds.lean", | |
| 10 | +"Euler/CompactCurlBounds.lean", | |
| 11 | +"Euler/CompactVorticityContradiction.lean" | |
| 12 | +] | |
| 13 | +} | |
| 14 | +} | |