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.CylinderScalarPrimitive |
| 2 | import Euler.CylinderScalarClassical |
| 3 | import Euler.CylinderAngleRepresentative |
| 4 | import Euler.AnglePrimitiveMap |
| 5 | |
| 6 | /-! |
| 7 | # The actual scalar L² primitive represents the classical pressure integral |
| 8 | |
| 9 | The fixed scalar embedding has a norm-one left inverse. Applying the already |
| 10 | proved vector H3 evaluation theorem to this embedding identifies the actual |
| 11 | scalar L² primitive with the literal normalized periodic integral. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerCylinderScalarPrimitive |
| 17 | |
| 18 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 19 | EulerLpCylinderTranslation EulerCylinderConstantMap EulerCylinderSmoothOrbit EulerCylinderSobolevSpace |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | variable (P : ℝ) [Fact (0 < P)] |
| 23 | |
| 24 | theorem embed_smooth (u : CylinderL2 P ℝ) |
| 25 | (hu : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a u)) : SmoothOrbit P (embed P u) := by |
| 26 | have he : (fun a : LiftTangent => translate P a (embed P u)) = |
| 27 | (fun a => embed P (translate P a u)) := |
| 28 | funext (fun a => (map_translation P scalarEmbed a u).symm) |
| 29 | change ContDiff ℝ ∞ _ |
| 30 | rw [he] |
| 31 | exact (embed P).contDiff.comp hu |
| 32 | |
| 33 | /-- The vector H3 reconstruction theorem transfers to the actual scalar primitive. -/ |
| 34 | theorem primitive_ae_classical (u : CylinderL2 P ℝ) |
| 35 | (hu : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a u)) |
| 36 | (f q : LiftDomain P → ℝ) (hf : Continuous f) |
| 37 | (hrep : (u : LiftDomain P → ℝ) =ᵐ[liftMeasure P] f) |
| 38 | (hmean : ∀ y, (∫ s in (0 : ℝ)..P, f (y,(s : AddCircle P))) = 0) |
| 39 | (hq : ∀ (y : Space) (θ : ℝ), q (y,(θ : AddCircle P)) = |
| 40 | EulerAngleMeanZeroPrimitive.primitive P (fun s => f (y,(s : AddCircle P))) θ) : |
| 41 | (primitive P u : LiftDomain P → ℝ) =ᵐ[liftMeasure P] q := by |
| 42 | let J := EulerCylinderSmoothOrbit.sobolev P 3 (embed P u) (embed_smooth P u hu) |
| 43 | have hval : value P J = embed P u := |
| 44 | EulerCylinderSmoothOrbit.sobolev_value P 3 (embed P u) (embed_smooth P u hu) |
| 45 | have hrepE : (value P J : LiftDomain P → Space) =ᵐ[liftMeasure P] fun x => scalarEmbed (f x) := by |
| 46 | rw [hval] |
| 47 | filter_upwards [map_ae P scalarEmbed u,hrep] with x he hx |
| 48 | exact he.trans (congrArg scalarEmbed hx) |
| 49 | have hmeanE (y : Space) : (∫ s in (0 : ℝ)..P, scalarEmbed (f (y,(s : AddCircle P)))) = 0 := by |
| 50 | have hcont : Continuous (fun s : ℝ => f (y,(s : AddCircle P))) := |
| 51 | hf.comp (continuous_const.prodMk (AddCircle.continuous_mk' P)) |
| 52 | rw [scalarEmbed.intervalIntegral_comp_comm (hcont.intervalIntegrable 0 P),hmean,map_zero] |
| 53 | have hqE (y : Space) (θ : ℝ) : scalarEmbed (q (y,(θ : AddCircle P))) = |
| 54 | EulerAngleMeanZeroPrimitive.primitive P (fun s => scalarEmbed (f (y,(s : AddCircle P)))) θ := by |
| 55 | rw [hq] |
| 56 | exact EulerAngleMeanZeroPrimitive.primitive_map scalarEmbed P _ |
| 57 | (hf.comp (continuous_const.prodMk (AddCircle.continuous_mk' P))) θ |
| 58 | have hr := EulerCylinderAnglePrimitive.primitive_ae_classical P J |
| 59 | (fun x => scalarEmbed (f x)) (fun x => scalarEmbed (q x)) (scalarEmbed.continuous.comp hf) |
| 60 | hrepE hmeanE hqE |
| 61 | rw [hval] at hr |
| 62 | filter_upwards [hr,map_ae P scalarProject (EulerCylinderAnglePrimitive.primitive P (embed P u))] |
| 63 | with x hq' hp |
| 64 | exact hp.trans ((congrArg scalarProject hq').trans (project_embed (q x))) |
| 65 | |
| 66 | /-- The actual scalar primitive is exactly the descended normalized integral. -/ |
| 67 | theorem primitive_ae_constructed (u : CylinderL2 P ℝ) |
| 68 | (hu : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a u)) |
| 69 | (f : LiftDomain P → ℝ) (hf : Continuous f) |
| 70 | (hrep : (u : LiftDomain P → ℝ) =ᵐ[liftMeasure P] f) |
| 71 | (hmean : ∀ y, (∫ s in (0 : ℝ)..P, f (y,(s : AddCircle P))) = 0) : |
| 72 | (primitive P u : LiftDomain P → ℝ) =ᵐ[liftMeasure P] classicalPrimitive P f hf hmean := |
| 73 | primitive_ae_classical P u hu f (classicalPrimitive P f hf hmean) hf hrep hmean |
| 74 | (classicalPrimitive_cover P f hf hmean) |
| 75 | |
| 76 | end EulerCylinderScalarPrimitive |