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.OrdinarySobolevTower |
| 2 | import Euler.InjectivePathDerivativeWithin |
| 3 | |
| 4 | /-! A genuine L² evolution lifts to every ordinary Sobolev order when |
| 5 | the proposed derivative has continuous actual spatial jets. Bounded |
| 6 | Sobolev evaluation then supplies the classical pointwise time law. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerOrdinarySobolev |
| 11 | |
| 12 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLpTranslation |
| 13 | EulerLpTranslation.SmoothL2Field EulerMeanOrdinaryLift EulerMeanSmoothRepresentative |
| 14 | EulerSmoothFieldSobolevTime EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 15 | EulerVolterraConvolution |
| 16 | open scoped ContDiff |
| 17 | |
| 18 | private local instance : Fact (0 < (1 : ℝ)) := ⟨by norm_num⟩ |
| 19 | |
| 20 | variable (T : ℝ) (hT : 0 ≤ T) |
| 21 | (A B : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 22 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
| 23 | (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) |
| 24 | (hd : ∀ t (ht : t ∈ Ioo 0 T), |
| 25 | HasDerivAt (fun r => (A (projIcc 0 T hT r)).toLp) (B ⟨t,ht.1.le,ht.2.le⟩).toLp t) |
| 26 | |
| 27 | include hd in |
| 28 | theorem sobolev_derivative_of_l2 (q : ℕ) (t : Icc (0 : ℝ) T) : |
| 29 | HasDerivWithinAt (extendPath T hT (sobolevPath A hA q)) |
| 30 | (sobolevPath B hB q t) (Icc (0 : ℝ) T) t := by |
| 31 | apply EulerInjectivePathDerivative.hasDerivWithinAt_of_injective_map |
| 32 | (valueOperator 1 q) (value_injective 1) T hT (sobolevPath A hA q) (sobolevPath B hB q) |
| 33 | intro r hr |
| 34 | have h := ordinaryLift.toContinuousLinearMap.hasFDerivAt.comp_hasDerivAt r (hd r hr) |
| 35 | have he : (fun s => valueOperator 1 q (extendPath T hT (sobolevPath A hA q) s))= |
| 36 | fun s => ordinaryLift (A (projIcc 0 T hT s)).toLp := by |
| 37 | funext s |
| 38 | exact ordinarySobolev_value q _ _ |
| 39 | rw [he] |
| 40 | have hb : valueOperator 1 q (extendPath T hT (sobolevPath B hB q) r)= |
| 41 | ordinaryLift (B ⟨r,hr.1.le,hr.2.le⟩).toLp := by |
| 42 | change value 1 (ordinarySobolev q (B (projIcc 0 T hT r)).toLp _)=_ |
| 43 | erw [ordinarySobolev_value,projIcc_of_mem hT ⟨hr.1.le,hr.2.le⟩] |
| 44 | rw [hb] |
| 45 | exact h |
| 46 | |
| 47 | include hA hB hd in |
| 48 | theorem pointwise_derivative_of_l2 (t : Icc (0 : ℝ) T) (x : Space) : |
| 49 | HasDerivWithinAt (fun r => (A (projIcc 0 T hT r)).field x) |
| 50 | ((B t).field x) (Icc (0 : ℝ) T) t := by |
| 51 | let L := observation 3 (le_refl 3) (x,(0 : AddCircle (1 : ℝ))) |
| 52 | have hs := sobolev_derivative_of_l2 T hT A B hA hB hd 3 t |
| 53 | have h := L.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) hs |
| 54 | have he : (fun r => L (extendPath T hT (sobolevPath A hA 3) r))= |
| 55 | fun r => (A (projIcc 0 T hT r)).field x := by |
| 56 | funext r |
| 57 | exact observation_apply 3 (le_refl 3) (x,(0 : AddCircle (1 : ℝ))) _ |
| 58 | have hb : L (sobolevPath B hB 3 t)=(B t).field x := |
| 59 | observation_apply 3 (le_refl 3) (x,(0 : AddCircle (1 : ℝ))) _ |
| 60 | simpa only [Function.comp_def,he,hb] using h |
| 61 | |
| 62 | end EulerOrdinarySobolev |