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.OPE.Splitting.Needle |
| 2 | |
| 3 | /-! |
| 4 | # Shared prescription over all horizons |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.OPE.Prescription |
| 9 | open Function Table Finset |
| 10 | open scoped Topology BigOperators Classical ContDiff |
| 11 | variable {G: Gauge}{L:Register G}{S:Table L}{P:DiffPlan S}{m n : ℕ} |
| 12 | variable {U V W : Prescription P} (h:S.Symmetric)(hp:P.Inclusions S) |
| 13 | lemma shrink (h:Extends m U V)(he:n ≤ m): Extends n U V := by |
| 14 | have hp i (hi:i∈ bands P n):i∈ bands P m:= (full_bands ..).2 (((full_bands ..).1 hi).trans he); exact ⟨fun i hi=>h.needle i (hp i hi),fun i hi=>h.sheet i (hp i hi)⟩ |
| 15 | lemma Extends.symmetric (h: Extends n U V) : Extends n V U := ⟨fun i hi=> (h.needle i hi).symm, fun i hi=> (h.sheet i hi).symm⟩ |
| 16 | lemma Extends.travels (h:Extends n U V)(hp:Extends n V W): Extends n U W :=⟨fun i hi=> (h.needle i hi).trans (hp.needle i hi),fun i hi=>(h.sheet i hi).trans (hp.sheet i hi)⟩ |
| 17 | include h hp |
| 18 | private abbrev Trail (P:DiffPlan S)(n:ℕ):= {x:Prescription P//SignedOff n x} |
| 19 | private lemma staircase (n) (x:Trail P n):∃ y:Trail P (n+1),Extends n x.val y.val:=by obtain ⟨v,hv,hs⟩:= nextRows h hp _ x.property; exact ⟨⟨v,hs⟩,hv⟩ |
| 20 | theorem chosen : ∃ V: Prescription P, Coherent V:=by |
| 21 | obtain ⟨x,hx⟩:= startRows h hp |
| 22 | let u: (n:ℕ) → Trail P n := fun n=> Nat.rec (motive:=fun n=> Trail P n) ⟨x,hx⟩ (fun i v=> (staircase h hp i v).choose) n |
| 23 | have hv i : Extends i (u i).val (u (i+1)).val:=(staircase h hp i (u i)).choose_spec |
| 24 | have he (i j:ℕ)(hi:i ≤ j): Extends i (u i).val (u j).val:=by |
| 25 | induction hi with |
| 26 | | refl=> exact ⟨fun i _=> rfl,fun i _=> rfl⟩ |
| 27 | | step hi ih=> exact ih.travels (shrink (hv _) hi) |
| 28 | let L:Prescription P := ⟨fun i=>(u i.fst).val.needle i,fun i=> (u i.fst).val.sheet i⟩ |
| 29 | refine ⟨L,fun i=>?_⟩; apply SignedOff.of_extends (u i).property; refine Extends.symmetric ⟨fun a ha=> ?_, fun a ha=>?_⟩ |
| 30 | exacts [(he a.fst i ((full_bands ..).1 ha)).needle _ ((full_bands ..).mpr le_rfl), |
| 31 | (he a.fst i ((full_bands ..).1 ha)).sheet _ ((full_bands ..).mpr le_rfl)] |
| 32 | lemma highVan (hU:Coherent U) (x:Mode P)(he:n<x.fst) (a:S.Field n): U.test x n a=0:=by |
| 33 | let f:=x.fst; let R:=P.rise he.le |
| 34 | rw [← (hU n).rebuilds a,map_sum] |
| 35 | refine sum_eq_zero fun i hi=> ?_; have hx:= (full_bands ..).1 hi; simp only [map_smul]; rw [← U.affinity h hp x _ he.le, ← U.load_next h hp i hi he.le, (hU f).bothWays x i ((full_bands ..).2 le_rfl) ((full_bands ..).2 (hx.trans he.le)), if_neg (show x≠i from fun ht=> by rw [← ht] at hx; omega), smul_zero] |
| 36 | omit h hp in |
| 37 | /-- Actual filtration basis equivalence at all horizons. -/ |
| 38 | def asBasis (n:ℕ) (hU:Coherent U): S.Field n ≃ₗ[ℂ] ((↑(bands P n):Type)→ℂ) := |
| 39 | { LinearMap.pi (fun i:(↑(bands P n):Type)=> U.test i.val n) with |
| 40 | invFun := fun f => ∑ i: (↑(bands P n):Type), f i • U.loaded i.val n |
| 41 | left_inv := fun x=> by exact (sum_attach (bands P n) (fun i=> U.test i n x • U.loaded i n)).trans ((hU n).rebuilds x) |
| 42 | right_inv := fun f=> funext fun i=> by |
| 43 | change U.test (↑i) n (∑ j:(↑(bands P n):Type), f j • U.loaded j.val n)=_; simp only [map_sum,map_smul]; rw [sum_eq_single i]; simp [-cost,(hU n).bothWays i.val i.val i.property i.property] |
| 44 | · intro j _ h; simp [-cost,(hU n).bothWays i.val j.val i.property j.property,show i.val ≠ j.val from Subtype.val_injective.ne h.symm] |
| 45 | simp } |
| 46 | end YM.OPE.Prescription |