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.Next.RANK.Escape |
| 2 | |
| 3 | /-! |
| 4 | # Correct before computing corrected coefficients |
| 5 | |
| 6 | Address D lives on a particular cell footprint currently; only when its complete |
| 7 | mask succeeds there is this part of a regular exponent. `clips` factors the |
| 8 | rest of that exponent without loss at mask jumps. Used per W entry in the corrected |
| 9 | geometry. All statements here are about THE COMPLETE polynomial. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Next.Rank.Shift |
| 14 | open Lattice Wilson RG Finset MeasureTheory Marker Value Glyph EntryWord Exponential |
| 15 | open scoped BigOperators Classical |
| 16 | |
| 17 | variable {G : Gauge} {n : Side} {V : Type*} [DecidableEq V] [Fintype V] {ζ : V → Site n} {τ : ℝ} |
| 18 | |
| 19 | variable (W : SourceAt G ζ) (d : ℂ) |
| 20 | -- one connected W entry; d SIGNED correction. Shift on good. |
| 21 | |
| 22 | def reg : SourceAt G ζ where |
| 23 | extent := W.extent |
| 24 | fires := W.fires |
| 25 | chosen := W.chosen |
| 26 | remembers := W.remembers |
| 27 | value := fun U => W.value U + d |
| 28 | meas := W.meas.add measurable_const |
| 29 | loc := fun U V h => congr_arg (·+d) (W.loc U V h) |
| 30 | inv := fun k U => congr_arg (·+d) (W.inv k U) |
| 31 | |
| 32 | def fail (τ) : Refusal G ζ τ where |
| 33 | extent := W.extent |
| 34 | fires := W.fires |
| 35 | chosen := W.chosen |
| 36 | remembers := W.remembers |
| 37 | value := fun U => if Healthy τ W.extent U then 0 else d |
| 38 | meas := Measurable.ite (healthy_closed τ W.extent).measurableSet measurable_const measurable_const |
| 39 | refuses U hn H := hn (if_pos H) |
| 40 | only := by intro U V _ h; simp only [Healthy,Finset.disjoint_iff_inter_eq_empty,h] |
| 41 | inv := by intro k U; simp only [Healthy, gauge_flags]; split_ifs <;> rfl |
| 42 | |
| 43 | lemma mon (a t : ℂ) : Poly.send W.fires a + Poly.send W.fires t= Poly.send W.fires (a+t) := by |
| 44 | ext v; rw [Poly.part_plus]; simp only [Poly.part_send]; split_ifs <;> simp |
| 45 | |
| 46 | lemma clips (U) (τ) : Poly.send W.fires d + W.amount τ U = (reg W d).amount τ U + (fail W d τ).amount U := by |
| 47 | unfold reg SourceAt.amount Refusal.amount fail; dsimp only |
| 48 | by_cases h : Healthy τ W.extent U |
| 49 | · rw [if_pos h,masked_eq _ _ _ U h,masked_eq _ _ _ _ h,Poly.send_zero, add_zero,add_comm]; exact mon W .. |
| 50 | rw [if_neg h,masked_ne _ _ _ _ h,masked_ne _ _ _ _ h,add_comm] |
| 51 | |
| 52 | lemma nils (z : ℂ) : (Poly.send W.fires z).part (quiet _) = 0 := by |
| 53 | simp only [Poly.part_send]; apply if_neg; exact fun h => W.chosen.ne_empty (Subtype.ext_iff.mp h.symm) |
| 54 | |
| 55 | lemma one (τ) (U) : Poly.pass ((fail W d τ).amount U) = (fail W d τ).amount U + 1 := by |
| 56 | let x := (fail W d τ).amount U |
| 57 | have hi : x.part (quiet _) = 0 := nils W _ |
| 58 | have h : x^2=0 := by |
| 59 | dsimp only [x,Refusal.amount]; rw [sq,plate_pair]; exact if_neg (fun H => Finset.disjoint_left.mp H W.chosen.choose_spec W.chosen.choose_spec) |
| 60 | change Poly.pass x=_ |
| 61 | rw [pass_extend hi (Fintype.card V+1) (by omega),sum_range_succ',sum_range_succ'] |
| 62 | have he (i : ℕ) : x^(i+1+1)=0 := by rw [show i+1+1=i+2 from rfl,pow_add,h,mul_zero] |
| 63 | simp_rw [he]; simp [x] |
| 64 | |
| 65 | variable {κ α β : Type*} [DecidableEq κ] [Fintype κ] [Fintype α] [DecidableEq β] [Fintype β] |
| 66 | variable (D : Rep G n) (K : κ → Lifted G ζ D.p.threshold) |
| 67 | |
| 68 | -- Complete output after correction. Includes right refusals on bad domains. |
| 69 | lemma made (H : α → SourceAt G ζ) (P : β → SourceAt G ζ) (C : β → ℂ) (U : Config G n) : |
| 70 | Poly.pass (∑ i, Poly.send (P i).fires (C i))*dust D (Sum.elim H P) K U= |
| 71 | dust D (Sum.elim H (fun i => reg (P i) (C i))) (merged K (fun i => fail (P i) (C i) D.p.threshold)) U := by |
| 72 | let f : β → Refusal G ζ D.p.threshold := fun i => fail (P i) (C i) D.p.threshold |
| 73 | let h : β → SourceAt G ζ := fun i => reg (P i) (C i) |
| 74 | let e : κ → Lifted G ζ D.p.threshold := K |
| 75 | let S := fun X : SourceAt G ζ => X.amount D.p.threshold U |
| 76 | let X := ∑ i, S (H i) |
| 77 | let Y := ∑ i,S (h i) |
| 78 | have hx (x : SourceAt G ζ) : (S x).part (quiet _)=0 := nils x _ |
| 79 | let Vq := fun i => (f i).amount U |
| 80 | let M := ∑ i,Poly.send (P i).fires (C i) |
| 81 | have he : M + (X + ∑ i,S (P i)) = (X+Y)+∑ i,Vq i := by |
| 82 | rw [add_left_comm, add_assoc X, ← sum_add_distrib, show Y=∑ i, S (reg (P i) (C i)) from rfl,← sum_add_distrib] |
| 83 | congr 1; apply sum_congr rfl; intro i _; exact clips (P i) (C i) U D.p.threshold |
| 84 | have hf i : (Vq i).part (quiet _) = 0 := nils (P i) _ |
| 85 | have ha : M.part (quiet _)=0 := by simp only [M,Poly.part_sum]; exact sum_eq_zero fun i _ => nils _ _ |
| 86 | have hb : X.part (quiet _)=0 := by simp only [X,Poly.part_sum]; exact sum_eq_zero fun i _ => hx _ |
| 87 | have hc : (∑ i,S (P i)).part (quiet _)=0 := by rw [Poly.part_sum]; exact sum_eq_zero fun i _ => hx _ |
| 88 | have hd : Y.part (quiet _)=0 := by simp only [Y,Poly.part_sum]; exact sum_eq_zero fun i _ => hx _ |
| 89 | have hn := coins K f U |
| 90 | simp_rw [dust,Fintype.sum_sum_type,Sum.elim_inl,Sum.elim_inr]; rw [mul_smul_comm] |
| 91 | apply congr_arg (fun x : veil V => (Real.exp (D.exponent U):ℂ) • x) |
| 92 | change Poly.pass M*(Poly.pass (X+∑ i, S (P i))*_) = Poly.pass (X+Y)*∑ i,Lifted.pack (merged K f) i U |
| 93 | rw [← mul_assoc,← pass_add _ _ ha (by simp [hb,hc]), he, pass_add _ _ (by simp [hb,hd]) (by rw [Poly.part_sum]; exact sum_eq_zero fun i _ => hf i), |
| 94 | pass_sum _ _ (fun i _ => hf i),← hn,mul_assoc,mul_comm (∏ i, Poly.pass (Vq i))] |
| 95 | congr 2; apply prod_congr rfl; intro i _; exact one (P i) (C i) D.p.threshold U |
| 96 | end YM.Next.Rank.Shift |