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.CylinderClassicalSolenoidal |
| 2 | import Euler.CylinderSpatialEmbedding |
| 3 | import Euler.MeanClassicalConstraints |
| 4 | |
| 5 | /-! A genuine smooth ordinary solenoidal L² field remains solenoidal on the periodic cylinder. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerMeanCylinderSolenoidal |
| 10 | |
| 11 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 12 | EulerMetricTransport EulerTransportDerivatives EulerMeanSolenoidal EulerVectorCalculus |
| 13 | EulerCylinderSpatialEmbedding EulerCylinderClassicalSolenoidal EulerMeanSmoothRepresentative |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable (P : ℝ) [Fact (0 < P)] |
| 17 | |
| 18 | omit [Fact (0 < P)] in |
| 19 | theorem fieldDerivative_spatial (f : Space → Space) (hf : ContDiff ℝ ∞ f) |
| 20 | (a : LiftTangent) (z : LiftDomain P) : |
| 21 | fieldDerivative P a (fun x : LiftDomain P => f x.1) z = fderiv ℝ f z.1 a.1 := by |
| 22 | have hi : HasFDerivAt (fun h : LiftTangent => z.1+h.1) |
| 23 | (ContinuousLinearMap.fst ℝ Space ℝ) 0 := |
| 24 | (hasFDerivAt_fst : HasFDerivAt (Prod.fst : LiftTangent → Space) |
| 25 | (ContinuousLinearMap.fst ℝ Space ℝ) 0).const_add z.1 |
| 26 | have hd := (hf.differentiable (by simp) (z.1+(0 : LiftTangent).1)).hasFDerivAt.comp |
| 27 | (0 : LiftTangent) hi |
| 28 | have he := congrArg (fun L : LiftTangent →L[ℝ] Space => L a) hd.fderiv |
| 29 | change (fderiv ℝ (fun h : LiftTangent => f (z.1+h.1)) 0) a = _ |
| 30 | simpa only [Function.comp_def,Prod.fst_zero,add_zero, |
| 31 | comp_apply,ContinuousLinearMap.coe_fst'] using he |
| 32 | |
| 33 | omit [Fact (0 < P)] in |
| 34 | theorem lift_classical_divergence (κ : ℝ) (m : Space) (f : Space → Space) |
| 35 | (hf : ContDiff ℝ ∞ f) (hd : ∀ x, divergence f x = 0) (z : LiftDomain P) : |
| 36 | (∑ i : Fin 3, (fieldDerivative P (coordinateDirection κ m i) |
| 37 | (fun x : LiftDomain P => f x.1) z) i) = 0 := by |
| 38 | simp_rw [fieldDerivative_spatial P f hf] |
| 39 | change (∑ i : Fin 3, (fderiv ℝ f z.1 (κ • EuclideanSpace.single i 1)) i) = 0 |
| 40 | simp only [map_smul,PiLp.smul_apply,smul_eq_mul,← Finset.mul_sum] |
| 41 | rw [← divergence_eq_coordinate_sum,hd,mul_zero] |
| 42 | |
| 43 | theorem embedding_representative (u : L2) (f : Space → Space) |
| 44 | (hrep : (u : Space → Space) =ᵐ[volume] f) : |
| 45 | (embedding P u : LiftDomain P → Space) =ᵐ[liftMeasure P] fun z => f z.1 := by |
| 46 | filter_upwards [lift_ae P u, |
| 47 | (Measure.quasiMeasurePreserving_fst (μ := (volume : Measure Space)) |
| 48 | (ν := (volume : Measure (AddCircle P)))).ae hrep] with z hl hr |
| 49 | exact hl.trans hr |
| 50 | |
| 51 | /-- The conclusion is membership in the actual closed lifted-gradient orthogonal complement. -/ |
| 52 | theorem embedding_mem (κ : ℝ) (m : Space) (u : L2) (hu : u ∈ solenoidalSpace) |
| 53 | (f : Space → Space) (hf : ContDiff ℝ ∞ f) (hrep : (u : Space → Space) =ᵐ[volume] f) : |
| 54 | embedding P u ∈ divergenceFreeSpace P κ m := by |
| 55 | apply mem_of_classical P κ m (embedding P u) (fun z : LiftDomain P => f z.1) |
| 56 | (embedding_representative P u f hrep) |
| 57 | · intro z |
| 58 | exact hf.comp (contDiff_const.add contDiff_fst) |
| 59 | · exact lift_classical_divergence P κ m f hf |
| 60 | (EulerMeanClassical.solenoidal_representative_divergence u hu f hf hrep) |
| 61 | |
| 62 | theorem embedding_mem_of_smooth_orbit (κ : ℝ) (m : Space) (u : L2) |
| 63 | (hu : u ∈ solenoidalSpace) (hs : SmoothOrbit u) : |
| 64 | embedding P u ∈ divergenceFreeSpace P κ m := |
| 65 | embedding_mem P κ m u hu (representative u hs) (representative_smooth u hs) (representative_ae u hs) |
| 66 | |
| 67 | end EulerMeanCylinderSolenoidal |