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.WeightedClasses |
| 2 | |
| 3 | namespace NavierStokes.MeanLocalCoefficient |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | open WeightedClasses |
| 8 | open scoped BigOperators ContDiff |
| 9 | |
| 10 | variable {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 11 | |
| 12 | /-- A smooth coefficient with unweighted derivative estimates only on the |
| 13 | specified band-dependent sets. Constants are uniform in band and point. -/ |
| 14 | structure LocalCoefficientBounds (s : StripData D) (A : ℕ → Set D) (α : ℝ) |
| 15 | (f : ℕ → D → ℝ) : Prop where |
| 16 | smooth : ∀ n, ContDiffOn ℝ ∞ (f n) s.domain |
| 17 | bounds : ∀ m : ℕ, ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, |
| 18 | ∀ n x, x ∈ s.domain → x ∈ A n → ∀ j : ℕ, j ≤ m → |
| 19 | ‖iteratedFDeriv ℝ j (f n) x‖ ≤ majorant s (fun _ _ => 1) α C p n x |
| 20 | |
| 21 | namespace LocalCoefficientBounds |
| 22 | |
| 23 | variable {s : StripData D} {A B : ℕ → Set D} {α β : ℝ} |
| 24 | {f g : ℕ → D → ℝ} |
| 25 | |
| 26 | theorem of_unweighted (hf : UnweightedClass s α f) : |
| 27 | LocalCoefficientBounds s A α f := |
| 28 | ⟨hf.smooth, fun m => by |
| 29 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 30 | exact ⟨C, hC, p, fun n x hx _ j hj => hb n x hx j hj⟩⟩ |
| 31 | |
| 32 | theorem mono_set (hf : LocalCoefficientBounds s A α f) |
| 33 | (hBA : ∀ n, B n ⊆ A n) : LocalCoefficientBounds s B α f := |
| 34 | ⟨hf.smooth, fun m => by |
| 35 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 36 | exact ⟨C, hC, p, fun n x hx hB j hj => hb n x hx (hBA n hB) j hj⟩⟩ |
| 37 | |
| 38 | /-- A coefficient only needs derivative bounds where the mean field can be |
| 39 | nonzero. Every derivative of the product vanishes off its topological support. -/ |
| 40 | theorem coefficient_mul (hf : LocalCoefficientBounds s A α f) |
| 41 | (hg : MeanClass s β g) (hsupport : ∀ n, tsupport (g n) ∩ s.domain ⊆ A n) : |
| 42 | MeanClass s (α + β) (fun n x => f n x * g n x) := by |
| 43 | refine ⟨hg.weight_nonneg, fun n => (hf.smooth n).mul (hg.smooth n), ?_⟩ |
| 44 | intro m |
| 45 | obtain ⟨C, hC, p, hc⟩ := hf.bounds m |
| 46 | obtain ⟨B, hB, q, hb⟩ := hg.bounds m |
| 47 | refine ⟨(2 : ℝ) ^ m * C * B, by positivity, p + q, ?_⟩ |
| 48 | intro n x hx j hj |
| 49 | by_cases hs : x ∈ tsupport (g n) |
| 50 | · have hlocal := hsupport n ⟨hs, hx⟩ |
| 51 | have hCmajor : 0 ≤ majorant s (fun _ _ => 1) α C p n x := |
| 52 | majorant_nonneg s _ α hC p n x zero_le_one |
| 53 | have hBmajor : 0 ≤ majorant s (fun _ x => s.zeta x) β B q n x := |
| 54 | majorant_nonneg s _ β hB q n x (s.zeta_nonneg x hx) |
| 55 | calc |
| 56 | _ ≤ ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * |
| 57 | ‖iteratedFDeriv ℝ i (f n) x‖ * ‖iteratedFDeriv ℝ (j - i) (g n) x‖ := |
| 58 | JetBounds.norm_iteratedFDeriv_mul_le_on s.isOpen_domain (hf.smooth n) |
| 59 | (hg.smooth n) hx (ENat.natCast_le_of_coe_top_le_withTop le_rfl j) |
| 60 | _ ≤ ∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ) * |
| 61 | majorant s (fun _ _ => 1) α C p n x * |
| 62 | majorant s (fun _ x => s.zeta x) β B q n x := by |
| 63 | apply Finset.sum_le_sum |
| 64 | intro i hi |
| 65 | have hij : i ≤ j := Nat.le_of_lt_succ (Finset.mem_range.mp hi) |
| 66 | exact mul_le_mul |
| 67 | (mul_le_mul_of_nonneg_left (hc n x hx hlocal i (hij.trans hj)) |
| 68 | (Nat.cast_nonneg _)) |
| 69 | (hb n x hx (j - i) ((Nat.sub_le _ _).trans hj)) |
| 70 | (norm_nonneg _) (mul_nonneg (Nat.cast_nonneg _) hCmajor) |
| 71 | _ = (2 : ℝ) ^ j * majorant s (fun _ _ => 1) α C p n x * |
| 72 | majorant s (fun _ x => s.zeta x) β B q n x := by |
| 73 | rw [← Finset.sum_mul, ← Finset.sum_mul] |
| 74 | have hchoose : (∑ i ∈ Finset.range (j + 1), (j.choose i : ℝ)) = (2 : ℝ) ^ j := by |
| 75 | exact_mod_cast Nat.sum_range_choose j |
| 76 | rw [hchoose] |
| 77 | _ ≤ (2 : ℝ) ^ m * majorant s (fun _ _ => 1) α C p n x * |
| 78 | majorant s (fun _ x => s.zeta x) β B q n x := |
| 79 | mul_le_mul_of_nonneg_right |
| 80 | (mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by norm_num) hj) hCmajor) |
| 81 | hBmajor |
| 82 | _ = _ := by |
| 83 | unfold majorant |
| 84 | rw [Real.rpow_add (s.epsilon_pos n), pow_add] |
| 85 | ring |
| 86 | · have hz : iteratedFDeriv ℝ j (fun y => f n y * g n y) x = 0 := by |
| 87 | by_contra hn |
| 88 | exact hs (tsupport_mul_subset_right |
| 89 | ((tsupport_iteratedFDeriv_subset j) (subset_tsupport _ hn))) |
| 90 | rw [hz, norm_zero] |
| 91 | exact majorant_nonneg s _ (α + β) (by positivity) (p + q) n x |
| 92 | (s.zeta_nonneg x hx) |
| 93 | |
| 94 | end LocalCoefficientBounds |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end NavierStokes.MeanLocalCoefficient |