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.CylinderSpatialEmbedding |
| 2 | import Euler.CylinderAngleAverage |
| 3 | import Mathlib.Analysis.InnerProductSpace.Adjoint |
| 4 | |
| 5 | /-! A genuine bounded cylinder-to-spatial mean, defined by the adjoint of constant extension. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCylinderSpatialMean |
| 10 | |
| 11 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerLiftedGradientSpace |
| 12 | EulerLpCylinderTranslation EulerCylinderSpatialEmbedding EulerCylinderAngleAverage |
| 13 | |
| 14 | variable (P : ℝ) [Fact (0 < P)] |
| 15 | {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 16 | |
| 17 | omit [CompleteSpace V] in |
| 18 | theorem embedding_translate (a : LiftTangent) (u : SpatialL2 V) : |
| 19 | translate P a (embedding P u) = embedding P (EulerLpTranslation.translation a.1 u) := by |
| 20 | apply Lp.ext |
| 21 | filter_upwards [translate_ae P a (embedding P u), |
| 22 | (measurePreserving_translation P (coveringMap P a)).quasiMeasurePreserving.ae (lift_ae P u), |
| 23 | lift_ae P (EulerLpTranslation.translation a.1 u), |
| 24 | (Measure.quasiMeasurePreserving_fst (μ := (volume : Measure Space)) |
| 25 | (ν := (volume : Measure (AddCircle P)))).ae (EulerLpTranslation.translation_ae a.1 u)] |
| 26 | with z ht hu he hs |
| 27 | change (translate P a (embedding P u)) z = (embedding P (EulerLpTranslation.translation a.1 u)) z |
| 28 | rw [ht] |
| 29 | simp only [embedding_apply] |
| 30 | rw [hu, he, hs] |
| 31 | rfl |
| 32 | |
| 33 | def mean : CylinderL2 P V →L[ℝ] SpatialL2 V := P⁻¹ • (embedding P).adjoint |
| 34 | |
| 35 | @[simp] theorem mean_apply (u : CylinderL2 P V) : |
| 36 | mean P u = P⁻¹ • (embedding P).adjoint u := rfl |
| 37 | |
| 38 | theorem mean_norm : ‖mean (V := V) P‖ ≤ P⁻¹*Real.sqrt P := by |
| 39 | change ‖P⁻¹ • (embedding (V := V) P).adjoint‖ ≤ _ |
| 40 | rw [norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr (Fact.out : 0 < P)), |
| 41 | LinearIsometryEquiv.norm_map] |
| 42 | exact mul_le_mul_of_nonneg_left (embedding_norm P) (inv_nonneg.mpr (le_of_lt (Fact.out : 0 < P))) |
| 43 | |
| 44 | theorem mean_embedding (u : SpatialL2 V) : mean P (embedding P u) = u := by |
| 45 | apply ext_inner_right ℝ |
| 46 | intro v |
| 47 | rw [mean_apply, real_inner_smul_left, ContinuousLinearMap.adjoint_inner_left, embedding_inner, |
| 48 | ← mul_assoc, inv_mul_cancel₀ (ne_of_gt (Fact.out : 0 < P)), one_mul] |
| 49 | |
| 50 | omit [CompleteSpace V] in |
| 51 | theorem cylinder_translation_inner (a : LiftTangent) (u v : CylinderL2 P V) : |
| 52 | inner ℝ (translate P a u) v = inner ℝ u (translate P (-a) v) := by |
| 53 | have h := (translate P a).inner_map_map u (translate P (-a) v) |
| 54 | rw [translate_add, add_neg_cancel, translate_zero] at h |
| 55 | exact h |
| 56 | |
| 57 | omit [Fact (0 < P)] [CompleteSpace V] in |
| 58 | theorem spatial_translation_inner (a : Space) (u v : SpatialL2 V) : |
| 59 | inner ℝ (EulerLpTranslation.translation a u) v = |
| 60 | inner ℝ u (EulerLpTranslation.translation (-a) v) := by |
| 61 | have h := (EulerLpTranslation.translation a).inner_map_map u (EulerLpTranslation.translation (-a) v) |
| 62 | rw [EulerLpTranslation.translation_add, add_neg_cancel, EulerLpTranslation.translation_zero] at h |
| 63 | exact h |
| 64 | |
| 65 | /-- The bounded mean commutes with actual spatial translations and removes angular translations. -/ |
| 66 | theorem mean_translate (a : LiftTangent) (u : CylinderL2 P V) : |
| 67 | mean P (translate P a u) = EulerLpTranslation.translation a.1 (mean P u) := by |
| 68 | apply ext_inner_right ℝ |
| 69 | intro v |
| 70 | rw [mean_apply, real_inner_smul_left, ContinuousLinearMap.adjoint_inner_left, |
| 71 | cylinder_translation_inner, embedding_translate, spatial_translation_inner] |
| 72 | change P⁻¹*inner ℝ u (embedding P (EulerLpTranslation.translation (-a.1) v)) = |
| 73 | inner ℝ (P⁻¹ • (embedding P).adjoint u) (EulerLpTranslation.translation (-a.1) v) |
| 74 | rw [real_inner_smul_left, ContinuousLinearMap.adjoint_inner_left] |
| 75 | |
| 76 | /-- Averaging over the angular translations does not change the actual spatial mean. -/ |
| 77 | theorem mean_average (u : CylinderL2 P V) : mean P (average P u) = mean P u := by |
| 78 | change mean P (P⁻¹ • (∫ s in (0 : ℝ)..P, angleCurve P u s)) = _ |
| 79 | rw [map_smul, ← (mean (V := V) P).intervalIntegral_comp_comm |
| 80 | ((angleCurve_continuous P u).intervalIntegrable 0 P)] |
| 81 | have he : (fun s : ℝ => mean P (angleCurve P u s)) = fun _ : ℝ => mean P u := by |
| 82 | funext s |
| 83 | change mean P (translate P (0,s) u) = _ |
| 84 | rw [mean_translate, EulerLpTranslation.translation_zero] |
| 85 | rw [he, intervalIntegral.integral_const] |
| 86 | simp only [sub_zero, smul_smul, inv_mul_cancel₀ (ne_of_gt (Fact.out : 0 < P)), one_smul] |
| 87 | |
| 88 | end EulerCylinderSpatialMean |