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.CylinderTimeWords |
| 2 | |
| 3 | /-! Time regularity of the full genuine covering derivative, reconstructed from its four directions. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerCylinderSmoothOrbit |
| 8 | |
| 9 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 10 | EulerMetricTransport EulerTransportDerivatives EulerCylinderCoordinates EulerCylinderSobolev |
| 11 | EulerLpCylinderTranslation EulerVolterraConvolution EulerLiftedWeakDerivative |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | def tangentCoordinate (i : Fin 4) : LiftTangent →L[ℝ] ℝ := |
| 15 | (EuclideanSpace.proj i).comp coordinateEquiv.symm.toContinuousLinearMap |
| 16 | |
| 17 | def fromCoordinates : (Fin 4 → Space) →L[ℝ] (LiftTangent →L[ℝ] Space) := |
| 18 | ∑ i : Fin 4, (ContinuousLinearMap.smulRightL ℝ LiftTangent Space (tangentCoordinate i)).comp |
| 19 | (ContinuousLinearMap.proj i) |
| 20 | |
| 21 | theorem fromCoordinates_apply (u : Fin 4 → Space) (v : LiftTangent) : |
| 22 | fromCoordinates u v = ∑ i : Fin 4, (coordinateEquiv.symm v i) • u i := by |
| 23 | simp [fromCoordinates, tangentCoordinate] |
| 24 | |
| 25 | theorem tangent_sum_coordinates (v : LiftTangent) : |
| 26 | (∑ i : Fin 4, (coordinateEquiv.symm v i) • standardDirection i) = v := by |
| 27 | have he : (∑ i : Fin 4, (coordinateEquiv.symm v i) • EuclideanSpace.single i (1 : ℝ)) = |
| 28 | coordinateEquiv.symm v := by |
| 29 | ext i |
| 30 | simp [Pi.single_apply, mul_ite] |
| 31 | change (∑ i : Fin 4, (coordinateEquiv.symm v i) • coordinateEquiv (EuclideanSpace.single i (1 : ℝ))) = v |
| 32 | simp_rw [← map_smul] |
| 33 | rw [← map_sum, he, ContinuousLinearEquiv.apply_symm_apply] |
| 34 | |
| 35 | theorem fromCoordinates_eq (D : LiftTangent →L[ℝ] Space) : |
| 36 | fromCoordinates (fun i => D (standardDirection i)) = D := by |
| 37 | apply ContinuousLinearMap.ext |
| 38 | intro v |
| 39 | rw [fromCoordinates_apply] |
| 40 | calc |
| 41 | _ = D (∑ i : Fin 4, (coordinateEquiv.symm v i) • standardDirection i) := by |
| 42 | simp only [map_sum, map_smul] |
| 43 | _ = D v := congrArg D (tangent_sum_coordinates v) |
| 44 | |
| 45 | variable (P : ℝ) [Fact (0 < P)] |
| 46 | |
| 47 | theorem pointField_fderiv_joint_continuous {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 48 | (p : C(K,LiftL2 P)) (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) : |
| 49 | Continuous (fun z : K × LiftDomain P => fieldFDeriv P (pointField P p hp z.1) z.2) := by |
| 50 | have hc : Continuous (fun z : K × LiftDomain P => |
| 51 | fun i : Fin 4 => fieldFDeriv P (pointField P p hp z.1) z.2 (standardDirection i)) := by |
| 52 | apply continuous_pi |
| 53 | intro i |
| 54 | exact pointField_word_joint_continuous P p hp 1 (fun _ => i) |
| 55 | simpa only [Function.comp_def, fromCoordinates_eq] using fromCoordinates.continuous.comp hc |
| 56 | |
| 57 | variable (T : ℝ) (hT : 0 ≤ T) (p f : C(Icc (0 : ℝ) T,LiftL2 P)) |
| 58 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 59 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a f)) |
| 60 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT p) (f t) (Icc (0 : ℝ) T) t) |
| 61 | |
| 62 | include hd in |
| 63 | /-- Differentiating the full covering derivative in time gives the covering derivative of the true RHS. -/ |
| 64 | theorem pointField_fderiv_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain P) : |
| 65 | HasDerivWithinAt |
| 66 | (fun r => fieldFDeriv P (pointField P p hp (projIcc 0 T hT r)) x) |
| 67 | (fieldFDeriv P (pointField P f hf t) x) (Icc (0 : ℝ) T) t := by |
| 68 | have hD : HasDerivWithinAt |
| 69 | (fun r => fun i : Fin 4 => fieldFDeriv P (pointField P p hp (projIcc 0 T hT r)) x (standardDirection i)) |
| 70 | (fun i : Fin 4 => fieldFDeriv P (pointField P f hf t) x (standardDirection i)) |
| 71 | (Icc (0 : ℝ) T) t := by |
| 72 | apply hasDerivWithinAt_pi.mpr |
| 73 | intro i |
| 74 | exact pointField_word_hasDerivWithinAt P T hT p f hp hf hd 1 (fun _ => i) t x |
| 75 | have h := fromCoordinates.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) hD |
| 76 | simpa only [Function.comp_def, fromCoordinates_eq] using h |
| 77 | |
| 78 | end EulerCylinderSmoothOrbit |