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.TraceExtension.Cask.Tagged |
| 2 | set_option autoImplicit false |
| 3 | set_option linter.unusedSectionVars false |
| 4 | noncomputable section |
| 5 | namespace YM.Trace.Cask |
| 6 | open RG Lattice Ac MergeProof Finset MergeProof.Accent Marker Extra.Trajectories Function |
| 7 | open scoped Classical |
| 8 | variable {I V:Type*}[DecidableEq I][DecidableEq V]{n:Side}[Fintype V] |
| 9 | variable (P:Staff V I n) |
| 10 | lemma spawn (s:Finset (Finset I)){F:Finset I→Prop}(h:∀ i∈s,F i): ∃ v:Finset {i// F i},beadsP v=s:=by |
| 11 | refine ⟨s.subtype F,?_⟩; ext i; constructor |
| 12 | · intro he; obtain ⟨i,hi,rfl⟩:= mem_image.mp he; exact mem_subtype.mp hi |
| 13 | intro hi; exact mem_image.mpr ⟨⟨i,h i hi⟩,mem_subtype.mpr hi,rfl⟩ |
| 14 | def swarm (F: Finset I→ℂ)(T:Support n)(v:Finset I):= if Basic P T v then shipP (crew P v) (F v) else 0 |
| 15 | variable {P} {s:Finset I} {T:Support n} {i:Finset (Stiff P)} {b: Finset (Arch P)} {L: Finset I→ℂ} |
| 16 | lemma brood (h:Haven P T (beadsP i) (beadsP b))(h':L (grab i b)=∏ p∈dispel i b,L p) (hp:∀ q, L q≠0→∀ j∈q,P.pole j∩T=P.flag j): booth P L T i b=swarm P L T (grab i b):=by |
| 17 | rw [booth_shares h,← h']; unfold swarm; by_cases he: L (grab i b)=0 |
| 18 | · rw [he,shipP,Poly.send_zero]; split <;> simp[shipP] |
| 19 | rw [if_pos (h.compact (hp _ he))] |
| 20 | lemma cubed (hp:∀ q, L q≠0→∀ j∈q,P.pole j∩T=P.flag j) |
| 21 | (hf:∀ (a:Finset (Stiff P))(b:Finset (Arch P)), Haven P T (beadsP a) (beadsP b)→L (grab a b)=∏ p∈dispel a b,L p): |
| 22 | ∑' t:Finset (Stiff P)× Finset (Arch P), booth P L T t.1 t.2= ∑' t:Finset I, swarm P L T t:=by |
| 23 | let Y := fun p:Finset (Stiff P)× Finset (Arch P)=> booth P L T p.1 p.2; let B:=swarm P L T; let R := Function.support Y; let E:=Function.support B |
| 24 | have h(a:R): Haven P T (beadsP a.val.1) (beadsP a.val.2):= booth_up a.property |
| 25 | have hz(a:R): Y a.val=B (grab a.val.1 a.val.2):= brood (h a) (hf _ _ (h a)) hp |
| 26 | let f(a:R):E:= ⟨grab a.val.1 a.val.2, (show B _ ≠0 from fun he=>a.property ((hz a).trans he))⟩ |
| 27 | have hX : Bijective f:=by |
| 28 | refine ⟨fun i j he=>?_,fun i=>?_⟩ |
| 29 | · have hx: grab i.val.1 i.val.2= grab j.val.1 j.val.2:= congr_arg Subtype.val he; have ht:=h i|>.recover; have hu:= h j|>.recover |
| 30 | exact Subtype.ext (Prod.ext (Finset.image_injective Subtype.val_injective (ht.1.symm.trans ((congr_arg (flot P T) hx).trans hu.1))) (Finset.image_injective Subtype.val_injective (ht.2.symm.trans ((congr_arg (base P T) hx).trans hu.2)))) |
| 31 | have he:swarm P L T i.val≠0:= i.property; have hv:Basic P T i.val:= of_not_not fun hh=> he (if_neg hh) |
| 32 | have hx:= hv.splits |
| 33 | obtain ⟨u,hu⟩:=spawn (F:=Ice P) _ (fun t hT=>(hx.ice t hT).1); obtain ⟨y,hy⟩:= spawn (F:=Boat P) _ (fun t hT=>(hx.boat t hT).1) |
| 34 | rw [← hu,←hy] at hx; have hs: grab u y= i.val:=by rw [grab,hu,hy,bulk_id] |
| 35 | have H : Y (u,y)=B i.val:= (brood hx (hf _ _ hx) hp).trans (congr_arg B hs) |
| 36 | exact ⟨⟨(u,y),fun he' => i.property (H.symm.trans he')⟩,Subtype.ext hs⟩ |
| 37 | let e:=Equiv.ofBijective f hX |
| 38 | rw [← tsum_subtype_eq_of_support_subset (s:=R) (f:=Y) Set.Subset.rfl, ← tsum_subtype_eq_of_support_subset (s:=E) (f:=B) Set.Subset.rfl,← e.tsum_eq]; exact tsum_congr fun i=>hz i |
| 39 | |
| 40 | variable (P T L)[Fintype I] |
| 41 | def shell (p:Support n):Poly (Twin V):= cram (f:=fun i:Stiff P=>shipP (crew P i.val) (blue P L T i.val)) (hill P ∘ Subtype.val) p |
| 42 | def cargo (p:Box n):Poly (Twin V):= cram (f:=fun i:Arch P=>shipP (crew P i.val) (red P L T i.val)) (Pier P) p |
| 43 | lemma emerge (hp:∀ q, L q≠0→∀ j∈q,P.pole j∩T=P.flag j) |
| 44 | (hf:∀ (a:Finset (Stiff P))(b:Finset (Arch P)), Haven P T (beadsP a) (beadsP b)→L (grab a b)=∏ p∈dispel a b,L p): |
| 45 | Poly.pass (∑ i:Support n, shell P T L i) * Accent.field (cargo P T L) T= ∑ t, swarm P L T t:=by |
| 46 | let H:=fun i:Stiff P=> blue P L T i.val; let K:=fun i:Arch P=>red P L T i.val |
| 47 | let b:= fun i : Stiff P=> spanZ (crew P i.val); let f:=fun i:Stiff P=> Poly.send (b i) (H i) |
| 48 | have he:∑ i:Support n,shell P T L i=∑ i,f i:=by |
| 49 | have hp:= Accent.border (hill P ∘ Subtype.val) (p:=f) Summable.of_finite |>.tsum_eq; simp only[tsum_fintype] at hp; simp only [shell,cram,tsum_fintype]; exact hp |
| 50 | have hg(i:Stiff P): (b i).val.Nonempty:= Finset.Nonempty.product (Ice.rises P i.property) univ_nonempty |
| 51 | calc |
| 52 | _ = (∑ s:Finset (Stiff P), ∏ i∈s,f i)* ∑ s:Finset (Arch P), Packets.value (Pier P) (Pattern T) (fun i=>shipP (crew P i.val) (K i)) s:= by |
| 53 | rw [he,show (∑ i,f i) =_ from rfl, show Poly.pass (∑ i,f i)=_ from pass_sum univ b (fun i _=>hg i) H,prod_one_add]; unfold cargo; rw[field_eq (Pier P) T _ Summable.of_finite Summable.of_finite,tsum_fintype,Finset.powerset_univ] |
| 54 | _ = _ := by |
| 55 | have hx := cubed hp hf; simp only [tsum_fintype] at hx; rw [← hx,Fintype.sum_prod_type,sum_mul]; simp_rw [mul_sum]; rfl |
| 56 | end YM.Trace.Cask |