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 Euler.ClassicalBridge |
| 2 | import Mathlib.Analysis.Calculus.TangentCone.Prod |
| 3 | import Mathlib.Analysis.Normed.Group.Bounded |
| 4 | import Euler.CurlTimeDerivative |
| 5 | import Euler.OrdinaryEulerBKM |
| 6 | |
| 7 | /-! A classical comparison field with uniformly confined vorticity cannot |
| 8 | agree with the maximal ordinary solution throughout a finite lifespan. |
| 9 | The contradiction uses the proved Beale--Kato--Majda integral criterion. -/ |
| 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 | |
| 106 | noncomputable section |
| 107 | |
| 108 | open Set EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 109 | EulerOrdinarySobolev EulerVectorCalculus EulerMeanBoundary EulerMeanCutoffCurl |
| 110 | |
| 111 | namespace Euler.ComparatorBridge |
| 112 | |
| 113 | variable {A : SmoothL2Field Space} (L : FiniteLifespan A) |
| 114 | {v : Space → ℝ → Space} {p : Space → ℝ → ℝ} |
| 115 | |
| 116 | theorem finiteLifespan_contradiction_of_compact_vorticity |
| 117 | (h : EulerExistenceAndSmoothnessR3 A.field v p) |
| 118 | (K : Set Space) (hK : IsCompact K) |
| 119 | (hmatch : ∀ t : L.Time, L.maximalVelocity t = (v · (t : ℝ))) |
| 120 | (hsupport : ∀ (t : L.Time) x, x ∉ K → |
| 121 | vectorCurl (L.maximalVelocity t) x = 0) : False := by |
| 122 | obtain ⟨M, hM, hbound⟩ := h.vorticity_bounded_on_compact K hK L.duration |
| 123 | have hcurl : ∀ (t : L.Time) x, ‖vectorCurl (L.maximalVelocity t) x‖ ≤ M := by |
| 124 | intro t x |
| 125 | by_cases hx : x ∈ K |
| 126 | · rw [hmatch t] |
| 127 | exact hbound t ⟨t.property.1, t.property.2.le⟩ x hx |
| 128 | · rw [hsupport t x hx, norm_zero] |
| 129 | exact hM |
| 130 | obtain ⟨S, hS, hSL, t, hlarge⟩ := L.vorticityIntegral_unbounded (M * L.duration) |
| 131 | have hbound : ∀ s x, ‖vectorCurl ((L.evolution S hS hSL).velocity s).field x‖ ≤ M := by |
| 132 | intro s x |
| 133 | rw [← L.maximalVelocity_eq_evolution S hS hSL s] |
| 134 | exact hcurl _ x |
| 135 | have hupper := (L.evolution S hS hSL).vorticityIntegral_le_const M hbound t |
| 136 | have ht : (t : ℝ) ≤ L.duration := t.property.2.trans hSL.le |
| 137 | exact (not_lt_of_ge (hupper.trans (mul_le_mul_of_nonneg_left ht hM))) hlarge |
| 138 | |
| 139 | end Euler.ComparatorBridge |