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.MeanTimeTranslation |
| 2 | import Euler.LpSmoothField |
| 3 | import Euler.IsometricActionDerivativeBound |
| 4 | |
| 5 | /-! Symmetric compact smooth approximate identities on ordinary spatial L². -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerOrdinaryMollifier |
| 10 | |
| 11 | open Set Filter MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 12 | EulerMeanSolenoidal EulerNoncompactTransport EulerLpTranslation.SmoothL2Field |
| 13 | open scoped ContDiff Topology Convolution |
| 14 | |
| 15 | def bump (n : ℕ) : ContDiffBump (0 : Space) where |
| 16 | rIn := cutoffScale n |
| 17 | rOut := 2*cutoffScale n |
| 18 | rIn_pos := cutoffScale_pos n |
| 19 | rIn_lt_rOut := by have h := cutoffScale_pos n; linarith |
| 20 | |
| 21 | def kernel (n : ℕ) : Space → ℝ := (bump n).normed volume |
| 22 | |
| 23 | theorem kernel_smooth (n : ℕ) : ContDiff ℝ ∞ (kernel n) := (bump n).contDiff_normed |
| 24 | theorem kernel_compact (n : ℕ) : HasCompactSupport (kernel n) := (bump n).hasCompactSupport_normed |
| 25 | theorem kernel_nonneg (n : ℕ) (x : Space) : 0 ≤ kernel n x := (bump n).nonneg_normed x |
| 26 | theorem kernel_integral (n : ℕ) : ∫ x, kernel n x = 1 := (bump n).integral_normed |
| 27 | theorem kernel_integrable (n : ℕ) : Integrable (kernel n) := (bump n).integrable_normed |
| 28 | theorem kernel_neg (n : ℕ) (x : Space) : kernel n (-x)=kernel n x := (bump n).normed_neg x |
| 29 | |
| 30 | def smoothOrbit (n : ℕ) (u : L2) : Space → L2 := |
| 31 | convolution (kernel n) (fun a => translation a u) (ContinuousLinearMap.lsmul ℝ ℝ) volume |
| 32 | |
| 33 | def mollify (n : ℕ) (u : L2) : L2 := smoothOrbit n u 0 |
| 34 | |
| 35 | theorem smoothOrbit_contDiff (n : ℕ) (u : L2) : ContDiff ℝ ∞ (smoothOrbit n u) := |
| 36 | (kernel_compact n).contDiff_convolution_left (ContinuousLinearMap.lsmul ℝ ℝ) |
| 37 | (kernel_smooth n) (EulerMeanTimeTranslation.translation_continuous u).locallyIntegrable |
| 38 | |
| 39 | theorem mollify_tendsto (u : L2) : Tendsto (fun n => mollify n u) atTop (𝓝 u) := by |
| 40 | have hr : Tendsto (fun n => (bump n).rOut) atTop (𝓝 (0 : ℝ)) := by |
| 41 | simpa only [bump,mul_zero] using cutoffScale_tendsto.const_mul 2 |
| 42 | have h := ContDiffBump.convolution_tendsto_right_of_continuous |
| 43 | (μ := (volume : Measure Space)) hr (EulerMeanTimeTranslation.translation_continuous u) 0 |
| 44 | simpa only [translation_zero,mollify,smoothOrbit,kernel] using h |
| 45 | |
| 46 | theorem mollify_eq_integral (n : ℕ) (u : L2) : |
| 47 | mollify n u=∫ y : Space, kernel n y • translation (-y) u := by |
| 48 | simp only [mollify,smoothOrbit,convolution_def,ContinuousLinearMap.lsmul_apply,zero_sub] |
| 49 | |
| 50 | theorem kernel_orbit_integrable (n : ℕ) (u : L2) : |
| 51 | Integrable (fun y : Space => kernel n y • translation (-y) u) := |
| 52 | ((kernel_smooth n).continuous.smul |
| 53 | ((EulerMeanTimeTranslation.translation_continuous u).comp continuous_neg)).integrable_of_hasCompactSupport |
| 54 | (kernel_compact n).smul_right |
| 55 | |
| 56 | theorem mollify_norm_le (n : ℕ) (u : L2) : ‖mollify n u‖ ≤ ‖u‖ := by |
| 57 | rw [mollify_eq_integral] |
| 58 | have h := norm_integral_le_of_norm_le ((kernel_integrable n).mul_const ‖u‖) |
| 59 | (f := fun y : Space => kernel n y • translation (-y) u) ?_ |
| 60 | · simpa only [integral_mul_const,kernel_integral,one_mul] using h |
| 61 | exact Eventually.of_forall (fun y => by |
| 62 | rw [norm_smul,LinearIsometry.norm_map,Real.norm_eq_abs,abs_of_nonneg (kernel_nonneg n y)]) |
| 63 | |
| 64 | theorem mollify_add (n : ℕ) (u v : L2) : mollify n (u+v)=mollify n u+mollify n v := by |
| 65 | simp only [mollify_eq_integral,map_add,smul_add] |
| 66 | exact integral_add (kernel_orbit_integrable n u) (kernel_orbit_integrable n v) |
| 67 | |
| 68 | theorem mollify_smul (n : ℕ) (c : ℝ) (u : L2) : mollify n (c • u)=c • mollify n u := by |
| 69 | simp only [mollify_eq_integral,map_smul] |
| 70 | simp_rw [smul_comm (kernel n _) c] |
| 71 | exact integral_smul c _ |
| 72 | |
| 73 | def mollifierLinear (n : ℕ) : L2 →ₗ[ℝ] L2 where |
| 74 | toFun := mollify n |
| 75 | map_add' := mollify_add n |
| 76 | map_smul' := mollify_smul n |
| 77 | |
| 78 | def mollifier (n : ℕ) : L2 →L[ℝ] L2 := |
| 79 | (mollifierLinear n).mkContinuous 1 (fun u => by |
| 80 | change ‖mollify n u‖ ≤ 1*‖u‖ |
| 81 | simpa only [one_mul] using mollify_norm_le n u) |
| 82 | |
| 83 | @[simp] theorem mollifier_apply (n : ℕ) (u : L2) : mollifier n u=mollify n u := rfl |
| 84 | |
| 85 | theorem mollify_translation (n : ℕ) (a : Space) (u : L2) : |
| 86 | translation a (mollify n u)=mollify n (translation a u) := by |
| 87 | rw [mollify_eq_integral,mollify_eq_integral] |
| 88 | change (translation a).toContinuousLinearMap |
| 89 | (∫ y : Space, kernel n y • translation (-y) u)=_ |
| 90 | rw [← (translation a).toContinuousLinearMap.integral_comp_comm (kernel_orbit_integrable n u)] |
| 91 | apply integral_congr_ae |
| 92 | exact Eventually.of_forall (fun y => by |
| 93 | simp only [map_smul,LinearIsometry.coe_toContinuousLinearMap] |
| 94 | rw [translation_add,translation_add,add_comm a]) |
| 95 | |
| 96 | theorem smoothOrbit_eq (n : ℕ) (u : L2) (x : Space) : |
| 97 | smoothOrbit n u x=translation x (mollify n u) := by |
| 98 | rw [mollify_eq_integral] |
| 99 | change _=(translation x).toContinuousLinearMap |
| 100 | (∫ y : Space, kernel n y • translation (-y) u) |
| 101 | rw [← (translation x).toContinuousLinearMap.integral_comp_comm (kernel_orbit_integrable n u)] |
| 102 | simp only [smoothOrbit,convolution_def,ContinuousLinearMap.lsmul_apply] |
| 103 | apply integral_congr_ae |
| 104 | exact Eventually.of_forall (fun y => by |
| 105 | simp only [map_smul,LinearIsometry.coe_toContinuousLinearMap,translation_add,sub_eq_add_neg]) |
| 106 | |
| 107 | theorem mollify_smooth (n : ℕ) (u : L2) : |
| 108 | ContDiff ℝ ∞ (fun a => translation a (mollify n u)) := by |
| 109 | convert smoothOrbit_contDiff n u using 1 |
| 110 | exact funext (fun a => (smoothOrbit_eq n u a).symm) |
| 111 | |
| 112 | theorem translation_inner_shift (a : Space) (u v : L2) : |
| 113 | ⟪translation a u,v⟫_ℝ=⟪u,translation (-a) v⟫_ℝ := by |
| 114 | calc |
| 115 | _=⟪translation a u,translation a (translation (-a) v)⟫_ℝ := by |
| 116 | rw [translation_add,add_neg_cancel,translation_zero] |
| 117 | _=_ := (translation a).inner_map_map _ _ |
| 118 | |
| 119 | theorem mollify_symmetric (n : ℕ) (u v : L2) : |
| 120 | ⟪mollify n u,v⟫_ℝ=⟪u,mollify n v⟫_ℝ := by |
| 121 | rw [mollify_eq_integral,mollify_eq_integral] |
| 122 | rw [real_inner_comm v _,← integral_inner (kernel_orbit_integrable n u) v, |
| 123 | ← integral_inner (kernel_orbit_integrable n v) u] |
| 124 | rw [← integral_neg_eq_self (fun y : Space => ⟪v,kernel n y • translation (-y) u⟫_ℝ)] |
| 125 | apply integral_congr_ae |
| 126 | exact Eventually.of_forall (fun y => by |
| 127 | dsimp only |
| 128 | rw [kernel_neg,neg_neg,real_inner_smul_right,real_inner_smul_right, |
| 129 | real_inner_comm _ v,translation_inner_shift]) |
| 130 | |
| 131 | theorem translation_increment (A : EulerLpTranslation.SmoothL2Field Space) (a : Space) : |
| 132 | ‖translation a A.toLp-A.toLp‖ ≤ ‖A.derivative.toLp‖*‖a‖ := by |
| 133 | have h := A.translation_hasFDerivAt 0 |
| 134 | simp only [EulerLpTranslation.translation_zero] at h |
| 135 | exact (EulerIsometricAction.norm_sub_le_of_hasFDerivAt translation translation_add translation_zero |
| 136 | A.toLp _ h a).trans (mul_le_mul_of_nonneg_right |
| 137 | (EulerLpDerivative.derivativeMap_norm_le _ _) (norm_nonneg _)) |
| 138 | |
| 139 | theorem mollify_error (n : ℕ) (A : EulerLpTranslation.SmoothL2Field Space) : |
| 140 | ‖mollify n A.toLp-A.toLp‖ ≤ (2*cutoffScale n)*‖A.derivative.toLp‖ := by |
| 141 | have he : mollify n A.toLp-A.toLp= |
| 142 | ∫ y : Space, kernel n y • (translation (-y) A.toLp-A.toLp) := by |
| 143 | simp only [smul_sub,integral_sub (kernel_orbit_integrable n A.toLp) |
| 144 | ((kernel_integrable n).smul_const A.toLp),integral_smul_const,kernel_integral, |
| 145 | one_smul,mollify_eq_integral] |
| 146 | rw [he] |
| 147 | have h := norm_integral_le_of_norm_le |
| 148 | ((kernel_integrable n).mul_const ((2*cutoffScale n)*‖A.derivative.toLp‖)) |
| 149 | (f := fun y : Space => kernel n y • (translation (-y) A.toLp-A.toLp)) ?_ |
| 150 | · simpa only [integral_mul_const,kernel_integral,one_mul] using h |
| 151 | apply Eventually.of_forall |
| 152 | intro y |
| 153 | rw [norm_smul,Real.norm_eq_abs,abs_of_nonneg (kernel_nonneg n y)] |
| 154 | by_cases hy : kernel n y=0 |
| 155 | · simp only [hy,zero_mul,le_refl] |
| 156 | apply mul_le_mul_of_nonneg_left _ (kernel_nonneg n y) |
| 157 | apply (translation_increment A (-y)).trans |
| 158 | rw [norm_neg,mul_comm (2*cutoffScale n)] |
| 159 | apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) |
| 160 | have hs : y ∈ Function.support ((bump n).normed volume) := hy |
| 161 | rw [(bump n).support_normed_eq,Metric.mem_ball,dist_zero_right] at hs |
| 162 | exact hs.le |
| 163 | |
| 164 | end EulerOrdinaryMollifier |