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.R3EnergyNorms |
| 2 | import NavierStokes.R3EnergyAbsorption |
| 3 | |
| 4 | /-! |
| 5 | # Uniform cutoff pressure estimates for a difference stress |
| 6 | |
| 7 | The estimates are uniform in the Gaussian regularization parameter and |
| 8 | use only the velocity norms supplied by finite energy and the compact |
| 9 | comparison solution. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | namespace NavierStokes.R3StressPressureEstimate |
| 14 | |
| 15 | open Set Filter MeasureTheory ProblemStatement |
| 16 | open R3WeightedLp R3PressureCommutator R3PressureCutoff R3PressureFlux R3RieszApproximation |
| 17 | open R3RieszKernel R3PressureNearKernel R3EnergyNorms R3CutoffSobolev |
| 18 | open scoped ENNReal ContDiff |
| 19 | |
| 20 | def nearConstant : ℝ := lpNorm nearBase (6 / 5) volume |
| 21 | def farConstant : ℝ := lpNorm remainderBase 2 volume |
| 22 | def commutatorConstant (L : ℝ) : ℝ := kernelConstant * (96 * L ^ 6) |
| 23 | |
| 24 | def rawBound (R L M V B : ℝ) : ℝ := |
| 25 | (B ^ (3 / 2 : ℝ) * M ^ (1 / 2 : ℝ) + 2 * (V * M) + |
| 26 | commutatorConstant L * |
| 27 | (R ^ (-1 / 2 : ℝ) * nearConstant * (B * M + 2 * (V * M)) + |
| 28 | R ^ (-3 / 2 : ℝ) * farConstant * (M ^ 2 + 2 * (V * M)))) * (8 * L / R * M) |
| 29 | |
| 30 | theorem rawBound_nonneg {R L M V B : ℝ} (hR : 0 ≤ R) (hL : 0 ≤ L) (hM : 0 ≤ M) |
| 31 | (hV : 0 ≤ V) (hB : 0 ≤ B) : 0 ≤ rawBound R L M V B := by |
| 32 | have hk := kernelConstant_nonneg |
| 33 | have hn : 0 ≤ nearConstant := lpNorm_nonneg |
| 34 | have hf : 0 ≤ farConstant := lpNorm_nonneg |
| 35 | unfold rawBound commutatorConstant |
| 36 | positivity |
| 37 | |
| 38 | theorem regularized_flux_bound {R L : ℝ} {φ U W : Space → ℝ} {g h : Space → ℂ} |
| 39 | (hφ : Cutoff R L φ) (hφg : φ.HasTemperateGrowth) |
| 40 | (hWm : Measurable W) (hgm : Measurable g) (hU0 : ∀ x, 0 ≤ U x) (hW0 : ∀ x, 0 ≤ W x) |
| 41 | (hU₂ : MemLp U 2) (hU₆ : MemLp U 6) (hUi : MemLp U ⊤) |
| 42 | (hW₂ : MemLp W 2) (hB₆ : MemLp (fourthWeight φ W) 6) (hh : MemLp h 2) |
| 43 | (hb : ∀ x, ‖g x‖ ≤ W x ^ 2 + 2 * (U x * W x)) |
| 44 | {M V B : ℝ} (hM : 0 ≤ M) (hV : 0 ≤ V) (hB : 0 ≤ B) |
| 45 | (bW : lpNorm W 2 volume ≤ M) (bU₂ : lpNorm U 2 volume ≤ V) |
| 46 | (bU₆ : lpNorm U 6 volume ≤ V) (bUi : lpNorm U ⊤ volume ≤ V) |
| 47 | (bB : lpNorm (fourthWeight φ W) 6 volume ≤ B) |
| 48 | (bh : lpNorm h 2 volume ≤ 8 * L / R * M) (n : ℕ) (i j : Fin 3) : |
| 49 | ‖∫ x : Space, powerCutoff φ x * regularized n i j g x * h x‖ ≤ rawBound R L M V B := by |
| 50 | obtain ⟨hg, bg⟩ := stress_L1 hWm hgm hW0 hU₂ hW₂ hb |
| 51 | obtain ⟨hg5, bg5⟩ := stress_weight_five hφ hWm hgm hU0 hW0 hU₆ hW₂ hB₆ hb |
| 52 | obtain ⟨hg6, bg6⟩ := stress_weight_six hφ hWm hgm hU0 hW0 hUi hW₂ hB₆ hb |
| 53 | have hR := hφ.radius_pos |
| 54 | have hL : 0 ≤ L := le_trans zero_le_one hφ.constant_ge_one |
| 55 | have hk : 0 ≤ commutatorConstant L := mul_nonneg kernelConstant_nonneg (by positivity) |
| 56 | have hn : 0 ≤ nearConstant := lpNorm_nonneg |
| 57 | have hf : 0 ≤ farConstant := lpNorm_nonneg |
| 58 | have b1 : lpNorm g 1 volume ≤ M ^ 2 + 2 * (V * M) := by |
| 59 | apply bg.trans |
| 60 | gcongr <;> first | assumption | exact lpNorm_nonneg |
| 61 | have b5 : lpNorm (weightedNorm φ g) (3 / 2) volume ≤ B * M + 2 * (V * M) := by |
| 62 | apply bg5.trans |
| 63 | gcongr <;> first | assumption | exact lpNorm_nonneg |
| 64 | have b6 : lpNorm (fun x => powerCutoff φ x * g x) 2 volume ≤ |
| 65 | B ^ (3 / 2 : ℝ) * M ^ (1 / 2 : ℝ) + 2 * (V * M) := by |
| 66 | apply bg6.trans |
| 67 | gcongr <;> first | assumption | exact lpNorm_nonneg | exact Real.rpow_nonneg lpNorm_nonneg _ |
| 68 | have berror : errorBound R L φ g ≤ commutatorConstant L * |
| 69 | (R ^ (-1 / 2 : ℝ) * nearConstant * (B * M + 2 * (V * M)) + |
| 70 | R ^ (-3 / 2 : ℝ) * farConstant * (M ^ 2 + 2 * (V * M))) := by |
| 71 | change commutatorConstant L * |
| 72 | (R ^ (-1 / 2 : ℝ) * nearConstant * lpNorm (weightedNorm φ g) (3 / 2) volume + |
| 73 | R ^ (-3 / 2 : ℝ) * farConstant * lpNorm g 1 volume) ≤ _ |
| 74 | gcongr |
| 75 | apply (regularized_flux_le hφ hφg n i j hg hg5 hg6 hh).trans |
| 76 | unfold rawBound |
| 77 | exact mul_le_mul (add_le_add b6 berror) bh lpNorm_nonneg (by positivity) |
| 78 | |
| 79 | def coefficient (L M V : ℝ) : ℝ := |
| 80 | 8 * L * M * (M ^ (1 / 2 : ℝ) + commutatorConstant L * nearConstant * M + |
| 81 | (2 * (V * M) + commutatorConstant L * |
| 82 | (nearConstant * (2 * (V * M)) + farConstant * (M ^ 2 + 2 * (V * M))))) |
| 83 | |
| 84 | theorem coefficient_nonneg {L M V : ℝ} (hL : 0 ≤ L) (hM : 0 ≤ M) (hV : 0 ≤ V) : |
| 85 | 0 ≤ coefficient L M V := by |
| 86 | have hk : 0 ≤ commutatorConstant L := mul_nonneg kernelConstant_nonneg (by positivity) |
| 87 | have hn : 0 ≤ nearConstant := lpNorm_nonneg |
| 88 | have hf : 0 ≤ farConstant := lpNorm_nonneg |
| 89 | unfold coefficient |
| 90 | positivity |
| 91 | |
| 92 | theorem rawBound_le {R L M V B : ℝ} (hR : 1 ≤ R) (hL : 0 ≤ L) |
| 93 | (hM : 0 ≤ M) (hV : 0 ≤ V) (hB : 0 ≤ B) : |
| 94 | rawBound R L M V B ≤ coefficient L M V / R * (B ^ (3 / 2 : ℝ) + B + 1) := by |
| 95 | have hR' : 0 < R := lt_of_lt_of_le zero_lt_one hR |
| 96 | have hk : 0 ≤ commutatorConstant L := mul_nonneg kernelConstant_nonneg (by positivity) |
| 97 | have hn : 0 ≤ nearConstant := lpNorm_nonneg |
| 98 | have hf : 0 ≤ farConstant := lpNorm_nonneg |
| 99 | have hhalf : R ^ (-1 / 2 : ℝ) ≤ 1 := Real.rpow_le_one_of_one_le_of_nonpos hR (by norm_num) |
| 100 | have hthree : R ^ (-3 / 2 : ℝ) ≤ 1 := Real.rpow_le_one_of_one_le_of_nonpos hR (by norm_num) |
| 101 | have hnear := mul_le_mul_of_nonneg_right hhalf |
| 102 | (by positivity : 0 ≤ nearConstant * (B * M + 2 * (V * M))) |
| 103 | have hfar := mul_le_mul_of_nonneg_right hthree |
| 104 | (by positivity : 0 ≤ farConstant * (M ^ 2 + 2 * (V * M))) |
| 105 | let a := M ^ (1 / 2 : ℝ) |
| 106 | let b := commutatorConstant L * nearConstant * M |
| 107 | let c := 2 * (V * M) + commutatorConstant L * |
| 108 | (nearConstant * (2 * (V * M)) + farConstant * (M ^ 2 + 2 * (V * M))) |
| 109 | have ha : 0 ≤ a := Real.rpow_nonneg hM _ |
| 110 | have hb : 0 ≤ b := by dsimp [b]; positivity |
| 111 | have hc : 0 ≤ c := by dsimp [c]; positivity |
| 112 | have hbnd : B ^ (3 / 2 : ℝ) * M ^ (1 / 2 : ℝ) + 2 * (V * M) + |
| 113 | commutatorConstant L * |
| 114 | (R ^ (-1 / 2 : ℝ) * nearConstant * (B * M + 2 * (V * M)) + |
| 115 | R ^ (-3 / 2 : ℝ) * farConstant * (M ^ 2 + 2 * (V * M))) ≤ |
| 116 | a * B ^ (3 / 2 : ℝ) + b * B + c := by |
| 117 | have hh := mul_le_mul_of_nonneg_left (add_le_add hnear hfar) hk |
| 118 | dsimp only [a, b, c] |
| 119 | nlinarith only [hh] |
| 120 | have hpoly : a * B ^ (3 / 2 : ℝ) + b * B + c ≤ (a + b + c) * (B ^ (3 / 2 : ℝ) + B + 1) := by |
| 121 | have hp : 0 ≤ B ^ (3 / 2 : ℝ) := Real.rpow_nonneg hB _ |
| 122 | nlinarith [mul_nonneg ha hB, mul_nonneg hb hp, mul_nonneg hc hp, mul_nonneg hc hB] |
| 123 | have hh := mul_le_mul_of_nonneg_right (hbnd.trans hpoly) (by positivity : 0 ≤ 8 * L / R * M) |
| 124 | unfold rawBound |
| 125 | convert! hh using 1 |
| 126 | dsimp only [a, b, c, coefficient] |
| 127 | ring |
| 128 | |
| 129 | /-- A single stress component contributes an arbitrarily small multiple |
| 130 | of the localized dissipation, plus a uniform inverse-radius remainder. -/ |
| 131 | theorem exists_regularized_pressure_bound {L M V ε : ℝ} |
| 132 | (hL : 1 ≤ L) (hM : 0 ≤ M) (hV : 0 ≤ V) (hε : 0 < ε) : |
| 133 | ∃ C : ℝ, 0 ≤ C ∧ ∀ (R : ℝ) (φ : Space → ℝ) (w : Space → Space) |
| 134 | (U : Space → ℝ) (g : Space → ℂ), 1 ≤ R → Cutoff R L φ → |
| 135 | ContDiff ℝ ∞ φ → HasCompactSupport φ → (∀ x, ‖fderiv ℝ φ x‖ ≤ L / R) → |
| 136 | ContDiff ℝ ∞ w → MemLp w 2 → lpNorm w 2 volume ≤ M → |
| 137 | (∀ x, 0 ≤ U x) → MemLp U 2 → MemLp U 6 → MemLp U ⊤ → |
| 138 | lpNorm U 2 volume ≤ V → lpNorm U 6 volume ≤ V → lpNorm U ⊤ volume ≤ V → |
| 139 | Measurable g → (∀ x, ‖g x‖ ≤ ‖w x‖ ^ 2 + 2 * (U x * ‖w x‖)) → |
| 140 | ∀ n i j, ‖∫ x : Space, |
| 141 | (fderiv ℝ (fun y => φ y ^ 8) x (w x) : ℂ) * regularized n i j g x‖ ≤ |
| 142 | ε * R3CompactEnergy.dissipation (fun x => φ x ^ 8) w + C / R := by |
| 143 | have hL₀ : 0 ≤ L := le_trans zero_le_one hL |
| 144 | obtain ⟨C, hC, hAbs⟩ := R3EnergyAbsorption.absorb_sobolev_errors |
| 145 | (coefficient_nonneg hL₀ hM hV) sobolevConstant_nonneg (show 0 ≤ 4 * L * M by positivity) |
| 146 | (show 0 < ε / 3 by positivity) |
| 147 | refine ⟨C, hC, ?_⟩ |
| 148 | intro R φ w U g hR hφ hφs hφc hφd hw hw₂ bw hU₀ hU₂ hU₆ hUi bU₂ bU₆ bUi hgm hb n i j |
| 149 | have hR' : 0 < R := lt_of_lt_of_le zero_lt_one hR |
| 150 | let A := lpNorm (weightedDerivativeNorm φ w) 2 volume |
| 151 | let B := lpNorm (fourthWeight φ (fun x => ‖w x‖)) 6 volume |
| 152 | have hA : 0 ≤ A := lpNorm_nonneg |
| 153 | have hB : 0 ≤ B := lpNorm_nonneg |
| 154 | have hB₆ : MemLp (fourthWeight φ (fun x => ‖w x‖)) 6 := by |
| 155 | have hc : HasCompactSupport (fun x => φ x ^ 4 * ‖w x‖) := |
| 156 | (hφc.comp_left (g := fun r : ℝ => r ^ 4) (by norm_num)).mul_right |
| 157 | exact ((hφs.continuous.pow 4).mul hw.continuous.norm).memLp_of_hasCompactSupport hc |
| 158 | have hSob : B ≤ sobolevConstant * (A + (4 * L * M) / R) := by |
| 159 | have h := weighted_sobolev (hφs.of_le (by simp)) hφc (hw.of_le (by simp)) hφ.range |
| 160 | (show 0 ≤ L / R by positivity) hφd hw₂ |
| 161 | have hm := mul_le_mul_of_nonneg_left bw (show 0 ≤ 4 * (L / R) by positivity) |
| 162 | have hh := h.trans (mul_le_mul_of_nonneg_left (add_le_add le_rfl hm) sobolevConstant_nonneg) |
| 163 | convert! hh using 1 |
| 164 | ring |
| 165 | obtain ⟨hH, bH⟩ := pressureFluxFactor_memLp hφs hw hφ.range |
| 166 | (show 0 ≤ L / R by positivity) hφd hw₂ |
| 167 | have bH' : lpNorm (pressureFluxFactor φ w) 2 volume ≤ 8 * L / R * M := by |
| 168 | have h := bH.trans (mul_le_mul_of_nonneg_left bw (show 0 ≤ 8 * (L / R) by positivity)) |
| 169 | convert! h using 1 |
| 170 | ring |
| 171 | have bW : lpNorm (fun x => ‖w x‖) 2 volume ≤ M := by rw [lpNorm_norm hw₂.1]; exact bw |
| 172 | have hreg := regularized_flux_bound hφ |
| 173 | (hφc.hasTemperateGrowth hφs) hw.continuous.norm.measurable hgm hU₀ |
| 174 | (fun x => norm_nonneg (w x)) hU₂ hU₆ hUi hw₂.norm hB₆ hH hb hM hV hB bW bU₂ bU₆ bUi le_rfl bH' n i j |
| 175 | have he (x : Space) : powerCutoff φ x * regularized n i j g x * pressureFluxFactor φ w x = |
| 176 | (fderiv ℝ (fun y => φ y ^ 8) x (w x) : ℂ) * regularized n i j g x := by |
| 177 | rw [← pressureFluxFactor_identity hφs w x] |
| 178 | ring |
| 179 | simp only [he] at hreg |
| 180 | have hraw := rawBound_le hR hL₀ hM hV hB |
| 181 | have hpoly : coefficient L M V / R * (B ^ (3 / 2 : ℝ) + B + 1) ≤ |
| 182 | coefficient L M V / R * (B ^ (3 / 2 : ℝ) + B + A + 1) := by |
| 183 | exact mul_le_mul_of_nonneg_left (by linarith) (div_nonneg (coefficient_nonneg hL₀ hM hV) hR'.le) |
| 184 | have hfinal := hAbs R A B hR hA hB hSob |
| 185 | have hdis := weightedDerivative_sq_le_dissipation hφs hφc hw |
| 186 | have hdis' := mul_le_mul_of_nonneg_left hdis (show 0 ≤ ε / 3 by positivity) |
| 187 | exact ((hreg.trans hraw).trans hpoly).trans (hfinal.trans (by dsimp [A] at *; nlinarith only [hdis'])) |
| 188 | |
| 189 | end NavierStokes.R3StressPressureEstimate |