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.CylinderAnglePrimitive |
| 2 | import Euler.AnglePrimitiveKernel |
| 3 | import Euler.SobolevPointEvaluation |
| 4 | |
| 5 | /-! The genuine cylinder L² angular operator represents the literal classical primitive. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCylinderAnglePrimitive |
| 10 | |
| 11 | open Set MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 12 | EulerSobolevPointEvaluation EulerSpatialSobolevInverse EulerPressureSpatialRegularity |
| 13 | |
| 14 | variable (P : ℝ) [Fact (0 < P)] |
| 15 | |
| 16 | theorem sobolevKernel_continuous {q : ℕ} (u : SobolevSpace P q) : |
| 17 | Continuous (fun s : ℝ => s • sobolevTranslation P q (angleShift P s) u) := |
| 18 | continuous_id.smul ((sobolevTranslation_continuous P u).comp (angleShift_continuous P)) |
| 19 | |
| 20 | /-- The lifted operator is also the actual Bochner integral in the Sobolev space. -/ |
| 21 | theorem sobolevPrimitive_eq_integral {q : ℕ} (u : SobolevSpace P q) : |
| 22 | sobolevPrimitive P q u = P⁻¹ • (∫ s in (0 : ℝ)..P, s • sobolevTranslation P q (angleShift P s) u) := by |
| 23 | apply value_injective P |
| 24 | change primitive P (value P u) = (valueOperator P q) |
| 25 | (P⁻¹ • (∫ s in (0 : ℝ)..P, s • sobolevTranslation P q (angleShift P s) u)) |
| 26 | rw [map_smul, ← (valueOperator P q).intervalIntegral_comp_comm |
| 27 | ((sobolevKernel_continuous P u).intervalIntegrable 0 P)] |
| 28 | change P⁻¹ • (∫ s in (0 : ℝ)..P, kernelCurve P (value P u) s) = _ |
| 29 | congr 1 |
| 30 | |
| 31 | theorem pointEvaluation_translation (u : SobolevSpace P 3) (a x : LiftDomain P) : |
| 32 | pointEvaluation P x (sobolevTranslation P 3 a u) = representative P u (x+a) := by |
| 33 | apply pointEvaluation_eq P x (sobolevTranslation P 3 a u) |
| 34 | (fun y => representative P u (y+a)) |
| 35 | ((representative_continuous P u).comp (continuous_id.add continuous_const)) |
| 36 | filter_upwards [translation_ae P a (value P u), |
| 37 | (measurePreserving_translation P a).quasiMeasurePreserving.ae (representative_ae P u)] with y hy hr |
| 38 | change translation P a (value P u) y = _ |
| 39 | exact hy.trans hr |
| 40 | |
| 41 | theorem pointEvaluation_primitive_kernel (u : SobolevSpace P 3) (x : LiftDomain P) : |
| 42 | pointEvaluation P x (sobolevPrimitive P 3 u) = |
| 43 | P⁻¹ • (∫ s in (0 : ℝ)..P, s • representative P u (x+angleShift P s)) := by |
| 44 | rw [sobolevPrimitive_eq_integral, map_smul, |
| 45 | ← (pointEvaluation P x).intervalIntegral_comp_comm |
| 46 | ((sobolevKernel_continuous P u).intervalIntegrable 0 P)] |
| 47 | congr 1 |
| 48 | apply intervalIntegral.integral_congr |
| 49 | intro s _ |
| 50 | change pointEvaluation P x (s • sobolevTranslation P 3 (angleShift P s) u) = |
| 51 | s • representative P u (x+angleShift P s) |
| 52 | rw [map_smul, pointEvaluation_translation] |
| 53 | |
| 54 | /-- Evaluation of the constructed L² operator gives the actual normalized integral. -/ |
| 55 | theorem pointEvaluation_primitive_classical (u : SobolevSpace P 3) |
| 56 | (f : LiftDomain P → Vector3) (hf : Continuous f) |
| 57 | (hrep : (value P u : LiftDomain P → Vector3)=ᵐ[liftMeasure P] f) |
| 58 | (hmean : ∀ y, (∫ s in (0 : ℝ)..P, f (y,(s : AddCircle P)))=0) |
| 59 | (y : Vector3) (θ : ℝ) : |
| 60 | pointEvaluation P (y,(θ : AddCircle P)) (sobolevPrimitive P 3 u) = |
| 61 | EulerAngleMeanZeroPrimitive.primitive P (fun s => f (y,(s : AddCircle P))) θ := by |
| 62 | rw [pointEvaluation_primitive_kernel, representative_eq P u f hf hrep] |
| 63 | have hp : Function.Periodic (fun s : ℝ => f (y,(s : AddCircle P))) P := by |
| 64 | intro s |
| 65 | change f (y,((s+P : ℝ) : AddCircle P)) = f (y,(s : AddCircle P)) |
| 66 | rw [AddCircle.coe_add_period] |
| 67 | have h := EulerAngleMeanZeroPrimitive.primitive_eq_translation_kernel P |
| 68 | (ne_of_gt (Fact.out : 0 < P)) (fun s => f (y,(s : AddCircle P))) |
| 69 | (hf.comp (continuous_const.prodMk (AddCircle.continuous_mk' P))) hp (hmean y) θ |
| 70 | simpa only [angleShift, Prod.mk_add_mk, add_zero, AddCircle.coe_add] using h.symm |
| 71 | |
| 72 | /-- Classical identification holds as equality of actual L² representatives. -/ |
| 73 | theorem primitive_ae_classical (u : SobolevSpace P 3) |
| 74 | (f q : LiftDomain P → Vector3) (hf : Continuous f) |
| 75 | (hrep : (value P u : LiftDomain P → Vector3)=ᵐ[liftMeasure P] f) |
| 76 | (hmean : ∀ y, (∫ s in (0 : ℝ)..P, f (y,(s : AddCircle P)))=0) |
| 77 | (hq : ∀ (y : Vector3) (θ : ℝ), q (y,(θ : AddCircle P)) = |
| 78 | EulerAngleMeanZeroPrimitive.primitive P (fun s => f (y,(s : AddCircle P))) θ) : |
| 79 | (primitive P (value P u) : LiftDomain P → Vector3)=ᵐ[liftMeasure P] q := by |
| 80 | have he (x : LiftDomain P) : representative P (sobolevPrimitive P 3 u) x = q x := by |
| 81 | obtain ⟨θ,hθ⟩ := QuotientAddGroup.mk_surjective x.2 |
| 82 | have hx : x=(x.1,(θ : AddCircle P)) := by |
| 83 | apply Prod.ext |
| 84 | · rfl |
| 85 | · exact hθ.symm |
| 86 | rw [hx] |
| 87 | exact (pointEvaluation_primitive_classical P u f hf hrep hmean x.1 θ).trans (hq x.1 θ).symm |
| 88 | filter_upwards [representative_ae P (sobolevPrimitive P 3 u)] with x hx |
| 89 | exact hx.trans (he x) |
| 90 | |
| 91 | end EulerCylinderAnglePrimitive |