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.GaussianHeatSmoothing |
| 2 | |
| 3 | /-! The genuine four-coordinate cylinder heat semigroup and simultaneous derivative gain. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerGaussianCylinderHeat |
| 8 | |
| 9 | open MeasureTheory EulerLiftedGradientSpace EulerPressureSpatialRegularity EulerSpatialSobolevInverse |
| 10 | EulerCylinderSobolev |
| 11 | open scoped ENNReal NNReal Topology |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | /-- A finite product of commuting directional Gaussian averages. -/ |
| 16 | def heatList (directions : List LiftTangent) (v : ℝ≥0) (f : LiftL2 period) : LiftL2 period := |
| 17 | match directions with |
| 18 | | [] => f |
| 19 | | a :: tail => lineHeat period a v (heatList tail v f) |
| 20 | |
| 21 | theorem heatList_norm_le (directions : List LiftTangent) (v : ℝ≥0) (f : LiftL2 period) : |
| 22 | ‖heatList period directions v f‖ ≤ ‖f‖ := by |
| 23 | induction directions with |
| 24 | | nil => rfl |
| 25 | | cons a tail ih => exact (lineHeat_norm_le period a v _).trans ih |
| 26 | |
| 27 | theorem heatList_add (directions : List LiftTangent) (v : ℝ≥0) (f g : LiftL2 period) : |
| 28 | heatList period directions v (f+g) = heatList period directions v f + heatList period directions v g := by |
| 29 | induction directions with |
| 30 | | nil => rfl |
| 31 | | cons a tail ih => simp only [heatList, ih, lineHeat_add] |
| 32 | |
| 33 | theorem heatList_smul (directions : List LiftTangent) (v : ℝ≥0) (c : ℝ) (f : LiftL2 period) : |
| 34 | heatList period directions v (c • f) = c • heatList period directions v f := by |
| 35 | induction directions with |
| 36 | | nil => rfl |
| 37 | | cons a tail ih => simp only [heatList, ih, lineHeat_smul] |
| 38 | |
| 39 | def heatListOperator (directions : List LiftTangent) (v : ℝ≥0) : LiftL2 period →L[ℝ] LiftL2 period := |
| 40 | LinearMap.mkContinuous |
| 41 | { toFun := heatList period directions v |
| 42 | map_add' := heatList_add period directions v |
| 43 | map_smul' := heatList_smul period directions v } |
| 44 | 1 (fun f => by simpa using heatList_norm_le period directions v f) |
| 45 | |
| 46 | @[simp] theorem heatListOperator_apply (directions : List LiftTangent) (v : ℝ≥0) (f : LiftL2 period) : |
| 47 | heatListOperator period directions v f = heatList period directions v f := rfl |
| 48 | |
| 49 | theorem heatList_translation (directions : List LiftTangent) (v : ℝ≥0) (b : LiftDomain period) (f : LiftL2 period) : |
| 50 | translation period b (heatList period directions v f) = heatList period directions v (translation period b f) := by |
| 51 | induction directions with |
| 52 | | nil => rfl |
| 53 | | cons a tail ih => rw [heatList, heatList, lineHeat_translation, ih] |
| 54 | |
| 55 | /-- Every finite heat product commutes with every directional average. -/ |
| 56 | theorem heatList_lineHeat_commute (directions : List LiftTangent) (a : LiftTangent) |
| 57 | (v w : ℝ≥0) (f : LiftL2 period) : |
| 58 | heatList period directions v (lineHeat period a w f) = lineHeat period a w (heatList period directions v f) := by |
| 59 | induction directions with |
| 60 | | nil => rfl |
| 61 | | cons b tail ih => rw [heatList, heatList, ih, lineHeat_commute] |
| 62 | |
| 63 | @[simp] theorem heatList_zero (directions : List LiftTangent) (f : LiftL2 period) : |
| 64 | heatList period directions 0 f = f := by |
| 65 | induction directions with |
| 66 | | nil => rfl |
| 67 | | cons a tail ih => simp only [heatList, lineHeat_zero, ih] |
| 68 | |
| 69 | /-- The finite product is itself a semigroup with additive variance. -/ |
| 70 | theorem heatList_semigroup (directions : List LiftTangent) (v w : ℝ≥0) (f : LiftL2 period) : |
| 71 | heatList period directions v (heatList period directions w f) = heatList period directions (v+w) f := by |
| 72 | induction directions with |
| 73 | | nil => rfl |
| 74 | | cons a tail ih => |
| 75 | rw [heatList, heatList, heatList, heatList_lineHeat_commute, lineHeat_semigroup, ih] |
| 76 | |
| 77 | /-- A Lipschitz estimate for the Gaussian operator in its input field. -/ |
| 78 | theorem lineHeat_dist_le (a : LiftTangent) (v : ℝ≥0) (f g : LiftL2 period) : |
| 79 | dist (lineHeat period a v f) (lineHeat period a v g) ≤ dist f g := by |
| 80 | change dist (lineHeatOperator period a v f) (lineHeatOperator period a v g) ≤ dist f g |
| 81 | rw [dist_eq_norm, ← map_sub, dist_eq_norm] |
| 82 | exact lineHeat_norm_le period a v (f-g) |
| 83 | |
| 84 | /-- Joint continuity follows from contraction in the field and strong continuity in variance. -/ |
| 85 | theorem lineHeat_joint_continuous (a : LiftTangent) : |
| 86 | Continuous (fun p : ℝ≥0 × LiftL2 period => lineHeat period a p.1 p.2) := by |
| 87 | apply continuous_iff_continuousAt.mpr |
| 88 | intro p |
| 89 | apply Metric.continuousAt_iff.mpr |
| 90 | intro ε hε |
| 91 | have htime : ContinuousAt (fun v : ℝ≥0 => lineHeat period a v p.2) p.1 := |
| 92 | (lineHeat_continuous period a p.2).continuousAt |
| 93 | have ht := (Metric.continuousAt_iff.mp htime) (ε/2) (by linarith) |
| 94 | obtain ⟨δ, hδ, hδbound⟩ := ht |
| 95 | refine ⟨min δ (ε/2), lt_min hδ (by linarith), ?_⟩ |
| 96 | intro q hq |
| 97 | have htimeclose : dist q.1 p.1 < δ := (show dist q.1 p.1 ≤ dist q p by exact le_max_left _ _).trans_lt ((lt_min_iff.mp hq).1) |
| 98 | have hfieldclose : dist q.2 p.2 < ε/2 := (show dist q.2 p.2 ≤ dist q p by exact le_max_right _ _).trans_lt ((lt_min_iff.mp hq).2) |
| 99 | have h := dist_triangle (lineHeat period a q.1 q.2) (lineHeat period a q.1 p.2) (lineHeat period a p.1 p.2) |
| 100 | have ha := lineHeat_dist_le period a q.1 q.2 p.2 |
| 101 | have hb := hδbound htimeclose |
| 102 | linarith |
| 103 | |
| 104 | theorem heatList_continuous (directions : List LiftTangent) (f : LiftL2 period) : |
| 105 | Continuous (fun v : ℝ≥0 => heatList period directions v f) := by |
| 106 | induction directions with |
| 107 | | nil => exact continuous_const |
| 108 | | cons a tail ih => exact (lineHeat_joint_continuous period a).comp (continuous_id.prodMk ih) |
| 109 | |
| 110 | /-- A finite heat product gains a derivative in each direction included in the product. -/ |
| 111 | theorem heatList_one_derivative (directions : List LiftTangent) (a : LiftTangent) |
| 112 | (ha : a ∈ directions) {v : ℝ≥0} (hv : 0 < v) (f : LiftL2 period) : |
| 113 | ∃ g : LiftL2 period, |
| 114 | HasDerivAt (lineOrbit period a (heatList period directions v f)) g 0 ∧ |
| 115 | ‖g‖ ≤ (gaussianAbsMoment 1 / Real.sqrt (v : ℝ)) * ‖f‖ := by |
| 116 | induction directions with |
| 117 | | nil => simp at ha |
| 118 | | cons b tail ih => |
| 119 | rcases List.mem_cons.mp ha with hab | hat |
| 120 | · subst b |
| 121 | obtain ⟨g, hg, hgb⟩ := lineHeat_one_derivative period a hv (heatList period tail v f) |
| 122 | refine ⟨g, hg, hgb.trans ?_⟩ |
| 123 | exact mul_le_mul_of_nonneg_left (heatList_norm_le period tail v f) |
| 124 | (div_nonneg (gaussianAbsMoment_nonneg 1) (Real.sqrt_nonneg _)) |
| 125 | · obtain ⟨g, hg, hgb⟩ := ih hat |
| 126 | refine ⟨lineHeat period b v g, lineHeat_strongDerivative period b a v _ g hg, ?_⟩ |
| 127 | exact (lineHeat_norm_le period b v g).trans hgb |
| 128 | |
| 129 | /-- The four actual commuting standard coordinate directions on R³×T. -/ |
| 130 | def cylinderDirections : List LiftTangent := List.ofFn standardDirection |
| 131 | |
| 132 | /-- The actual cylinder heat semigroup, parameterized by Gaussian variance. -/ |
| 133 | def cylinderHeat (v : ℝ≥0) : LiftL2 period →L[ℝ] LiftL2 period := |
| 134 | heatListOperator period cylinderDirections v |
| 135 | |
| 136 | theorem cylinderHeat_norm_le (v : ℝ≥0) (f : LiftL2 period) : ‖cylinderHeat period v f‖ ≤ ‖f‖ := |
| 137 | heatList_norm_le period cylinderDirections v f |
| 138 | |
| 139 | @[simp] theorem cylinderHeat_zero (f : LiftL2 period) : cylinderHeat period 0 f = f := |
| 140 | heatList_zero period cylinderDirections f |
| 141 | |
| 142 | theorem cylinderHeat_semigroup (v w : ℝ≥0) (f : LiftL2 period) : |
| 143 | cylinderHeat period v (cylinderHeat period w f) = cylinderHeat period (v+w) f := |
| 144 | heatList_semigroup period cylinderDirections v w f |
| 145 | |
| 146 | theorem cylinderHeat_continuous (f : LiftL2 period) : Continuous (fun v : ℝ≥0 => cylinderHeat period v f) := |
| 147 | heatList_continuous period cylinderDirections f |
| 148 | |
| 149 | theorem cylinderHeat_translation (v : ℝ≥0) (a : LiftDomain period) (f : LiftL2 period) : |
| 150 | cylinderHeat period v (translation period a f) = translation period a (cylinderHeat period v f) := |
| 151 | (heatList_translation period cylinderDirections v a f).symm |
| 152 | |
| 153 | /-- The actual heat average gains all four first derivatives with a uniform parabolic bound. -/ |
| 154 | theorem cylinderHeat_one_derivative {v : ℝ≥0} (hv : 0 < v) (f : LiftL2 period) (i : Fin 4) : |
| 155 | ∃ g : LiftL2 period, |
| 156 | HasDerivAt (lineOrbit period (standardDirection i) (cylinderHeat period v f)) g 0 ∧ |
| 157 | ‖g‖ ≤ (gaussianAbsMoment 1 / Real.sqrt (v : ℝ)) * ‖f‖ := by |
| 158 | exact heatList_one_derivative period cylinderDirections (standardDirection i) |
| 159 | (List.mem_ofFn.mpr ⟨i, rfl⟩) hv f |
| 160 | |
| 161 | end EulerGaussianCylinderHeat |