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.CylinderTimeWords |
| 2 | |
| 3 | /-! Actual continuous L² paths for every ordered cylinder derivative. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerCylinderSmoothOrbit |
| 8 | |
| 9 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 10 | EulerMetricTransport EulerLiftedWeakDerivative EulerTransportDerivatives |
| 11 | EulerCylinderSobolevSpace EulerCylinderSobolev EulerSobolevWordBlocks |
| 12 | EulerLpCylinderTranslation EulerVolterraConvolution EulerParameterWordGevrey EulerGevrey |
| 13 | open scoped ContDiff |
| 14 | |
| 15 | variable (P : ℝ) [Fact (0 < P)] |
| 16 | {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 17 | |
| 18 | /-- The actual uniform-time derivative word, evaluated at the untranslated path. -/ |
| 19 | def wordPath (p : C(K,LiftL2 P)) {n : ℕ} (w : Fin n → Fin 4) : C(K,LiftL2 P) := |
| 20 | wordDerivative standardDirection (fun a : LiftTangent => pathTranslate P a p) w 0 |
| 21 | |
| 22 | variable (p : C(K,LiftL2 P)) |
| 23 | (hp : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a p)) |
| 24 | |
| 25 | include hp in |
| 26 | theorem wordPath_apply {n : ℕ} (w : Fin n → Fin 4) (t : K) : |
| 27 | wordPath P p w t = strongWord P (p t) w := |
| 28 | (path_word_evaluation P p hp w t).symm |
| 29 | |
| 30 | include hp in |
| 31 | theorem wordPath_translation {n : ℕ} (w : Fin n → Fin 4) (a : LiftTangent) : |
| 32 | pathTranslate P a (wordPath P p w) = |
| 33 | wordDerivative standardDirection (fun b : LiftTangent => pathTranslate P b p) w a := by |
| 34 | apply ContinuousMap.ext |
| 35 | intro t |
| 36 | rw [pathTranslate_apply, wordPath_apply P p hp, |
| 37 | strongWord_translation P (p t) (path_evaluation_smooth P p hp t)] |
| 38 | exact congrArg (fun D => D (fun j => standardDirection (w j))) |
| 39 | ((ContinuousMap.evalCLM ℝ t : C(K,LiftL2 P) →L[ℝ] LiftL2 P).iteratedFDeriv_comp_left |
| 40 | (hp.contDiffAt (x := a)) (i := n) (by simp)) |
| 41 | |
| 42 | include hp in |
| 43 | theorem wordPath_orbit {n : ℕ} (w : Fin n → Fin 4) : |
| 44 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (wordPath P p w)) := by |
| 45 | simpa only [wordPath_translation P p hp] using |
| 46 | wordDerivative_contDiff standardDirection (fun a : LiftTangent => pathTranslate P a p) hp w |
| 47 | |
| 48 | theorem wordPath_ae {n : ℕ} (w : Fin n → Fin 4) (t : K) : |
| 49 | (wordPath P p w t : LiftDomain P → Space) =ᵐ[liftMeasure P] |
| 50 | iteratedFieldDerivative P w (pointField P p hp t) := by |
| 51 | rw [wordPath_apply P p hp, pointField_eq_representative] |
| 52 | exact strongWord_ae P (p t) (path_evaluation_smooth P p hp t) w |
| 53 | |
| 54 | /-- The new path represents the literal derivative of the old classical field. -/ |
| 55 | theorem pointField_wordPath {n : ℕ} (w : Fin n → Fin 4) (t : K) : |
| 56 | pointField P (wordPath P p w) (wordPath_orbit P p hp w) t = |
| 57 | iteratedFieldDerivative P w (pointField P p hp t) := by |
| 58 | apply Measure.eq_of_ae_eq |
| 59 | ((pointField_ae P (wordPath P p w) (wordPath_orbit P p hp w) t).symm.trans |
| 60 | (wordPath_ae P p hp w t)) |
| 61 | · exact smoothField_continuous P _ (pointField_smooth P _ _ t) |
| 62 | · exact smoothField_continuous P _ |
| 63 | (iteratedFieldDerivative_smooth P w _ (pointField_smooth P p hp t)) |
| 64 | |
| 65 | theorem wordPath_eq_sobolev (q : ℕ) {n : ℕ} (w : Fin n → Fin 4) (t : K) : |
| 66 | value P (wordBlock P q n w (sobolevPath P (q+n) p hp t)) = wordPath P p w t := by |
| 67 | rw [wordBlock_value, wordPath_apply P p hp] |
| 68 | exact sobolev_coordinate P (q+n) (p t) (path_evaluation_smooth P p hp t) |
| 69 | ⟨⟨n,by omega⟩,w⟩ |
| 70 | |
| 71 | /-- A single spatial or angular derivative retains an actual continuous-time L² path. -/ |
| 72 | def derivativePath (i : Fin 4) : C(K,LiftL2 P) := wordPath P p (fun _ : Fin 1 => i) |
| 73 | |
| 74 | include hp in |
| 75 | theorem derivativePath_translation (i : Fin 4) (a : LiftTangent) : |
| 76 | pathTranslate P a (derivativePath P p i) = |
| 77 | directional standardDirection (fun b : LiftTangent => pathTranslate P b p) i a := by |
| 78 | rw [derivativePath, wordPath_translation P p hp] |
| 79 | change iteratedFDeriv ℝ 1 (fun b : LiftTangent => pathTranslate P b p) a |
| 80 | (fun _ : Fin 1 => standardDirection i) = _ |
| 81 | rw [iteratedFDeriv_one_apply] |
| 82 | rfl |
| 83 | |
| 84 | include hp in |
| 85 | theorem derivativePath_orbit (i : Fin 4) : |
| 86 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (derivativePath P p i)) := |
| 87 | wordPath_orbit P p hp (fun _ : Fin 1 => i) |
| 88 | |
| 89 | theorem pointField_derivativePath (i : Fin 4) (t : K) (x : LiftDomain P) : |
| 90 | pointField P (derivativePath P p i) (derivativePath_orbit P p hp i) t x = |
| 91 | fieldFDeriv P (pointField P p hp t) x (standardDirection i) := |
| 92 | congrFun (pointField_wordPath P p hp (fun _ : Fin 1 => i) t) x |
| 93 | |
| 94 | include hp in |
| 95 | /-- Differentiation uses one external word, with no dimension-dependent radius loss. -/ |
| 96 | theorem derivativePath_block_bound (i : Fin 4) (q n : ℕ) (a : LiftTangent) : |
| 97 | block standardDirection q (fun b : LiftTangent => pathTranslate P b (derivativePath P p i)) n a ≤ |
| 98 | block standardDirection q (fun b : LiftTangent => pathTranslate P b p) (n+1) a := by |
| 99 | have he : (fun b : LiftTangent => pathTranslate P b (derivativePath P p i)) = |
| 100 | directional standardDirection (fun b : LiftTangent => pathTranslate P b p) i := |
| 101 | funext (derivativePath_translation P p hp i) |
| 102 | rw [he, block_succ standardDirection q (fun b : LiftTangent => pathTranslate P b p) hp] |
| 103 | exact Finset.single_le_sum |
| 104 | (f := fun j : Fin 4 => block standardDirection q |
| 105 | (directional standardDirection (fun b : LiftTangent => pathTranslate P b p) j) n a) |
| 106 | (fun j _ => block_nonneg standardDirection q |
| 107 | (directional standardDirection (fun b : LiftTangent => pathTranslate P b p) j) n a) |
| 108 | (Finset.mem_univ i) |
| 109 | |
| 110 | include hp in |
| 111 | theorem derivativePath_majorant (i : Fin 4) (q : ℕ) (R D : ℝ) (d : ℕ) |
| 112 | (hb : ∀ n, block standardDirection q (fun a : LiftTangent => pathTranslate P a p) n 0 ≤ |
| 113 | D*majorant R d n) (n : ℕ) : |
| 114 | block standardDirection q (fun a : LiftTangent => pathTranslate P a (derivativePath P p i)) n 0 ≤ |
| 115 | D*majorant R (d+1) n := by |
| 116 | have h := (derivativePath_block_bound P p hp i q n 0).trans (hb (n+1)) |
| 117 | simpa only [majorant, show n+1+d=n+(d+1) by omega] using h |
| 118 | |
| 119 | variable (T : ℝ) (hT : 0 ≤ T) (u f : C(Icc (0 : ℝ) T,LiftL2 P)) |
| 120 | (hu : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a u)) |
| 121 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a f)) |
| 122 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT u) (f t) (Icc (0 : ℝ) T) t) |
| 123 | |
| 124 | include hu hf hd in |
| 125 | /-- Every constructed derivative path has the derivative of the actual time equation. -/ |
| 126 | theorem wordPath_hasDerivWithinAt {n : ℕ} (w : Fin n → Fin 4) (t : Icc (0 : ℝ) T) : |
| 127 | HasDerivWithinAt (extendPath T hT (wordPath P u w)) |
| 128 | (wordPath P f w t) (Icc (0 : ℝ) T) t := by |
| 129 | let L := (valueOperator P 0).comp (wordBlock P 0 n w) |
| 130 | have h := L.hasFDerivAt.comp_hasDerivWithinAt (t : ℝ) |
| 131 | (sobolevPath_hasDerivWithinAt P T hT u f hu hf hd (0+n) t) |
| 132 | change HasDerivWithinAt |
| 133 | (fun r => value P (wordBlock P 0 n w (sobolevPath P (0+n) u hu (projIcc 0 T hT r)))) |
| 134 | (value P (wordBlock P 0 n w (sobolevPath P (0+n) f hf t))) (Icc (0 : ℝ) T) t at h |
| 135 | change HasDerivWithinAt (fun r => wordPath P u w (projIcc 0 T hT r)) |
| 136 | (wordPath P f w t) (Icc (0 : ℝ) T) t |
| 137 | simpa only [wordPath_eq_sobolev] using h |
| 138 | |
| 139 | end EulerCylinderSmoothOrbit |