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.MergeProof.Endow |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.MergeProof.Accent |
| 5 | open Finset Function Filter Set MeasureTheory Lattice Wilson RG Push Marker Extra.Histories Ac |
| 6 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical ContDiff |
| 7 | variable {V I J Y : Type*}[DecidableEq V] {B:Census V} {G:Gauge}{n:Side} |
| 8 | open GridApprox.Nil |
| 9 | variable {w:V→ℝ} {F:I→Config G n→Poly B} {s:I→Support n} {b:ℕ}{d C t:ℝ}{o:V→Site n} |
| 10 | lemma transit [Countable I] (k:I→J) {r:J→ Support n}(h: ∀ i,Borne o (r (k i)) (F i) t)(he:∀ U,Summable (fun i=>F i U)) (j:J): Borne o (r j) (tally k F j) t:=by |
| 11 | let v := {i // k i=j}; have hh (i:v): Borne o (r j) (F i.val) t:= by obtain ⟨i,e⟩:=i; subst j; exact h _ |
| 12 | have ht U: Summable fun i:v=>F i.val U:= (he U).comp_injective Subtype.val_injective |
| 13 | refine ⟨fun U V hV hx=>tsum_congr (fun i=> (hh i).home U V hV hx),fun g U=>tsum_congr (fun i=> (hh i).turns g U), fun i=>?_,fun U c hx=>?_⟩ |
| 14 | · have he: (fun U=> (tally k F j U).part i)=fun U=>∑' l:v,(F l.val U).part i:=funext fun U=>Poly.share (ht _) i; rw [he]; exact Measurable.tsum (fun j=> (hh j).me i) |
| 15 | unfold tally; rw [Poly.share (ht _)]; exact (tsum_congr (fun i=> (hh i).scope _ c hx)).trans tsum_zero |
| 16 | lemma transitE [Countable I] (k:I→J) {r:J→ Support n}(h: ∀ i,Burns o (r (k i)) (F i) t)(he:∀ U,Summable (fun i=>F i U)) (j:J): Burns o (r j) (tally k F j) t:=by |
| 17 | let v := {i // k i=j}; have hh (i:v): Burns o (r j) (F i.val) t:= by obtain ⟨i,e⟩:=i; subst j; exact h _ |
| 18 | refine { transit k (fun i=>(h i).toBorne) he j with |
| 19 | permits:= fun U hp=>?_ |
| 20 | sil:=fun i=>?_ } |
| 21 | · by_contra hn; exact hp ((tsum_congr (fun i:v=> not_not.mp (mt ((hh i).permits U) hn))).trans tsum_zero) |
| 22 | unfold tally; rw [Poly.share]; exact (tsum_congr (fun j=> (h _|>.sil i))).trans tsum_zero |
| 23 | exact (he i).comp_injective Subtype.val_injective |
| 24 | lemma transitK [Countable I] (k:I→J){r:J→ Box n}(h: ∀ i,Flow o (r (k i)) (F i) t)(he:∀ U,Summable (fun i=>F i U)) (j:J): Flow o (r j) (tally k F j) t:=by |
| 25 | let v := {i // k i=j}; have hh (i:v): Flow o (r j) (F i.val) t:= by obtain ⟨i,e⟩:=i; subst j; exact h _ |
| 26 | refine { transit k (r:=Prod.fst ∘ r) (fun i=>(h i).toBorne) he j with |
| 27 | permits:=fun U hu=>?_ } |
| 28 | by_contra hn; exact hu ((tsum_congr (fun i:v=> not_not.mp (mt ((hh i).permits U) hn))).trans tsum_zero) |
| 29 | lemma room (X:Support n) (o:V→Site n)(p:B.Mode) : ((p.val:Set V) ⊆ {i|o i∈X}) ↔ p.val.image o ⊆ X :=by |
| 30 | constructor |
| 31 | · intro h j hj; obtain ⟨k,hk,rfl⟩:= mem_image.mp hj; exact h hk |
| 32 | intro h i hi;exact h (mem_image_of_mem o hi) |
| 33 | lemma Borne.place {X:Support n}{f:Config G n→Poly B}(h:Borne o X f t)(p:B.Mode)(U)(hp:(f U).part p≠0): p.val.image o ⊆ X:= (room ..).1 (of_not_not fun he=>hp (h.scope U p he)) |
| 34 | end YM.MergeProof.Accent |