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.CylinderBoundedCover |
| 2 | import Euler.CylinderCoverTensor |
| 3 | import Euler.BoundedTensorCoordinates |
| 4 | import Euler.FieldTowerPointwiseGevrey |
| 5 | import Euler.SmoothTimeFieldJoint |
| 6 | import Euler.InjectivePathDerivativeWithin |
| 7 | |
| 8 | /-! An actual coherent Sobolev tower gives a smooth bounded coefficient |
| 9 | on the real cylinder cover, including all spatial jets in the continuous |
| 10 | uniform time norm. The construction uses its genuine derivative words; |
| 11 | no translation-orbit hypothesis is added. -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | |
| 16 | namespace EulerAllOrderCorrectionData.FieldTower |
| 17 | |
| 18 | open Set MeasureTheory ContinuousLinearMap EulerLiftedGradientSpace EulerSmoothLimit |
| 19 | EulerMetricTransport EulerCylinderCoordinates EulerCylinderSobolev EulerCylinderSobolevSpace |
| 20 | EulerCylinderBoundedCover EulerCylinderSmoothOrbit EulerSobolevWordLevel |
| 21 | EulerSobolevGevreyOperators EulerVolterraConvolution |
| 22 | open scoped ContDiff BoundedContinuousFunction |
| 23 | |
| 24 | def coverBasis : Module.Basis (Fin 4) ℝ LiftTangent := |
| 25 | (EuclideanSpace.basisFun (Fin 4) ℝ).toBasis.map coordinateLinearEquiv |
| 26 | |
| 27 | @[simp] theorem coverBasis_apply (i : Fin 4) : coverBasis i = standardDirection i := by |
| 28 | simp only [coverBasis, Module.Basis.map_apply, OrthonormalBasis.coe_toBasis, |
| 29 | EuclideanSpace.basisFun_apply, standardDirection] |
| 30 | rfl |
| 31 | |
| 32 | variable {P T : ℝ} [Fact (0 < P)] (A : EulerAllOrderCorrectionData.FieldTower P T) |
| 33 | |
| 34 | private local instance (q : ℕ) : NormedAddCommGroup (SobolevSpace P q) := inferInstance |
| 35 | private local instance (q : ℕ) : NormedSpace ℝ (SobolevSpace P q) := inferInstance |
| 36 | private local instance (n : ℕ) : NormedAddCommGroup (LiftTangent [×n]→L[ℝ] Space) := inferInstance |
| 37 | private local instance (n : ℕ) : NormedSpace ℝ (LiftTangent [×n]→L[ℝ] Space) := inferInstance |
| 38 | private local instance (n : ℕ) : NormedAddCommGroup |
| 39 | (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] Space)) := inferInstance |
| 40 | private local instance (n : ℕ) : NormedSpace ℝ |
| 41 | (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] Space)) := inferInstance |
| 42 | |
| 43 | def boundedCover : C(Icc (0 : ℝ) T, LiftTangent →ᵇ Space) := |
| 44 | coverPathMap P (A.realization 3) |
| 45 | |
| 46 | @[simp] theorem boundedCover_apply (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 47 | A.boundedCover t x = A.pointField t (coveringMap P x) := rfl |
| 48 | |
| 49 | def boundedWord (n : ℕ) (w : Fin n → Fin 4) : C(Icc (0 : ℝ) T, LiftTangent →ᵇ Space) := |
| 50 | coverPathMap P ((wordAtLevel P 3 n w (le_refl (n+3))).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 51 | (A.realization (n+3))) |
| 52 | |
| 53 | theorem boundedWord_apply (n : ℕ) (w : Fin n → Fin 4) |
| 54 | (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 55 | A.boundedWord n w t x = iteratedFieldDerivative P w (A.pointField t) (coveringMap P x) := by |
| 56 | change EulerSobolevPointEvaluation.pointEvaluation P (coveringMap P x) |
| 57 | (wordAtLevel P 3 n w (le_refl (n+3)) (A.realization (n+3) t)) = _ |
| 58 | simpa only [restrictOperator_self] using |
| 59 | (A.pointField_wordAtLevel (n+3) 3 n (le_refl 3) (le_refl (n+3)) w t (coveringMap P x)).symm |
| 60 | |
| 61 | theorem boundedWord_tensor (n : ℕ) (w : Fin n → Fin 4) |
| 62 | (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 63 | A.boundedWord n w t x = iteratedFDeriv ℝ n (A.boundedCover t : LiftTangent → Space) x |
| 64 | (fun i => coverBasis (w i)) := by |
| 65 | rw [A.boundedWord_apply, coverField_word P w (A.pointField t) (A.pointField_smooth t)] |
| 66 | simp only [coverBasis_apply] |
| 67 | rfl |
| 68 | |
| 69 | def toSmoothTimeField : SmoothTimeField (Icc (0 : ℝ) T) LiftTangent Space := |
| 70 | SmoothTimeField.ofCoordinateJets coverBasis A.boundedCover |
| 71 | (fun t => coverField_contDiff P (A.pointField t) (A.pointField_smooth t)) |
| 72 | A.boundedWord A.boundedWord_tensor |
| 73 | |
| 74 | @[simp] theorem toSmoothTimeField_apply (t : Icc (0 : ℝ) T) (x : LiftTangent) : |
| 75 | A.toSmoothTimeField.field t x = A.pointField t (coveringMap P x) := rfl |
| 76 | |
| 77 | theorem toSmoothTimeField_timeDerivative (B : EulerAllOrderCorrectionData.FieldTower P T) |
| 78 | (hT : 0 ≤ T) |
| 79 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT (A.realization 3)) |
| 80 | (B.realization 3 t) (Icc (0 : ℝ) T) t) : |
| 81 | SmoothTimeField.TimeDerivative T hT A.toSmoothTimeField B.toSmoothTimeField := by |
| 82 | intro t x |
| 83 | exact A.pointField_hasDerivWithinAt B hT t (hd t) (coveringMap P x) |
| 84 | |
| 85 | theorem toSmoothTimeField_timeDerivative_of_interior |
| 86 | (B : EulerAllOrderCorrectionData.FieldTower P T) (hT : 0 ≤ T) |
| 87 | (q : ℕ) (hq : 3 ≤ q) |
| 88 | (hd : ∀ (t : ℝ) (ht : t ∈ Ioo 0 T), HasDerivAt (extendPath T hT (A.realization q)) |
| 89 | (B.realization q ⟨t, ht.1.le, ht.2.le⟩) t) : |
| 90 | SmoothTimeField.TimeDerivative T hT A.toSmoothTimeField B.toSmoothTimeField := by |
| 91 | intro t x |
| 92 | let L : SobolevSpace P q →L[ℝ] Space := |
| 93 | (EulerSobolevPointEvaluation.pointEvaluation P (coveringMap P x)).comp (restrictOperator P hq) |
| 94 | let u : C(Icc (0 : ℝ) T, Space) := L.compLeftContinuous ℝ (Icc (0 : ℝ) T) (A.realization q) |
| 95 | let v : C(Icc (0 : ℝ) T, Space) := L.compLeftContinuous ℝ (Icc (0 : ℝ) T) (B.realization q) |
| 96 | have hu (s : Icc (0 : ℝ) T) : u s = A.pointField s (coveringMap P x) := |
| 97 | congrArg (EulerSobolevPointEvaluation.pointEvaluation P (coveringMap P x)) |
| 98 | (A.restrict_realization hq s) |
| 99 | have hv (s : Icc (0 : ℝ) T) : v s = B.pointField s (coveringMap P x) := |
| 100 | congrArg (EulerSobolevPointEvaluation.pointEvaluation P (coveringMap P x)) |
| 101 | (B.restrict_realization hq s) |
| 102 | have hi : ∀ r ∈ Ioo 0 T, HasDerivAt |
| 103 | (fun s => (ContinuousLinearMap.id ℝ Space) (extendPath T hT u s)) |
| 104 | ((ContinuousLinearMap.id ℝ Space) (extendPath T hT v r)) r := by |
| 105 | intro r hr |
| 106 | have h := L.hasFDerivAt.comp_hasDerivAt r (hd r hr) |
| 107 | change HasDerivAt (fun s => L (A.realization q (projIcc 0 T hT s))) |
| 108 | (L (B.realization q ⟨r,hr.1.le,hr.2.le⟩)) r at h |
| 109 | change HasDerivAt (fun s => L (A.realization q (projIcc 0 T hT s))) |
| 110 | (L (B.realization q (projIcc 0 T hT r))) r |
| 111 | simpa only [projIcc_of_mem hT ⟨hr.1.le,hr.2.le⟩] using h |
| 112 | have ht := EulerInjectivePathDerivative.hasDerivWithinAt_of_injective_map |
| 113 | (ContinuousLinearMap.id ℝ Space) (fun _ _ h => h) T hT u v hi t |
| 114 | have he : extendPath T hT u = |
| 115 | fun r => A.pointField (projIcc 0 T hT r) (coveringMap P x) := by |
| 116 | funext r |
| 117 | exact hu (projIcc 0 T hT r) |
| 118 | rw [he, hv] at ht |
| 119 | change HasDerivWithinAt (fun r => A.pointField (projIcc 0 T hT r) (coveringMap P x)) |
| 120 | (B.pointField t (coveringMap P x)) (Icc (0 : ℝ) T) t |
| 121 | exact ht |
| 122 | |
| 123 | theorem toSmoothTimeField_jet_norm_le (n : ℕ) (C : ℝ) (hC : 0 ≤ C) |
| 124 | (hb : ∀ (t : Icc (0 : ℝ) T) (x : LiftTangent), |
| 125 | ‖iteratedFDeriv ℝ n (fun y => A.pointField t (coveringMap P y)) x‖ ≤ C) : |
| 126 | ‖A.toSmoothTimeField.jet n‖ ≤ C := by |
| 127 | apply (ContinuousMap.norm_le _ hC).2 |
| 128 | intro t |
| 129 | apply (BoundedContinuousFunction.norm_le hC).2 |
| 130 | intro x |
| 131 | rw [A.toSmoothTimeField.jet_eq] |
| 132 | exact hb t x |
| 133 | |
| 134 | theorem toSmoothTimeField_jet_weighted (n : ℕ) (ρ C : ℝ) (hρ : 0 < ρ) (hC : 0 ≤ C) |
| 135 | (hb : ∀ t : Icc (0 : ℝ) T, |
| 136 | weightedNorm P 6 n ρ (A.realization (n+6) t) ≤ C) : |
| 137 | ‖A.toSmoothTimeField.jet n‖ ≤ |
| 138 | (sobolevEmbeddingConstant P 3*C) * |
| 139 | (‖coordinateEquiv.symm.toContinuousLinearMap‖*ρ⁻¹)^n * (n.factorial : ℝ)^2 := by |
| 140 | have hS := sobolevEmbeddingConstant_nonneg P 3 |
| 141 | apply A.toSmoothTimeField_jet_norm_le n _ (by positivity) |
| 142 | intro t x |
| 143 | have hs := A.pointField_wordSum_gevrey (n+6) 6 n n (by norm_num) (le_refl (n+6)) |
| 144 | (le_refl n) ρ C hρ t (hb t) (coveringMap P x) |
| 145 | have hc := coverField_tensor_norm_le P n (A.pointField t) (A.pointField_smooth t) x |
| 146 | apply hc.trans |
| 147 | calc |
| 148 | _ ≤ ‖coordinateEquiv.symm.toContinuousLinearMap‖^n * |
| 149 | ((sobolevEmbeddingConstant P 3*C)*(ρ⁻¹)^n*(n.factorial : ℝ)^2) := |
| 150 | mul_le_mul_of_nonneg_left hs (pow_nonneg (norm_nonneg _) n) |
| 151 | _ = _ := by rw [mul_pow]; ring |
| 152 | |
| 153 | end EulerAllOrderCorrectionData.FieldTower |