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.CylinderSpatialMeanPath |
| 2 | import Euler.CylinderSpatialMean |
| 3 | import Euler.CylinderAngleAverageRepresentative |
| 4 | import Euler.CylinderTimeRegularity |
| 5 | import Euler.MeanSmoothRepresentative |
| 6 | |
| 7 | /-! The literal angular mean of a solved cylinder path is an actual smooth spatial L² path. -/ |
| 8 | |
| 9 | /-! ## From `Euler/CylinderSpatialMeanRepresentative.lean` |
| 10 | |
| 11 | The text of `Euler/CylinderSpatialMeanRepresentative.lean`, folded into this file, which was its only importer. -/ |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! The bounded cylinder-to-space operator is the literal angular integral on smooth fields. -/ |
| 16 | |
| 17 | noncomputable section |
| 18 | |
| 19 | namespace EulerCylinderSpatialMean |
| 20 | |
| 21 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 22 | EulerLpCylinderTranslation EulerCylinderSpatialEmbedding EulerCylinderAngleAverage |
| 23 | EulerCylinderSobolevSpace EulerSobolevPointEvaluation |
| 24 | |
| 25 | variable (P : ℝ) [Fact (0 < P)] |
| 26 | |
| 27 | /-- A continuous constant-angle field is spatially L² whenever its cylinder lift is L². -/ |
| 28 | theorem continuous_memLp_of_lift {V : Type*} [NormedAddCommGroup V] |
| 29 | (g : Space → V) (hg : Continuous g) |
| 30 | (hgl : MemLp (fun z : LiftDomain P => g z.1) 2 (liftMeasure P)) : |
| 31 | MemLp g 2 (volume : Measure Space) := by |
| 32 | have hm : MemLp g 2 (Measure.map (Prod.fst : LiftDomain P → Space) (liftMeasure P)) := |
| 33 | (memLp_map_measure_iff hg.aestronglyMeasurable measurable_fst.aemeasurable).mpr hgl |
| 34 | change MemLp g 2 (Measure.map Prod.fst |
| 35 | ((volume : Measure Space).prod (volume : Measure (AddCircle P)))) at hm |
| 36 | rw [Measure.map_fst_prod, AddCircle.measure_univ] at hm |
| 37 | have hP : ENNReal.ofReal P ≠ 0 := ne_of_gt (ENNReal.ofReal_pos.mpr (Fact.out : 0 < P)) |
| 38 | have hu := hm.smul_measure (c := (ENNReal.ofReal P)⁻¹) (ENNReal.inv_ne_top.mpr hP) |
| 39 | simpa only [smul_smul, ENNReal.inv_mul_cancel hP ENNReal.ofReal_ne_top, one_smul] using hu |
| 40 | |
| 41 | def rawMean (f : LiftDomain P → Space) (y : Space) : Space := |
| 42 | P⁻¹ • (∫ s in (0 : ℝ)..P, f (y,(s : AddCircle P))) |
| 43 | |
| 44 | variable (u : SobolevSpace P 3) (f : LiftDomain P → Space) (hf : Continuous f) |
| 45 | (hrep : (value P u : LiftDomain P → Space) =ᵐ[liftMeasure P] f) |
| 46 | |
| 47 | include hf hrep |
| 48 | |
| 49 | theorem rawMean_continuous : Continuous (rawMean P f) := by |
| 50 | have he : rawMean P f = fun y => representative P (sobolevAverage P 3 u) (y,0) := by |
| 51 | funext y |
| 52 | exact (pointEvaluation_average_mean P u f hf hrep y 0).symm |
| 53 | rw [he] |
| 54 | exact (representative_continuous P (sobolevAverage P 3 u)).comp |
| 55 | (continuous_id.prodMk continuous_const) |
| 56 | |
| 57 | theorem average_ae_rawMean : |
| 58 | (average P (value P u) : LiftDomain P → Space) =ᵐ[liftMeasure P] fun z => rawMean P f z.1 := by |
| 59 | have he (z : LiftDomain P) : representative P (sobolevAverage P 3 u) z = rawMean P f z.1 := by |
| 60 | obtain ⟨θ,hθ⟩ := QuotientAddGroup.mk_surjective z.2 |
| 61 | have hz : z=(z.1,(θ : AddCircle P)) := by |
| 62 | apply Prod.ext |
| 63 | · rfl |
| 64 | · exact hθ.symm |
| 65 | rw [hz] |
| 66 | exact pointEvaluation_average_mean P u f hf hrep z.1 θ |
| 67 | filter_upwards [representative_ae P (sobolevAverage P 3 u)] with z hz |
| 68 | exact hz.trans (he z) |
| 69 | |
| 70 | theorem rawMean_memLp : MemLp (rawMean P f) 2 (volume : Measure Space) := by |
| 71 | apply continuous_memLp_of_lift P (rawMean P f) (rawMean_continuous P u f hf hrep) |
| 72 | exact (memLp_congr_ae (average_ae_rawMean P u f hf hrep)).mp (Lp.memLp (average P (value P u))) |
| 73 | |
| 74 | /-- The actual ordinary-space L² mean has the normalized integral as its representative. -/ |
| 75 | theorem mean_ae_rawMean : |
| 76 | (mean P (value P u) : Space → Space) =ᵐ[volume] rawMean P f := by |
| 77 | let v : SpatialL2 Space := (rawMean_memLp P u f hf hrep).toLp (rawMean P f) |
| 78 | have hv : (v : Space → Space) =ᵐ[volume] rawMean P f := |
| 79 | (rawMean_memLp P u f hf hrep).coeFn_toLp |
| 80 | have he : embedding P v = average P (value P u) := by |
| 81 | apply Lp.ext |
| 82 | filter_upwards [lift_ae P v, |
| 83 | (Measure.quasiMeasurePreserving_fst (μ := (volume : Measure Space)) |
| 84 | (ν := (volume : Measure (AddCircle P)))).ae hv, |
| 85 | average_ae_rawMean P u f hf hrep] with z hl hm ha |
| 86 | exact hl.trans (hm.trans ha.symm) |
| 87 | have hm : mean P (value P u) = v := by |
| 88 | rw [← mean_average P (value P u), ← he, mean_embedding] |
| 89 | rw [hm] |
| 90 | exact hv |
| 91 | |
| 92 | end EulerCylinderSpatialMean |
| 93 | end |
| 94 | |
| 95 | end |
| 96 | |
| 97 | noncomputable section |
| 98 | |
| 99 | namespace EulerCylinderSpatialMean |
| 100 | |
| 101 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 102 | EulerCylinderSobolevSpace EulerCylinderSmoothOrbit EulerLpCylinderTranslation |
| 103 | EulerCylinderSpatialEmbedding EulerMetricTransport |
| 104 | open scoped ContDiff |
| 105 | |
| 106 | variable (P : ℝ) [Fact (0 < P)] |
| 107 | {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 108 | (p : C(K,LiftL2 P)) (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 109 | |
| 110 | include hp |
| 111 | |
| 112 | /-- The ordinary L² time path represents the actual angular integral at every time. -/ |
| 113 | theorem pathMean_pointField_ae (t : K) : |
| 114 | (pathMean P p t : Space → Space) =ᵐ[volume] rawMean P (pointField P p hp t) := by |
| 115 | have h := mean_ae_rawMean P (sobolevPath P 3 p hp t) (pointField P p hp t) |
| 116 | (smoothField_continuous P _ (pointField_smooth P p hp t)) |
| 117 | (by simpa only [sobolevPath_value] using pointField_ae P p hp t) |
| 118 | simpa only [pathMean_apply, sobolevPath_value] using h |
| 119 | |
| 120 | theorem mean_slice_orbit (t : K) : |
| 121 | EulerMeanSmoothRepresentative.SmoothOrbit (pathMean P p t) := by |
| 122 | have h := (ContinuousMap.evalCLM ℝ t).contDiff.comp (pathMean_orbit_contDiff P p hp) |
| 123 | exact h |
| 124 | |
| 125 | /-- Uniqueness identifies the mean solver's ordinary representative with the literal integral. -/ |
| 126 | theorem mean_pointField_eq (t : K) : |
| 127 | EulerMeanSmoothRepresentative.representative (pathMean P p t) (mean_slice_orbit P p hp t) = |
| 128 | rawMean P (pointField P p hp t) := by |
| 129 | apply EulerMeanSmoothRepresentative.representative_unique |
| 130 | · exact rawMean_continuous P (sobolevPath P 3 p hp t) (pointField P p hp t) |
| 131 | (smoothField_continuous P _ (pointField_smooth P p hp t)) |
| 132 | (by simpa only [sobolevPath_value] using pointField_ae P p hp t) |
| 133 | · exact pathMean_pointField_ae P p hp t |
| 134 | |
| 135 | end EulerCylinderSpatialMean |