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 | /-! |
| 4 | # Exact-weight exponent changes for finitely many initial bands |
| 5 | |
| 6 | Only the band exponent changes. The weight, domain, polynomial degree, |
| 7 | and finite band cutoff are preserved, including at the spatial edges. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace NavierStokes.FiniteHeadClass |
| 13 | |
| 14 | open Set WeightedClasses |
| 15 | open scoped BigOperators ContDiff |
| 16 | |
| 17 | variable {D E : Type*} |
| 18 | [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | |
| 21 | /-- One constant, independent of the point and derivative order, compares |
| 22 | the two exponents on the fixed finite set of bands. -/ |
| 23 | noncomputable def comparison (s : StripData D) (N : ℕ) (α β : ℝ) : ℝ := |
| 24 | 1 + ∑ n ∈ Finset.range N, s.epsilon n ^ (α - β) |
| 25 | |
| 26 | theorem one_le_comparison (s : StripData D) (N : ℕ) (α β : ℝ) : |
| 27 | 1 ≤ comparison s N α β := by |
| 28 | apply le_add_of_nonneg_right |
| 29 | exact Finset.sum_nonneg (fun n _ => (Real.rpow_pos_of_pos (s.epsilon_pos n) _).le) |
| 30 | |
| 31 | theorem comparison_nonneg (s : StripData D) (N : ℕ) (α β : ℝ) : |
| 32 | 0 ≤ comparison s N α β := zero_le_one.trans (one_le_comparison s N α β) |
| 33 | |
| 34 | theorem ratio_le_comparison (s : StripData D) {N n : ℕ} (hn : n < N) (α β : ℝ) : |
| 35 | s.epsilon n ^ (α - β) ≤ comparison s N α β := by |
| 36 | have h := Finset.single_le_sum |
| 37 | (fun k (_ : k ∈ Finset.range N) => |
| 38 | (Real.rpow_pos_of_pos (s.epsilon_pos k) (α - β)).le) |
| 39 | (Finset.mem_range.mpr hn) |
| 40 | exact h.trans (le_add_of_nonneg_left zero_le_one) |
| 41 | |
| 42 | theorem exponent_le (s : StripData D) {N n : ℕ} (hn : n < N) (α β : ℝ) : |
| 43 | s.epsilon n ^ α ≤ comparison s N α β * s.epsilon n ^ β := by |
| 44 | calc |
| 45 | _ = s.epsilon n ^ (α - β) * s.epsilon n ^ β := by |
| 46 | rw [← Real.rpow_add (s.epsilon_pos n)] |
| 47 | congr 1 |
| 48 | ring |
| 49 | _ ≤ _ := mul_le_mul_of_nonneg_right (ratio_le_comparison s hn α β) |
| 50 | (Real.rpow_pos_of_pos (s.epsilon_pos n) β).le |
| 51 | |
| 52 | /-- No derivative of the weight or spatial cutoff is used here. -/ |
| 53 | theorem majorant_le {s : StripData D} {w : ℕ → D → ℝ} {α β C : ℝ} |
| 54 | {N n p : ℕ} {x : D} (hn : n < N) (hC : 0 ≤ C) (hw : 0 ≤ w n x) : |
| 55 | majorant s w α C p n x ≤ |
| 56 | majorant s w β (C * comparison s N α β) p n x := by |
| 57 | unfold majorant |
| 58 | apply mul_le_mul_of_nonneg_right _ hw |
| 59 | apply mul_le_mul_of_nonneg_right _ (pow_nonneg (s.growth_nonneg n x) p) |
| 60 | calc |
| 61 | _ ≤ C * (comparison s N α β * s.epsilon n ^ β) := |
| 62 | mul_le_mul_of_nonneg_left (exponent_le s hn α β) hC |
| 63 | _ = _ := (mul_assoc _ _ _).symm |
| 64 | |
| 65 | /-- Vanishing on the same open domain gives vanishing of every actual |
| 66 | ambient derivative there, without any global vanishing assumption. -/ |
| 67 | theorem jet_eq_zero {s : StripData D} {f : D → E} |
| 68 | (hz : ∀ x ∈ s.domain, f x = 0) {x : D} (hx : x ∈ s.domain) (j : ℕ) : |
| 69 | iteratedFDeriv ℝ j f x = 0 := by |
| 70 | have he : EqOn f (fun _ => (0 : E)) s.domain := fun y hy => hz y hy |
| 71 | have hd := iteratedFDerivWithin_congr (𝕜 := ℝ) he hx j |
| 72 | rw [iteratedFDerivWithin_of_isOpen j s.isOpen_domain hx, |
| 73 | iteratedFDerivWithin_of_isOpen j s.isOpen_domain hx] at hd |
| 74 | simpa only [iteratedFDeriv_fun_zero, Pi.zero_apply] using hd |
| 75 | |
| 76 | /-- Quantitative exponent transfer for a finite prefix of actual jets. |
| 77 | The initial bound is needed only on `n < N`. Its degree `p` is unchanged. |
| 78 | The multiplier works uniformly for any additional labels in the data. -/ |
| 79 | theorem jet_bound {s : StripData D} {w : ℕ → D → ℝ} {f : ℕ → D → E} |
| 80 | {N m p : ℕ} {α β C : ℝ} |
| 81 | (hw : ∀ n x, x ∈ s.domain → 0 ≤ w n x) (hC : 0 ≤ C) |
| 82 | (hb : ∀ n, n < N → ∀ x, x ∈ s.domain → ∀ j, j ≤ m → |
| 83 | ‖iteratedFDeriv ℝ j (f n) x‖ ≤ majorant s w α C p n x) |
| 84 | (hz : ∀ n, N ≤ n → ∀ x ∈ s.domain, f n x = 0) : |
| 85 | ∀ n x, x ∈ s.domain → ∀ j, j ≤ m → |
| 86 | ‖iteratedFDeriv ℝ j (f n) x‖ ≤ |
| 87 | majorant s w β (C * comparison s N α β) p n x := by |
| 88 | intro n x hx j hj |
| 89 | by_cases hn : n < N |
| 90 | · exact (hb n hn x hx j hj).trans (majorant_le hn hC (hw n x hx)) |
| 91 | · rw [jet_eq_zero (hz n (Nat.le_of_not_gt hn)) hx j, norm_zero] |
| 92 | exact majorant_nonneg s w β (mul_nonneg hC (comparison_nonneg s N α β)) |
| 93 | p n x (hw n x hx) |
| 94 | |
| 95 | /-- A weighted class supported in the fixed finite initial bands has any |
| 96 | chosen exponent with exactly the original weight. -/ |
| 97 | theorem memClass_of_finite_bands {s : StripData D} {w : ℕ → D → ℝ} |
| 98 | {α β : ℝ} {f : ℕ → D → E} (hf : MemClass s w α f) (N : ℕ) |
| 99 | (hz : ∀ n, N ≤ n → ∀ x ∈ s.domain, f n x = 0) : MemClass s w β f := by |
| 100 | refine ⟨hf.weight_nonneg, hf.smooth, ?_⟩ |
| 101 | intro m |
| 102 | obtain ⟨C, hC, p, hb⟩ := hf.bounds m |
| 103 | refine ⟨C * comparison s N α β, mul_nonneg hC (comparison_nonneg s N α β), p, ?_⟩ |
| 104 | exact jet_bound hf.weight_nonneg hC (fun n _ => hb n) hz |
| 105 | |
| 106 | theorem all_exponents {s : StripData D} {w : ℕ → D → ℝ} |
| 107 | {α : ℝ} {f : ℕ → D → E} (hf : MemClass s w α f) (N : ℕ) |
| 108 | (hz : ∀ n, N ≤ n → ∀ x ∈ s.domain, f n x = 0) : |
| 109 | ∀ β : ℝ, MemClass s w β f := fun _ => memClass_of_finite_bands hf N hz |
| 110 | |
| 111 | /-- The radial weight `zeta` is retained at the same spatial edges. -/ |
| 112 | theorem meanClass_all_exponents {s : StripData D} {α : ℝ} {f : ℕ → D → E} |
| 113 | (hf : MeanClass s α f) (N : ℕ) |
| 114 | (hz : ∀ n, N ≤ n → ∀ x ∈ s.domain, f n x = 0) : |
| 115 | ∀ β : ℝ, MeanClass s β f := all_exponents hf N hz |
| 116 | |
| 117 | /-- Both the square-root radial weight and the given slot envelope remain |
| 118 | exactly the same; no lower bound for either is required. -/ |
| 119 | theorem waveClass_all_exponents {s : StripData D} {P : ℕ → D → ℝ} |
| 120 | {α : ℝ} {f : ℕ → D → E} (hf : WaveClass s P α f) (N : ℕ) |
| 121 | (hz : ∀ n, N ≤ n → ∀ x ∈ s.domain, f n x = 0) : |
| 122 | ∀ β : ℝ, WaveClass s P β f := all_exponents hf N hz |
| 123 | |
| 124 | theorem unweightedClass_all_exponents {s : StripData D} |
| 125 | {α : ℝ} {f : ℕ → D → E} (hf : UnweightedClass s α f) (N : ℕ) |
| 126 | (hz : ∀ n, N ≤ n → ∀ x ∈ s.domain, f n x = 0) : |
| 127 | ∀ β : ℝ, UnweightedClass s β f := all_exponents hf N hz |
| 128 | |
| 129 | end NavierStokes.FiniteHeadClass |