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.CylinderJetGraphTrace |
| 2 | import Euler.CylinderPhysicalTensor |
| 3 | import Euler.GevreyFixedShift |
| 4 | |
| 5 | /-! Periodic cover Gevrey bounds give actual physical graph bounds. |
| 6 | The L² trace uses one extra angular derivative but no extra factor of |
| 7 | the graph frequency. Only the n physical derivatives cost its n-th power. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerCylinderGraphGevrey |
| 12 | |
| 13 | open Set MeasureTheory Filter InnerProductSpace EulerLiftedGradientSpace EulerCylinderCoverDescent |
| 14 | EulerCylinderJetGraphTrace EulerGraphPullback EulerGevrey EulerOperatorGevreyCalculus |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | variable {W : Type*} [NormedAddCommGroup W] [NormedSpace ℝ W] [CompleteSpace W] |
| 18 | |
| 19 | def graphFactor (k : ℝ) (m : Vector3) : ℝ := 1+|k| * ‖m‖ |
| 20 | |
| 21 | theorem graphFactor_nonneg (k : ℝ) (m : Vector3) : 0 ≤ graphFactor k m := by |
| 22 | unfold graphFactor |
| 23 | positivity |
| 24 | |
| 25 | omit [CompleteSpace W] in |
| 26 | theorem norm_graph_derivative_le (f : LiftTangent → W) (hf : ContDiff ℝ ∞ f) |
| 27 | (k : ℝ) (m : Vector3) (n : ℕ) (x : Vector3) : |
| 28 | ‖iteratedFDeriv ℝ n (f ∘ graphMap k m) x‖ ≤ |
| 29 | (graphFactor k m)^n*‖iteratedFDeriv ℝ n f (graphMap k m x)‖ := by |
| 30 | rw [(graphMap k m).iteratedFDeriv_comp_right hf x (by simp)] |
| 31 | have h := (iteratedFDeriv ℝ n f (graphMap k m x)).norm_compContinuousLinearMap_le |
| 32 | (fun _ : Fin n => graphMap k m) |
| 33 | simp only [Finset.prod_const,Finset.card_univ,Fintype.card_fin] at h |
| 34 | apply h.trans |
| 35 | rw [mul_comm] |
| 36 | exact mul_le_mul_of_nonneg_right |
| 37 | (pow_le_pow_left₀ (norm_nonneg _) (EulerCylinderPhysicalTensor.graphMap_norm_le k m) n) |
| 38 | (norm_nonneg _) |
| 39 | |
| 40 | omit [CompleteSpace W] in |
| 41 | theorem graph_sup_bound (f : LiftTangent → W) (hf : ContDiff ℝ ∞ f) |
| 42 | (k : ℝ) (m : Vector3) (B R : ℝ) |
| 43 | (hb : ∀ n z, ‖iteratedFDeriv ℝ n f z‖ ≤ B*R^n*(n.factorial : ℝ)^2) |
| 44 | (n : ℕ) (x : Vector3) : |
| 45 | ‖iteratedFDeriv ℝ n (f ∘ graphMap k m) x‖ ≤ |
| 46 | B*(R*graphFactor k m)^n*(n.factorial : ℝ)^2 := by |
| 47 | apply (norm_graph_derivative_le f hf k m n x).trans |
| 48 | exact (mul_le_mul_of_nonneg_left (hb n _) (pow_nonneg (graphFactor_nonneg k m) n)).trans_eq |
| 49 | (by rw [mul_pow]; ring) |
| 50 | |
| 51 | variable (P : ℝ) [Fact (0 < P)] (f : LiftTangent → W) |
| 52 | (hperiod : ∀ (c : AddSubgroup.zmultiples P) z, f (z.1,(c : ℝ)+z.2)=f z) |
| 53 | (hf : ContDiff ℝ ∞ f) |
| 54 | |
| 55 | include hperiod hf in |
| 56 | theorem graph_evaluated_tensor_bound (k : ℝ) (m : Vector3) (C R : ℝ) |
| 57 | (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 58 | (hLp : ∀ n, MemLp (fun q => jetSeries P f q n) 2 (liftMeasure P)) |
| 59 | (hn : ∀ n, (eLpNorm (fun q => jetSeries P f q n) 2 (liftMeasure P)).toReal ≤ |
| 60 | C*R^n*(n.factorial : ℝ)^2) (n : ℕ) : |
| 61 | MemLp (fun x => iteratedFDeriv ℝ n f (graphMap k m x)) 2 volume ∧ |
| 62 | (eLpNorm (fun x => iteratedFDeriv ℝ n f (graphMap k m x)) 2 volume).toReal ≤ |
| 63 | (Real.sqrt (2/P+2*P)*C*(1+R))*(4*R)^n*(n.factorial : ℝ)^2 := by |
| 64 | let θ : Vector3 → AddCircle P := fun x => (k*inner ℝ m x : ℝ) |
| 65 | have hθ : Continuous θ := (AddCircle.continuous_mk' P).comp |
| 66 | (continuous_const.mul (continuous_const.inner continuous_id)) |
| 67 | obtain ⟨hg,hgNorm⟩ := jet_graph_memLp_and_bound P f hperiod hf n (hLp n) (hLp (n+1)) |
| 68 | θ hθ (C*R^n*(n.factorial : ℝ)^2) (C*R^(n+1)*((n+1).factorial : ℝ)^2) |
| 69 | (by positivity) (by positivity) (hn n) (hn (n+1)) |
| 70 | have he : (fun x => jetSeries P f (x,θ x) n) = |
| 71 | fun x => iteratedFDeriv ℝ n f (graphMap k m x) := |
| 72 | funext (fun x => jetSeries_cover P f hperiod n (graphMap k m x)) |
| 73 | rw [he] at hg hgNorm |
| 74 | refine ⟨hg,hgNorm.trans ?_⟩ |
| 75 | have hfirst : C*R^n*(n.factorial : ℝ)^2 ≤ C*majorant (4*R) 0 n := by |
| 76 | simpa only [majorant,Nat.add_zero,mul_assoc] using mul_le_mul_of_nonneg_left |
| 77 | (majorant_radius_mono R (4*R) hR (by linarith) 0 n) hC |
| 78 | have hsecond : C*R^(n+1)*((n+1).factorial : ℝ)^2 ≤ C*R*majorant (4*R) 0 n := by |
| 79 | simpa only [majorant,mul_assoc] using mul_le_mul_of_nonneg_left |
| 80 | (majorant_one_le_radius_four R hR n) hC |
| 81 | exact (mul_le_mul_of_nonneg_left (add_le_add hfirst hsecond) (Real.sqrt_nonneg _)).trans_eq |
| 82 | (by simp only [majorant,Nat.add_zero]; ring) |
| 83 | |
| 84 | include hperiod hf in |
| 85 | theorem graph_Lp_bound (k : ℝ) (m : Vector3) (C R : ℝ) |
| 86 | (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 87 | (hLp : ∀ n, MemLp (fun q => jetSeries P f q n) 2 (liftMeasure P)) |
| 88 | (hn : ∀ n, (eLpNorm (fun q => jetSeries P f q n) 2 (liftMeasure P)).toReal ≤ |
| 89 | C*R^n*(n.factorial : ℝ)^2) (n : ℕ) : |
| 90 | MemLp (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume ∧ |
| 91 | (eLpNorm (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume).toReal ≤ |
| 92 | (Real.sqrt (2/P+2*P)*C*(1+R))*(4*R*graphFactor k m)^n*(n.factorial : ℝ)^2 := by |
| 93 | obtain ⟨hg,hgNorm⟩ := graph_evaluated_tensor_bound P f hperiod hf k m C R hC hR hLp hn n |
| 94 | have hm : AEStronglyMeasurable (iteratedFDeriv ℝ n (f ∘ graphMap k m)) volume := |
| 95 | ((hf.comp (graphMap k m).contDiff).continuous_iteratedFDeriv (m := n) (by simp)).aestronglyMeasurable |
| 96 | have hbound := norm_graph_derivative_le f hf k m n |
| 97 | have hcomp : MemLp (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume := |
| 98 | hg.of_le_mul hm (Eventually.of_forall hbound) |
| 99 | have hnorm : (eLpNorm (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume).toReal ≤ |
| 100 | (graphFactor k m)^n*(eLpNorm (fun x => iteratedFDeriv ℝ n f (graphMap k m x)) 2 volume).toReal := by |
| 101 | have h : ‖hcomp.toLp _‖ ≤ (graphFactor k m)^n*‖hg.toLp _‖ := by |
| 102 | apply Lp.norm_le_mul_norm_of_ae_le_mul |
| 103 | filter_upwards [hcomp.coeFn_toLp,hg.coeFn_toLp] with x hx hy |
| 104 | rw [hx,hy] |
| 105 | exact hbound x |
| 106 | simpa only [Lp.norm_toLp] using h |
| 107 | refine ⟨hcomp,hnorm.trans ?_⟩ |
| 108 | exact (mul_le_mul_of_nonneg_left hgNorm (pow_nonneg (graphFactor_nonneg k m) n)).trans_eq |
| 109 | (by rw [mul_pow]; ring) |
| 110 | |
| 111 | end EulerCylinderGraphGevrey |