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.R3EnergyBoundary |
| 2 | import NavierStokes.R3EnergyAbsorption |
| 3 | |
| 4 | /-! |
| 5 | # Uniform absorption of diffusion and transport boundary fluxes |
| 6 | -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | namespace NavierStokes.R3AbsorbedBoundary |
| 10 | |
| 11 | open Set Filter MeasureTheory ProblemStatement |
| 12 | open R3CompactEnergy R3CutoffSobolev R3WeightedLp R3EnergyNorms R3EnergyBoundary |
| 13 | open scoped ContDiff ENNReal |
| 14 | |
| 15 | theorem exists_boundary_bound {L M U ε : ℝ} (hL : 1 ≤ L) (hM : 0 ≤ M) |
| 16 | (hU : 0 ≤ U) (hε : 0 < ε) : |
| 17 | ∃ C : ℝ, 0 ≤ C ∧ ∀ (R : ℝ) (φ : Space → ℝ) (w v : Space → Space), |
| 18 | 1 ≤ R → ContDiff ℝ ∞ φ → HasCompactSupport φ → (∀ x, φ x ∈ Icc (0 : ℝ) 1) → |
| 19 | (∀ x, ‖fderiv ℝ φ x‖ ≤ L / R) → ContDiff ℝ ∞ w → MemLp w 2 → |
| 20 | lpNorm w 2 volume ≤ M → (∀ x, ‖v x‖ ≤ ‖w x‖ + U) → |
| 21 | 2 * |diffusionFlux (fun x => φ x ^ 8) w| + |transportFlux (fun x => φ x ^ 8) w v| ≤ |
| 22 | ε * dissipation (fun x => φ x ^ 8) w + C / R := by |
| 23 | have hL₀ : 0 ≤ L := le_trans zero_le_one hL |
| 24 | let a := 48 * L * M |
| 25 | let b := 8 * L * M ^ (3 / 2 : ℝ) |
| 26 | let d := 8 * L * U * M ^ 2 |
| 27 | have ha : 0 ≤ a := by dsimp [a]; positivity |
| 28 | have hb : 0 ≤ b := by dsimp [b]; positivity |
| 29 | have hd : 0 ≤ d := by dsimp [d]; positivity |
| 30 | obtain ⟨C, hC, hAbs⟩ := R3EnergyAbsorption.absorb_sobolev_errors |
| 31 | (show 0 ≤ a + b + d by positivity) sobolevConstant_nonneg |
| 32 | (show 0 ≤ 4 * L * M by positivity) (show 0 < ε / 3 by positivity) |
| 33 | refine ⟨C, hC, ?_⟩ |
| 34 | intro R φ w v hR hφ hφc hr hφd hw hw₂ bW hv |
| 35 | have hR' : 0 < R := lt_of_lt_of_le zero_lt_one hR |
| 36 | let A := lpNorm (weightedDerivativeNorm φ w) 2 volume |
| 37 | let B := lpNorm (fourthWeight φ (fun x => ‖w x‖)) 6 volume |
| 38 | have hA : 0 ≤ A := lpNorm_nonneg |
| 39 | have hB : 0 ≤ B := lpNorm_nonneg |
| 40 | have hpB : 0 ≤ B ^ (3 / 2 : ℝ) := Real.rpow_nonneg hB _ |
| 41 | have hDiff : |diffusionFlux (fun x => φ x ^ 8) w| ≤ 24 * (L / R) * A * M := by |
| 42 | apply (diffusionFlux_le hφ hφc hw hr (show 0 ≤ L / R by positivity) hφd hw₂).trans |
| 43 | exact mul_le_mul_of_nonneg_left bW (by positivity) |
| 44 | have hTrans : |transportFlux (fun x => φ x ^ 8) w v| ≤ |
| 45 | 8 * (L / R) * (B ^ (3 / 2 : ℝ) * M ^ (3 / 2 : ℝ) + U * M ^ 2) := by |
| 46 | apply (transportFlux_le hφ hφc hw hr (show 0 ≤ L / R by positivity) hU hφd hw₂ hv).trans |
| 47 | gcongr <;> first | assumption | exact lpNorm_nonneg |
| 48 | have hpoly : a * A + b * B ^ (3 / 2 : ℝ) + d ≤ |
| 49 | (a + b + d) * (B ^ (3 / 2 : ℝ) + B + A + 1) := by |
| 50 | nlinarith [mul_nonneg ha hpB, mul_nonneg ha hB, mul_nonneg hb hA, mul_nonneg hb hB, |
| 51 | mul_nonneg hd hpB, mul_nonneg hd hB, mul_nonneg hd hA] |
| 52 | have hsmall : 2 * |diffusionFlux (fun x => φ x ^ 8) w| + |transportFlux (fun x => φ x ^ 8) w v| ≤ |
| 53 | (a * A + b * B ^ (3 / 2 : ℝ) + d) / R := by |
| 54 | have h := add_le_add (mul_le_mul_of_nonneg_left hDiff (by norm_num : (0 : ℝ) ≤ 2)) hTrans |
| 55 | convert! h using 1 |
| 56 | dsimp [a, b, d] |
| 57 | ring |
| 58 | have hsmall' := hsmall.trans (div_le_div_of_nonneg_right hpoly hR'.le) |
| 59 | have hSob : B ≤ sobolevConstant * (A + (4 * L * M) / R) := by |
| 60 | have h := weighted_sobolev (hφ.of_le (by simp)) hφc (hw.of_le (by simp)) hr |
| 61 | (show 0 ≤ L / R by positivity) hφd hw₂ |
| 62 | have hm := mul_le_mul_of_nonneg_left bW (show 0 ≤ 4 * (L / R) by positivity) |
| 63 | have hh := h.trans (mul_le_mul_of_nonneg_left (add_le_add le_rfl hm) sobolevConstant_nonneg) |
| 64 | convert! hh using 1 ; ring |
| 65 | have hfinal := hAbs R A B hR hA hB hSob |
| 66 | have hdis := weightedDerivative_sq_le_dissipation hφ hφc hw |
| 67 | have hdis' := mul_le_mul_of_nonneg_left hdis (show 0 ≤ ε / 3 by positivity) |
| 68 | have he : (a + b + d) * (B ^ (3 / 2 : ℝ) + B + A + 1) / R = |
| 69 | (a + b + d) / R * (B ^ (3 / 2 : ℝ) + B + A + 1) := by ring |
| 70 | rw [he] at hsmall' |
| 71 | exact hsmall'.trans (hfinal.trans (by dsimp [A] at *; nlinarith only [hdis'])) |
| 72 | |
| 73 | end NavierStokes.R3AbsorbedBoundary |