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.RingTheory.RootsOfUnity.Complex |
| 2 | import YM.Shoot.Criteria |
| 3 | |
| 4 | /-! bounded, uniform analytic approximations on fixed parameter patches. |
| 5 | These lemmas only use one fixed stencil/volume at a time. -/ |
| 6 | |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Multi.Desk |
| 10 | open MvPolynomial Finset Filter RG |
| 11 | open scoped Topology BigOperators Matrix.Norms.Frobenius |
| 12 | |
| 13 | variable {I X : Type*} [Fintype I] |
| 14 | |
| 15 | section |
| 16 | variable {K : Set X} {A B : X → ℂ} {f g : ℕ → X → ℂ} |
| 17 | |
| 18 | -- just norm bounds |
| 19 | def Tint (K : Set X) (A : X → ℂ) := ∃ b : ℝ, ∀ x∈K, ‖A x‖ ≤ b |
| 20 | lemma tint_add (h : Tint K A) (hp : Tint K B) : Tint K fun x => A x+B x := by |
| 21 | obtain ⟨v,hv⟩ := h; obtain ⟨c,H⟩ := hp |
| 22 | exact ⟨v+c,fun x hx => (norm_add_le ..).trans (add_le_add (hv x hx) (H x hx))⟩ |
| 23 | lemma tint_mul (h : Tint K A) (hp : Tint K B) : Tint K fun x => A x*B x := by |
| 24 | obtain ⟨v,hv⟩ := h; obtain ⟨c,H⟩ := hp |
| 25 | exact ⟨v*c,fun x hx => (norm_mul ..).trans_le (mul_le_mul (hv x hx) (H x hx) (norm_nonneg _) ((norm_nonneg _).trans (hv x hx)))⟩ |
| 26 | lemma tint_fix (K : Set X) (c : ℂ) : Tint K (fun _ => c) := ⟨‖c‖,fun _ _ => le_rfl⟩ |
| 27 | lemma tint_ite (h : Tint K A) (p : X→Prop) [DecidablePred p] : Tint K fun x => if p x then A x else 0 := by |
| 28 | obtain ⟨B,H⟩ := h; refine ⟨B,fun x hx => ?_⟩ |
| 29 | change ‖if p x then _ else _‖ ≤ B; split; exact H x hx; rw [norm_zero]; exact (norm_nonneg _).trans (H x hx) |
| 30 | |
| 31 | variable {J : Type*} |
| 32 | lemma tint_sum (L : Finset J) (F : J → X → ℂ) (h : ∀ i,Tint K (F i)) : Tint K fun x => ∑ i∈L,F i x := by |
| 33 | classical |
| 34 | induction L using Finset.induction with |
| 35 | | empty => simp only [sum_empty]; exact tint_fix .. |
| 36 | | insert i L hi ih => simp only [sum_insert hi]; exact tint_add (h i) ih |
| 37 | lemma tint_prod (L : Finset J) (F : J → X → ℂ) (h : ∀ i,Tint K (F i)) : Tint K fun x => ∏ i∈L,F i x := by |
| 38 | classical |
| 39 | induction L using Finset.induction with |
| 40 | | empty => simp only [prod_empty]; exact tint_fix .. |
| 41 | | insert i L hi ih => simp only [prod_insert hi]; exact tint_mul (h i) ih |
| 42 | |
| 43 | lemma colors (h : Tint K A) : Tint K (fun x => Complex.exp (A x)) := by |
| 44 | obtain ⟨C,H⟩ := h; exact ⟨_,fun x hx => by |
| 45 | rw [Complex.norm_exp]; exact Real.exp_monotone ((Complex.re_le_norm ..).trans (H x hx))⟩ |
| 46 | |
| 47 | lemma tents (h : Tint K A) (hu : TendstoUniformlyOn f A atTop K) : |
| 48 | ∃ C : ℝ, 0<C ∧ (∀ x∈K, A x∈ Metric.closedBall 0 C) ∧ ∀ᶠ i in atTop, ∀ x∈K, f i x∈ Metric.closedBall 0 C := by |
| 49 | obtain ⟨r,hr⟩ := h |
| 50 | refine ⟨|r|+1,by positivity,fun x hx => ?_,?_⟩ |
| 51 | · rw [Metric.mem_closedBall,dist_zero_right]; linarith [hr x hx, le_abs_self r] |
| 52 | filter_upwards [Metric.tendstoUniformlyOn_iff.mp hu 1 zero_lt_one] with i hi x hx |
| 53 | rw [Metric.mem_closedBall]; apply (dist_triangle (f i x) (A x) (0:ℂ)).trans |
| 54 | have hv := hi x hx |
| 55 | rw [dist_comm] at hv |
| 56 | have hh : dist (f i x) (A x)+ dist (0:ℂ) (A x) ≤ |r|+1 := by |
| 57 | rw [dist_zero_left]; linarith [hr x hx,le_abs_self r] |
| 58 | rw [dist_comm (A x)]; exact hh |
| 59 | |
| 60 | lemma painting (K : Set X) (c : X→ℂ) : TendstoUniformlyOn (fun _ : ℕ => c) c atTop K := |
| 61 | Metric.tendstoUniformlyOn_iff.mpr fun ε he => Eventually.of_forall fun _ _ _ => by simpa using he |
| 62 | |
| 63 | lemma uniform_mul (h : Tint K A) (hp : Tint K B) (he : TendstoUniformlyOn f A atTop K) |
| 64 | (hh : TendstoUniformlyOn g B atTop K) : TendstoUniformlyOn (fun n x => f n x*g n x) (fun x => A x*B x) atTop K := by |
| 65 | obtain ⟨C,_,Hc,hC⟩ := tents h he; obtain ⟨U,_,HU,hU⟩ := tents hp hh |
| 66 | let z i x := (f i x,g i x) |
| 67 | let R x := (A x,B x) |
| 68 | have ht : TendstoUniformlyOn z R atTop K := by |
| 69 | refine Metric.tendstoUniformlyOn_iff.mpr fun ε he' => ?_ |
| 70 | filter_upwards [Metric.tendstoUniformlyOn_iff.mp he _ he',Metric.tendstoUniformlyOn_iff.mp hh _ he'] with i hi hh x hx |
| 71 | rw [Prod.dist_eq]; exact max_lt (hi x hx) (hh x hx) |
| 72 | let Z := Set.prod (Metric.closedBall (0:ℂ) C) (Metric.closedBall (0:ℂ) U) |
| 73 | exact ((show IsCompact Z from (isCompact_closedBall (α:=ℂ) ..).prod (isCompact_closedBall ..)).uniformContinuousOn_of_continuous |
| 74 | (f:=fun x : ℂ × ℂ => x.1*x.2) continuous_mul.continuousOn).comp_tendstoUniformlyOn_eventually (s:=Z) (f:=R) (F:=z) |
| 75 | (by filter_upwards [hC,hU] with i hc hi x hx; exact ⟨hc x hx,hi x hx⟩) (fun x hx => ⟨Hc x hx,HU x hx⟩) ht |
| 76 | |
| 77 | lemma uniform_sum (L : Finset J) (F : J → X → ℂ) (G : J → ℕ → X → ℂ) (h : ∀ i,TendstoUniformlyOn (G i) (F i) atTop K) : |
| 78 | TendstoUniformlyOn (fun n x => ∑ i∈L,G i n x) (fun x => ∑ i∈L,F i x) atTop K := by |
| 79 | classical |
| 80 | induction L using Finset.induction with |
| 81 | | empty => simp only [sum_empty]; exact painting K (fun _ => 0) |
| 82 | | insert i L hi ih => simp only [sum_insert hi]; exact (h i).add ih |
| 83 | lemma uniform_prod (L : Finset J) (F : J → X → ℂ) (G : J → ℕ → X → ℂ) |
| 84 | (h : ∀ i,TendstoUniformlyOn (G i) (F i) atTop K) (ht : ∀ i,Tint K (F i)) : |
| 85 | TendstoUniformlyOn (fun n x => ∏ i∈L,G i n x) (fun x => ∏ i∈L,F i x) atTop K := by |
| 86 | classical |
| 87 | induction L using Finset.induction with |
| 88 | | empty => simp only [prod_empty]; exact painting K (fun _ => 1) |
| 89 | | insert i L hi ih => simp only [prod_insert hi]; exact uniform_mul (ht i) (tint_prod L F ht) (h i) ih |
| 90 | end |
| 91 | |
| 92 | def powers (N : ℕ) (z : ℂ) := ∑ i∈ range N,z^i / (i.factorial:ℂ) |
| 93 | lemma kingdoms (r : ℝ) (_h : 0 < r) : TendstoUniformlyOn powers Complex.exp atTop (Metric.closedBall 0 r) := by |
| 94 | have hp := (NormedSpace.expSeries_div_hasSum_exp r).summable |
| 95 | have he : TendstoUniformlyOn powers (fun x => ∑' i : ℕ, x^i / (i.factorial:ℂ)) atTop (Metric.closedBall 0 r) := by |
| 96 | refine tendstoUniformlyOn_tsum_nat hp ?_ |
| 97 | intro n x hx |
| 98 | have hb : ‖x‖ ≤ r := by simpa using hx |
| 99 | simp only [norm_div,norm_pow,Complex.norm_natCast] |
| 100 | gcongr |
| 101 | rw [show Complex.exp=(fun x => ∑' i : ℕ,x^i / (i.factorial:ℂ)) from funext fun x => by |
| 102 | rw [Complex.exp_eq_exp_ℂ]; exact (NormedSpace.expSeries_div_hasSum_exp x).tsum_eq.symm] |
| 103 | exact he |
| 104 | |
| 105 | lemma condensate {K : Set X} {A : X→ℂ} {f : ℕ→ X→ ℂ} |
| 106 | (h : Tint K A) (he : TendstoUniformlyOn f A atTop K) : |
| 107 | TendstoUniformlyOn (fun n x => powers (n+1) (f n x)) (fun x => Complex.exp (A x)) atTop K := by |
| 108 | obtain ⟨C,hv,HC,hC⟩ := tents h he |
| 109 | have ht := ((isCompact_closedBall _ _).uniformContinuousOn_of_continuous Complex.continuous_exp.continuousOn).comp_tendstoUniformlyOn_eventually hC HC he |
| 110 | refine Metric.tendstoUniformlyOn_iff.mpr fun ε hx => ?_ |
| 111 | have hu : ∀ᶠ i in atTop, ∀ x∈Metric.closedBall (0:ℂ) C,dist (Complex.exp x) (powers (i+1) x) < ε/2 := |
| 112 | (show Tendsto (fun i : ℕ => i+1) atTop atTop from by refine tendsto_atTop_mono (fun i => i.le_succ) tendsto_id).eventually |
| 113 | (Metric.tendstoUniformlyOn_iff.mp (kingdoms C hv) _ (half_pos hx)) |
| 114 | filter_upwards [hC,hu, Metric.tendstoUniformlyOn_iff.mp ht _ (half_pos hx)] with i hi hh hn x hx |
| 115 | exact (dist_triangle _ _ _).trans_lt ((add_lt_add (hn x hx) (hh _ (hi x hx))).trans_eq (add_halves ε)) |
| 116 | end YM.Multi.Desk |