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.CylinderOrbitSobolev |
| 2 | import Euler.InjectivePathDerivativeWithin |
| 3 | |
| 4 | /-! |
| 5 | # Actual smooth cylinder fields from continuous mixed-orbit paths |
| 6 | |
| 7 | Uniform-time mixed L² regularity constructs a jointly continuous genuine |
| 8 | representative, smooth in all spatial/angular variables. A continuous L² time |
| 9 | right-hand side lifts through the injective Sobolev inclusion and yields the |
| 10 | actual pointwise within-time derivative, including both interval endpoints. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerCylinderSmoothOrbit |
| 16 | |
| 17 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 18 | EulerLpCylinderTranslation EulerCylinderSobolevSpace EulerMetricTransport |
| 19 | EulerVolterraConvolution EulerInjectivePathDerivative |
| 20 | open scoped ContDiff |
| 21 | |
| 22 | variable (period : ℝ) [Fact (0 < period)] |
| 23 | {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 24 | |
| 25 | /-- The genuine representative obtained by bounded H3 point evaluation. -/ |
| 26 | def pointField (p : C(K,LiftL2 period)) |
| 27 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a p)) |
| 28 | (t : K) (x : LiftDomain period) : Space := |
| 29 | EulerSobolevPointEvaluation.pointEvaluation period x (sobolevPath period 3 p hp t) |
| 30 | |
| 31 | /-- The reconstructed field is jointly continuous in time and cylinder position. -/ |
| 32 | theorem pointField_joint_continuous (p : C(K,LiftL2 period)) |
| 33 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a p)) : |
| 34 | Continuous (fun z : K × LiftDomain period => pointField period p hp z.1 z.2) := |
| 35 | EulerSobolevJointEvaluation.path_representative_joint_continuous period (sobolevPath period 3 p hp) |
| 36 | |
| 37 | /-- The bounded point evaluation is exactly the smooth representative of each actual L² slice. -/ |
| 38 | theorem pointField_eq_representative (p : C(K,LiftL2 period)) |
| 39 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a p)) (t : K) : |
| 40 | pointField period p hp t = representative period (p t) (path_evaluation_smooth period p hp t) := by |
| 41 | funext x |
| 42 | apply EulerSobolevPointEvaluation.pointEvaluation_eq |
| 43 | · exact smoothField_continuous period _ (representative_smooth period _ _) |
| 44 | · simpa only [sobolevPath_value] using representative_ae period (p t) (path_evaluation_smooth period p hp t) |
| 45 | |
| 46 | /-- Every time slice is genuinely smooth in all three spatial and the angular variable. -/ |
| 47 | theorem pointField_smooth (p : C(K,LiftL2 period)) |
| 48 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a p)) |
| 49 | (t : K) (x : LiftDomain period) : |
| 50 | ContDiff ℝ ∞ (localFieldLift period (pointField period p hp t) x) := by |
| 51 | rw [pointField_eq_representative] |
| 52 | exact representative_smooth period _ _ x |
| 53 | |
| 54 | /-- The reconstructed field represents the original, rather than a separate chosen solution. -/ |
| 55 | theorem pointField_ae (p : C(K,LiftL2 period)) |
| 56 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a p)) (t : K) : |
| 57 | (p t : LiftDomain period → Space) =ᵐ[liftMeasure period] pointField period p hp t := by |
| 58 | rw [pointField_eq_representative] |
| 59 | exact representative_ae period _ _ |
| 60 | |
| 61 | section Derivative |
| 62 | |
| 63 | variable (T : ℝ) (hT : 0 ≤ T) (p f : C(Icc (0 : ℝ) T,LiftL2 period)) |
| 64 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a p)) |
| 65 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a f)) |
| 66 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT p) (f t) (Icc (0 : ℝ) T) t) |
| 67 | |
| 68 | include hd in |
| 69 | /-- The time equation is actual in each complete Sobolev space, by injectivity of its L² inclusion. -/ |
| 70 | theorem sobolevPath_hasDerivWithinAt (q : ℕ) (t : Icc (0 : ℝ) T) : |
| 71 | HasDerivWithinAt (extendPath T hT (sobolevPath period q p hp)) |
| 72 | (sobolevPath period q f hf t) (Icc (0 : ℝ) T) t := by |
| 73 | apply hasDerivWithinAt_of_injective_map (valueOperator period q) (value_injective period) |
| 74 | T hT (sobolevPath period q p hp) (sobolevPath period q f hf) |
| 75 | intro r hr |
| 76 | have hdr := (hd ⟨r,hr.1.le,hr.2.le⟩).hasDerivAt (Icc_mem_nhds hr.1 hr.2) |
| 77 | convert hdr using 1 |
| 78 | · funext s |
| 79 | exact sobolevPath_value period q p hp (projIcc 0 T hT s) |
| 80 | · change value period (sobolevPath period q f hf (projIcc 0 T hT r)) = f ⟨r,hr.1.le,hr.2.le⟩ |
| 81 | rw [sobolevPath_value,projIcc_of_mem hT ⟨hr.1.le,hr.2.le⟩] |
| 82 | |
| 83 | include hd in |
| 84 | /-- The pointwise PDE time derivative holds within the closed interval at every cylinder point. -/ |
| 85 | theorem pointField_hasDerivWithinAt (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 86 | HasDerivWithinAt (fun s => pointField period p hp (projIcc 0 T hT s) x) |
| 87 | (pointField period f hf t x) (Icc (0 : ℝ) T) t := by |
| 88 | have h := (EulerSobolevPointEvaluation.pointEvaluation period x).hasFDerivAt.comp_hasDerivWithinAt |
| 89 | (t : ℝ) (sobolevPath_hasDerivWithinAt period T hT p f hp hf hd 3 t) |
| 90 | exact h |
| 91 | |
| 92 | end Derivative |
| 93 | |
| 94 | end EulerCylinderSmoothOrbit |