Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import YM.PertExtension.Series |
| 2 | import Mathlib.Analysis.Calculus.Taylor |
| 3 | |
| 4 | /-! Finite Taylor calculus in the rescaled tangent variables near a nondegenerate saddle. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.PertExtension.Series.Radial |
| 8 | open Function Filter Set Metric |
| 9 | open scoped BigOperators Topology ContDiff Classical |
| 10 | open Zone |
| 11 | variable {E : Type*} [NormedAddCommGroup E][NormedSpace ℝ E] |
| 12 | variable (f : E → ℝ) |
| 13 | protected def zone : Zone E := ⟨fun x=>1 + ‖x‖,fun x => by have := norm_nonneg x; linarith⟩ |
| 14 | local notation "Z" => Radial.zone (E:=E) |
| 15 | |
| 16 | def jet (k : ℕ)(u : E) : ℝ := ((Nat.factorial k : ℝ))⁻¹ * iteratedFDeriv ℝ k f 0 (fun _=>u) |
| 17 | @[simp] theorem jet_zero (u : E) : jet f 0 u = f 0 := by unfold jet; simp [iteratedFDeriv_zero_apply] |
| 18 | |
| 19 | theorem jetInvoice (k : ℕ) : (Z).Invoice (jet f k) := by |
| 20 | let D := iteratedFDeriv ℝ k f 0 |
| 21 | let c : ℝ := (Nat.factorial k:ℝ)⁻¹ |
| 22 | have hc : 0≤c := by dsimp [c];positivity |
| 23 | refine ⟨c*‖D‖,k,mul_nonneg hc (norm_nonneg _),fun u=>?_⟩ |
| 24 | calc |
| 25 | _ = c*‖D (fun _=>u)‖ := by rw [jet, norm_mul];change ‖c‖ * _ = _;rw [Real.norm_eq_abs,abs_of_nonneg hc] |
| 26 | _ ≤ _ := by |
| 27 | rw [mul_assoc]; gcongr |
| 28 | refine le_trans (le_of_eq (by simp : _=‖D (fun _=>u)‖)) ((D.le_opNorm _).trans ?_) |
| 29 | gcongr; simp [Radial.zone];gcongr; linarith |
| 30 | |
| 31 | theorem jet_smul (k)(r : ℝ)(u : E) : jet f k (r • u) = r^k * jet f k u := by |
| 32 | unfold jet |
| 33 | simp only [ContinuousMultilinearMap.map_smul_univ,Finset.prod_const,Finset.card_univ,Fintype.card_fin,smul_eq_mul]; ring |
| 34 | |
| 35 | omit f in |
| 36 | lemma radial_iteratedDeriv {f : E→ℝ} (u : E)(r : ℝ)(k : ℕ) {s : Set E} (hs : IsOpen s)(hr : r • u ∈ s) (hf : ContDiffOn ℝ (k : WithTop ℕ∞) f s) : |
| 37 | iteratedDeriv k (fun r:ℝ=>f (r • u)) r=iteratedFDeriv ℝ k f (r • u) (fun _=>u) := by |
| 38 | let L:= ContinuousLinearMap.toSpanSingleton ℝ u |
| 39 | have hU:=hs.uniqueDiffOn (𝕜:=ℝ); have ht:=(hs.preimage L.continuous).uniqueDiffOn (𝕜:=ℝ) |
| 40 | have h:=L.iteratedFDerivWithin_comp_right hf hU ht (hx:=hr) (i:=k) (le_rfl) |
| 41 | have hp : L r ∈ s := hr |
| 42 | have hd (x) (hx : x ∈ s) := (hf _ hx).contDiffAt (hs.mem_nhds hx) |
| 43 | have H:ContDiffAt ℝ (k : WithTop ℕ∞) (f ∘ L) r := (hd (L r) hp).comp r L.contDiff.contDiffAt |
| 44 | rw [iteratedFDerivWithin_eq_iteratedFDeriv ht H hp, iteratedFDerivWithin_eq_iteratedFDeriv hU (hd (L r) hp) hp] at h |
| 45 | change iteratedDeriv k (f ∘ L) _= _ |
| 46 | rw [iteratedDeriv_eq_iteratedFDeriv,h]; simp [L] |
| 47 | |
| 48 | theorem homogeneous_derivative (u : E)(k : ℕ)(hf : ContDiffAt ℝ (k : WithTop ℕ∞) f 0) : |
| 49 | jet f k u = (k.factorial:ℝ)⁻¹ * iteratedDeriv k (fun t : ℝ=> f (t • u)) 0 := by |
| 50 | rcases hf.contDiffOn' (m:=k) le_rfl (by simp) with ⟨s,hs,hz,he⟩ |
| 51 | simp only [insert_eq_of_mem (mem_univ ..), univ_inter] at he |
| 52 | rw [radial_iteratedDeriv u 0 k hs (by simpa using hz) he]; simp [jet] |
| 53 | |
| 54 | variable [FiniteDimensional ℝ E] |
| 55 | -- Coercivity from degree two and positive definiteness, vacuous off zero in dimension zero. |
| 56 | theorem quadratic_min (h : ∀ u : E, u ≠ 0 → 0<jet f 2 u) : ∃ c>0, ∀ u, c*‖u‖^2≤jet f 2 u := by |
| 57 | have H:=isCompact_sphere (0:E) 1 |
| 58 | have nz {u : E} (h : u∈sphere 0 1) : u ≠ 0 := by rintro rfl; simpa using h |
| 59 | have he : ∃ c>0, ∀ u∈sphere (0:E) 1, c ≤ jet f 2 u := by |
| 60 | by_cases hN : (sphere (0:E) 1).Nonempty |
| 61 | · have hCont : ContinuousOn (jet f 2) (sphere (0:E) 1) := by |
| 62 | apply Continuous.continuousOn |
| 63 | unfold jet |
| 64 | apply continuous_const.mul; exact Continuous.comp (iteratedFDeriv ℝ 2 f 0).coe_continuous (continuous_pi (fun i=>continuous_id)) |
| 65 | obtain ⟨u,hu,hb⟩:=H.exists_isMinOn hN hCont |
| 66 | exact ⟨_, h u (nz hu),hb⟩ |
| 67 | refine ⟨1,one_pos,fun u hu=> (hN ⟨u,hu⟩).elim⟩ |
| 68 | obtain ⟨c,hc,he⟩:=he |
| 69 | refine ⟨c,hc,fun u=>?_⟩ |
| 70 | by_cases hu : u=0 |
| 71 | · have hz := (jet_smul f 2 0 (0:E)).symm; rw [zero_smul] at hz; simpa [hu] using hz.le |
| 72 | have hv : ‖u‖ ≠ 0 := (norm_pos_iff.mpr hu).ne' |
| 73 | let v:= (‖u‖⁻¹) • u |
| 74 | have hf : u = ‖u‖ • v := by simp [v, smul_smul, hv] |
| 75 | have hg: v ∈ sphere 0 1 := by simp [v, norm_smul, hv] |
| 76 | rw (occs := .pos [2]) [hf] |
| 77 | rw [jet_smul] |
| 78 | exact (mul_comm _ _).le.trans <| mul_le_mul_of_nonneg_left (he _ hg) (sq_nonneg _) |
| 79 | |
| 80 | theorem deposition (n : ℕ)(hf : ContDiffAt ℝ ∞ f 0) : |
| 81 | ∃ δ C : ℝ,0<δ ∧ 0≤C ∧ ∀ u (t : ℝ), 0 < t → t*‖u‖ ≤ δ → |
| 82 | ‖f (t • u) - eval (jet f) n t u‖ ≤ C * ‖u‖^(n+1) * t^(n+1) := by |
| 83 | let N:= n+1 |
| 84 | rcases hf.contDiffOn' (m:=N) (by exact WithTop.coe_le_coe.mpr le_top) (by simp) with ⟨s,hs,hz,he⟩ |
| 85 | simp only [insert_eq_of_mem (mem_univ ..), univ_inter] at he |
| 86 | obtain ⟨ε,hε,hM⟩:=Metric.isOpen_iff.mp hs 0 hz |
| 87 | let δ:=ε/2 |
| 88 | have hδ : 0<δ := half_pos hε |
| 89 | have hB : closedBall 0 δ ⊆ s := Set.Subset.trans (closedBall_subset_ball (by dsimp [δ]; linarith)) hM |
| 90 | have hU:= hs.uniqueDiffOn (𝕜:=ℝ) |
| 91 | have hd (k : ℕ) (hk : k ≤ N) (x : E)(hx : x∈s) : ContDiffAt ℝ k f x := (he.of_le (by exact_mod_cast hk) x hx).contDiffAt (hs.mem_nhds hx) |
| 92 | obtain ⟨C,hc⟩:= (isCompact_closedBall (0:E) δ).exists_bound_of_continuousOn (he.continuousOn_iteratedFDerivWithin (m:=N) le_rfl hU |>.mono hB) |
| 93 | have hhh (x)(hx : x∈closedBall (0:E) δ) : ‖iteratedFDeriv ℝ N f x‖ ≤ C := by rw [← iteratedFDerivWithin_eq_iteratedFDeriv hU (hd _ le_rfl _ (hB hx)) (hB hx)];exact hc x hx |
| 94 | have hC:= (norm_nonneg _).trans (hhh 0 (mem_closedBall_self hδ.le)) |
| 95 | refine ⟨δ,C,hδ,hC,fun u t ht hm=>?_⟩ |
| 96 | let g : ℝ → ℝ := f ∘ (fun t : ℝ=> t • u) |
| 97 | have hv (r) (hr : r ∈ Icc (0 : ℝ) t) : r • u∈closedBall (0:E) δ := by rw [mem_closedBall_zero_iff,norm_smul_of_nonneg hr.1];exact (mul_le_mul_of_nonneg_right hr.2 (norm_nonneg u)).trans hm |
| 98 | have hf (k : ℕ) (hk : k≤N)(r)(hr : r∈Icc (0:ℝ) t) : ContDiffAt ℝ k g r := (hd k hk _ (hB (hv r hr))).comp (f:=fun t : ℝ=>t • u) r (contDiffAt_id.smul (contDiffAt_const (c:=u))) |
| 99 | have hy (k : ℕ) (hk : k ≤ N) (r) (hr : r ∈ Icc (0:ℝ) t) : |
| 100 | iteratedDerivWithin k g (Icc (0:ℝ) t) r = iteratedFDeriv ℝ k f (r • u) (fun _=>u):=by |
| 101 | rw [iteratedDerivWithin_eq_iteratedFDerivWithin, iteratedFDerivWithin_eq_iteratedFDeriv (uniqueDiffOn_Icc ht) (hf k hk r hr) hr, ←iteratedDeriv_eq_iteratedFDeriv]; exact radial_iteratedDeriv u r k hs (hB (hv r hr)) (he.of_le (by exact_mod_cast hk)) |
| 102 | have h := taylor_mean_remainder_bound (n:=n) (x:=t) (C:=C*‖u‖^(n+1)) ht.le (f:=g) (by intro x hx; simpa only [N, Nat.cast_add, Nat.cast_one] using! ((hf N le_rfl x hx).contDiffWithinAt (s:=Icc _ _))) (right_mem_Icc.mpr ht.le) ?_; swap |
| 103 | · intro r hr;rw [hy _ le_rfl r hr] |
| 104 | apply (ContinuousMultilinearMap.le_of_opNorm_le (hhh _ (hv r hr)) _).trans_eq; simp [N] |
| 105 | have hh : taylorWithinEval g n (Icc 0 t) 0 t = eval (jet f) n t u:= by |
| 106 | rw [taylor_within_apply];unfold Zone.eval |
| 107 | refine Finset.sum_congr rfl fun i hi=>?_ |
| 108 | rw [hy _ (Finset.mem_range.mp hi|>.le) _ (left_mem_Icc.mpr ht.le),zero_smul,sub_zero]; change _ * _= _ * _ |
| 109 | simp [jet];ring |
| 110 | rw [hh,sub_zero] at h |
| 111 | refine h.trans ((div_le_iff₀ (mod_cast n.factorial_pos)).mpr ?_) |
| 112 | have : (1 : ℝ) ≤ n.factorial:= by exact_mod_cast n.factorial_pos |
| 113 | exact le_mul_of_one_le_right (by positivity) this |
| 114 | |
| 115 | theorem ordinary (hf : ContDiffAt ℝ ∞ f 0) : (Z).Built 1 (fun t u=> f (t • u)) (jet f) := by |
| 116 | refine ⟨jetInvoice f, fun n=> ⟨fun _=>le_rfl,?_⟩⟩ |
| 117 | obtain ⟨δ,C,hδ,hc,h⟩:= deposition f n hf |
| 118 | refine ⟨δ,C,n+1,hδ,hc,fun u t ht hm=>?_⟩ |
| 119 | have he u : ‖u‖≤ (Z).w u:= by simp [Radial.zone] |
| 120 | refine (h u t ht ((mul_le_mul_of_nonneg_left (he u) ht.le).trans hm)).trans ?_ |
| 121 | simp only [Pi.one_apply,mul_one];gcongr;apply he |
| 122 | |
| 123 | end YM.PertExtension.Series.Radial |