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.MeanSolenoidalSpace |
| 3 | |
| 4 | /-! The actual constant-angle embedding preserves the closed gradient |
| 5 | spaces. Compact ordinary scalar tests give compact cylinder scalar tests, |
| 6 | and the bounded embedding carries their closures into one another. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerCylinderSpatialEmbedding |
| 11 | |
| 12 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 13 | EulerLiftedGradientSpace |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable (P : ℝ) [Fact (0 < P)] |
| 17 | |
| 18 | def scalarLift (φ : Space → ℝ) : LiftDomain P → ℝ := fun z => φ z.1 |
| 19 | |
| 20 | theorem scalarLift_compact (φ : Space → ℝ) (hφ : HasCompactSupport φ) : |
| 21 | HasCompactSupport (scalarLift P φ) := by |
| 22 | apply HasCompactSupport.intro (hφ.prod (isCompact_univ : IsCompact (univ : Set (AddCircle P)))) |
| 23 | intro z hz |
| 24 | change φ z.1 = 0 |
| 25 | exact image_eq_zero_of_notMem_tsupport (by simpa only [mem_prod,mem_univ,and_true] using hz) |
| 26 | |
| 27 | omit [Fact (0 < P)] in |
| 28 | theorem scalarLift_smooth (φ : Space → ℝ) (hφ : ContDiff ℝ ∞ φ) (z : LiftDomain P) : |
| 29 | ContDiff ℝ ∞ (localLift P (scalarLift P φ) z) := |
| 30 | hφ.comp (contDiff_const.add contDiff_fst) |
| 31 | |
| 32 | theorem gradient_component (φ : Space → ℝ) (x : Space) (i : Fin 3) : |
| 33 | gradient φ x i = fderiv ℝ φ x (EuclideanSpace.single i 1) := by |
| 34 | have h := toDual_symm_apply (𝕜 := ℝ) (x := EuclideanSpace.single i 1) (y := fderiv ℝ φ x) |
| 35 | simpa only [gradient,EuclideanSpace.inner_single_right,conj_trivial,one_mul] using h |
| 36 | |
| 37 | omit [Fact (0 < P)] in |
| 38 | theorem scalarLift_gradient (κ : ℝ) (m : Space) (φ : Space → ℝ) |
| 39 | (hφ : ContDiff ℝ ∞ φ) (z : LiftDomain P) : |
| 40 | liftedGradient P κ m (scalarLift P φ) z = κ • gradient φ z.1 := by |
| 41 | have hh : HasFDerivAt (fun y : LiftTangent => z.1+y.1) (fst ℝ Space ℝ) 0 := |
| 42 | hasFDerivAt_fst.const_add z.1 |
| 43 | have hf : HasFDerivAt φ (fderiv ℝ φ z.1) (z.1+(0 : LiftTangent).1) := by |
| 44 | simpa only [Prod.fst_zero,add_zero] using ((hφ.differentiable (by simp)) z.1).hasFDerivAt |
| 45 | have h := hf.comp (0 : LiftTangent) hh |
| 46 | have hd : fderiv ℝ (localLift P (scalarLift P φ) z) 0 = |
| 47 | (fderiv ℝ φ z.1).comp (fst ℝ Space ℝ) := by |
| 48 | convert! h.fderiv using 1 |
| 49 | ext i |
| 50 | change κ * (fderiv ℝ (localLift P (scalarLift P φ) z) 0) (EuclideanSpace.single i 1,0) + |
| 51 | m i * (fderiv ℝ (localLift P (scalarLift P φ) z) 0) (0,1) = κ * gradient φ z.1 i |
| 52 | rw [hd,gradient_component] |
| 53 | change κ * fderiv ℝ φ z.1 (EuclideanSpace.single i 1) + m i * fderiv ℝ φ z.1 0 = _ |
| 54 | rw [map_zero,mul_zero,add_zero] |
| 55 | |
| 56 | theorem smul_embedding_gradient_mem (κ : ℝ) (m : Space) |
| 57 | (g : EulerMeanSolenoidal.L2) (hg : g ∈ EulerMeanSolenoidal.gradientSpace) : |
| 58 | κ • embedding P g ∈ gradientSpace P κ m := by |
| 59 | let L : EulerMeanSolenoidal.L2 →L[ℝ] LiftL2 P := κ • embedding P |
| 60 | let K := (gradientSpace P κ m).comap L.toLinearMap |
| 61 | have hgen : Submodule.span ℝ EulerMeanSolenoidal.gradientGenerators ≤ K := by |
| 62 | apply Submodule.span_le.mpr |
| 63 | rintro u ⟨φ,hφc,hφs,hu⟩ |
| 64 | change κ • embedding P u ∈ gradientSpace P κ m |
| 65 | apply testGradient_mem P κ m |
| 66 | refine ⟨scalarLift P φ,⟨scalarLift_compact P φ hφc,scalarLift_smooth P φ hφs⟩,?_⟩ |
| 67 | filter_upwards [Lp.coeFn_smul κ (embedding P u),lift_ae P u, |
| 68 | (Measure.quasiMeasurePreserving_fst (μ := (volume : Measure Space)) |
| 69 | (ν := (volume : Measure (AddCircle P)))).ae hu] with z hs hl hz |
| 70 | change (κ • embedding P u) z = _ |
| 71 | rw [hs] |
| 72 | change κ • embedding P u z = _ |
| 73 | rw [show embedding P u z = u z.1 from hl,hz,scalarLift_gradient P κ m φ hφs] |
| 74 | have hclosed : IsClosed (K : Set EulerMeanSolenoidal.L2) := |
| 75 | (gradientSpace_closed P κ m).preimage L.continuous |
| 76 | exact ((Submodule.span ℝ EulerMeanSolenoidal.gradientGenerators).topologicalClosure_minimal |
| 77 | hgen hclosed) hg |
| 78 | |
| 79 | theorem embedding_gradient_mem (κ : ℝ) (hκ : κ ≠ 0) (m : Space) |
| 80 | (g : EulerMeanSolenoidal.L2) (hg : g ∈ EulerMeanSolenoidal.gradientSpace) : |
| 81 | embedding P g ∈ gradientSpace P κ m := by |
| 82 | have h := (gradientSpace P κ m).smul_mem κ⁻¹ (smul_embedding_gradient_mem P κ m g hg) |
| 83 | simpa only [smul_smul,inv_mul_cancel₀ hκ,one_smul] using h |
| 84 | |
| 85 | end EulerCylinderSpatialEmbedding |