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.WholeSpaceGaussianEvolution |
| 2 | import Euler.WholeSpaceGaussianLow |
| 3 | import Euler.MeanSobolevBoundedField |
| 4 | import Euler.OrdinaryH3Norms |
| 5 | import Euler.MeanHarmonicDerivatives |
| 6 | |
| 7 | /-! The heat estimates specialized to genuine ordinary smooth L² fields. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerWholeSpaceGaussian |
| 12 | |
| 13 | open MeasureTheory InnerProductSpace EulerSmoothLimit Filter Set ContinuousLinearMap |
| 14 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSobolevBoundedField |
| 15 | EulerOrdinarySobolev EulerVectorCalculus EulerMeanHarmonic Laplacian |
| 16 | open scoped ContDiff ENNReal RealInnerProductSpace Topology |
| 17 | |
| 18 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 19 | |
| 20 | theorem average_integrable_of_memLp {t : ℝ} (ht : 0 < t) |
| 21 | (f : Space → V) (hf : MemLp f 2 volume) (x : Space) : |
| 22 | Integrable (fun y : Space => kernel t y • f (x+y)) := by |
| 23 | have hs : MemLp (fun y : Space => f (x+y)) 2 volume := |
| 24 | hf.comp_measurePreserving (measurePreserving_add_left (volume : Measure Space) x) |
| 25 | exact memLp_one_iff_integrable.mp (hs.smul (kernel_memLp ht)) |
| 26 | |
| 27 | theorem average_sub {t : ℝ} (ht : 0 < t) (f g : Space → V) |
| 28 | (hf : MemLp f 2 volume) (hg : MemLp g 2 volume) (x : Space) : |
| 29 | average t (fun y => f y-g y) x = average t f x-average t g x := by |
| 30 | simp only [average, smul_sub] |
| 31 | exact integral_sub (average_integrable_of_memLp ht f hf x) (average_integrable_of_memLp ht g hg x) |
| 32 | |
| 33 | theorem average_sum {t : ℝ} (ht : 0 < t) (f : Fin 3 → Space → V) |
| 34 | (hf : ∀ i, MemLp (f i) 2 volume) (x : Space) : |
| 35 | average t (fun y => ∑ i : Fin 3, f i y) x = ∑ i : Fin 3, average t (f i) x := by |
| 36 | simp only [average, Finset.smul_sum] |
| 37 | exact integral_finsetSum Finset.univ (fun i _ => average_integrable_of_memLp ht (f i) (hf i) x) |
| 38 | |
| 39 | theorem secondAverage_directional_bound {t : ℝ} (ht : 0 < t) |
| 40 | (A : SmoothL2Field V) (j : Fin 3) (x : Space) : |
| 41 | ‖secondAverage t (A.directionalField (axis j)).field x‖ ≤ |
| 42 | 3*t^(-(3:ℝ)/4)*‖A.jetLp 3‖ := by |
| 43 | let w (i : Fin 3) : Fin 3 → Fin 3 := ![i,i,j] |
| 44 | have he (i : Fin 3) : (wordField A (w i)).field = |
| 45 | fun z => fderiv ℝ (fun y => fderiv ℝ (A.directionalField (axis j)).field y |
| 46 | (EuclideanSpace.single i 1)) z (EuclideanSpace.single i 1) := by |
| 47 | rfl |
| 48 | have h (i : Fin 3) : ‖average t (wordField A (w i)).field x‖ ≤ |
| 49 | t^(-(3:ℝ)/4)*‖A.jetLp 3‖ := |
| 50 | (average_smoothField_norm ht (wordField A (w i)) x).trans |
| 51 | (mul_le_mul_of_nonneg_left (wordField_toLp_norm_le A (w i)) (Real.rpow_nonneg ht.le _)) |
| 52 | unfold secondAverage |
| 53 | calc |
| 54 | _ ≤ ∑ i : Fin 3, ‖average t (wordField A (w i)).field x‖ := by |
| 55 | simpa only [he] using norm_sum_le Finset.univ (fun i : Fin 3 => average t (wordField A (w i)).field x) |
| 56 | _ ≤ ∑ _i : Fin 3, t^(-(3:ℝ)/4)*‖A.jetLp 3‖ := Finset.sum_le_sum (fun i _ => h i) |
| 57 | _ = _ := by simp; ring |
| 58 | |
| 59 | section Bounded |
| 60 | |
| 61 | variable [FiniteDimensional ℝ V] |
| 62 | |
| 63 | theorem field_sup_bound (A : SmoothL2Field V) (x : Space) : |
| 64 | ‖A.field x‖ ≤ ‖finiteField A‖ := by |
| 65 | simpa only [finiteField_apply] using (finiteField A).norm_coe_le_norm x |
| 66 | |
| 67 | theorem average_field_hasDerivAt {t : ℝ} (ht : 0 < t) (A : SmoothL2Field V) (x : Space) : |
| 68 | HasDerivAt (fun s : ℝ => average s A.field x) ((1/4:ℝ) • secondAverage t A.field x) t := |
| 69 | average_hasDerivAt ht A.field A.smooth ‖finiteField A‖ ‖finiteField A.derivative‖ |
| 70 | ‖finiteField A.derivative.derivative‖ (field_sup_bound A) |
| 71 | (field_sup_bound A.derivative) (field_sup_bound A.derivative.derivative) x |
| 72 | |
| 73 | theorem scaledAverage_field_hasDerivAt {t : ℝ} (ht : 0 < t) (A : SmoothL2Field V) (x : Space) : |
| 74 | HasDerivAt (fun s : ℝ => scaledAverage s A.field x) ((1/4:ℝ) • secondAverage t A.field x) t := by |
| 75 | apply (average_field_hasDerivAt ht A x).congr_of_eventuallyEq |
| 76 | filter_upwards [Ioi_mem_nhds ht] with s hs |
| 77 | exact scaledAverage_eq hs A.field x |
| 78 | |
| 79 | theorem average_field_first_bound (A : SmoothL2Field V) (a x : Space) : |
| 80 | ‖average 1 (fun y => fderiv ℝ A.field y a) x‖ ≤ lowCost*‖a‖*‖A.toLp‖ := by |
| 81 | simpa only [field_norm] using average_first_L2_bound A.field A.smooth A.memLp |
| 82 | ‖finiteField A‖ ‖finiteField A.derivative‖ (field_sup_bound A) (field_sup_bound A.derivative) a x |
| 83 | |
| 84 | theorem average_field_second_bound {t : ℝ} (ht : 0 < t) |
| 85 | (A : SmoothL2Field V) (W : ℝ) (hW : ∀ x, ‖A.field x‖ ≤ W) (a b x : Space) : |
| 86 | ‖average t (fun z => fderiv ℝ (fun y => fderiv ℝ A.field y b) z a) x‖ ≤ |
| 87 | (10*(2:ℝ)^((3:ℝ)/2))*t⁻¹*‖a‖*‖b‖*W := |
| 88 | average_second_bound ht A.field A.smooth W ‖finiteField A.derivative‖ |
| 89 | ‖finiteField A.derivative.derivative‖ hW (field_sup_bound A.derivative) |
| 90 | (field_sup_bound A.derivative.derivative) a b x |
| 91 | |
| 92 | end Bounded |
| 93 | |
| 94 | theorem secondAverage_eq_laplacian {t : ℝ} (ht : 0 < t) |
| 95 | (A : SmoothL2Field ℝ) (x : Space) : |
| 96 | secondAverage t A.field x = average t (Δ A.field) x := by |
| 97 | have he : (Δ A.field) = fun y => ∑ i : Fin 3, |
| 98 | ((A.directionalField (axis i)).directionalField (axis i)).field y := by |
| 99 | funext y |
| 100 | exact laplacian_eq_coordinate_sum A.field A.smooth y |
| 101 | rw [he, average_sum ht _ (fun i => ((A.directionalField (axis i)).directionalField (axis i)).memLp)] |
| 102 | rfl |
| 103 | |
| 104 | end EulerWholeSpaceGaussian |