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.Bid.Fetch |
| 2 | |
| 3 | /-! |
| 4 | # Episodes for the corrected detectors |
| 5 | |
| 6 | Encode the polynomial before taking roots. Each term of the episode retains |
| 7 | its actual slot indices in the row (even when names agree or are unit |
| 8 | labels). At the cluster end it uses `later`, and at the cutoff end `lift`; |
| 9 | constant terms use the empty word at both ends. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Work.B18 |
| 14 | open Set Filter Function MeasureTheory OS OS.Ground Org Org.Phase Spec Table Word Analysis Extraction Retain Cells Wilson Bid |
| 15 | open scoped Topology NNReal InnerProductSpace BigOperators ContDiff ENNReal |
| 16 | |
| 17 | private structure Monomial (n : ℕ) where |
| 18 | coeff : ℂ |
| 19 | arity : ℕ |
| 20 | slot : Fin arity → Fin n |
| 21 | separate : Injective slot |
| 22 | |
| 23 | private def scalar {n : ℕ} (z : ℂ) : Monomial n := |
| 24 | ⟨z, 0, Fin.elim0, fun _ _ _ => Subsingleton.elim _ _⟩ |
| 25 | |
| 26 | private def unary {n : ℕ} (z : ℂ) (j : Fin n) : Monomial n := |
| 27 | ⟨z, 1, fun _ => j, fun _ _ _ => Subsingleton.elim _ _⟩ |
| 28 | |
| 29 | private def binary {n : ℕ} (z : ℂ) (j x : Fin n) (h : j < x) : Monomial n := by |
| 30 | refine ⟨z, 2, ![j, x], ?_⟩ |
| 31 | intro a b e |
| 32 | fin_cases a <;> fin_cases b <;> simp_all [h.ne, Ne.symm h.ne] |
| 33 | |
| 34 | variable {G : Gauge} {C : Family G} {F : Order} {S : Table C.book} |
| 35 | {V : Chamber S timeAxis} {d : ℕ} {X : Columns C S d} |
| 36 | (Q : X.Trials) (K : Columns.Trials.Valid F Q) (A : Spread V) |
| 37 | (k : ℕ) (i : Fin X.amount) (c : Fin (X.dim+1)) |
| 38 | (j x : Fin ((X.row i).extra+1)) |
| 39 | |
| 40 | /-- Use subwords on exactly Q's mesh, and keep actual and limiting |
| 41 | coefficients coupled by `K.responds`. -/ |
| 42 | private def enact {m : ℕ} (P : Fin m → Monomial ((X.row i).extra+1)) : |
| 43 | Episode C F (Q.depth k) where |
| 44 | num := m |
| 45 | factor l := (P l).coeff |
| 46 | image l := (P l).arity |
| 47 | seats l s := Q.mark k i ((P l).slot s) |
| 48 | gen l a := (show Injective _ from K.generic k i a).comp (P l).separate |
| 49 | weight _ _ := d |
| 50 | point l s := Q.later k (Columns.Trials.names (X:=X) i c ((P l).slot s)) |
| 51 | current l s N p := Q.lift k N p (Columns.Trials.names (X:=X) i c ((P l).slot s)) |
| 52 | views _ _ := K.responds k _ |
| 53 | |
| 54 | private lemma within_subtract (b N p : ℕ) (h : b ≤ N) |
| 55 | (u : Interior ((center C.S p h 0).chamber 0) (Q.weigh k N p i c j)) : |
| 56 | Interior ((center C.S p h 0).chamber 0) (Q.subtract1 k N p i c j) := by |
| 57 | unfold Columns.Trials.subtract1 |
| 58 | simpa only [sub_eq_add_neg] using |
| 59 | u.plus (Interior.constant _ (-Q.singleton k i c j)) |
| 60 | |
| 61 | include K in |
| 62 | private lemma first_send (H : Theme V A) : |
| 63 | Sends A F (Q.width k) (Q.depth k) (Q.gap k) (Δone Q A k i c j) := by |
| 64 | let E := enact Q K k i c ![unary 1 j, scalar (-Q.singleton k i c j)] |
| 65 | refine ⟨E, ?cluster, ?sold⟩ |
| 66 | case cluster => |
| 67 | simp only [E, Episode.cluster, enact] |
| 68 | change |
| 69 | (1:ℂ) • atOne A (plant Q k i c j) + |
| 70 | ((-Q.singleton k i c j) • M A [] (locations.mpr (by simp)) + 0) |
| 71 | = Δone Q A k i c j |
| 72 | rw [H.vacant, add_zero, neg_smul, one_smul, Δone, sub_eq_add_neg] |
| 73 | case sold => |
| 74 | have bill (N p) : E.cuts N p 0 = Q.subtract1 k N p i c j := by |
| 75 | funext v |
| 76 | simp only [E, Episode.cuts, enact, add_zero] |
| 77 | change |
| 78 | 1*(Q.weigh k N p i c j v * 1) + ((-Q.singleton k i c j)*1 + 0) = _ |
| 79 | rw [one_mul, mul_one, mul_one, add_zero, Columns.Trials.subtract1, sub_eq_add_neg] |
| 80 | intro ε he |
| 81 | have hc := K.cheap k ε he |
| 82 | unfold Order.late at hc ⊢ |
| 83 | refine hc.mono fun l hl => hl.mono fun m hm => ?_ |
| 84 | obtain ⟨h,u⟩ := hm |
| 85 | refine ⟨(Q.window k).trans h, ?_⟩ |
| 86 | simp only [bill] |
| 87 | exact ⟨within_subtract Q k i c j _ _ _ _ (u i c j).1, (u i c j).2.1⟩ |
| 88 | |
| 89 | private lemma second_send (H : Theme V A) (hj : j<x) : |
| 90 | Sends A F (Q.width k) (Q.depth k) (Q.gap k) (Δtwo Q K A k i c j x hj) := by |
| 91 | let a := Q.singleton k i c j |
| 92 | let b := Q.singleton k i c x |
| 93 | let r := Q.cumulant k i c j x |
| 94 | let E := enact Q K k i c ![binary 1 j x hj, unary (-a) x, unary (-b) j, scalar (b*a-r)] |
| 95 | refine ⟨E, ?cluster, ?sold⟩ |
| 96 | case cluster => |
| 97 | simp only [E, Episode.cluster, enact] |
| 98 | change |
| 99 | (1:ℂ) • M A _ (Retain.apart Q K k i c j x hj) + |
| 100 | ((-a) • atOne A (plant Q k i c x) + |
| 101 | ((-b) • atOne A (plant Q k i c j) + |
| 102 | ((b*a-r) • M A [] (locations.mpr (by simp)) + 0))) |
| 103 | = Δtwo Q K A k i c j x hj |
| 104 | rw [H.vacant] |
| 105 | simp only [Δtwo, a, b, r, one_smul, neg_smul, add_zero, sub_eq_add_neg, add_assoc] |
| 106 | case sold => |
| 107 | have bill (N p) : E.cuts N p 0 = Q.subtract2 k N p i c j x := by |
| 108 | funext v |
| 109 | simp only [E, Episode.cuts, enact, add_zero] |
| 110 | let J := Q.weigh k N p i c j v |
| 111 | let Z := Q.weigh k N p i c x v |
| 112 | change |
| 113 | 1*(J*(Z*1)) + ((-a)*(Z*1) + ((-b)*(J*1) + ((b*a-r)*1 + 0))) |
| 114 | = (J-a)*(Z-b)-r |
| 115 | ring |
| 116 | intro ε he |
| 117 | have hc := K.cheap k ε he |
| 118 | unfold Order.late at hc ⊢ |
| 119 | refine hc.mono fun l hl => hl.mono fun m hm => ?_ |
| 120 | obtain ⟨h,u⟩ := hm |
| 121 | refine ⟨(Q.window k).trans h, ?_⟩ |
| 122 | simp only [bill] |
| 123 | refine ⟨?_, (u i c j).2.2 x hj⟩ |
| 124 | have uj := within_subtract Q k i c j _ _ _ _ (u i c j).1 |
| 125 | have ux := within_subtract Q k i c x _ _ _ _ (u i c x).1 |
| 126 | unfold Columns.Trials.subtract2 |
| 127 | simpa only [sub_eq_add_neg] using |
| 128 | (uj.times ux).plus (Interior.constant _ (-Q.cumulant k i c j x)) |
| 129 | |
| 130 | theorem answer : YM.Bid.B18 := by |
| 131 | intro G C F S s V A H d X Q K |
| 132 | exact ⟨fun k i c j => first_send Q K A k i c j H, |
| 133 | fun k i c j x hj => second_send Q K A k i c j x H hj⟩ |
| 134 | end YM.Work.B18 |