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.CylinderSpatialMean |
| 2 | import Euler.CylinderAngleAverageRepresentative |
| 3 | |
| 4 | /-! The bounded cylinder-to-space operator is the literal angular integral on smooth fields. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCylinderSpatialMean |
| 9 | |
| 10 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 11 | EulerLpCylinderTranslation EulerCylinderSpatialEmbedding EulerCylinderAngleAverage |
| 12 | EulerCylinderSobolevSpace EulerSobolevPointEvaluation |
| 13 | |
| 14 | variable (P : ℝ) [Fact (0 < P)] |
| 15 | |
| 16 | /-- A continuous constant-angle field is spatially L² whenever its cylinder lift is L². -/ |
| 17 | theorem continuous_memLp_of_lift {V : Type*} [NormedAddCommGroup V] |
| 18 | (g : Space → V) (hg : Continuous g) |
| 19 | (hgl : MemLp (fun z : LiftDomain P => g z.1) 2 (liftMeasure P)) : |
| 20 | MemLp g 2 (volume : Measure Space) := by |
| 21 | have hm : MemLp g 2 (Measure.map (Prod.fst : LiftDomain P → Space) (liftMeasure P)) := |
| 22 | (memLp_map_measure_iff hg.aestronglyMeasurable measurable_fst.aemeasurable).mpr hgl |
| 23 | change MemLp g 2 (Measure.map Prod.fst |
| 24 | ((volume : Measure Space).prod (volume : Measure (AddCircle P)))) at hm |
| 25 | rw [Measure.map_fst_prod, AddCircle.measure_univ] at hm |
| 26 | have hP : ENNReal.ofReal P ≠ 0 := ne_of_gt (ENNReal.ofReal_pos.mpr (Fact.out : 0 < P)) |
| 27 | have hu := hm.smul_measure (c := (ENNReal.ofReal P)⁻¹) (ENNReal.inv_ne_top.mpr hP) |
| 28 | simpa only [smul_smul, ENNReal.inv_mul_cancel hP ENNReal.ofReal_ne_top, one_smul] using hu |
| 29 | |
| 30 | def rawMean (f : LiftDomain P → Space) (y : Space) : Space := |
| 31 | P⁻¹ • (∫ s in (0 : ℝ)..P, f (y,(s : AddCircle P))) |
| 32 | |
| 33 | variable (u : SobolevSpace P 3) (f : LiftDomain P → Space) (hf : Continuous f) |
| 34 | (hrep : (value P u : LiftDomain P → Space) =ᵐ[liftMeasure P] f) |
| 35 | |
| 36 | include hf hrep |
| 37 | |
| 38 | theorem rawMean_continuous : Continuous (rawMean P f) := by |
| 39 | have he : rawMean P f = fun y => representative P (sobolevAverage P 3 u) (y,0) := by |
| 40 | funext y |
| 41 | exact (pointEvaluation_average_mean P u f hf hrep y 0).symm |
| 42 | rw [he] |
| 43 | exact (representative_continuous P (sobolevAverage P 3 u)).comp |
| 44 | (continuous_id.prodMk continuous_const) |
| 45 | |
| 46 | theorem average_ae_rawMean : |
| 47 | (average P (value P u) : LiftDomain P → Space) =ᵐ[liftMeasure P] fun z => rawMean P f z.1 := by |
| 48 | have he (z : LiftDomain P) : representative P (sobolevAverage P 3 u) z = rawMean P f z.1 := by |
| 49 | obtain ⟨θ,hθ⟩ := QuotientAddGroup.mk_surjective z.2 |
| 50 | have hz : z=(z.1,(θ : AddCircle P)) := by |
| 51 | apply Prod.ext |
| 52 | · rfl |
| 53 | · exact hθ.symm |
| 54 | rw [hz] |
| 55 | exact pointEvaluation_average_mean P u f hf hrep z.1 θ |
| 56 | filter_upwards [representative_ae P (sobolevAverage P 3 u)] with z hz |
| 57 | exact hz.trans (he z) |
| 58 | |
| 59 | theorem rawMean_memLp : MemLp (rawMean P f) 2 (volume : Measure Space) := by |
| 60 | apply continuous_memLp_of_lift P (rawMean P f) (rawMean_continuous P u f hf hrep) |
| 61 | exact (memLp_congr_ae (average_ae_rawMean P u f hf hrep)).mp (Lp.memLp (average P (value P u))) |
| 62 | |
| 63 | /-- The actual ordinary-space L² mean has the normalized integral as its representative. -/ |
| 64 | theorem mean_ae_rawMean : |
| 65 | (mean P (value P u) : Space → Space) =ᵐ[volume] rawMean P f := by |
| 66 | let v : SpatialL2 Space := (rawMean_memLp P u f hf hrep).toLp (rawMean P f) |
| 67 | have hv : (v : Space → Space) =ᵐ[volume] rawMean P f := |
| 68 | (rawMean_memLp P u f hf hrep).coeFn_toLp |
| 69 | have he : embedding P v = average P (value P u) := by |
| 70 | apply Lp.ext |
| 71 | filter_upwards [lift_ae P v, |
| 72 | (Measure.quasiMeasurePreserving_fst (μ := (volume : Measure Space)) |
| 73 | (ν := (volume : Measure (AddCircle P)))).ae hv, |
| 74 | average_ae_rawMean P u f hf hrep] with z hl hm ha |
| 75 | exact hl.trans (hm.trans ha.symm) |
| 76 | have hm : mean P (value P u) = v := by |
| 77 | rw [← mean_average P (value P u), ← he, mean_embedding] |
| 78 | rw [hm] |
| 79 | exact hv |
| 80 | |
| 81 | end EulerCylinderSpatialMean |