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.CylinderAngleAverage |
| 2 | import Euler.CylinderAngleRepresentative |
| 3 | |
| 4 | /-! The actual L² angular average equals the literal mean of every continuous H³ representative. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCylinderAngleAverage |
| 9 | |
| 10 | open Set MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 11 | EulerSobolevPointEvaluation EulerSpatialSobolevInverse EulerPressureSpatialRegularity |
| 12 | EulerLpCylinderTranslation |
| 13 | |
| 14 | variable (P : ℝ) [Fact (0 < P)] |
| 15 | |
| 16 | theorem average_full_translation (a : LiftDomain P) (u : LiftL2 P) : |
| 17 | average P (translation P a u) = translation P a (average P u) := by |
| 18 | apply average_intertwines P (translation P a).toContinuousLinearMap |
| 19 | intro s v |
| 20 | exact translations_commute P a (coveringMap P (0,s)) v |
| 21 | |
| 22 | def sobolevAverage (q : ℕ) : SobolevSpace P q →L[ℝ] SobolevSpace P q := |
| 23 | liftOperator P q (average P) (average_full_translation P) |
| 24 | |
| 25 | theorem sobolevAverage_norm (q : ℕ) : ‖sobolevAverage P q‖ ≤ 1 := |
| 26 | (norm_liftOperator_le P q (average P) (average_full_translation P)).trans (average_norm P) |
| 27 | |
| 28 | theorem sobolevAngleCurve_continuous {q : ℕ} (u : SobolevSpace P q) : |
| 29 | Continuous (fun s : ℝ => sobolevTranslation P q (EulerCylinderAnglePrimitive.angleShift P s) u) := |
| 30 | (sobolevTranslation_continuous P u).comp (EulerCylinderAnglePrimitive.angleShift_continuous P) |
| 31 | |
| 32 | theorem sobolevAverage_eq_integral {q : ℕ} (u : SobolevSpace P q) : |
| 33 | sobolevAverage P q u = P⁻¹ • (∫ s in (0 : ℝ)..P, |
| 34 | sobolevTranslation P q (EulerCylinderAnglePrimitive.angleShift P s) u) := by |
| 35 | apply value_injective P |
| 36 | change average P (value P u) = (valueOperator P q) |
| 37 | (P⁻¹ • (∫ s in (0 : ℝ)..P, |
| 38 | sobolevTranslation P q (EulerCylinderAnglePrimitive.angleShift P s) u)) |
| 39 | rw [map_smul, ← (valueOperator P q).intervalIntegral_comp_comm |
| 40 | ((sobolevAngleCurve_continuous P u).intervalIntegrable 0 P)] |
| 41 | rfl |
| 42 | |
| 43 | theorem pointEvaluation_average_kernel (u : SobolevSpace P 3) (x : LiftDomain P) : |
| 44 | pointEvaluation P x (sobolevAverage P 3 u) = P⁻¹ • (∫ s in (0 : ℝ)..P, |
| 45 | representative P u (x+EulerCylinderAnglePrimitive.angleShift P s)) := by |
| 46 | rw [sobolevAverage_eq_integral, map_smul, |
| 47 | ← (pointEvaluation P x).intervalIntegral_comp_comm |
| 48 | ((sobolevAngleCurve_continuous P u).intervalIntegrable 0 P)] |
| 49 | congr 1 |
| 50 | apply intervalIntegral.integral_congr |
| 51 | intro s _ |
| 52 | exact EulerCylinderAnglePrimitive.pointEvaluation_translation P u _ x |
| 53 | |
| 54 | /-- Pointwise identification with the actual normalized angular integral, at every angle. -/ |
| 55 | theorem pointEvaluation_average_mean (u : SobolevSpace P 3) |
| 56 | (f : LiftDomain P → Vector3) (hf : Continuous f) |
| 57 | (hrep : (value P u : LiftDomain P → Vector3)=ᵐ[liftMeasure P] f) |
| 58 | (y : Vector3) (θ : ℝ) : |
| 59 | pointEvaluation P (y,(θ : AddCircle P)) (sobolevAverage P 3 u) = |
| 60 | P⁻¹ • (∫ s in (0 : ℝ)..P, f (y,(s : AddCircle P))) := by |
| 61 | rw [pointEvaluation_average_kernel, representative_eq P u f hf hrep] |
| 62 | congr 1 |
| 63 | simp only [EulerCylinderAnglePrimitive.angleShift, Prod.mk_add_mk, add_zero, ← AddCircle.coe_add] |
| 64 | rw [intervalIntegral.integral_comp_add_left (fun s : ℝ => f (y,(s : AddCircle P))) θ] |
| 65 | have hp : Function.Periodic (fun s : ℝ => f (y,(s : AddCircle P))) P := by |
| 66 | intro s |
| 67 | change f (y,((s+P : ℝ) : AddCircle P)) = f (y,(s : AddCircle P)) |
| 68 | rw [AddCircle.coe_add_period] |
| 69 | simpa only [add_zero, zero_add] using hp.intervalIntegral_add_eq θ 0 |
| 70 | |
| 71 | /-- The operator's zero kernel is precisely the classical zero-mean condition. -/ |
| 72 | theorem average_eq_zero_iff (u : SobolevSpace P 3) |
| 73 | (f : LiftDomain P → Vector3) (hf : Continuous f) |
| 74 | (hrep : (value P u : LiftDomain P → Vector3)=ᵐ[liftMeasure P] f) : |
| 75 | average P (value P u) = 0 ↔ ∀ y, (∫ s in (0 : ℝ)..P, f (y,(s : AddCircle P))) = 0 := by |
| 76 | constructor |
| 77 | · intro h y |
| 78 | have hz : sobolevAverage P 3 u = 0 := by |
| 79 | apply value_injective P |
| 80 | change average P (value P u) = (valueOperator P 3) 0 |
| 81 | simpa only [map_zero] using h |
| 82 | have he := pointEvaluation_average_mean P u f hf hrep y 0 |
| 83 | rw [hz, map_zero] at he |
| 84 | exact (smul_eq_zero.mp he.symm).resolve_left (inv_ne_zero (ne_of_gt (Fact.out : 0 < P))) |
| 85 | · intro h |
| 86 | have he (x : LiftDomain P) : representative P (sobolevAverage P 3 u) x = 0 := by |
| 87 | obtain ⟨θ,hθ⟩ := QuotientAddGroup.mk_surjective x.2 |
| 88 | have hx : x=(x.1,(θ : AddCircle P)) := by |
| 89 | apply Prod.ext |
| 90 | · rfl |
| 91 | · exact hθ.symm |
| 92 | rw [hx] |
| 93 | change pointEvaluation P (x.1,(θ : AddCircle P)) (sobolevAverage P 3 u) = 0 |
| 94 | rw [pointEvaluation_average_mean P u f hf hrep, h, smul_zero] |
| 95 | apply Lp.ext |
| 96 | filter_upwards [representative_ae P (sobolevAverage P 3 u), |
| 97 | Lp.coeFn_zero Vector3 2 (liftMeasure P)] with x hx hzero |
| 98 | exact hx.trans ((he x).trans hzero.symm) |
| 99 | |
| 100 | end EulerCylinderAngleAverage |