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.CylinderAngleRepresentative |
| 2 | import Euler.CylinderAngleWordBounds |
| 3 | import Euler.CylinderTimeRegularity |
| 4 | |
| 5 | /-! Time differentiation of the actual normalized angular integral on the cylinder. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCylinderAnglePrimitive |
| 10 | |
| 11 | open Set MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 12 | EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerMetricTransport |
| 13 | EulerVolterraConvolution |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable (P : ℝ) [Fact (0 < P)] |
| 17 | {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 18 | |
| 19 | omit [CompactSpace K] in |
| 20 | theorem pathPrimitive_translation (p : C(K,LiftL2 P)) (a : LiftTangent) : |
| 21 | pathPrimitive P (pathTranslate P a p) = pathTranslate P a (pathPrimitive P p) := by |
| 22 | apply ContinuousMap.ext |
| 23 | intro t |
| 24 | exact primitive_mixed_translation P a (p t) |
| 25 | |
| 26 | theorem pathPrimitive_orbit_contDiff (p : C(K,LiftL2 P)) |
| 27 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) : |
| 28 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (pathPrimitive P p)) := by |
| 29 | simpa only [Function.comp_def, pathPrimitive_translation] using |
| 30 | (pathPrimitive (K := K) P).contDiff.comp hp |
| 31 | |
| 32 | theorem primitive_sobolevPath (p : C(K,LiftL2 P)) |
| 33 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) (q : ℕ) (t : K) : |
| 34 | sobolevPath P q (pathPrimitive P p) (pathPrimitive_orbit_contDiff P p hp) t = |
| 35 | sobolevPrimitive P q (sobolevPath P q p hp t) := by |
| 36 | apply value_injective P |
| 37 | change value P (sobolevPath P q (pathPrimitive P p) _ t) = |
| 38 | primitive P (value P (sobolevPath P q p hp t)) |
| 39 | rw [sobolevPath_value, sobolevPath_value] |
| 40 | rfl |
| 41 | |
| 42 | /-- The representative of the time-dependent L² primitive is the same explicit angular integral. -/ |
| 43 | theorem pointField_primitive_formula (p : C(K,LiftL2 P)) |
| 44 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 45 | (hmean : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P)))=0) |
| 46 | (t : K) (y : Vector3) (θ : ℝ) : |
| 47 | pointField P (pathPrimitive P p) (pathPrimitive_orbit_contDiff P p hp) t (y,(θ : AddCircle P)) = |
| 48 | EulerAngleMeanZeroPrimitive.primitive P |
| 49 | (fun s => pointField P p hp t (y,(s : AddCircle P))) θ := by |
| 50 | unfold pointField |
| 51 | rw [primitive_sobolevPath P p hp 3 t] |
| 52 | apply pointEvaluation_primitive_classical P (sobolevPath P 3 p hp t) |
| 53 | (pointField P p hp t) |
| 54 | (smoothField_continuous P _ (pointField_smooth P p hp t)) |
| 55 | · simpa only [sobolevPath_value] using pointField_ae P p hp t |
| 56 | · exact hmean t |
| 57 | |
| 58 | section Time |
| 59 | |
| 60 | variable (T : ℝ) (hT : 0 ≤ T) (p f : C(Icc (0 : ℝ) T,LiftL2 P)) |
| 61 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 62 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a f)) |
| 63 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT p) (f t) (Icc (0 : ℝ) T) t) |
| 64 | |
| 65 | include hd in |
| 66 | theorem pathPrimitive_time_derivative (t : Icc (0 : ℝ) T) : |
| 67 | HasDerivWithinAt (extendPath T hT (pathPrimitive P p)) (pathPrimitive P f t) |
| 68 | (Icc (0 : ℝ) T) t := |
| 69 | primitive_hasDerivWithinAt P _ t (extendPath T hT p) (f t) (hd t) |
| 70 | |
| 71 | include hd in |
| 72 | /-- The literal primitive differentiates within the closed time interval at every angle. -/ |
| 73 | theorem classicalPrimitive_time_derivative |
| 74 | (hpm : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P p hp t (y,(s : AddCircle P)))=0) |
| 75 | (hfm : ∀ t y, (∫ s in (0 : ℝ)..P, pointField P f hf t (y,(s : AddCircle P)))=0) |
| 76 | (t : Icc (0 : ℝ) T) (y : Vector3) (θ : ℝ) : |
| 77 | HasDerivWithinAt (fun r => EulerAngleMeanZeroPrimitive.primitive P |
| 78 | (fun s => pointField P p hp (projIcc 0 T hT r) (y,(s : AddCircle P))) θ) |
| 79 | (EulerAngleMeanZeroPrimitive.primitive P |
| 80 | (fun s => pointField P f hf t (y,(s : AddCircle P))) θ) (Icc (0 : ℝ) T) t := by |
| 81 | have h := pointField_hasDerivWithinAt P T hT (pathPrimitive P p) (pathPrimitive P f) |
| 82 | (pathPrimitive_orbit_contDiff P p hp) (pathPrimitive_orbit_contDiff P f hf) |
| 83 | (pathPrimitive_time_derivative P T hT p f hd) t (y,(θ : AddCircle P)) |
| 84 | rw [pointField_primitive_formula P f hf hfm t y θ] at h |
| 85 | apply h.congr_of_mem _ t.property |
| 86 | intro r _ |
| 87 | exact (pointField_primitive_formula P p hp hpm (projIcc 0 T hT r) y θ).symm |
| 88 | |
| 89 | end Time |
| 90 | end EulerCylinderAnglePrimitive |