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 Mathlib.Analysis.Calculus.Taylor |
| 2 | import YM.Analysis.Homogeneous |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # Factorial proof to release all extreme position analyticity |
| 9 | |
| 10 | Real parameter ONLY. Value jets of scalar comparator at one point ⇒ center estimate there. |
| 11 | To use analyticity extension need estimates nearby (or uniform from group). |
| 12 | Do **not** infer analytic S from equality of comparing jets at line alone. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Analysis |
| 17 | open Metric Function Set Filter |
| 18 | open scoped Topology NNReal ENNReal InnerProductSpace ContDiff BigOperators |
| 19 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] (f : ℝ → E) |
| 20 | |
| 21 | def Power (C ρ : ℝ) (n : ℕ) := C * (ρ ^ n)⁻¹ * (Nat.factorial n:ℝ) |
| 22 | |
| 23 | theorem center (x : ℝ) (hf : AnalyticAt ℝ f x) : ∃ C > (0:ℝ), ∃ ρ > (0:ℝ), ∀ n, |
| 24 | ‖iteratedDeriv n f x‖ ≤ Power C ρ n := by |
| 25 | obtain ⟨p,r,hr⟩ := hf |
| 26 | obtain ⟨A,hA,hp⟩ := ENNReal.lt_iff_exists_nnreal_btwn.mp hr.r_pos |
| 27 | obtain ⟨C,hC,H⟩ := p.norm_mul_pow_le_of_lt_radius (hp.trans_le hr.r_le) |
| 28 | replace hA : 0<(A:ℝ) := ENNReal.coe_pos.mp hA |
| 29 | refine ⟨C,hC,A,hA,fun n => ?_⟩ |
| 30 | rw [iteratedDeriv_eq_iteratedFDeriv,← hr.factorial_smul,← Nat.cast_smul_eq_nsmul ℝ,norm_smul,Real.norm_natCast] |
| 31 | rw [Power,mul_comm (Nat.factorial n:ℝ)] |
| 32 | gcongr |
| 33 | apply le_trans ((p n).le_opNorm (fun _ => (1:ℝ))) |
| 34 | simpa only [norm_one, Finset.prod_const_one,mul_one,← div_eq_mul_inv] using |
| 35 | ((le_div_iff₀ (pow_pos hA n)).2 (H n)) -- direction check |
| 36 | |
| 37 | omit [CompleteSpace E] in |
| 38 | private lemma maxpow (x : ℝ) (n : ℕ) (q : ℝ≥0) (hq : 0<(q:ℝ)) (C : ℝ) |
| 39 | (hg : ‖iteratedDeriv n f x‖ ≤ Power C q n) : ‖Tensor.coeff f n x‖*(q:ℝ)^n ≤ C := by |
| 40 | rw [Tensor.coeff,norm_smul,norm_inv,Real.norm_natCast,norm_iteratedFDeriv_eq_norm_iteratedDeriv] |
| 41 | calc _ ≤ _ := mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hg (by positivity)) (by positivity) |
| 42 | _ = C := by unfold Power; field_simp |
| 43 | |
| 44 | private theorem groups (h : ContDiff ℝ ∞ f) (C ρ : ℝ) (hC : 0<C) (hr : 0<ρ) |
| 45 | (hh : ∀ n x, ‖iteratedDeriv n f x‖ ≤ Power C ρ n) (a x : ℝ) (ht : x∈ Ioo a (a+ρ/2)) : |
| 46 | let u : FormalMultilinearSeries ℝ ℝ E := fun n => Tensor.coeff f n a |
| 47 | x-a ∈ eball 0 u.radius ∧ u.sum (x-a)=f x := by |
| 48 | lift ρ to ℝ≥0 using hr.le |
| 49 | intro u |
| 50 | have hv : (ρ:ℝ≥0∞) ≤ u.radius := u.le_radius_of_bound C fun n => maxpow f a n ρ hr C (hh n a) |
| 51 | let d := x-a |
| 52 | obtain ⟨ha,hx⟩ := ht |
| 53 | have hd : 0<d := sub_pos.mpr ha |
| 54 | have hr' : x-a∈ eball 0 (ρ:ℝ≥0∞) := by |
| 55 | rw [Metric.eball_coe, mem_ball, Real.dist_eq, sub_zero, abs_of_pos hd]; linarith |
| 56 | have hq : d∈ eball 0 u.radius := eball_subset_eball hv hr' |
| 57 | refine ⟨hq,?_⟩ |
| 58 | have H_ (n : ℕ) : ContDiff ℝ n f := h.of_le (WithTop.coe_le_coe.mpr le_top) |
| 59 | have hu (n : ℕ) : ContDiffOn ℝ (↑n+1) f (Icc a x) := by |
| 60 | rw [← Nat.cast_one (R := WithTop ℕ∞), ← Nat.cast_add]; exact (H_ _).contDiffOn |
| 61 | have hf n y (hy : y∈ Icc a x) : iteratedDerivWithin n f (Icc a x) y=iteratedDeriv n f y := |
| 62 | iteratedDerivWithin_eq_iteratedDeriv (uniqueDiffOn_Icc ha) ((H_ _).contDiffAt) hy |
| 63 | let P n := ∑ i ∈ Finset.range (n+1), u i (fun _ => d) |
| 64 | have hw n : taylorWithinEval f n (Icc a x) a x = P n := by |
| 65 | rw [taylor_within_apply] |
| 66 | apply Finset.sum_congr rfl |
| 67 | intro i _ |
| 68 | have he : u.coeff i=(↑(Nat.factorial i):ℝ)⁻¹ • iteratedDeriv i f a := by |
| 69 | rw [iteratedDeriv_eq_iteratedFDeriv]; rfl |
| 70 | rw [FormalMultilinearSeries.apply_eq_prod_smul_coeff (p := u),he, |
| 71 | hf i a (left_mem_Icc.mpr ha.le)] |
| 72 | simp only [Finset.prod_const,Finset.card_univ, Fintype.card_fin, smul_smul, mul_comm (d^i)]; rfl |
| 73 | have hm := (u.hasSum hq).tendsto_sum_nat |
| 74 | let θ := 2*(d/(ρ:ℝ)) |
| 75 | have hθ : 0 < θ := by unfold θ; positivity |
| 76 | have hrθ : θ < 1 := by unfold θ; rw [← mul_div_assoc, div_lt_one hr]; dsimp [d] at *; linarith |
| 77 | have hh_ (n : ℕ) : dist (P n) (f x) ≤ C * θ^(n+1) := by |
| 78 | rw [dist_comm,dist_eq_norm,← hw] |
| 79 | apply le_trans (taylor_mean_remainder_bound ha.le (C := Power C ρ (n+1)) (hu n) |
| 80 | (right_mem_Icc.mpr ha.le) (fun y hy => by rw [hf _ _ hy]; exact hh _ _)) |
| 81 | calc |
| 82 | _ = C * (d/(ρ:ℝ))^(n+1) * ((n+1:ℕ):ℝ) := by unfold Power; rw [Nat.factorial_succ,Nat.cast_mul]; unfold d; field_simp; rw [← mul_pow, mul_div_cancel₀ _ hr.ne'] |
| 83 | _ ≤ C * (d/(ρ:ℝ))^(n+1) * 2^(n+1) := by |
| 84 | have he : (n+1) ≤ 2^(n+1) := Nat.le_of_lt (Nat.lt_pow_self (by norm_num)) |
| 85 | apply mul_le_mul_of_nonneg_left _ (by positivity); exact_mod_cast he |
| 86 | _ = C * θ^(n+1) := by unfold θ; rw [mul_pow]; ring |
| 87 | have hn : Tendsto (fun n : ℕ => C * θ^(n+1)) atTop (𝓝 0) := by |
| 88 | have he := tendsto_pow_atTop_nhds_zero_of_lt_one hθ.le hrθ |
| 89 | simpa only [mul_zero,Function.comp_apply] using (he.comp (tendsto_add_atTop_nat 1)).const_mul C |
| 90 | apply tendsto_nhds_unique (f := P) (hm.comp (tendsto_add_atTop_nat 1)) |
| 91 | exact tendsto_iff_dist_tendsto_zero.mpr (squeeze_zero (fun _ => dist_nonneg) hh_ hn) |
| 92 | |
| 93 | theorem builds (h : ContDiff ℝ ∞ f) (C ρ : ℝ) (hC : 0<C) (hr : 0<ρ) |
| 94 | (hh : ∀ n x, ‖iteratedDeriv n f x‖ ≤ Power C ρ n) (x : ℝ) : AnalyticAt ℝ f x := by |
| 95 | let a := x-ρ/4 |
| 96 | have hx : x∈ Ioo a (a+ρ/2) := by constructor <;> dsimp only [a] <;> linarith |
| 97 | let u : FormalMultilinearSeries ℝ ℝ E := fun n => Tensor.coeff f n a |
| 98 | have he := groups f h C ρ hC hr hh a x hx |
| 99 | have hu : AnalyticAt ℝ (fun y => u.sum (y-a)) x := |
| 100 | ((FormalMultilinearSeries.analyticOnNhd (p := u) _ he.1).comp (f := fun y => y-a) |
| 101 | (analyticAt_id.sub analyticAt_const)) |
| 102 | exact hu.congr ( (show ∀ᶠ y in 𝓝 x, y∈ Ioo a (a+ρ/2) from Ioo_mem_nhds hx.1 hx.2) |>.mono (fun i hi => (groups f h C ρ hC hr hh a i hi).2)) |
| 103 | end YM.Analysis |