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.IsometricActionCalculus |
| 3 | |
| 4 | /-! Genuine smooth ordinary-space representatives reconstructed from smooth L² translation orbits. -/ |
| 5 | |
| 6 | /-! ## From `Euler/MeanOrdinaryLift.lean` |
| 7 | |
| 8 | The text of `Euler/MeanOrdinaryLift.lean`, folded into this file, which was its only importer. -/ |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! An isometric embedding of ordinary R³ L² into the angle-independent part of the unit cylinder. -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerMeanOrdinaryLift |
| 17 | |
| 18 | open MeasureTheory EulerSmoothLimit EulerMeanSolenoidal EulerLiftedGradientSpace |
| 19 | EulerMetricTransport |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | private local instance : Fact (0 < (1 : ℝ)) := ⟨by norm_num⟩ |
| 23 | |
| 24 | private local instance : IsProbabilityMeasure (volume : Measure (AddCircle (1 : ℝ))) := by |
| 25 | constructor |
| 26 | simp only [AddCircle.measure_univ, ENNReal.ofReal_one] |
| 27 | |
| 28 | theorem ordinaryProjection_measurePreserving : |
| 29 | MeasurePreserving (Prod.fst : LiftDomain 1 → Space) (liftMeasure 1) volume := |
| 30 | measurePreserving_fst |
| 31 | |
| 32 | /-- The added angle has mass one, so this is a genuine L² isometry. -/ |
| 33 | def ordinaryLift : EulerMeanSolenoidal.L2 →ₗᵢ[ℝ] LiftL2 1 := |
| 34 | Lp.compMeasurePreservingₗᵢ ℝ Prod.fst ordinaryProjection_measurePreserving |
| 35 | |
| 36 | theorem ordinaryLift_ae (u : EulerMeanSolenoidal.L2) : |
| 37 | ordinaryLift u =ᵐ[liftMeasure 1] fun x : LiftDomain 1 => u x.1 := |
| 38 | Lp.coeFn_compMeasurePreserving u ordinaryProjection_measurePreserving |
| 39 | |
| 40 | /-- Every cylinder translation acts through its actual spatial component on this embedding. -/ |
| 41 | theorem ordinaryLift_translation (a : LiftDomain 1) (u : EulerMeanSolenoidal.L2) : |
| 42 | EulerLiftedGradientSpace.translation 1 a (ordinaryLift u) = |
| 43 | ordinaryLift (EulerMeanSolenoidal.translation a.1 u) := by |
| 44 | apply Lp.ext |
| 45 | filter_upwards [EulerLiftedGradientSpace.translation_ae 1 a (ordinaryLift u), |
| 46 | (measurePreserving_translation 1 a).quasiMeasurePreserving.ae (ordinaryLift_ae u), |
| 47 | ordinaryLift_ae (EulerMeanSolenoidal.translation a.1 u), |
| 48 | ordinaryProjection_measurePreserving.quasiMeasurePreserving.ae |
| 49 | (EulerMeanSolenoidal.translation_ae a.1 u)] with x h₁ h₂ h₃ h₄ |
| 50 | rw [h₁, h₂, h₃, h₄] |
| 51 | rfl |
| 52 | |
| 53 | /-- A smooth cylinder field restricts to a smooth ordinary field at every fixed angle. -/ |
| 54 | theorem smooth_angle_slice (g : LiftDomain 1 → Space) |
| 55 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift 1 g x)) (θ : AddCircle (1 : ℝ)) : |
| 56 | ContDiff ℝ ∞ (fun x : Space => g (x, θ)) := by |
| 57 | have hi : ContDiff ℝ ∞ (fun x : Space => (x, (0 : ℝ))) := |
| 58 | contDiff_id.prodMk contDiff_const |
| 59 | simpa [Function.comp_def, localFieldLift] using (hg (0, θ)).comp hi |
| 60 | |
| 61 | /-- Fubini selects a genuine spatial representative from a smooth representative of the lift. -/ |
| 62 | theorem exists_smooth_of_lift (u : EulerMeanSolenoidal.L2) (g : LiftDomain 1 → Space) |
| 63 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift 1 g x)) |
| 64 | (hrep : (ordinaryLift u : LiftDomain 1 → Space) =ᵐ[liftMeasure 1] g) : |
| 65 | ∃ f : Space → Space, ContDiff ℝ ∞ f ∧ (u : Space → Space) =ᵐ[volume] f := by |
| 66 | have heq : (fun x : LiftDomain 1 => u x.1) =ᵐ[liftMeasure 1] g := |
| 67 | (ordinaryLift_ae u).symm.trans hrep |
| 68 | have hswap : ∀ᵐ z : AddCircle (1 : ℝ) × Space |
| 69 | ∂(volume : Measure (AddCircle (1 : ℝ))).prod (volume : Measure Space), |
| 70 | u z.2 = g (z.2, z.1) := |
| 71 | Measure.measurePreserving_swap.quasiMeasurePreserving.ae heq |
| 72 | have hsections : ∀ᵐ θ : AddCircle (1 : ℝ) ∂volume, |
| 73 | (u : Space → Space) =ᵐ[volume] fun x => g (x, θ) := |
| 74 | Measure.ae_ae_of_ae_prod hswap |
| 75 | obtain ⟨θ, hθ⟩ := hsections.exists |
| 76 | exact ⟨fun x => g (x, θ), smooth_angle_slice g hg θ, hθ⟩ |
| 77 | |
| 78 | end EulerMeanOrdinaryLift |
| 79 | end |
| 80 | |
| 81 | end |
| 82 | |
| 83 | noncomputable section |
| 84 | |
| 85 | |
| 86 | namespace EulerMeanSmoothRepresentative |
| 87 | |
| 88 | open MeasureTheory EulerSmoothLimit EulerMeanSolenoidal EulerMeanOrdinaryLift |
| 89 | EulerLiftedGradientSpace EulerSpatialSobolevInverse EulerCylinderSobolev |
| 90 | EulerPressureSpatialRegularity |
| 91 | open scoped ContDiff |
| 92 | |
| 93 | private local instance : Fact (0 < (1 : ℝ)) := ⟨by norm_num⟩ |
| 94 | |
| 95 | /-- Smoothness is required only of the actual ordinary L² translation orbit. -/ |
| 96 | abbrev SmoothOrbit (u : EulerMeanSolenoidal.L2) : Prop := |
| 97 | ContDiff ℝ ∞ (fun a : Space => EulerMeanSolenoidal.translation a u) |
| 98 | |
| 99 | def orbitDerivative (u : EulerMeanSolenoidal.L2) (v : Space) : EulerMeanSolenoidal.L2 := |
| 100 | fderiv ℝ (fun a : Space => EulerMeanSolenoidal.translation a u) 0 v |
| 101 | |
| 102 | /-- An orbit derivative is itself an actual translated field, at every base point. -/ |
| 103 | theorem orbitDerivative_translation (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) |
| 104 | (v a : Space) : |
| 105 | EulerMeanSolenoidal.translation a (orbitDerivative u v) = |
| 106 | fderiv ℝ (fun b : Space => EulerMeanSolenoidal.translation b u) a v := by |
| 107 | have H := EulerIsometricAction.hasFDerivAt_all EulerMeanSolenoidal.translation |
| 108 | EulerMeanSolenoidal.translation_add u |
| 109 | (fderiv ℝ (fun b : Space => EulerMeanSolenoidal.translation b u) 0) |
| 110 | ((hu.differentiable (by simp) (0 : Space)).hasFDerivAt) a |
| 111 | exact (congrArg (fun D : Space →L[ℝ] EulerMeanSolenoidal.L2 => D v) H.fderiv).symm |
| 112 | |
| 113 | theorem orbitDerivative_smooth (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) (v : Space) : |
| 114 | SmoothOrbit (orbitDerivative u v) := by |
| 115 | have heq : (fun a : Space => EulerMeanSolenoidal.translation a (orbitDerivative u v)) = |
| 116 | fun a : Space => fderiv ℝ (fun b : Space => EulerMeanSolenoidal.translation b u) a v := |
| 117 | funext fun a => orbitDerivative_translation u hu v a |
| 118 | change ContDiff ℝ ∞ _ |
| 119 | rw [heq] |
| 120 | exact (hu.fderiv_right (m := ∞) (by simp)).clm_apply contDiff_const |
| 121 | |
| 122 | theorem orbitDerivative_hasDerivAt (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) (v : Space) : |
| 123 | HasDerivAt (fun t : ℝ => EulerMeanSolenoidal.translation (t • v) u) (orbitDerivative u v) 0 := by |
| 124 | have H := (hu.differentiable (by simp) (0 : Space)).hasFDerivAt |
| 125 | have ht : HasDerivAt (fun t : ℝ => t • v) v 0 := by |
| 126 | simpa only [id_eq, one_smul] using (hasDerivAt_id (0 : ℝ)).smul_const v |
| 127 | simpa only [Function.comp_def, orbitDerivative] using H.comp_hasDerivAt_of_eq (0 : ℝ) ht (by simp) |
| 128 | |
| 129 | /-- The cylinder jet uses the actual spatial derivative, with zero angular derivative automatically. -/ |
| 130 | theorem ordinaryLift_hasDerivAt (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) (a : LiftTangent) : |
| 131 | HasDerivAt |
| 132 | (fun t : ℝ => EulerLiftedGradientSpace.translation 1 (translationPath 1 a t) (ordinaryLift u)) |
| 133 | (ordinaryLift (orbitDerivative u a.1)) 0 := by |
| 134 | have H := ordinaryLift.toContinuousLinearMap.hasFDerivAt.comp_hasDerivAt (0 : ℝ) |
| 135 | (orbitDerivative_hasDerivAt u hu a.1) |
| 136 | have heq : |
| 137 | (fun t : ℝ => EulerLiftedGradientSpace.translation 1 (translationPath 1 a t) (ordinaryLift u)) = |
| 138 | fun t : ℝ => ordinaryLift (EulerMeanSolenoidal.translation (t • a.1) u) := by |
| 139 | funext t |
| 140 | exact ordinaryLift_translation (translationPath 1 a t) u |
| 141 | rw [heq] |
| 142 | exact H |
| 143 | |
| 144 | /-- Every finite cylinder derivative tree is constructed from genuine ordinary L² derivatives. -/ |
| 145 | def ordinarySpatialJet (s : ℕ) (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : |
| 146 | SpatialJet 1 standardDirection s (ordinaryLift u) := |
| 147 | match s with |
| 148 | | 0 => .zero (ordinaryLift u) |
| 149 | | n+1 => .succ |
| 150 | (fun i => ordinaryLift (orbitDerivative u (standardDirection i).1)) |
| 151 | (fun i => ordinarySpatialJet n (orbitDerivative u (standardDirection i).1) |
| 152 | (orbitDerivative_smooth u hu (standardDirection i).1)) |
| 153 | (fun i => ordinaryLift_hasDerivAt u hu (standardDirection i)) |
| 154 | |
| 155 | /-- A smooth genuine L² translation orbit has a genuine C∞ representative on ordinary R³. -/ |
| 156 | theorem exists_smooth_representative (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : |
| 157 | ∃ f : Space → Space, ContDiff ℝ ∞ f ∧ (u : Space → Space) =ᵐ[volume] f := by |
| 158 | obtain ⟨g, hg, hrep⟩ := EulerSmoothPressureRepresentative.exists_smooth_representative |
| 159 | 1 (ordinaryLift u) (fun s => ordinarySpatialJet s u hu) |
| 160 | exact exists_smooth_of_lift u g hg hrep |
| 161 | |
| 162 | /-- The reconstructed representative is independent of all choices, by continuous uniqueness. -/ |
| 163 | def representative (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : Space → Space := |
| 164 | Classical.choose (exists_smooth_representative u hu) |
| 165 | |
| 166 | theorem representative_smooth (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : |
| 167 | ContDiff ℝ ∞ (representative u hu) := |
| 168 | (Classical.choose_spec (exists_smooth_representative u hu)).1 |
| 169 | |
| 170 | theorem representative_ae (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : |
| 171 | (u : Space → Space) =ᵐ[volume] representative u hu := |
| 172 | (Classical.choose_spec (exists_smooth_representative u hu)).2 |
| 173 | |
| 174 | theorem representative_unique (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) |
| 175 | (f : Space → Space) (hf : Continuous f) (hrep : (u : Space → Space) =ᵐ[volume] f) : |
| 176 | representative u hu = f := |
| 177 | Measure.eq_of_ae_eq ((representative_ae u hu).symm.trans hrep) |
| 178 | (representative_smooth u hu).continuous hf |
| 179 | |
| 180 | end EulerMeanSmoothRepresentative |