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.AllOrderCorrectionData |
| 2 | import Euler.SobolevJointEvaluation |
| 3 | |
| 4 | /-! Canonical smooth pointwise representatives of any genuine all-order |
| 5 | field tower. All spatial regularity follows from its actual Sobolev jets. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerAllOrderCorrectionData.FieldTower |
| 10 | |
| 11 | open Set MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 12 | EulerCylinderSobolev EulerSpatialSobolevInverse EulerSobolevPointEvaluation |
| 13 | EulerSobolevJointEvaluation EulerSmoothPressureRepresentative EulerMetricTransport |
| 14 | EulerVolterraConvolution |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | variable {P T : ℝ} [Fact (0 < P)] (A : EulerAllOrderCorrectionData.FieldTower P T) |
| 18 | |
| 19 | def spatialJet (q : ℕ) (t : Icc (0 : ℝ) T) : |
| 20 | SpatialJet P standardDirection q (A.field t) := |
| 21 | A.value_eq q t ▸ toJet P (A.realization q t) |
| 22 | |
| 23 | def pointField (t : Icc (0 : ℝ) T) (x : LiftDomain P) : Vector3 := |
| 24 | pointEvaluation P x (A.realization 3 t) |
| 25 | |
| 26 | theorem pointField_ae (t : Icc (0 : ℝ) T) : |
| 27 | (A.field t : LiftDomain P → Vector3) =ᵐ[liftMeasure P] A.pointField t := by |
| 28 | have h := representative_ae P (A.realization 3 t) |
| 29 | rw [A.value_eq] at h |
| 30 | exact h |
| 31 | |
| 32 | theorem pointField_joint_continuous : Continuous A.pointField.uncurry := |
| 33 | path_representative_joint_continuous P (A.realization 3) |
| 34 | |
| 35 | theorem pointField_unique (t : Icc (0 : ℝ) T) (g : LiftDomain P → Vector3) |
| 36 | (hg : Continuous g) |
| 37 | (ha : (A.field t : LiftDomain P → Vector3) =ᵐ[liftMeasure P] g) : |
| 38 | A.pointField t = g := |
| 39 | Measure.eq_of_ae_eq ((A.pointField_ae t).symm.trans ha) |
| 40 | (Continuous.uncurry_left t A.pointField_joint_continuous) hg |
| 41 | |
| 42 | theorem pointField_smooth (t : Icc (0 : ℝ) T) (x : LiftDomain P) : |
| 43 | ContDiff ℝ ∞ (localFieldLift P (A.pointField t) x) := by |
| 44 | obtain ⟨g,hg,ha⟩ := exists_smooth_representative P (A.field t) (fun q => A.spatialJet q t) |
| 45 | rw [A.pointField_unique t g (smoothField_continuous P g hg) ha] |
| 46 | exact hg x |
| 47 | |
| 48 | theorem restrict_realization {p q : ℕ} (h : q ≤ p) (t : Icc (0 : ℝ) T) : |
| 49 | restrictOperator P h (A.realization p t) = A.realization q t := by |
| 50 | apply value_injective P |
| 51 | simp only [value_restrictOperator,A.value_eq] |
| 52 | |
| 53 | theorem pointField_eq_high (q : ℕ) (hq : 3 ≤ q) (t : Icc (0 : ℝ) T) |
| 54 | (x : LiftDomain P) : |
| 55 | A.pointField t x = pointEvaluation P x (restrictOperator P hq (A.realization q t)) := |
| 56 | congrArg (pointEvaluation P x) (A.restrict_realization hq t).symm |
| 57 | |
| 58 | theorem pointField_hasDerivWithinAt (B : EulerAllOrderCorrectionData.FieldTower P T) |
| 59 | (hT : 0 ≤ T) (t : Icc (0 : ℝ) T) |
| 60 | (hd : HasDerivWithinAt (extendPath T hT (A.realization 3)) |
| 61 | (B.realization 3 t) (Icc (0 : ℝ) T) t) (x : LiftDomain P) : |
| 62 | HasDerivWithinAt (fun r => A.pointField (projIcc 0 T hT r) x) |
| 63 | (B.pointField t x) (Icc (0 : ℝ) T) t := |
| 64 | (pointEvaluation P x).hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) hd |
| 65 | |
| 66 | end EulerAllOrderCorrectionData.FieldTower |