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.CylinderDescentJets |
| 2 | import Euler.LpParameterIntegral |
| 3 | import Euler.CylinderPhysicalTensor |
| 4 | import Euler.GevreyFixedShift |
| 5 | |
| 6 | /-! Periodic cover Gevrey bounds give actual physical graph bounds. |
| 7 | The L² trace uses one extra angular derivative but no extra factor of |
| 8 | the graph frequency. Only the n physical derivatives cost its n-th power. -/ |
| 9 | |
| 10 | /-! ## From `Euler/CylinderJetGraphTrace.lean` |
| 11 | |
| 12 | The text of `Euler/CylinderJetGraphTrace.lean`, folded into this file, which was its only importer. -/ |
| 13 | |
| 14 | section |
| 15 | |
| 16 | /-! A phase-independent L² trace estimate for actual descended tensors. |
| 17 | One extra angular derivative suffices, and its norm is controlled by |
| 18 | the next actual cover tensor. -/ |
| 19 | |
| 20 | noncomputable section |
| 21 | |
| 22 | namespace EulerCylinderJetGraphTrace |
| 23 | |
| 24 | open Set MeasureTheory Filter EulerLiftedGradientSpace EulerCylinderCoverDescent |
| 25 | EulerMetricTransport EulerTransportDerivatives EulerCylinderGraphTrace |
| 26 | open scoped ContDiff |
| 27 | |
| 28 | variable (P : ℝ) [Fact (0 < P)] |
| 29 | {W : Type*} [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 30 | (f : LiftTangent → W) |
| 31 | (hperiod : ∀ (c : AddSubgroup.zmultiples P) z, f (z.1,(c : ℝ)+z.2)=f z) |
| 32 | |
| 33 | include hperiod in |
| 34 | theorem fieldDerivative_descend (a : LiftTangent) (q : LiftDomain P) : |
| 35 | fieldDerivative P a (descend P f) q = fderiv ℝ f (sectionPoint P q) a := by |
| 36 | have he := localFieldLift_descend_cover P f hperiod (sectionPoint P q) |
| 37 | rw [coveringMap_sectionPoint] at he |
| 38 | change fderiv ℝ (localFieldLift P (descend P f) q) 0 a = _ |
| 39 | rw [he,fderiv_comp_add_left,add_zero] |
| 40 | |
| 41 | include hperiod in |
| 42 | theorem jetSeries_smooth (hf : ContDiff ℝ ∞ f) (n : ℕ) (q : LiftDomain P) : |
| 43 | ContDiff ℝ ∞ (localFieldLift P (fun x => jetSeries P f x n) q) := |
| 44 | descend_smooth P (iteratedFDeriv ℝ n f) (iteratedFDeriv_deck P f hperiod n) |
| 45 | (hf.iteratedFDeriv_right (m := ∞) (by simp)) q |
| 46 | |
| 47 | include hperiod in |
| 48 | theorem angularJet_bound (n : ℕ) (q : LiftDomain P) : |
| 49 | ‖fieldDerivative P (0,1) (fun x => jetSeries P f x n) q‖ ≤ ‖jetSeries P f q (n+1)‖ := by |
| 50 | change ‖fieldDerivative P (0,1) (descend P (iteratedFDeriv ℝ n f)) q‖ ≤ _ |
| 51 | rw [fieldDerivative_descend P (iteratedFDeriv ℝ n f) (iteratedFDeriv_deck P f hperiod n)] |
| 52 | change ‖fderiv ℝ (iteratedFDeriv ℝ n f) (sectionPoint P q) (0,1)‖ ≤ |
| 53 | ‖iteratedFDeriv ℝ (n+1) f (sectionPoint P q)‖ |
| 54 | have h := (fderiv ℝ (iteratedFDeriv ℝ n f) (sectionPoint P q)).le_opNorm (0,1) |
| 55 | simpa only [norm_fderiv_iteratedFDeriv,Prod.norm_def,norm_zero,norm_one, |
| 56 | max_eq_right (by norm_num : (0 : ℝ) ≤ 1),mul_one] using h |
| 57 | |
| 58 | include hperiod in |
| 59 | theorem angularJet_memLp_and_bound (hf : ContDiff ℝ ∞ f) (n : ℕ) |
| 60 | (hLp : MemLp (fun q => jetSeries P f q (n+1)) 2 (liftMeasure P)) : |
| 61 | MemLp (fieldDerivative P (0,1) (fun q => jetSeries P f q n)) 2 (liftMeasure P) ∧ |
| 62 | (eLpNorm (fieldDerivative P (0,1) (fun q => jetSeries P f q n)) 2 (liftMeasure P)).toReal ≤ |
| 63 | (eLpNorm (fun q => jetSeries P f q (n+1)) 2 (liftMeasure P)).toReal := by |
| 64 | have hc := smoothField_continuous P _ (fieldDerivative_smooth P (0,1) _ |
| 65 | (jetSeries_smooth P f hperiod hf n)) |
| 66 | have hb : ∀ᵐ q ∂liftMeasure P, |
| 67 | ‖fieldDerivative P (0,1) (fun x => jetSeries P f x n) q‖ ≤ ‖jetSeries P f q (n+1)‖ := |
| 68 | Eventually.of_forall (angularJet_bound P f hperiod n) |
| 69 | exact ⟨hLp.of_le hc.aestronglyMeasurable hb, |
| 70 | ENNReal.toReal_mono hLp.eLpNorm_ne_top (eLpNorm_mono_ae hb)⟩ |
| 71 | |
| 72 | variable [CompleteSpace W] |
| 73 | |
| 74 | theorem graph_norm_bound (g : LiftDomain P → W) |
| 75 | (hg : ∀ q, ContDiff ℝ ∞ (localFieldLift P g q)) |
| 76 | (hLp : MemLp g 2 (liftMeasure P)) |
| 77 | (hDLp : MemLp (fieldDerivative P (0,1) g) 2 (liftMeasure P)) |
| 78 | (θ : Vector3 → AddCircle P) (hθ : Continuous θ) (C D : ℝ) |
| 79 | (hC : 0 ≤ C) (hD : 0 ≤ D) |
| 80 | (hn : (eLpNorm g 2 (liftMeasure P)).toReal ≤ C) |
| 81 | (hd : (eLpNorm (fieldDerivative P (0,1) g) 2 (liftMeasure P)).toReal ≤ D) : |
| 82 | MemLp (fun x => g (x,θ x)) 2 volume ∧ |
| 83 | (eLpNorm (fun x => g (x,θ x)) 2 volume).toReal ≤ Real.sqrt (2/P+2*P)*(C+D) := by |
| 84 | obtain ⟨hgraph,he⟩ := graph_memLp_and_energy_bound P g hg hLp hDLp θ hθ |
| 85 | refine ⟨hgraph,?_⟩ |
| 86 | rw [EulerLpParameterIntegral.integral_norm_sq_eq volume _ hgraph, |
| 87 | EulerLpParameterIntegral.integral_norm_sq_eq (liftMeasure P) _ hLp, |
| 88 | EulerLpParameterIntegral.integral_norm_sq_eq (liftMeasure P) _ hDLp] at he |
| 89 | have hP : 0 < P := Fact.out |
| 90 | have hn' : (eLpNorm g 2 (liftMeasure P)).toReal^2 ≤ (C+D)^2 := |
| 91 | pow_le_pow_left₀ ENNReal.toReal_nonneg (hn.trans (le_add_of_nonneg_right hD)) 2 |
| 92 | have hd' : (eLpNorm (fieldDerivative P (0,1) g) 2 (liftMeasure P)).toReal^2 ≤ (C+D)^2 := |
| 93 | pow_le_pow_left₀ ENNReal.toReal_nonneg (hd.trans (le_add_of_nonneg_left hC)) 2 |
| 94 | apply (sq_le_sq₀ ENNReal.toReal_nonneg (mul_nonneg (Real.sqrt_nonneg _) (add_nonneg hC hD))).mp |
| 95 | calc |
| 96 | _ ≤ (2/P)*(eLpNorm g 2 (liftMeasure P)).toReal^2+ |
| 97 | (2*P)*(eLpNorm (fieldDerivative P (0,1) g) 2 (liftMeasure P)).toReal^2 := he |
| 98 | _ ≤ (2/P)*(C+D)^2+(2*P)*(C+D)^2 := |
| 99 | add_le_add (mul_le_mul_of_nonneg_left hn' (by positivity)) |
| 100 | (mul_le_mul_of_nonneg_left hd' (by positivity)) |
| 101 | _ = (Real.sqrt (2/P+2*P)*(C+D))^2 := by |
| 102 | rw [mul_pow,Real.sq_sqrt (by positivity)] |
| 103 | ring |
| 104 | |
| 105 | include hperiod in |
| 106 | theorem jet_graph_memLp_and_bound (hf : ContDiff ℝ ∞ f) (n : ℕ) |
| 107 | (hLp : MemLp (fun q => jetSeries P f q n) 2 (liftMeasure P)) |
| 108 | (hLp₁ : MemLp (fun q => jetSeries P f q (n+1)) 2 (liftMeasure P)) |
| 109 | (θ : Vector3 → AddCircle P) (hθ : Continuous θ) (C D : ℝ) |
| 110 | (hC : 0 ≤ C) (hD : 0 ≤ D) |
| 111 | (hn : (eLpNorm (fun q => jetSeries P f q n) 2 (liftMeasure P)).toReal ≤ C) |
| 112 | (hd : (eLpNorm (fun q => jetSeries P f q (n+1)) 2 (liftMeasure P)).toReal ≤ D) : |
| 113 | MemLp (fun x => jetSeries P f (x,θ x) n) 2 volume ∧ |
| 114 | (eLpNorm (fun x => jetSeries P f (x,θ x) n) 2 volume).toReal ≤ |
| 115 | Real.sqrt (2/P+2*P)*(C+D) := by |
| 116 | obtain ⟨hDLp,hDn⟩ := angularJet_memLp_and_bound P f hperiod hf n hLp₁ |
| 117 | exact graph_norm_bound P _ (jetSeries_smooth P f hperiod hf n) hLp hDLp θ hθ C D hC hD hn (hDn.trans hd) |
| 118 | |
| 119 | end EulerCylinderJetGraphTrace |
| 120 | end |
| 121 | |
| 122 | end |
| 123 | |
| 124 | noncomputable section |
| 125 | |
| 126 | namespace EulerCylinderGraphGevrey |
| 127 | |
| 128 | open Set MeasureTheory Filter InnerProductSpace EulerLiftedGradientSpace EulerCylinderCoverDescent |
| 129 | EulerCylinderJetGraphTrace EulerGraphPullback EulerGevrey EulerOperatorGevreyCalculus |
| 130 | open scoped ContDiff |
| 131 | |
| 132 | variable {W : Type*} [NormedAddCommGroup W] [NormedSpace ℝ W] [CompleteSpace W] |
| 133 | |
| 134 | def graphFactor (k : ℝ) (m : Vector3) : ℝ := 1+|k| * ‖m‖ |
| 135 | |
| 136 | theorem graphFactor_nonneg (k : ℝ) (m : Vector3) : 0 ≤ graphFactor k m := by |
| 137 | unfold graphFactor |
| 138 | positivity |
| 139 | |
| 140 | omit [CompleteSpace W] in |
| 141 | theorem norm_graph_derivative_le (f : LiftTangent → W) (hf : ContDiff ℝ ∞ f) |
| 142 | (k : ℝ) (m : Vector3) (n : ℕ) (x : Vector3) : |
| 143 | ‖iteratedFDeriv ℝ n (f ∘ graphMap k m) x‖ ≤ |
| 144 | (graphFactor k m)^n*‖iteratedFDeriv ℝ n f (graphMap k m x)‖ := by |
| 145 | rw [(graphMap k m).iteratedFDeriv_comp_right hf x (by simp)] |
| 146 | have h := (iteratedFDeriv ℝ n f (graphMap k m x)).norm_compContinuousLinearMap_le |
| 147 | (fun _ : Fin n => graphMap k m) |
| 148 | simp only [Finset.prod_const,Finset.card_univ,Fintype.card_fin] at h |
| 149 | apply h.trans |
| 150 | rw [mul_comm] |
| 151 | exact mul_le_mul_of_nonneg_right |
| 152 | (pow_le_pow_left₀ (norm_nonneg _) (EulerCylinderPhysicalTensor.graphMap_norm_le k m) n) |
| 153 | (norm_nonneg _) |
| 154 | |
| 155 | omit [CompleteSpace W] in |
| 156 | theorem graph_sup_bound (f : LiftTangent → W) (hf : ContDiff ℝ ∞ f) |
| 157 | (k : ℝ) (m : Vector3) (B R : ℝ) |
| 158 | (hb : ∀ n z, ‖iteratedFDeriv ℝ n f z‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 159 | (n : ℕ) (x : Vector3) : |
| 160 | ‖iteratedFDeriv ℝ n (f ∘ graphMap k m) x‖ ≤ |
| 161 | B*(R*graphFactor k m)^n*(n.factorial : ℝ)^2 := by |
| 162 | apply (norm_graph_derivative_le f hf k m n x).trans |
| 163 | exact (mul_le_mul_of_nonneg_left (hb n _) (pow_nonneg (graphFactor_nonneg k m) n)).trans_eq |
| 164 | (by rw [mul_pow]; ring) |
| 165 | |
| 166 | variable (P : ℝ) [Fact (0 < P)] (f : LiftTangent → W) |
| 167 | (hperiod : ∀ (c : AddSubgroup.zmultiples P) z, f (z.1,(c : ℝ)+z.2)=f z) |
| 168 | (hf : ContDiff ℝ ∞ f) |
| 169 | |
| 170 | include hperiod hf in |
| 171 | theorem graph_evaluated_tensor_bound (k : ℝ) (m : Vector3) (C R : ℝ) |
| 172 | (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 173 | (hLp : ∀ n, MemLp (fun q => jetSeries P f q n) 2 (liftMeasure P)) |
| 174 | (hn : ∀ n, (eLpNorm (fun q => jetSeries P f q n) 2 (liftMeasure P)).toReal ≤ |
| 175 | C*R^n*(n.factorial : ℝ)^2) (n : ℕ) : |
| 176 | MemLp (fun x => iteratedFDeriv ℝ n f (graphMap k m x)) 2 volume ∧ |
| 177 | (eLpNorm (fun x => iteratedFDeriv ℝ n f (graphMap k m x)) 2 volume).toReal ≤ |
| 178 | (Real.sqrt (2/P+2*P)*C*(1+R))*(4*R)^n*(n.factorial : ℝ)^2 := by |
| 179 | let θ : Vector3 → AddCircle P := fun x => (k*inner ℝ m x : ℝ) |
| 180 | have hθ : Continuous θ := (AddCircle.continuous_mk' P).comp |
| 181 | (continuous_const.mul (continuous_const.inner continuous_id)) |
| 182 | obtain ⟨hg,hgNorm⟩ := jet_graph_memLp_and_bound P f hperiod hf n (hLp n) (hLp (n+1)) |
| 183 | θ hθ (C*R^n*(n.factorial : ℝ)^2) (C*R^(n+1)*((n+1).factorial : ℝ)^2) |
| 184 | (by positivity) (by positivity) (hn n) (hn (n+1)) |
| 185 | have he : (fun x => jetSeries P f (x,θ x) n) = |
| 186 | fun x => iteratedFDeriv ℝ n f (graphMap k m x) := |
| 187 | funext (fun x => jetSeries_cover P f hperiod n (graphMap k m x)) |
| 188 | rw [he] at hg hgNorm |
| 189 | refine ⟨hg,hgNorm.trans ?_⟩ |
| 190 | have hfirst : C*R^n*(n.factorial : ℝ)^2 ≤ C*majorant (4*R) 0 n := by |
| 191 | simpa only [majorant,Nat.add_zero,mul_assoc] using mul_le_mul_of_nonneg_left |
| 192 | (majorant_radius_mono R (4*R) hR (by linarith) 0 n) hC |
| 193 | have hsecond : C*R^(n+1)*((n+1).factorial : ℝ)^2 ≤ C*R*majorant (4*R) 0 n := by |
| 194 | simpa only [majorant,mul_assoc] using mul_le_mul_of_nonneg_left |
| 195 | (majorant_one_le_radius_four R hR n) hC |
| 196 | exact (mul_le_mul_of_nonneg_left (add_le_add hfirst hsecond) (Real.sqrt_nonneg _)).trans_eq |
| 197 | (by simp only [majorant,Nat.add_zero]; ring) |
| 198 | |
| 199 | include hperiod hf in |
| 200 | theorem graph_Lp_bound (k : ℝ) (m : Vector3) (C R : ℝ) |
| 201 | (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 202 | (hLp : ∀ n, MemLp (fun q => jetSeries P f q n) 2 (liftMeasure P)) |
| 203 | (hn : ∀ n, (eLpNorm (fun q => jetSeries P f q n) 2 (liftMeasure P)).toReal ≤ |
| 204 | C*R^n*(n.factorial : ℝ)^2) (n : ℕ) : |
| 205 | MemLp (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume ∧ |
| 206 | (eLpNorm (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume).toReal ≤ |
| 207 | (Real.sqrt (2/P+2*P)*C*(1+R))*(4*R*graphFactor k m)^n*(n.factorial : ℝ)^2 := by |
| 208 | obtain ⟨hg,hgNorm⟩ := graph_evaluated_tensor_bound P f hperiod hf k m C R hC hR hLp hn n |
| 209 | have hm : AEStronglyMeasurable (iteratedFDeriv ℝ n (f ∘ graphMap k m)) volume := |
| 210 | ((hf.comp (graphMap k m).contDiff).continuous_iteratedFDeriv (m := n) (by simp)).aestronglyMeasurable |
| 211 | have hbound := norm_graph_derivative_le f hf k m n |
| 212 | have hcomp : MemLp (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume := |
| 213 | hg.of_le_mul hm (Eventually.of_forall hbound) |
| 214 | have hnorm : (eLpNorm (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume).toReal ≤ |
| 215 | (graphFactor k m)^n*(eLpNorm (fun x => iteratedFDeriv ℝ n f (graphMap k m x)) 2 volume).toReal := by |
| 216 | have h : ‖hcomp.toLp _‖ ≤ (graphFactor k m)^n*‖hg.toLp _‖ := by |
| 217 | apply Lp.norm_le_mul_norm_of_ae_le_mul |
| 218 | filter_upwards [hcomp.coeFn_toLp,hg.coeFn_toLp] with x hx hy |
| 219 | rw [hx,hy] |
| 220 | exact hbound x |
| 221 | simpa only [Lp.norm_toLp] using h |
| 222 | refine ⟨hcomp,hnorm.trans ?_⟩ |
| 223 | exact (mul_le_mul_of_nonneg_left hgNorm (pow_nonneg (graphFactor_nonneg k m) n)).trans_eq |
| 224 | (by rw [mul_pow]; ring) |
| 225 | |
| 226 | end EulerCylinderGraphGevrey |