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.AnalyticNext.GRID_STOP_ATTENUATION.Alphabet.Edit |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! # Calculate the repairs explicitly, at any relevant arity -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.AnalyticNext.GridStop.Alphabet |
| 9 | open RG Marker Wilson Lattice Multi Finset |
| 10 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 11 | variable {V : Type} [DecidableEq V] {R : Census V} |
| 12 | |
| 13 | /-- If removing s from an actual query in the sector, the intermediate |
| 14 | query is still permitted by the Census. |
| 15 | -/ |
| 16 | def dim (s : V) (x : R.Mode) : R.Mode := ⟨x.val.erase s,R.down x.property _ (Finset.erase_subset ..)⟩ |
| 17 | |
| 18 | theorem marked_part (s : V) (f : Poly R) (x : R.Mode) : ((Poly.send (R.fire s) 1)*f).part x= |
| 19 | if s∈ x.val then f.part (dim s x) else 0 := by |
| 20 | rw [Poly.part_mul, Finset.sum_eq_single (R.fire s)] |
| 21 | · have hh (i : R.Mode) : Poly.merges (R.fire s) i x ↔ s∈x.val ∧ i=dim s x := by |
| 22 | change Disjoint ({s}:Finset V) i.val ∧ {s}∪i.val=x.val ↔ _ |
| 23 | rw [singleton_union,Finset.disjoint_singleton_left] |
| 24 | constructor |
| 25 | · rintro ⟨he,hH⟩; refine ⟨hH ▸ mem_insert_self .., Subtype.ext ?_⟩ |
| 26 | change _=x.val.erase _; rw [← hH,Finset.erase_insert he] |
| 27 | rintro ⟨hi,rfl⟩; exact ⟨Finset.notMem_erase _ _,Finset.insert_erase hi⟩ |
| 28 | simp_rw [hh]; by_cases h : s∈x.val <;> simp [h] |
| 29 | · intro i _ hi; simp only [Poly.part_send,if_neg hi,zero_mul,ite_self,sum_const_zero] |
| 30 | simp |
| 31 | |
| 32 | variable {G : Gauge} {n : Side} (P : Rep G n) (s : V) |
| 33 | variable (D : Hot R → Pulse G n) (p : Pack n) (z : Site n) (F : Config G n → ℂ) |
| 34 | |
| 35 | private lemma subtract (f g : Poly R) (i : R.Mode) : (f-g).part i=f.part i-g.part i := by rw [sub_eq_add_neg,sub_eq_add_neg,Poly.part_plus, Poly.part_neg] |
| 36 | |
| 37 | private lemma ink_part (r : Pack n) (W : Config G n → Poly R) (i : R.Mode) (U : Config G n) : (ink P U p r W).part i= |
| 38 | (soloPay p (shielded P p (fun U => (W U).part i))).2 r U := by |
| 39 | by_cases he : r=p |
| 40 | · unfold ink soloPay shielded; simp only [if_pos he]; split <;> simp [*] |
| 41 | unfold ink soloPay; simp only [if_neg he,Poly.part_nil]; rfl |
| 42 | |
| 43 | private lemma pen_part (r : Pack n) (i : R.Mode) (U : Config G n) : (pen (R:=R) U p F r).part i= |
| 44 | if i=R.quiet then (soloPay p F).2 r U else 0 := by |
| 45 | by_cases h : r=p |
| 46 | · unfold pen soloPay; simp only [if_pos h]; exact Poly.part_send .. |
| 47 | unfold pen soloPay; simp only [if_neg h, Poly.part_nil]; split <;> rfl |
| 48 | |
| 49 | /-- Exactly the desired reindexing of singleton F inputs AFTER the coarse |
| 50 | step. Higher-mode repair below. Thus usable with a one-step lemma retaining |
| 51 | the matched primary M UP TO these nullPay expansions. |
| 52 | -/ |
| 53 | theorem edited_at : edited P s D p z F (Hot.one R s) = D (Hot.one R s)+nullPay P p z F := by |
| 54 | apply Prod.ext |
| 55 | · unfold nullPay enlarged soloPay edited; simp [Prod.fst_sum] |
| 56 | funext r U |
| 57 | change (D _).2 r U + _=(D _).2 r U+_ |
| 58 | congr 1 |
| 59 | unfold supplement; rw [marked_part,if_pos (show s ∈ (Hot.one R s).val.val from mem_singleton_self _)] |
| 60 | rw [show dim s (Hot.one R s).val = R.quiet from (show dim s (R.fire s)=_ from Subtype.ext (by simp [Census.fire,dim,Census.quiet]))] |
| 61 | unfold nullPay enlarged alteration |
| 62 | simp_rw [subtract,Poly.part_plus,Poly.part_sum,ink_part P,pen_part,if_true, |
| 63 | Prod.snd_sub,Prod.snd_add,Prod.snd_sum,Pi.sub_apply,Pi.add_apply,Finset.sum_apply] |
| 64 | have h₁ (u : ℂ) : (algebraMap ℂ (Poly R) u).part R.quiet = u := by change (Poly.send _ u).part _ = _; simp |
| 65 | simp_rw [Poly.quiet_mul,h₁,share_quiet] |
| 66 | |
| 67 | theorem dormant (x : Hot R) (h : s∉x.sites) : edited P s D p z F x = D x := by |
| 68 | refine Prod.ext rfl ?_; funext r U; unfold edited supplement; dsimp only; rw [marked_part,if_neg h,add_zero] |
| 69 | |
| 70 | /-- Valid depth-pricing case: s occurs in x but has at least one other |
| 71 | marker with it. -/ |
| 72 | theorem spark (x i : Hot R) (h : s∈x.sites) (hI : i.sites=x.sites.erase s) : |
| 73 | edited P s D p z F x=D x-∑ j∈attaches p z, soloPay (braid p j) (shielded P (braid p j) |
| 74 | (fun v => F v*(D i).2 j v)) := by |
| 75 | have he : dim s x.val=i.val := Subtype.ext hI.symm |
| 76 | apply Prod.ext |
| 77 | · unfold edited soloPay; simp [Prod.fst_sum] |
| 78 | funext r v; unfold edited supplement alteration; dsimp only |
| 79 | rw [marked_part,if_pos h,he] |
| 80 | simp_rw [subtract, Poly.part_plus,Poly.part_sum,pen_part,if_neg (show i.val≠R.quiet from fun he => by |
| 81 | have hp := i.property; rw [he] at hp; exact not_nonempty_empty hp),ink_part P] |
| 82 | have hs c (Y : Poly R) : (algebraMap ℂ _ c *Y).part i.val = c*Y.part i.val := by rw [← Algebra.smul_def]; exact Poly.part_smul .. |
| 83 | have hr (c : ℂ) : (algebraMap ℂ (Poly R) c).part i.val=0 := by |
| 84 | change (Poly.send _ c).part _ = _; rw [Poly.part_send,if_neg]; intro h; obtain hm:=i.property; rw [h] at hm; exact not_nonempty_empty hm |
| 85 | simp_rw [Prod.snd_sub,Prod.snd_sum,Pi.sub_apply,Finset.sum_apply,hs,share_at (R:=R),hr] |
| 86 | simp only [soloPay,shielded, ite_self,ite_apply, Pi.zero_apply,zero_add,sub_eq_add_neg] |
| 87 | end YM.AnalyticNext.GridStop.Alphabet |