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.MeanSpatialEvaluation |
| 2 | |
| 3 | /-! Genuine time derivatives pass through the reconstructed ordinary spatial representatives. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | |
| 8 | namespace EulerMeanSmoothRepresentative |
| 9 | |
| 10 | open MeasureTheory EulerSmoothLimit EulerMeanSolenoidal EulerMeanOrdinaryLift |
| 11 | EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevPointEvaluation |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | private local instance : Fact (0 < (1 : ℝ)) := ⟨by norm_num⟩ |
| 15 | |
| 16 | private theorem hasDerivAt_submodule_iff {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | (S : Submodule ℝ E) (f : ℝ → S) (v : S) (t : ℝ) : |
| 18 | HasDerivAt f v t ↔ HasDerivAt (fun s => (f s : E)) (v : E) t := by |
| 19 | rw [hasDerivAt_iff_tendsto, hasDerivAt_iff_tendsto] |
| 20 | rfl |
| 21 | |
| 22 | private theorem hasDerivWithinAt_submodule_iff {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 23 | (S : Submodule ℝ E) (f : ℝ → S) (v : S) (U : Set ℝ) (t : ℝ) : |
| 24 | HasDerivWithinAt f v U t ↔ HasDerivWithinAt (fun s => (f s : E)) (v : E) U t := by |
| 25 | rw [hasDerivWithinAt_iff_tendsto, hasDerivWithinAt_iff_tendsto] |
| 26 | rfl |
| 27 | |
| 28 | /-- The derivative of the complete Sobolev array is fixed by the actual finite L² derivative tensors. -/ |
| 29 | theorem ordinarySobolev_hasDerivAt (q : ℕ) (u : ℝ → EulerMeanSolenoidal.L2) |
| 30 | (hu : ∀ t, SmoothOrbit (u t)) (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) (t : ℝ) |
| 31 | (hjet : ∀ n ≤ q, HasDerivAt |
| 32 | (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) |
| 33 | (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) t) : |
| 34 | HasDerivAt (fun s => ordinarySobolev q (u s) (hu s)) (ordinarySobolev q v hv) t := by |
| 35 | apply (hasDerivAt_submodule_iff (sobolevSubspace 1 q).toSubmodule _ _ _).mpr |
| 36 | apply hasDerivAt_pi.mpr |
| 37 | intro w |
| 38 | change HasDerivAt (fun s => (ordinarySobolev q (u s) (hu s)).val w) |
| 39 | ((ordinarySobolev q v hv).val w) t |
| 40 | simp_rw [ordinarySobolev_coordinate] |
| 41 | let L := ordinaryLift.toContinuousLinearMap.comp |
| 42 | (ContinuousMultilinearMap.apply ℝ (fun _ : Fin w.1.val => Space) EulerMeanSolenoidal.L2 |
| 43 | (coordinateTuple w.2)) |
| 44 | exact L.hasFDerivAt.comp_hasDerivAt t (hjet w.1.val (Nat.le_of_lt_succ w.1.isLt)) |
| 45 | |
| 46 | theorem ordinarySobolev_hasDerivWithinAt (q : ℕ) (u : ℝ → EulerMeanSolenoidal.L2) |
| 47 | (hu : ∀ t, SmoothOrbit (u t)) (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) |
| 48 | (U : Set ℝ) (t : ℝ) |
| 49 | (hjet : ∀ n ≤ q, HasDerivWithinAt |
| 50 | (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) |
| 51 | (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) U t) : |
| 52 | HasDerivWithinAt (fun s => ordinarySobolev q (u s) (hu s)) (ordinarySobolev q v hv) U t := by |
| 53 | apply (hasDerivWithinAt_submodule_iff (sobolevSubspace 1 q).toSubmodule _ _ _ _).mpr |
| 54 | apply hasDerivWithinAt_pi.mpr |
| 55 | intro w |
| 56 | change HasDerivWithinAt (fun s => (ordinarySobolev q (u s) (hu s)).val w) |
| 57 | ((ordinarySobolev q v hv).val w) U t |
| 58 | simp_rw [ordinarySobolev_coordinate] |
| 59 | let L := ordinaryLift.toContinuousLinearMap.comp |
| 60 | (ContinuousMultilinearMap.apply ℝ (fun _ : Fin w.1.val => Space) EulerMeanSolenoidal.L2 |
| 61 | (coordinateTuple w.2)) |
| 62 | exact L.hasFDerivAt.comp_hasDerivWithinAt t (hjet w.1.val (Nat.le_of_lt_succ w.1.isLt)) |
| 63 | |
| 64 | /-- The actual pointwise time derivative equals the smooth representative of the L² derivative. -/ |
| 65 | theorem representative_hasDerivAt (u : ℝ → EulerMeanSolenoidal.L2) (hu : ∀ t, SmoothOrbit (u t)) |
| 66 | (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) (t : ℝ) |
| 67 | (hjet : ∀ n ≤ 3, HasDerivAt |
| 68 | (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) |
| 69 | (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) t) |
| 70 | (x : Space) : |
| 71 | HasDerivAt (fun s => representative (u s) (hu s) x) (representative v hv x) t := by |
| 72 | have H := (pointEvaluation 1 (x, 0)).hasFDerivAt.comp_hasDerivAt t |
| 73 | (ordinarySobolev_hasDerivAt 3 u hu v hv t hjet) |
| 74 | simpa only [Function.comp_def, pointEvaluation_ordinary] using H |
| 75 | |
| 76 | theorem representative_hasDerivWithinAt (u : ℝ → EulerMeanSolenoidal.L2) |
| 77 | (hu : ∀ t, SmoothOrbit (u t)) (v : EulerMeanSolenoidal.L2) (hv : SmoothOrbit v) |
| 78 | (U : Set ℝ) (t : ℝ) |
| 79 | (hjet : ∀ n ≤ 3, HasDerivWithinAt |
| 80 | (fun s => iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a (u s)) 0) |
| 81 | (iteratedFDeriv ℝ n (fun a : Space => EulerMeanSolenoidal.translation a v) 0) U t) |
| 82 | (x : Space) : |
| 83 | HasDerivWithinAt (fun s => representative (u s) (hu s) x) (representative v hv x) U t := by |
| 84 | have H := (pointEvaluation 1 (x, 0)).hasFDerivAt.comp_hasDerivWithinAt t |
| 85 | (ordinarySobolev_hasDerivWithinAt 3 u hu v hv U t hjet) |
| 86 | simpa only [Function.comp_def, pointEvaluation_ordinary] using H |
| 87 | |
| 88 | end EulerMeanSmoothRepresentative |