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.CylinderScalarRepresentative |
| 2 | import Euler.CylinderAngleAverageRepresentative |
| 3 | |
| 4 | /-! The actual scalar average-zero condition gives literal pointwise zero angular mean. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCylinderScalarPrimitive |
| 9 | |
| 10 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 11 | EulerLpCylinderTranslation EulerCylinderConstantMap EulerCylinderSmoothOrbit EulerCylinderSobolevSpace |
| 12 | EulerCylinderAngleAverage |
| 13 | open scoped ContDiff |
| 14 | |
| 15 | variable (P : ℝ) [Fact (0 < P)] |
| 16 | |
| 17 | /-- No pointwise mean-zero condition is assumed for the representative: it |
| 18 | follows from the zero average of the actual scalar L² class. -/ |
| 19 | theorem scalar_mean_zero (u : CylinderL2 P ℝ) |
| 20 | (hu : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a u)) |
| 21 | (f : LiftDomain P → ℝ) (hf : Continuous f) |
| 22 | (hrep : (u : LiftDomain P → ℝ) =ᵐ[liftMeasure P] f) |
| 23 | (hz : average P u = 0) (y : Space) : |
| 24 | (∫ s in (0 : ℝ)..P, f (y,(s : AddCircle P))) = 0 := by |
| 25 | let J := EulerCylinderSmoothOrbit.sobolev P 3 (embed P u) (embed_smooth P u hu) |
| 26 | have hval : value P J = embed P u := |
| 27 | EulerCylinderSmoothOrbit.sobolev_value P 3 (embed P u) (embed_smooth P u hu) |
| 28 | have hrepE : (value P J : LiftDomain P → Space) =ᵐ[liftMeasure P] fun x => scalarEmbed (f x) := by |
| 29 | rw [hval] |
| 30 | filter_upwards [map_ae P scalarEmbed u,hrep] with x he hx |
| 31 | exact he.trans (congrArg scalarEmbed hx) |
| 32 | have havg : average P (value P J) = 0 := by |
| 33 | rw [hval,average_intertwines P (embed P) |
| 34 | (fun s v => map_translation P scalarEmbed (0,s) v),hz,map_zero] |
| 35 | have hmean := (average_eq_zero_iff P J (fun x => scalarEmbed (f x)) |
| 36 | (scalarEmbed.continuous.comp hf) hrepE).1 havg y |
| 37 | have hcont : Continuous (fun s : ℝ => f (y,(s : AddCircle P))) := |
| 38 | hf.comp (continuous_const.prodMk (AddCircle.continuous_mk' P)) |
| 39 | rw [scalarEmbed.intervalIntegral_comp_comm (hcont.intervalIntegrable 0 P)] at hmean |
| 40 | have h := congrArg scalarProject hmean |
| 41 | simpa only [project_embed,map_zero] using h |
| 42 | |
| 43 | end EulerCylinderScalarPrimitive |