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.CylinderConstantMap |
| 2 | import Euler.CylinderTimeRegularity |
| 3 | |
| 4 | /-! |
| 5 | Actual pointwise representatives for coordinate spaces embedded in Space. |
| 6 | A fixed bounded embedding and left inverse transfer the proved H³ point |
| 7 | evaluation. This will apply to the two-dimensional reference plane, without |
| 8 | identifying an L² normal with a pointwise normal vector. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerCylinderRetractRepresentative |
| 14 | |
| 15 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 16 | EulerLpCylinderTranslation EulerCylinderConstantMap EulerVolterraConvolution EulerMetricTransport |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable (P : ℝ) [Fact (0 < P)] {U : Type*} |
| 20 | [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 21 | (J : U →L[ℝ] Space) (L : Space →L[ℝ] U) |
| 22 | {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 23 | (p : C(K,CylinderL2 P U)) |
| 24 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 25 | |
| 26 | def pointField (t : K) (x : LiftDomain P) : U := |
| 27 | L (EulerCylinderSmoothOrbit.pointField P (pathMap P J p) (pathMap_orbit_contDiff P J p hp) t x) |
| 28 | |
| 29 | theorem pointField_joint_continuous : |
| 30 | Continuous (fun z : K × LiftDomain P => pointField P J L p hp z.1 z.2) := |
| 31 | L.continuous.comp (EulerCylinderSmoothOrbit.pointField_joint_continuous P |
| 32 | (pathMap P J p) (pathMap_orbit_contDiff P J p hp)) |
| 33 | |
| 34 | theorem pointField_smooth (t : K) (x : LiftDomain P) : |
| 35 | ContDiff ℝ ∞ (localFieldLift P (pointField P J L p hp t) x) := |
| 36 | L.contDiff.comp (EulerCylinderSmoothOrbit.pointField_smooth P |
| 37 | (pathMap P J p) (pathMap_orbit_contDiff P J p hp) t x) |
| 38 | |
| 39 | theorem pointField_continuous (t : K) : Continuous (pointField P J L p hp t) := |
| 40 | smoothField_continuous P _ (pointField_smooth P J L p hp t) |
| 41 | |
| 42 | def pointPath (x : LiftDomain P) : C(K,U) := |
| 43 | ⟨fun t => pointField P J L p hp t x, |
| 44 | L.continuous.comp ((EulerSobolevPointEvaluation.pointEvaluation P x).continuous.comp |
| 45 | (EulerCylinderSmoothOrbit.sobolevPath P 3 (pathMap P J p) |
| 46 | (pathMap_orbit_contDiff P J p hp)).continuous)⟩ |
| 47 | |
| 48 | theorem pointField_ae (hL : ∀ v : U, L (J v) = v) (t : K) : |
| 49 | p t =ᵐ[liftMeasure P] pointField P J L p hp t := by |
| 50 | filter_upwards [map_ae P J (p t),EulerCylinderSmoothOrbit.pointField_ae P |
| 51 | (pathMap P J p) (pathMap_orbit_contDiff P J p hp) t] with x hm he |
| 52 | change (map P J (p t)) x = _ at he |
| 53 | change p t x = L _ |
| 54 | rw [← he,hm,hL] |
| 55 | |
| 56 | theorem pointField_eq (hL : ∀ v : U, L (J v) = v) (t : K) |
| 57 | (f : LiftDomain P → U) (hf : Continuous f) (hrep : p t =ᵐ[liftMeasure P] f) : |
| 58 | pointField P J L p hp t = f := |
| 59 | Measure.eq_of_ae_eq ((pointField_ae P J L p hp hL t).symm.trans hrep) |
| 60 | (pointField_continuous P J L p hp t) hf |
| 61 | |
| 62 | section Time |
| 63 | |
| 64 | variable (T : ℝ) (hT : 0 ≤ T) |
| 65 | (p q : C(Icc (0 : ℝ) T,CylinderL2 P U)) |
| 66 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 67 | (hq : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a q)) |
| 68 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 69 | HasDerivWithinAt (extendPath T hT p) (q t) (Icc (0 : ℝ) T) t) |
| 70 | |
| 71 | include hd in |
| 72 | theorem pointPath_hasDerivWithinAt (x : LiftDomain P) (t : Icc (0 : ℝ) T) : |
| 73 | HasDerivWithinAt (extendPath T hT (pointPath P J L p hp x)) |
| 74 | (pointPath P J L q hq x t) (Icc (0 : ℝ) T) t := by |
| 75 | have hdJ (s : Icc (0 : ℝ) T) : |
| 76 | HasDerivWithinAt (extendPath T hT (pathMap P J p)) (pathMap P J q s) |
| 77 | (Icc (0 : ℝ) T) s := |
| 78 | (map P J).hasFDerivAt.comp_hasDerivWithinAt (s : ℝ) (hd s) |
| 79 | exact L.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) |
| 80 | (EulerCylinderSmoothOrbit.pointField_hasDerivWithinAt P T hT |
| 81 | (pathMap P J p) (pathMap P J q) (pathMap_orbit_contDiff P J p hp) |
| 82 | (pathMap_orbit_contDiff P J q hq) hdJ t x) |
| 83 | |
| 84 | end Time |
| 85 | end EulerCylinderRetractRepresentative |