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.ComparatorBridge |
| 2 | |
| 3 | /-! |
| 4 | # Space-time decay from compact spatial and future time support |
| 5 | |
| 6 | Unlike the periodic force bound, these estimates use one compact subset of |
| 7 | Euclidean space. They bound the full one-sided space-time derivative tensors, |
| 8 | including time zero, and allow every real decay exponent. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NavierStokes.CompactSpatialForceDecay |
| 14 | |
| 15 | open Set Filter Function ProblemStatement |
| 16 | open scoped ContDiff Topology |
| 17 | |
| 18 | /-- A single spatial support set works at every physical time. -/ |
| 19 | def SupportedIn (K : Set Space) (f : VelocityField) : Prop := |
| 20 | ∀ t : ℝ, 0 ≤ t → ∀ x : Space, x ∉ K → f (t, x) = 0 |
| 21 | |
| 22 | theorem jet_zero_outside {K : Set Space} (hK : IsClosed K) {f : VelocityField} |
| 23 | (hf : SupportedIn K f) (m : ℕ) {t : ℝ} (ht : 0 ≤ t) {x : Space} (hx : x ∉ K) : |
| 24 | iteratedFDerivWithin ℝ m f futureDomain (t, x) = 0 := by |
| 25 | have he : f =ᶠ[𝓝[futureDomain] (t, x)] (fun _ => 0) := by |
| 26 | have hU : {z : SpaceTime | z.2 ∉ K} ∈ 𝓝 (t, x) := |
| 27 | (hK.isOpen_compl.preimage continuous_snd).mem_nhds hx |
| 28 | filter_upwards [mem_nhdsWithin_of_mem_nhds hU, self_mem_nhdsWithin] with z hz hd |
| 29 | exact hf z.1 hd.1 z.2 hz |
| 30 | simpa using he.iteratedFDerivWithin_eq (hf t ht x hx) m (𝕜 := ℝ) |
| 31 | |
| 32 | theorem jet_zero_after {f : VelocityField} {T : ℝ} |
| 33 | (hf : ∀ t : ℝ, T ≤ t → ∀ x : Space, f (t, x) = 0) |
| 34 | (m : ℕ) {t : ℝ} (ht : T < t) (x : Space) : |
| 35 | iteratedFDerivWithin ℝ m f futureDomain (t, x) = 0 := by |
| 36 | have he : f =ᶠ[𝓝[futureDomain] (t, x)] (fun _ => 0) := by |
| 37 | have hU : {z : SpaceTime | T < z.1} ∈ 𝓝 (t, x) := |
| 38 | (isOpen_lt continuous_const continuous_fst).mem_nhds ht |
| 39 | filter_upwards [mem_nhdsWithin_of_mem_nhds hU] with z hz |
| 40 | exact hf z.1 hz.le z.2 |
| 41 | simpa using he.iteratedFDerivWithin_eq (hf t ht.le x) m (𝕜 := ℝ) |
| 42 | |
| 43 | /-- Compactness bounds the weighted jet itself, so no restriction on `K` is needed. -/ |
| 44 | theorem jet_decay {S : Set Space} (hS : IsCompact S) {f : VelocityField} |
| 45 | (hf : ContDiffOn ℝ ∞ f futureDomain) (hs : SupportedIn S f) |
| 46 | (htime : CompactFutureTimeSupport f) (m : ℕ) (K : ℝ) : |
| 47 | ∃ C : ℝ, 0 < C ∧ ∀ t : ℝ, 0 ≤ t → ∀ x : Space, |
| 48 | ‖iteratedFDerivWithin ℝ m f futureDomain (t, x)‖ ≤ C / (1 + ‖x‖ + t) ^ K := by |
| 49 | obtain ⟨T, hT, hz⟩ := htime |
| 50 | let J := iteratedFDerivWithin ℝ m f futureDomain |
| 51 | have hj : ContinuousOn J futureDomain := |
| 52 | hf.continuousOn_iteratedFDerivWithin |
| 53 | (ENat.natCast_lt_of_coe_top_le_withTop le_rfl m).le |
| 54 | ((uniqueDiffOn_Ici 0).prod uniqueDiffOn_univ) |
| 55 | have hsub : Icc (0 : ℝ) (T + 1) ×ˢ S ⊆ futureDomain := |
| 56 | fun _ h => ⟨h.1.1, mem_univ _⟩ |
| 57 | have hw : ContinuousOn (fun z : SpaceTime => (1 + ‖z.2‖ + z.1) ^ K) |
| 58 | (Icc (0 : ℝ) (T + 1) ×ˢ S) := by |
| 59 | apply ((continuous_const.add continuous_snd.norm).add continuous_fst).continuousOn.rpow_const |
| 60 | intro z hz |
| 61 | left |
| 62 | change 1 + ‖z.2‖ + z.1 ≠ 0 |
| 63 | have htz : 0 ≤ z.1 := hz.1.1 |
| 64 | exact ne_of_gt (by linarith [norm_nonneg z.2]) |
| 65 | obtain ⟨M, hM⟩ := (isCompact_Icc.prod hS).exists_bound_of_continuousOn |
| 66 | (((hj.mono hsub).norm).mul hw) |
| 67 | refine ⟨max M 1, lt_of_lt_of_le zero_lt_one (le_max_right _ _), ?_⟩ |
| 68 | intro t ht x |
| 69 | have hp : 0 < (1 + ‖x‖ + t) ^ K := Real.rpow_pos_of_pos (by positivity) K |
| 70 | by_cases hx : x ∈ S |
| 71 | · by_cases htt : t ≤ T + 1 |
| 72 | · apply (le_div_iff₀ hp).mpr |
| 73 | have hb := hM (t, x) ⟨⟨ht, htt⟩, hx⟩ |
| 74 | exact (le_abs_self _).trans (hb.trans (le_max_left _ _)) |
| 75 | · rw [jet_zero_after hz m (by linarith) x, norm_zero] |
| 76 | exact le_of_lt (div_pos (lt_of_lt_of_le zero_lt_one (le_max_right _ _)) hp) |
| 77 | · rw [jet_zero_outside hS.isClosed hs m ht hx, norm_zero] |
| 78 | exact le_of_lt (div_pos (lt_of_lt_of_le zero_lt_one (le_max_right _ _)) hp) |
| 79 | |
| 80 | theorem rescale_supported {S : Set Space} {f : VelocityField} (hf : SupportedIn S f) |
| 81 | (a : ℝ) {c : ℝ} (hc : 0 ≤ c) : SupportedIn S (ComparatorBridge.rescale a c f) := by |
| 82 | intro t ht x hx |
| 83 | simp only [ComparatorBridge.rescale, hf (c * t) (mul_nonneg hc ht) x hx, smul_zero] |
| 84 | |
| 85 | theorem forceConditionDecay {S : Set Space} (hS : IsCompact S) {f : VelocityField} |
| 86 | (hf : ContDiffOn ℝ ∞ f futureDomain) (hs : SupportedIn S f) |
| 87 | (htime : CompactFutureTimeSupport f) : |
| 88 | Comparator.ForceConditionDecay (ComparatorBridge.toComparator f) := by |
| 89 | refine ⟨⟨ComparatorBridge.toComparator_smooth hf⟩, ?_⟩ |
| 90 | intro m K |
| 91 | obtain ⟨C, _, hb⟩ := jet_decay hS hf hs htime m K |
| 92 | refine ⟨C, ?_⟩ |
| 93 | intro x t ht |
| 94 | rw [ComparatorBridge.toComparator_jet_norm f m x ht] |
| 95 | exact hb t ht x |
| 96 | |
| 97 | end NavierStokes.CompactSpatialForceDecay |