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.Grouping.Birth |
| 2 | import YM.OPE.Grouping.Compose |
| 3 | |
| 4 | /-! # Group many pairs etc along replication cells -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.MergeProof.Ribbons.ManyCopies |
| 8 | open Function Filter Lattice RG Pressure Wilson Finset MeasureTheory |
| 9 | open Push Marker Accent Ribbon Local Menu Extra.Histories Motion Merge PhysicalNext.Repeat Lotus |
| 10 | open Extra.Multi GridApprox.Nil |
| 11 | open Extra.Trajectories MergeProof.Float |
| 12 | open scoped Topology BigOperators Classical |
| 13 | variable {V I J Y : Type}[Fintype V][DecidableEq V][Fintype I][DecidableEq I] |
| 14 | [Fintype J][DecidableEq J][Fintype Y][DecidableEq Y]{G:Gauge}{n:Side}{R:Rep G n} |
| 15 | {u : (V × I)→ℂ}{a:V→Equiv.Perm V}{x:V→Site n}{m:V→Motion}{U V' : Type} |
| 16 | |
| 17 | def partialGroup (V : Type) (L:Fibers I J) : Fibers (V×I) (V×J) := |
| 18 | ⟨fun i => (i.1,L.bunch i.2), fun i => (i.1,L.twig i.2), fun i=>Prod.ext rfl (L.sectioned i.2)⟩ |
| 19 | def finishGroup (V : Type) (i:I) : Fibers (V×I) V := ⟨Prod.fst,fun v=>(v,i),fun _=>rfl⟩ |
| 20 | def district (v:V)(I:Type) : Set (V×I) := {i| i.1=v} |
| 21 | |
| 22 | lemma contentP (L:Fibers I J) (v:V)(j:J): |
| 23 | ((partialGroup V L).contents (v,j))=(L.contents j).image (fun i=>(v,i)) := by |
| 24 | ext i; rw [Fibers.focuses,mem_image]; constructor |
| 25 | · intro h; refine ⟨i.2,(L.focuses ..).2 (congr_arg Prod.snd h),Prod.ext (congr_arg Prod.fst h).symm rfl⟩ |
| 26 | rintro ⟨i,hi,rfl⟩; exact Prod.ext rfl ((L.focuses ..).1 hi) |
| 27 | lemma contentF (v:V)(i:I):(finishGroup V i).contents v=univ.image (fun t:I=>(v,t)) := by |
| 28 | ext t; rw [Fibers.focuses,mem_image]; constructor |
| 29 | · intro h; exact ⟨t.2,mem_univ _,Prod.ext h.symm rfl⟩ |
| 30 | rintro ⟨i,-,rfl⟩; rfl |
| 31 | |
| 32 | lemma district_iff (u:V)(p:(Names V I).Mode): (p.val:Set (V×I))⊆ district u I ↔ Focused u p:=by |
| 33 | unfold Focused; change _↔ p.val.image _⊆{u}; rw [image_subset_iff]; simp [district, Set.subset_def] |
| 34 | lemma Focus_collapse {L:Fibers (V×I) Y}{s:Set Y}{v:V}(h:∀ i:V×I,L.bunch i∈s↔i∈district v I) (p:(Names V I).Mode) : L.Focus s p ↔ Focused v p:=by |
| 35 | rw [← district_iff]; unfold Fibers.Focus Fibers.span; rw [coe_image,Set.image_subset_iff,show L.bunch ⁻¹' s = district v I from Set.ext h] |
| 36 | |
| 37 | variable {Δ : Fibers (V×I) Y} (S : Fibers.Salt Y (V×I) Δ G n) |
| 38 | lemma familyOf {C G':Set Y}{b:Equiv.Perm Y} {v w:V}{a:Equiv.Perm V}{x:Site n}{m:Motion}{t:ℝ} |
| 39 | (h: (Δ).Permutes (nome a) b)(hx:a v=w) |
| 40 | (he:∀ i, Δ.bunch i∈C ↔ i.1=v) (he':∀ i,Δ.bunch i∈ G'↔ i.1=w) |
| 41 | (hj:∀ i:I,S.grain (w,i)=affine m.1 x (S.grain (v,i)) ∧ S.pepper (w,i)=scalar m (S.pepper (v,i))) |
| 42 | (hz:∀ U,(∀ i,Harm v a m (S.air i (pull m.1 x U)) (S.air (sky m x i) U))∧(∀ i,Harm v a m (S.river i (pull m.1 x U)) (S.river (puff m x i) U))) : |
| 43 | Fibers.CopyFamily S t m x C G' (nome a) b := by |
| 44 | refine ⟨h,fun i=>?_,?_,?_,fun p hp i U=>?_,fun p hp i U=>?_⟩ |
| 45 | · obtain ⟨j,rfl⟩:=Δ.sectioned.surjective i; rw [← h.run,he,he',← hx]; exact a.injective.eq_iff |
| 46 | · rintro ⟨u,i⟩ hp; obtain rfl : u=v:= (he _).1 hp; rw [show nome a (u,i)=(w,i) from Prod.ext hx rfl]; exact (hj i).1 |
| 47 | · rintro ⟨u,i⟩ hp; obtain rfl : u=v:= (he _).1 hp; rw [show nome a (u,i)=(w,i) from Prod.ext hx rfl]; exact (hj i).2 |
| 48 | · exact (hz U).1 i p ((Focus_collapse (v:=v) he p).1 hp) |
| 49 | exact (hz U).2 i p ((Focus_collapse (v:=v) he p).1 hp) |
| 50 | |
| 51 | variable {g:(V×I) → Config G n→ℂ} {k:(V×I)→ℕ → Config G n→ℂ} {μ:(V×I)→Site n} {v:V} {P:Config G n→ Poly (Names V I)} {η T Z w c q b d α z : ℝ} |
| 52 | (H : ℕ) (L:Fibers (V×I) Y) {F:(V×I)→ℝ} {C:Y→ℝ} (s l:ℕ) |
| 53 | set_option quotPrecheck false |
| 54 | local notation "τ" => R.p.threshold |
| 55 | local notation "y!"=> Ribbons.Salt.scent R.p.B s (R.p.supportExponent+c) T η α b |
| 56 | local notation "W₁"=>Fibers.Salt.tow F (R.p.supportExponent+c) (η/H) l |
| 57 | variable (A:Arsenal R)(hA:Arc R g k P v m x a μ F (R.p.supportExponent+c) (R.p.supportExponent+q) α b w u) |
| 58 | -- use hW as in mutation, mustn't lose mirror consistency. |
| 59 | (hr:R.activities.Valid R.p z d)(hP:∀ i,i≠v→∀ j:I,μ (i,j)=affine (m i).1 (x i) (μ (v,j))∧ u (i,j)=scalar (m i) (u (v,j))) |
| 60 | (hw:∀ i,0<F i)(hv:Occupancy μ s)(ht:0≤T)(hy:∀ i,F i*‖u i‖ ≤ T)(hX:0<η)(hY:η≤1)(hc:0≤ c)(hq:c≤ q) |
| 61 | (hH:0<H)(hF:∀ i:Y,(L.contents i).card ≤ H)(hS:∀ i:V×I,coverNumber R.p.B ({μ (L.twig (L.bunch i)),μ i}:Support n) ≤ l) |
| 62 | (hit:∀ U,R.eval U≠0)(hu:∀ i,C i=∏ j∈L.contents i,Fibers.Salt.tow F (R.p.supportExponent+c) (η/H) l j) |
| 63 | -- note notation hidden R, expand for variable headings later |
| 64 | (hJ: ((R.p.B + R.p.B + 1 : ℕ):ℝ)^4*(Ribbons.Salt.scent R.p.B s (R.p.supportExponent+c) T η α b) ≤ c) |
| 65 | (hξ: Real.exp (Ribbons.Salt.scent R.p.B s (R.p.supportExponent+c) T η α b)-1≤ Z) |
| 66 | |
| 67 | include A hA hr hP hw hv ht hy hX hY hc hq hH hF hS hit hu hJ hξ |
| 68 | lemma publish : ∃ (k:Y→ℕ → Config G n→ℂ) (h:Support n → Config G n → Poly (Names V I)) (K:Box n → Config G n→Poly (Names V I)), |
| 69 | let S : Fibers.Salt Y (V×I) L G n := ⟨μ,u,h,K⟩ |
| 70 | S.Birth P k C R Z ∧ Horn v m x a h K := by |
| 71 | obtain ⟨F',K,ψ,hΨ,-,hF',hK,hF'',hK',hp,hZ,-,rfl⟩ := hA.see |
| 72 | let S:Fibers.Salt Y (V×I) L G n:= ⟨μ,u,F',K⟩ |
| 73 | obtain ⟨k,hk⟩:= S.materialize s l η T Z H hH A (⟨hF'',hK'⟩:S.Breeze (τ)) hr hZ hw hv ht hy R.p.B_pos hX hY hS hc hF' (hK.shrink (by linarith only [hq]) le_rfl hw) hF hit hu hJ hξ |
| 74 | exact ⟨k,F',K,hk,hp⟩ |
| 75 | |
| 76 | omit hF hS hu in |
| 77 | lemma partialFuse {L₀:Fibers I J}{C':(V×J)→ℝ} (hF:∀ i:V×J,((partialGroup V L₀).contents i).card ≤ H) |
| 78 | (hS:∀ i:V×I,coverNumber R.p.B ({μ ((partialGroup V L₀).twig ((partialGroup V L₀).bunch i)),μ i}:Support n) ≤ l) |
| 79 | (hu:∀ i,C' i=∏ j∈(partialGroup V L₀).contents i,W₁ j) : |
| 80 | let o := μ ∘ (partialGroup V L₀).twig |
| 81 | ∃ g:(V×J) → Config G n→ℂ, ∃ k:(V×J)→ℕ → Config G n→ℂ, |
| 82 | Serves R g (fun i=>profile R.activities (k i)) (fun U=>Fibers.reap (partialGroup V L₀) (P U)) v m x a o C' R.p.supportExponent Z ∧ |
| 83 | (∀ i,Dominated (k i) ∧ Blade R (o i) (g i) (profile R.activities (k i)) 0 (4*(Z/C' i))) ∧ May v m x a g (fun i=>profile R.activities (k i)) 0 := by |
| 84 | -- `omit` section vars |
| 85 | obtain ⟨k,h,K,hB,hp⟩ := publish (k:=k) (g:=g) H _ s l A hA hr hP hw hv ht hy hX hY hc hq hH hF hS hit hu hJ hξ |
| 86 | intro o; let Y:Fibers.Salt (V×J) (V×I) (partialGroup V L₀) G n:= ⟨μ,u,h,K⟩ |
| 87 | have hb:Y.Birth P k C' R Z:= hB |
| 88 | have he(i:V)(hi:i≠v) : Fibers.CopyFamily Y τ (m i) (x i) (district v J) (district i J) (nome (a i)) (nome (a i)):= |
| 89 | familyOf Y (default_perm (a i)) (hp i hi).1 (fun _=> Iff.rfl) (fun _=> Iff.rfl) (hP i hi) (hp i hi).2 |
| 90 | refine ⟨Y.debt τ,k,?_,hb.foot,?_⟩ |
| 91 | · refine ⟨_, _, hb.meets,hb.arc,hb.pots,fun i hi=> ⟨(hp i hi).1,fun U=> ?_⟩,hb.equal⟩ |
| 92 | have hK(t:(Names V J).Mode)(hz:Focused v t):= (he i hi).twines U t ((district_iff ..).2 hz) |
| 93 | exact ⟨fun j=> Harps (fun p ht=> (hK p ht).1 j),fun j=> Harps (fun p ht=> (hK p ht).2 j)⟩ |
| 94 | intro i hi; refine ⟨(hp i hi).1,fun j =>?_⟩; have hx:= hb.travels (he i hi) (show (v,j)∈district v J from rfl); rw [show nome (a i) (v,j)=(i,j) from Prod.ext (hp i hi).1 rfl] at hx; exact ⟨hx.1,hx.2,(scalar_z _).symm⟩ |
| 95 | where default_perm (a:Equiv.Perm V): Fibers.Permutes (partialGroup V L₀) (nome a) (nome a):=⟨fun _=>rfl,fun _=>rfl⟩ |
| 96 | |
| 97 | omit hF hS hu in |
| 98 | lemma terminalFuse {i₀:I}{C':V→ℝ} (hF:∀ i:V,((finishGroup V i₀).contents i).card ≤ H) |
| 99 | (hS:∀ i:V×I,coverNumber R.p.B ({μ (i.1,i₀),μ i}:Support n) ≤ l) |
| 100 | (hu:∀ i,C' i=∏ j∈(finishGroup V i₀).contents i,W₁ j) : |
| 101 | let o := μ ∘ (finishGroup V i₀).twig |
| 102 | ∃ g:V → Config G n→ℂ, ∃ k:V→ℕ → Config G n→ℂ, |
| 103 | Served R g (fun i=>profile R.activities (k i)) (fun U=>Fibers.reap (finishGroup V i₀) (P U)) o C' R.p.supportExponent Z ∧ |
| 104 | (∀ i,Dominated (k i) ∧ Blade R (o i) (g i) (profile R.activities (k i)) 0 (4*(Z/C' i))) ∧ |
| 105 | (∀ i,i≠v→ g i=stepUp (m i) (x i) (g v) ∧ |
| 106 | profile R.activities (k i)=floatUp (m i) (x i) (profile R.activities (k v))) := by |
| 107 | obtain ⟨k,h,K,hB,hp⟩ := publish (k:=k) (g:=g) H _ s l A hA hr hP hw hv ht hy hX hY hc hq hH hF hS hit hu hJ hξ |
| 108 | intro o; let Y:Fibers.Salt V (V×I) (finishGroup V i₀) G n:= ⟨μ,u,h,K⟩ |
| 109 | have hb:Y.Birth P k C' R Z:= hB |
| 110 | have he(i:V)(hi:i≠v) : Fibers.CopyFamily Y τ (m i) (x i) ({v}:Set V) {i} (nome (a i)) (a i) := |
| 111 | familyOf Y (default_perm (a i)) (hp i hi).1 (fun _=> Iff.rfl) (fun _=> Iff.rfl) (hP i hi) (hp i hi).2 |
| 112 | refine ⟨Y.debt τ,k,hb.served,hb.foot,?_⟩ |
| 113 | intro i hi; have hx:= hb.travels (he i hi) (Set.mem_singleton v); rw [(hp i hi).1] at hx; exact hx |
| 114 | where default_perm (a:Equiv.Perm V): Fibers.Permutes (finishGroup V i₀) (nome a) a:=⟨fun _=>rfl,fun _=>rfl⟩ |
| 115 | end YM.MergeProof.Ribbons.ManyCopies |