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.SmoothL2CoefficientPath |
| 2 | import Euler.SeparatingTimeDerivative |
| 3 | import Euler.SobolevRestriction |
| 4 | |
| 5 | /-! Pointwise evolution of smooth L² fields upgrades to genuine strong |
| 6 | Sobolev evolution when all spatial L² jets of the field and its prescribed |
| 7 | time derivative are continuous. The ordinary field is represented by its |
| 8 | isometric, angle-independent lift to the unit cylinder. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerSmoothFieldSobolevTime |
| 13 | |
| 14 | open Set MeasureTheory EulerSmoothLimit EulerMeanSolenoidal EulerMeanOrdinaryLift |
| 15 | EulerMeanSmoothRepresentative EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 16 | EulerCylinderSobolevSpace EulerSobolevPointEvaluation EulerLiftedGradientSpace |
| 17 | EulerVolterraConvolution |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | private local instance : Fact (0 < (1 : ℝ)) := ⟨by norm_num⟩ |
| 21 | |
| 22 | variable {K : Type*} [TopologicalSpace K] |
| 23 | |
| 24 | theorem continuous_sobolev (A : K → SmoothL2Field Space) |
| 25 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (q : ℕ) : |
| 26 | Continuous (fun t => ordinarySobolev q (A t).toLp (A t).translation_contDiff) := by |
| 27 | apply ordinarySobolev_continuous q (fun t => (A t).toLp) (fun t => (A t).translation_contDiff) |
| 28 | intro n _ |
| 29 | have he : (fun t => iteratedFDeriv ℝ n |
| 30 | (fun a : Space => EulerMeanSolenoidal.translation a (A t).toLp) 0) = |
| 31 | fun t => EulerLpDerivative.multilinearBundling (P := Space) (V := Space) volume n |
| 32 | ((A t).jetLp n) := by |
| 33 | funext t |
| 34 | have h := (A t).iteratedFDeriv_translation_eq n 0 |
| 35 | rw [EulerLpTranslation.translation_zero] at h |
| 36 | simpa only [EulerLpTranslation.translation,EulerMeanSolenoidal.translation] using h |
| 37 | rw [he] |
| 38 | exact (EulerLpDerivative.multilinearBundling (P := Space) (V := Space) volume n).continuous.comp (hA n) |
| 39 | |
| 40 | def sobolevPath (A : K → SmoothL2Field Space) |
| 41 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (q : ℕ) : C(K,SobolevSpace 1 q) := |
| 42 | ⟨fun t => ordinarySobolev q (A t).toLp (A t).translation_contDiff,continuous_sobolev A hA q⟩ |
| 43 | |
| 44 | theorem restrict_sobolev {p q : ℕ} (h : q ≤ p) (A : SmoothL2Field Space) : |
| 45 | restrictOperator 1 h (ordinarySobolev p A.toLp A.translation_contDiff) = |
| 46 | ordinarySobolev q A.toLp A.translation_contDiff := by |
| 47 | apply value_injective 1 |
| 48 | exact (value_restrictOperator 1 h _).trans |
| 49 | ((ordinarySobolev_value p A.toLp A.translation_contDiff).trans |
| 50 | (ordinarySobolev_value q A.toLp A.translation_contDiff).symm) |
| 51 | |
| 52 | def observation (q : ℕ) (hq : 3 ≤ q) (x : LiftDomain 1) : SobolevSpace 1 q →L[ℝ] Space := |
| 53 | (pointEvaluation 1 x).comp (restrictOperator 1 hq) |
| 54 | |
| 55 | theorem observation_apply (q : ℕ) (hq : 3 ≤ q) (x : LiftDomain 1) (A : SmoothL2Field Space) : |
| 56 | observation q hq x (ordinarySobolev q A.toLp A.translation_contDiff) = A.field x.1 := by |
| 57 | change pointEvaluation 1 x |
| 58 | (restrictOperator 1 hq (ordinarySobolev q A.toLp A.translation_contDiff)) = _ |
| 59 | rw [restrict_sobolev] |
| 60 | apply pointEvaluation_eq 1 x _ (fun z : LiftDomain 1 => A.field z.1) |
| 61 | (A.smooth.continuous.comp continuous_fst) |
| 62 | exact Filter.EventuallyEq.trans |
| 63 | (Filter.Eventually.of_forall (fun z => |
| 64 | congrArg (fun u : LiftL2 1 => u z) (ordinarySobolev_value 3 A.toLp A.translation_contDiff))) |
| 65 | ((ordinaryLift_ae A.toLp).trans |
| 66 | (ordinaryProjection_measurePreserving.quasiMeasurePreserving.ae A.toLp_ae)) |
| 67 | |
| 68 | theorem observation_injective (q : ℕ) (hq : 3 ≤ q) : |
| 69 | Function.Injective (fun u : SobolevSpace 1 q => fun x : LiftDomain 1 => observation q hq x u) := by |
| 70 | intro u v h |
| 71 | apply value_injective 1 |
| 72 | apply Lp.ext |
| 73 | filter_upwards [EulerSobolevPointEvaluation.representative_ae 1 (restrictOperator 1 hq u), |
| 74 | EulerSobolevPointEvaluation.representative_ae 1 (restrictOperator 1 hq v)] with x hu hv |
| 75 | exact hu.trans ((congrFun h x).trans hv.symm) |
| 76 | |
| 77 | variable (T : ℝ) (hT : 0 ≤ T) |
| 78 | (A B : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 79 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
| 80 | (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) |
| 81 | (hd : ∀ t (ht : t ∈ Ioo 0 T) x, |
| 82 | HasDerivAt (fun r => (A (projIcc 0 T hT r)).field x) |
| 83 | ((B ⟨t,ht.1.le,ht.2.le⟩).field x) t) |
| 84 | |
| 85 | include hd in |
| 86 | theorem sobolevPath_hasDerivWithinAt_of_three_le (q : ℕ) (hq : 3 ≤ q) |
| 87 | (t : Icc (0 : ℝ) T) : |
| 88 | HasDerivWithinAt (extendPath T hT (sobolevPath A hA q)) |
| 89 | (sobolevPath B hB q t) (Icc (0 : ℝ) T) t := by |
| 90 | apply EulerSeparatingTimeDerivative.hasDerivWithinAt T hT (sobolevPath A hA q) |
| 91 | (sobolevPath B hB q) (observation q hq) (observation_injective q hq) |
| 92 | intro x r hr |
| 93 | simpa only [extendPath,sobolevPath,ContinuousMap.coe_mk,observation_apply] using hd r hr x.1 |
| 94 | |
| 95 | include hd in |
| 96 | theorem sobolevPath_hasDerivWithinAt (q : ℕ) (t : Icc (0 : ℝ) T) : |
| 97 | HasDerivWithinAt (extendPath T hT (sobolevPath A hA q)) |
| 98 | (sobolevPath B hB q t) (Icc (0 : ℝ) T) t := by |
| 99 | have hb := sobolevPath_hasDerivWithinAt_of_three_le T hT A B hA hB hd (q+3) (by omega) t |
| 100 | have hs := (restrictOperator 1 (by omega : q ≤ q+3)).hasFDerivAt.comp_hasDerivWithinAt |
| 101 | (t : ℝ) hb |
| 102 | convert! hs using 1 <;> |
| 103 | simp only [extendPath,sobolevPath,ContinuousMap.coe_mk,Function.comp_def,restrict_sobolev] |
| 104 | rfl |
| 105 | |
| 106 | include hd in |
| 107 | theorem sobolevPath_hasDerivAt (q : ℕ) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 108 | HasDerivAt (extendPath T hT (sobolevPath A hA q)) |
| 109 | (sobolevPath B hB q ⟨t,ht.1.le,ht.2.le⟩) t := |
| 110 | (sobolevPath_hasDerivWithinAt T hT A B hA hB hd q ⟨t,ht.1.le,ht.2.le⟩).hasDerivAt |
| 111 | (Icc_mem_nhds ht.1 ht.2) |
| 112 | |
| 113 | end EulerSmoothFieldSobolevTime |