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.Next.MULTISOURCE.Curves |
| 3 | import YM.Next.MULTISOURCE.GradeHelp |
| 4 | |
| 5 | /-! one support test making arbitrary wrap-spanning jets. Norm DOES pay all that space here. -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Multi.Step |
| 9 | open RG Wilson Lattice MeasureTheory Marker Filter Function Finset Work.G07 |
| 10 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical ContDiff |
| 11 | variable {P : BudgetPoint} {G : Gauge} {n : Side} |
| 12 | |
| 13 | structure SimpleBound (P : BudgetPoint) (ℓ b : ℝ) (F : Config G n → ℂ) : Prop where |
| 14 | hom : Continuous F |
| 15 | sym : GaugeInvariant F |
| 16 | bounded : uniform P ℓ b F |
| 17 | |
| 18 | section |
| 19 | variable {P : BudgetPoint} {ℓ a b : ℝ} {F H : Config G n → ℂ} |
| 20 | lemma SimpleBound.expand (h : SimpleBound P ℓ a F) (hx : a ≤ b) : SimpleBound P ℓ b F := |
| 21 | ⟨h.hom,h.sym,enlarged h.bounded hx⟩ |
| 22 | lemma SimpleBound.const (P : BudgetPoint) (ℓ : ℝ) (x : ℂ) : SimpleBound P ℓ ‖x‖ (fun _ : Config G n => x) := |
| 23 | ⟨continuous_const,fun _ _ => rfl, LeftBound.const zero_le_one _⟩ |
| 24 | lemma SimpleBound.sub (h : SimpleBound P ℓ a F) (he : SimpleBound P ℓ b H) : |
| 25 | SimpleBound P ℓ (a+(2^P.order * ‖(-1:ℂ)‖ * b)) (fun x => F x-H x) := by |
| 26 | have hv : (fun x => F x-H x)=(fun x => F x + (-1)*H x) := by ext; simp [sub_eq_add_neg] |
| 27 | rw [hv]; exact ⟨by have := h.hom; have := he.hom; fun_prop,fun i U => by rw [h.sym,he.sym], |
| 28 | h.bounded.add ((LeftBound.const (k:=P.order) zero_le_one _).mul he.bounded zero_le_one)⟩ |
| 29 | lemma SimpleBound.add (h : SimpleBound P ℓ a F) (he : SimpleBound P ℓ b H) : SimpleBound P ℓ (a+b) (fun x => F x+H x) := |
| 30 | ⟨h.hom.add he.hom, fun j U => by rw [h.sym,he.sym], h.bounded.add he.bounded⟩ |
| 31 | lemma SimpleBound.mul (h : SimpleBound P ℓ a F) (he : SimpleBound P ℓ b H) : |
| 32 | SimpleBound P ℓ (2^P.order*a*b) (fun x => F x*H x) := |
| 33 | ⟨h.hom.mul he.hom,fun i U => by rw [h.sym,he.sym], h.bounded.mul he.bounded zero_le_one⟩ |
| 34 | lemma prods (P : BudgetPoint) (ℓ b : ℝ) {J : Type*} (s : Finset J) : ∃ c,∀ f : J → Config G n → ℂ, |
| 35 | (∀ i,SimpleBound P ℓ b (f i)) → SimpleBound P ℓ c (fun x => ∏ i∈s,f i x) := by |
| 36 | induction s using Finset.induction with |
| 37 | | empty => refine ⟨‖(1:ℂ)‖,fun _ _ => ?_⟩; simp only [Finset.prod_empty]; exact SimpleBound.const .. |
| 38 | | insert i s hi ih => |
| 39 | obtain ⟨a,ha⟩ := ih; refine ⟨2^P.order*b*a,fun f hv => ?_⟩; simp only [prod_insert hi]; exact (hv i).mul (ha _ hv) |
| 40 | lemma sums (P : BudgetPoint) (ℓ : ℝ) {J : Type*} (s : Finset J) (f : J → Config G n→ℂ) {g : J→ℝ} |
| 41 | (h : ∀ i,SimpleBound P ℓ (g i) (f i)) : SimpleBound P ℓ (∑ i∈s,g i) (fun x => ∑ i∈s,f i x) := by |
| 42 | induction s using Finset.induction with |
| 43 | | empty => simp only [Finset.sum_empty]; simpa using SimpleBound.const P ℓ (n:=n) (G:=G) 0 |
| 44 | | insert i s hi ih => simp only [Finset.sum_insert hi]; exact (h i).add ih |
| 45 | end |
| 46 | |
| 47 | def recept (P : BudgetPoint) (F U : Config G n→ℂ) := ∀ x, flags P.threshold x=∅ → F x=U x |
| 48 | |
| 49 | lemma haloed (P : BudgetPoint) : ∃ ℓ, 0 ≤ ℓ ∧ ∀ x (d : Directions G n),P.dirBound x d → ‖d‖≤ℓ := by |
| 50 | let q (x : Site n) (e : Edge (Site n)) := P.threshold * (1+(separation e.1 x:ℝ))^P.power |
| 51 | let v := ∑ x : Site n,∑ e : Edge (Site n), |q x e| |
| 52 | have hv : 0 ≤ v := by unfold v; positivity |
| 53 | refine ⟨v,hv,fun x d hd => (pi_norm_le_iff_of_nonneg hv).mpr fun e => ?_⟩ |
| 54 | exact (hd e).trans ((le_abs_self _).trans ((Finset.single_le_sum (fun i _ => abs_nonneg (q x i)) |
| 55 | (mem_univ e)).trans (Finset.single_le_sum (fun x _ => (Finset.sum_nonneg (s:=univ) (fun i _ => abs_nonneg (q x i)))) (mem_univ x)))) |
| 56 | |
| 57 | lemma simple_all {V : Type} [Fintype V] [DecidableEq V] (R : Census V) (P : Rep G n) (D : V → Pulse G n) (U : Config G n) |
| 58 | (h : flags P.p.threshold U=∅) (t : R.Mode) : jet P R D t U=(P.eval U:ℂ)*∏ i∈t.val,(D i).1 U := by |
| 59 | have he : Pack.clears (flags P.p.threshold U)={∅} := by |
| 60 | ext i; simp only [Pack.clears,h,mem_filter,mem_univ,true_and,mem_singleton]; constructor |
| 61 | · intro ⟨_,hp⟩; by_contra hi |
| 62 | obtain ⟨j,hj⟩ := Finset.nonempty_iff_ne_empty.mpr hi |
| 63 | obtain ⟨a,ha⟩ := j.property.1 |
| 64 | exact notMem_empty _ (hp ▸ mem_biUnion.mpr ⟨j,hj,ha⟩) |
| 65 | rintro rfl; simp |
| 66 | unfold jet polar composeAt Rep.eval; rw [he, sum_singleton, prod_empty, mul_one, P.activities.gas_one _ h, |
| 67 | mul_one, Poly.part_smul, lambda] |
| 68 | have he := pass_sum_send (R:=R) univ (Hot.one R) (fun i => (D i).1 U) |
| 69 | simp only [Hot.one] at he; rw [he,polynomial] |
| 70 | end YM.Multi.Step |