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.OrdinaryWordConstraints |
| 2 | import Euler.SmoothFieldSobolevTime |
| 3 | import Euler.CylinderSobolevOperators |
| 4 | import Mathlib.Analysis.InnerProductSpace.Calculus |
| 5 | |
| 6 | /-! Strong time differentiation of every actual ordinary L² word, |
| 7 | derived from the pointwise evolution and continuous L² spatial jets. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerOrdinarySobolev |
| 12 | |
| 13 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 14 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanOrdinaryLift |
| 15 | EulerMeanSmoothRepresentative EulerCylinderSobolevSpace EulerLiftedGradientSpace |
| 16 | EulerSmoothFieldSobolevTime EulerVolterraConvolution Finset |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | private local instance : Fact (0 < (1 : ℝ)) := ⟨by norm_num⟩ |
| 20 | |
| 21 | def ordinaryWordOperator {n : ℕ} (w : Fin n → Fin 3) : |
| 22 | SobolevSpace 1 n →L[ℝ] EulerMeanSolenoidal.L2 := |
| 23 | ordinaryLift.toContinuousLinearMap.adjoint.comp |
| 24 | (wordOperator 1 ⟨⟨n, Nat.lt_succ_self n⟩,fun i => (w i).succ⟩) |
| 25 | |
| 26 | theorem ordinaryWordOperator_apply (A : SmoothL2Field Space) {n : ℕ} (w : Fin n → Fin 3) : |
| 27 | ordinaryWordOperator w (ordinarySobolev n A.toLp A.translation_contDiff)= |
| 28 | (wordField A w).toLp := by |
| 29 | change ordinaryLift.toContinuousLinearMap.adjoint |
| 30 | ((ordinarySobolev n A.toLp A.translation_contDiff).val |
| 31 | ⟨⟨n,Nat.lt_succ_self n⟩,fun i => (w i).succ⟩)=_ |
| 32 | erw [ordinarySobolev_coordinate] |
| 33 | have he (u : EulerMeanSolenoidal.L2) : ordinaryLift.toContinuousLinearMap.adjoint (ordinaryLift u)=u := |
| 34 | congrArg (fun L : EulerMeanSolenoidal.L2 →L[ℝ] EulerMeanSolenoidal.L2 => L u) |
| 35 | ordinaryLift.adjoint_comp_self |
| 36 | rw [he,word_toLp_eq_orbit] |
| 37 | have hc : coordinateTuple (fun i => (w i).succ)=(fun i => axis (w i)) := by |
| 38 | funext i |
| 39 | simp only [coordinateTuple,EulerCylinderSobolev.standardDirection_succ,axis] |
| 40 | change iteratedFDeriv ℝ n (fun a => EulerMeanSolenoidal.translation a A.toLp) 0 |
| 41 | (coordinateTuple (fun i => (w i).succ)) = _ |
| 42 | rw [hc] |
| 43 | rfl |
| 44 | |
| 45 | variable {K : Type*} [TopologicalSpace K] |
| 46 | |
| 47 | def ordinaryWordPath (A : K → SmoothL2Field Space) |
| 48 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) {n : ℕ} (w : Fin n → Fin 3) : |
| 49 | C(K,EulerMeanSolenoidal.L2) := |
| 50 | ⟨fun t => ordinaryWordOperator w (sobolevPath A hA n t), |
| 51 | (ordinaryWordOperator w).continuous.comp (sobolevPath A hA n).continuous⟩ |
| 52 | |
| 53 | @[simp] theorem ordinaryWordPath_apply (A : K → SmoothL2Field Space) |
| 54 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) {n : ℕ} (w : Fin n → Fin 3) (t : K) : |
| 55 | ordinaryWordPath A hA w t=(wordField (A t) w).toLp := |
| 56 | ordinaryWordOperator_apply (A t) w |
| 57 | |
| 58 | theorem wordEnergy_continuous (A : K → SmoothL2Field Space) |
| 59 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) (s : ℕ) : |
| 60 | Continuous (fun t => wordEnergy s (A t)) := by |
| 61 | apply continuous_finsetSum |
| 62 | intro n _ |
| 63 | apply continuous_finsetSum |
| 64 | intro w _ |
| 65 | have hc : Continuous (fun t => (wordField (A t) w).toLp) := by |
| 66 | exact (ordinaryWordPath A hA w).continuous.congr (ordinaryWordPath_apply A hA w) |
| 67 | exact hc.norm.pow 2 |
| 68 | |
| 69 | variable (T : ℝ) (hT : 0 ≤ T) |
| 70 | (A B : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 71 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
| 72 | (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) |
| 73 | (hd : ∀ t (ht : t ∈ Ioo 0 T) x, |
| 74 | HasDerivAt (fun r => (A (projIcc 0 T hT r)).field x) |
| 75 | ((B ⟨t,ht.1.le,ht.2.le⟩).field x) t) |
| 76 | |
| 77 | include hA hB hd in |
| 78 | theorem ordinaryWord_hasDerivWithinAt {n : ℕ} (w : Fin n → Fin 3) (t : Icc (0 : ℝ) T) : |
| 79 | HasDerivWithinAt (fun r => (wordField (A (projIcc 0 T hT r)) w).toLp) |
| 80 | (wordField (B t) w).toLp (Icc (0 : ℝ) T) t := by |
| 81 | have h := (ordinaryWordOperator w).hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) |
| 82 | (sobolevPath_hasDerivWithinAt T hT A B hA hB hd n t) |
| 83 | simpa only [Function.comp_def,extendPath,sobolevPath,ContinuousMap.coe_mk, |
| 84 | ordinaryWordOperator_apply] using h |
| 85 | |
| 86 | include hA hB hd in |
| 87 | theorem wordEnergy_hasDerivWithinAt (s : ℕ) (t : Icc (0 : ℝ) T) : |
| 88 | HasDerivWithinAt (fun r => wordEnergy s (A (projIcc 0 T hT r))) |
| 89 | (2*(∑ n ∈ range (s+1), ∑ w : Fin n → Fin 3, |
| 90 | ⟪(wordField (A t) w).toLp,(wordField (B t) w).toLp⟫_ℝ)) (Icc (0 : ℝ) T) t := by |
| 91 | have hw (n : ℕ) (w : Fin n → Fin 3) := |
| 92 | (ordinaryWord_hasDerivWithinAt T hT A B hA hB hd w t).norm_sq |
| 93 | have hp : projIcc 0 T hT (t : ℝ)=t := projIcc_of_mem hT t.property |
| 94 | simp only [hp] at hw |
| 95 | have hs := HasDerivWithinAt.fun_sum (u := range (s+1)) |
| 96 | (fun n _ => HasDerivWithinAt.fun_sum (u := univ) (fun w _ => hw n w)) |
| 97 | simpa only [wordEnergy,← Finset.mul_sum] using hs |
| 98 | |
| 99 | end EulerOrdinarySobolev |