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 Euler.WholeSpaceGaussianKernel |
| 2 | import Mathlib.Analysis.SpecialFunctions.Pow.Deriv |
| 3 | |
| 4 | /-! The literal time derivative of the Gaussian density and local domination. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerWholeSpaceGaussian |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace EulerSmoothLimit Filter Set |
| 11 | open scoped ContDiff ENNReal RealInnerProductSpace Topology |
| 12 | |
| 13 | def timeKernel (t : ℝ) (y : Space) : ℝ := |
| 14 | (t⁻¹^2*‖y‖^2-(3/2:ℝ)*t⁻¹)*kernel t y |
| 15 | |
| 16 | theorem normalization_hasDerivAt {t : ℝ} (ht : 0 < t) : |
| 17 | HasDerivAt normalization (-(3/2:ℝ)*t⁻¹*normalization t) t := by |
| 18 | have h := ((hasDerivAt_id t).const_mul Real.pi).rpow_const |
| 19 | (p := -(3:ℝ)/2) (Or.inl (mul_pos Real.pi_pos ht).ne') |
| 20 | change HasDerivAt normalization _ t at h |
| 21 | convert h using 1 |
| 22 | simp only [id_eq, mul_one] |
| 23 | rw [Real.rpow_sub_one (mul_pos Real.pi_pos ht).ne'] |
| 24 | unfold normalization |
| 25 | field_simp |
| 26 | |
| 27 | theorem kernel_hasDerivAt {t : ℝ} (ht : 0 < t) (y : Space) : |
| 28 | HasDerivAt (fun s : ℝ => kernel s y) (timeKernel t y) t := by |
| 29 | have h := (normalization_hasDerivAt ht).mul |
| 30 | (((hasDerivAt_inv ht.ne').neg.mul_const (‖y‖^2)).exp) |
| 31 | change HasDerivAt (fun s : ℝ => kernel s y) _ t at h |
| 32 | convert h using 1 |
| 33 | simp only [timeKernel, kernel, inv_pow, Pi.neg_apply, neg_neg] |
| 34 | ring |
| 35 | |
| 36 | theorem timeKernel_continuous (t : ℝ) : Continuous (timeKernel t) := by |
| 37 | unfold timeKernel |
| 38 | exact ((continuous_const.mul (continuous_norm.pow 2)).sub continuous_const).mul |
| 39 | (kernel_smooth t).continuous |
| 40 | |
| 41 | theorem timeKernel_second_sum (t : ℝ) (y : Space) : |
| 42 | timeKernel t y = (1/4:ℝ) * ∑ i : Fin 3, |
| 43 | secondKernel t (EuclideanSpace.single i 1) (EuclideanSpace.single i 1) y := by |
| 44 | simp [timeKernel, secondKernel, EuclideanSpace.inner_single_right, |
| 45 | EuclideanSpace.real_norm_sq_eq, Fin.sum_univ_three] |
| 46 | ring |
| 47 | |
| 48 | theorem timeKernel_bound {t : ℝ} (ht : 0 < t) (y : Space) : |
| 49 | ‖timeKernel t y‖ ≤ ((15/2:ℝ)*t⁻¹)*wideKernel t y := by |
| 50 | rw [timeKernel_second_sum, norm_mul, Real.norm_of_nonneg (by norm_num : (0:ℝ) ≤ 1/4)] |
| 51 | apply (mul_le_mul_of_nonneg_left (norm_sum_le _ _) (by norm_num : (0:ℝ) ≤ 1/4)).trans |
| 52 | have h (i : Fin 3) : |
| 53 | ‖secondKernel t (EuclideanSpace.single i 1) (EuclideanSpace.single i 1) y‖ ≤ |
| 54 | 10*t⁻¹*wideKernel t y := by |
| 55 | simpa only [PiLp.norm_single, norm_one, mul_one] using |
| 56 | secondKernel_bound ht (EuclideanSpace.single i 1) (EuclideanSpace.single i 1) y |
| 57 | have hb := Finset.sum_le_sum (fun i (_hi : i ∈ (Finset.univ : Finset (Fin 3))) => h i) |
| 58 | have hc := mul_le_mul_of_nonneg_left hb (by norm_num : (0:ℝ) ≤ 1/4) |
| 59 | apply hc.trans_eq |
| 60 | simp only [Fin.sum_univ_three] |
| 61 | ring |
| 62 | |
| 63 | theorem timeKernel_integrable {t : ℝ} (ht : 0 < t) : Integrable (timeKernel t) := by |
| 64 | apply ((wideKernel_integrable ht).const_mul ((15/2:ℝ)*t⁻¹)).mono' |
| 65 | (timeKernel_continuous t).aestronglyMeasurable |
| 66 | exact Eventually.of_forall (timeKernel_bound ht) |
| 67 | |
| 68 | def timeEnvelope (t : ℝ) (y : Space) : ℝ := |
| 69 | (15*t⁻¹*normalization (t/2))*Real.exp (-(4*t)⁻¹*‖y‖^2) |
| 70 | |
| 71 | theorem timeEnvelope_integrable {t : ℝ} (ht : 0 < t) : Integrable (timeEnvelope t) := |
| 72 | (exp_integrable (inv_pos.mpr (by positivity : 0 < 4*t))).const_mul _ |
| 73 | |
| 74 | theorem normalization_antitone {s t : ℝ} (hs : 0 < s) (hst : s ≤ t) : |
| 75 | normalization t ≤ normalization s := by |
| 76 | apply Real.rpow_le_rpow_of_nonpos (mul_pos Real.pi_pos hs) |
| 77 | · exact mul_le_mul_of_nonneg_left hst Real.pi_pos.le |
| 78 | · norm_num |
| 79 | |
| 80 | theorem timeKernel_local_bound {t : ℝ} (ht : 0 < t) (s : ℝ) |
| 81 | (hs : s ∈ Ioo (t/2) (2*t)) (y : Space) : |
| 82 | ‖timeKernel s y‖ ≤ timeEnvelope t y := by |
| 83 | have hhalf : 0 < t/2 := by positivity |
| 84 | have hspos : 0 < s := hhalf.trans hs.1 |
| 85 | have hn : normalization s ≤ normalization (t/2) := normalization_antitone hhalf hs.1.le |
| 86 | have hi : s⁻¹ ≤ (t/2)⁻¹ := inv_anti₀ hhalf hs.1.le |
| 87 | have hei : (4*t)⁻¹ ≤ (2*s)⁻¹ := inv_anti₀ (by positivity) (by linarith [hs.2]) |
| 88 | have he : Real.exp (-(2*s)⁻¹*‖y‖^2) ≤ Real.exp (-(4*t)⁻¹*‖y‖^2) := by |
| 89 | apply Real.exp_le_exp.mpr |
| 90 | nlinarith [sq_nonneg ‖y‖] |
| 91 | apply (timeKernel_bound hspos y).trans |
| 92 | change ((15/2:ℝ)*s⁻¹)*(normalization s*Real.exp (-(2*s)⁻¹*‖y‖^2)) ≤ _ |
| 93 | calc |
| 94 | _ ≤ ((15/2:ℝ)*(t/2)⁻¹)*(normalization (t/2)*Real.exp (-(4*t)⁻¹*‖y‖^2)) := by |
| 95 | apply mul_le_mul |
| 96 | · exact mul_le_mul_of_nonneg_left hi (by norm_num) |
| 97 | · exact mul_le_mul hn he (Real.exp_pos _).le (normalization_pos hhalf).le |
| 98 | · exact mul_nonneg (normalization_pos hspos).le (Real.exp_pos _).le |
| 99 | · positivity |
| 100 | _ = _ := by unfold timeEnvelope; field_simp |
| 101 | |
| 102 | end EulerWholeSpaceGaussian |