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.MeanOrdinaryLift |
| 2 | import Euler.IsometricActionCalculus |
| 3 | |
| 4 | /-! Genuine smooth ordinary-space representatives reconstructed from smooth L² translation orbits. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | |
| 9 | namespace EulerMeanSmoothRepresentative |
| 10 | |
| 11 | open MeasureTheory EulerSmoothLimit EulerMeanSolenoidal EulerMeanOrdinaryLift |
| 12 | EulerLiftedGradientSpace EulerSpatialSobolevInverse EulerCylinderSobolev |
| 13 | EulerPressureSpatialRegularity |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | private local instance : Fact (0 < (1 : ℝ)) := ⟨by norm_num⟩ |
| 17 | |
| 18 | /-- Smoothness is required only of the actual ordinary L² translation orbit. -/ |
| 19 | abbrev SmoothOrbit (u : EulerMeanSolenoidal.L2) : Prop := |
| 20 | ContDiff ℝ ∞ (fun a : Space => EulerMeanSolenoidal.translation a u) |
| 21 | |
| 22 | def orbitDerivative (u : EulerMeanSolenoidal.L2) (v : Space) : EulerMeanSolenoidal.L2 := |
| 23 | fderiv ℝ (fun a : Space => EulerMeanSolenoidal.translation a u) 0 v |
| 24 | |
| 25 | /-- An orbit derivative is itself an actual translated field, at every base point. -/ |
| 26 | theorem orbitDerivative_translation (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) |
| 27 | (v a : Space) : |
| 28 | EulerMeanSolenoidal.translation a (orbitDerivative u v) = |
| 29 | fderiv ℝ (fun b : Space => EulerMeanSolenoidal.translation b u) a v := by |
| 30 | have H := EulerIsometricAction.hasFDerivAt_all EulerMeanSolenoidal.translation |
| 31 | EulerMeanSolenoidal.translation_add u |
| 32 | (fderiv ℝ (fun b : Space => EulerMeanSolenoidal.translation b u) 0) |
| 33 | ((hu.differentiable (by simp) (0 : Space)).hasFDerivAt) a |
| 34 | exact (congrArg (fun D : Space →L[ℝ] EulerMeanSolenoidal.L2 => D v) H.fderiv).symm |
| 35 | |
| 36 | theorem orbitDerivative_smooth (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) (v : Space) : |
| 37 | SmoothOrbit (orbitDerivative u v) := by |
| 38 | have heq : (fun a : Space => EulerMeanSolenoidal.translation a (orbitDerivative u v)) = |
| 39 | fun a : Space => fderiv ℝ (fun b : Space => EulerMeanSolenoidal.translation b u) a v := |
| 40 | funext fun a => orbitDerivative_translation u hu v a |
| 41 | change ContDiff ℝ ∞ _ |
| 42 | rw [heq] |
| 43 | exact (hu.fderiv_right (m := ∞) (by simp)).clm_apply contDiff_const |
| 44 | |
| 45 | theorem orbitDerivative_hasDerivAt (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) (v : Space) : |
| 46 | HasDerivAt (fun t : ℝ => EulerMeanSolenoidal.translation (t • v) u) (orbitDerivative u v) 0 := by |
| 47 | have H := (hu.differentiable (by simp) (0 : Space)).hasFDerivAt |
| 48 | have ht : HasDerivAt (fun t : ℝ => t • v) v 0 := by |
| 49 | simpa only [id_eq, one_smul] using (hasDerivAt_id (0 : ℝ)).smul_const v |
| 50 | simpa only [Function.comp_def, orbitDerivative] using H.comp_hasDerivAt_of_eq (0 : ℝ) ht (by simp) |
| 51 | |
| 52 | /-- The cylinder jet uses the actual spatial derivative, with zero angular derivative automatically. -/ |
| 53 | theorem ordinaryLift_hasDerivAt (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) (a : LiftTangent) : |
| 54 | HasDerivAt |
| 55 | (fun t : ℝ => EulerLiftedGradientSpace.translation 1 (translationPath 1 a t) (ordinaryLift u)) |
| 56 | (ordinaryLift (orbitDerivative u a.1)) 0 := by |
| 57 | have H := ordinaryLift.toContinuousLinearMap.hasFDerivAt.comp_hasDerivAt (0 : ℝ) |
| 58 | (orbitDerivative_hasDerivAt u hu a.1) |
| 59 | have heq : |
| 60 | (fun t : ℝ => EulerLiftedGradientSpace.translation 1 (translationPath 1 a t) (ordinaryLift u)) = |
| 61 | fun t : ℝ => ordinaryLift (EulerMeanSolenoidal.translation (t • a.1) u) := by |
| 62 | funext t |
| 63 | exact ordinaryLift_translation (translationPath 1 a t) u |
| 64 | rw [heq] |
| 65 | exact H |
| 66 | |
| 67 | /-- Every finite cylinder derivative tree is constructed from genuine ordinary L² derivatives. -/ |
| 68 | def ordinarySpatialJet (s : ℕ) (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : |
| 69 | SpatialJet 1 standardDirection s (ordinaryLift u) := |
| 70 | match s with |
| 71 | | 0 => .zero (ordinaryLift u) |
| 72 | | n+1 => .succ |
| 73 | (fun i => ordinaryLift (orbitDerivative u (standardDirection i).1)) |
| 74 | (fun i => ordinarySpatialJet n (orbitDerivative u (standardDirection i).1) |
| 75 | (orbitDerivative_smooth u hu (standardDirection i).1)) |
| 76 | (fun i => ordinaryLift_hasDerivAt u hu (standardDirection i)) |
| 77 | |
| 78 | /-- A smooth genuine L² translation orbit has a genuine C∞ representative on ordinary R³. -/ |
| 79 | theorem exists_smooth_representative (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : |
| 80 | ∃ f : Space → Space, ContDiff ℝ ∞ f ∧ (u : Space → Space) =ᵐ[volume] f := by |
| 81 | obtain ⟨g, hg, hrep⟩ := EulerSmoothPressureRepresentative.exists_smooth_representative |
| 82 | 1 (ordinaryLift u) (fun s => ordinarySpatialJet s u hu) |
| 83 | exact exists_smooth_of_lift u g hg hrep |
| 84 | |
| 85 | /-- The reconstructed representative is independent of all choices, by continuous uniqueness. -/ |
| 86 | def representative (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : Space → Space := |
| 87 | Classical.choose (exists_smooth_representative u hu) |
| 88 | |
| 89 | theorem representative_smooth (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : |
| 90 | ContDiff ℝ ∞ (representative u hu) := |
| 91 | (Classical.choose_spec (exists_smooth_representative u hu)).1 |
| 92 | |
| 93 | theorem representative_ae (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) : |
| 94 | (u : Space → Space) =ᵐ[volume] representative u hu := |
| 95 | (Classical.choose_spec (exists_smooth_representative u hu)).2 |
| 96 | |
| 97 | theorem representative_unique (u : EulerMeanSolenoidal.L2) (hu : SmoothOrbit u) |
| 98 | (f : Space → Space) (hf : Continuous f) (hrep : (u : Space → Space) =ᵐ[volume] f) : |
| 99 | representative u hu = f := |
| 100 | Measure.eq_of_ae_eq ((representative_ae u hu).symm.trans hrep) |
| 101 | (representative_smooth u hu).continuous hf |
| 102 | |
| 103 | end EulerMeanSmoothRepresentative |