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.LpCylinderTranslation |
| 2 | import Euler.LpBochnerRealization |
| 3 | import Mathlib.MeasureTheory.Function.LpSeminorm.Prod |
| 4 | |
| 5 | /-! The genuine constant-angle embedding of ordinary spatial L² into cylinder L². -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCylinderSpatialEmbedding |
| 10 | |
| 11 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 12 | EulerLpCylinderTranslation EulerLpBochnerRealization |
| 13 | |
| 14 | variable (P : ℝ) [Fact (0 < P)] |
| 15 | |
| 16 | abbrev SpatialL2 (V : Type*) [NormedAddCommGroup V] := Lp V 2 (volume : Measure Space) |
| 17 | |
| 18 | section Embedding |
| 19 | |
| 20 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 21 | |
| 22 | omit [NormedSpace ℝ V] in |
| 23 | theorem lifted_memLp (u : SpatialL2 V) : |
| 24 | MemLp (fun z : LiftDomain P => u z.1) 2 (liftMeasure P) := |
| 25 | (Lp.memLp u).comp_fst (volume : Measure (AddCircle P)) |
| 26 | |
| 27 | def lift (u : SpatialL2 V) : CylinderL2 P V := |
| 28 | (lifted_memLp P u).toLp (fun z : LiftDomain P => u z.1) |
| 29 | |
| 30 | omit [NormedSpace ℝ V] in |
| 31 | theorem lift_ae (u : SpatialL2 V) : |
| 32 | (lift P u : LiftDomain P → V) =ᵐ[liftMeasure P] (fun z => u z.1) := |
| 33 | (lifted_memLp P u).coeFn_toLp |
| 34 | |
| 35 | omit [NormedSpace ℝ V] in |
| 36 | theorem lift_add (u v : SpatialL2 V) : lift P (u+v) = lift P u+lift P v := by |
| 37 | apply Lp.ext |
| 38 | filter_upwards [lift_ae P (u+v), lift_ae P u, lift_ae P v, |
| 39 | Lp.coeFn_add (lift P u) (lift P v), |
| 40 | (Measure.quasiMeasurePreserving_fst (μ := (volume : Measure Space)) |
| 41 | (ν := (volume : Measure (AddCircle P)))).ae (Lp.coeFn_add u v)] with z huv hu hv ha hs |
| 42 | change (lift P (u+v)) z = (lift P u+lift P v) z |
| 43 | rw [huv, ha] |
| 44 | change (u+v) z.1 = (lift P u) z+(lift P v) z |
| 45 | rw [hu,hv] |
| 46 | exact hs |
| 47 | |
| 48 | theorem lift_smul (r : ℝ) (u : SpatialL2 V) : lift P (r • u) = r • lift P u := by |
| 49 | apply Lp.ext |
| 50 | filter_upwards [lift_ae P (r • u), lift_ae P u, Lp.coeFn_smul r (lift P u), |
| 51 | (Measure.quasiMeasurePreserving_fst (μ := (volume : Measure Space)) |
| 52 | (ν := (volume : Measure (AddCircle P)))).ae (Lp.coeFn_smul r u)] with z hru hu ha hs |
| 53 | change (lift P (r • u)) z = (r • lift P u) z |
| 54 | rw [hru,ha] |
| 55 | change (r • u) z.1 = r • (lift P u) z |
| 56 | rw [hu] |
| 57 | exact hs |
| 58 | |
| 59 | omit [NormedSpace ℝ V] in |
| 60 | /-- The angle factor in the true product-space L² norm is exactly the period. -/ |
| 61 | theorem lift_norm_sq (u : SpatialL2 V) : ‖lift P u‖^2 = P*‖u‖^2 := by |
| 62 | have hP : 0 ≤ P := le_of_lt (Fact.out : 0 < P) |
| 63 | calc |
| 64 | _ = ∫ z, ‖(lift P u) z‖^2 ∂liftMeasure P := norm_sq_eq_integral (lift P u) |
| 65 | _ = ∫ z : LiftDomain P, ‖u z.1‖^2 ∂liftMeasure P := by |
| 66 | apply integral_congr_ae |
| 67 | filter_upwards [lift_ae P u] with z hz |
| 68 | rw [hz] |
| 69 | _ = ∫ x : Space, ∫ θ : AddCircle P, ‖u x‖^2 := by |
| 70 | exact integral_prod _ ((memLp_two_iff_integrable_sq_norm |
| 71 | (lifted_memLp P u).aestronglyMeasurable).mp (lifted_memLp P u)) |
| 72 | _ = P*(∫ x : Space, ‖u x‖^2) := by |
| 73 | simp only [integral_const, measureReal_def, AddCircle.measure_univ, |
| 74 | ENNReal.toReal_ofReal hP, smul_eq_mul] |
| 75 | exact integral_const_mul P (fun x : Space => ‖u x‖^2) |
| 76 | _ = _ := congrArg (P * ·) (norm_sq_eq_integral u).symm |
| 77 | |
| 78 | omit [NormedSpace ℝ V] in |
| 79 | theorem lift_norm_le (u : SpatialL2 V) : ‖lift P u‖ ≤ Real.sqrt P*‖u‖ := by |
| 80 | apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (Real.sqrt_nonneg P) (norm_nonneg u))).mp |
| 81 | rw [mul_pow, Real.sq_sqrt (le_of_lt (Fact.out : 0 < P))] |
| 82 | exact le_of_eq (lift_norm_sq P u) |
| 83 | |
| 84 | def embeddingLinear : SpatialL2 V →ₗ[ℝ] CylinderL2 P V where |
| 85 | toFun := lift P |
| 86 | map_add' := lift_add P |
| 87 | map_smul' := lift_smul P |
| 88 | |
| 89 | def embedding : SpatialL2 V →L[ℝ] CylinderL2 P V := |
| 90 | (embeddingLinear P).mkContinuous (Real.sqrt P) (lift_norm_le P) |
| 91 | |
| 92 | @[simp] theorem embedding_apply (u : SpatialL2 V) : embedding P u = lift P u := rfl |
| 93 | |
| 94 | theorem embedding_norm : ‖embedding (V := V) P‖ ≤ Real.sqrt P := |
| 95 | opNorm_le_bound _ (Real.sqrt_nonneg P) (lift_norm_le P) |
| 96 | |
| 97 | end Embedding |
| 98 | |
| 99 | section Inner |
| 100 | |
| 101 | variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 102 | |
| 103 | theorem embedding_inner (u v : SpatialL2 V) : |
| 104 | inner ℝ (embedding P u) (embedding P v) = P*inner ℝ u v := by |
| 105 | have h := lift_norm_sq P (u+v) |
| 106 | rw [lift_add, norm_add_sq_real, norm_add_sq_real, lift_norm_sq, lift_norm_sq] at h |
| 107 | change inner ℝ (lift P u) (lift P v) = _ |
| 108 | nlinarith |
| 109 | |
| 110 | end Inner |
| 111 | end EulerCylinderSpatialEmbedding |