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.Extra.MULTISOURCE_TRAJECTORIES.Algebra |
| 2 | import YM.Extra.SOURCE_HISTORIES.Clusters |
| 3 | |
| 4 | |
| 5 | /- generalized from YM.MergeProof.North.Focal to arbitrary arity -/ |
| 6 | |
| 7 | /-! |
| 8 | # Borel merger. Complete pairing, no alternates |
| 9 | |
| 10 | We use `Further.Shell...` slab combinatorics but a separate projection: |
| 11 | PAIR product only, not minting a counter on erasure of any AB. UsesFinal only. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | set_option linter.unusedSectionVars false |
| 15 | noncomputable section |
| 16 | namespace YM.MergeProof.BatchRibbon |
| 17 | variable {slot:Type}[Fintype slot][DecidableEq slot][Inhabited slot] |
| 18 | open Finset Function Marker Extra.Trajectories |
| 19 | open scoped Topology BigOperators Classical |
| 20 | variable {V I J : Type*} [DecidableEq V] [Fintype V] |
| 21 | abbrev Name (V slot :Type*):= V × slot |
| 22 | abbrev Aged (V slot :Type*)[Fintype slot][DecidableEq slot][DecidableEq V][Fintype V]:= Stock.census (Name V slot) |
| 23 | abbrev Bud (V : Type*)[DecidableEq V][Fintype V]:= Stock.census V |
| 24 | |
| 25 | def span (i:(Aged V slot).Mode) : (Bud V).Mode:= ⟨i.val.image Prod.fst,mem_univ _⟩ |
| 26 | def plena (b:(Bud V).Mode) : (Aged V slot).Mode:=⟨b.val×ˢuniv,mem_univ _⟩ |
| 27 | def Pays (i:(Aged V slot).Mode) := i=plena (span i) |
| 28 | lemma spans (i:(Aged V slot).Mode)(j) : j∈(span i).val ↔ ∃ k, (j,k)∈ i.val:=by simp [span,eq_comm] |
| 29 | lemma reband (b:(Bud V).Mode) : span (plena (slot:=slot) b)=b:=by |
| 30 | apply Subtype.ext; ext i; rw [spans]; simp [plena] |
| 31 | lemma worth_iff (i:(Aged V slot).Mode) : Pays i↔ ∀ j∈ (span i).val,∀ k, (j,k)∈i.val:=by |
| 32 | constructor; intro h j hj k; change i=_ at h; nth_rw 1 [h]; simpa [plena] |
| 33 | intro h; apply Subtype.ext; ext ⟨j,k⟩; refine ⟨fun h=> mem_product.mpr ⟨(spans i j).2 ⟨k,h⟩,mem_univ k⟩,fun hh=> h j (mem_product.mp hh).1 k⟩ |
| 34 | |
| 35 | def reap : Poly (Aged V slot)→L[ℂ] Poly (Bud V):= LinearMap.toContinuousLinearMap ({ |
| 36 | toFun:=fun p=>Poly.inject fun s=> p.part (plena s) |
| 37 | map_add':= fun _ _ => Poly.ext fun _=> rfl |
| 38 | map_smul':= fun _ _ => Poly.ext fun _=> rfl } : Poly (Aged V slot) →ₗ[ℂ] Poly (Bud V)) |
| 39 | lemma harvest (i:(Aged V slot).Mode)(a:ℂ) : reap (Poly.send i a)=if Pays i then Poly.send (span i) a else 0:=by |
| 40 | ext1 s; change (Poly.send i a).part (plena s)=_; rw [Poly.part_send]; split |
| 41 | next h=> rw [← h,reband, if_pos (show Pays (plena s) from (by unfold Pays; rw [reband])),Poly.part_send,if_pos rfl] |
| 42 | next h=> split |
| 43 | next he=> rw [Poly.part_send, if_neg (fun (ht:s=span i)=> h (ht.symm ▸ he.symm))] |
| 44 | rfl |
| 45 | lemma combines {q:I→(Aged V slot).Mode} {s:Finset I}(h:Fits q s): (span (unionTag _ _ h)).val=s.biUnion (fun i=>(span (q i)).val):=by |
| 46 | ext; simp only [spans,unionTag,mem_biUnion]; tauto |
| 47 | lemma afford (i:(Aged V slot).Mode)(h:Pays i)(w:Name V slot→ℝ)(u:V→ℝ)(ht:∀ i, u i=∏ k:slot,w (i,k)): Poly.toll w i=Poly.toll u (span i):=by |
| 48 | nth_rw 1 [show i=plena (span i) from h]; unfold Poly.toll plena; rw [prod_product]; exact prod_congr rfl fun j _=>by simpa [ht,mul_comm] |
| 49 | lemma recomp {q:I→(Aged V slot).Mode}{s:Finset I}(h:∀ i∈s,Pays (q i))(A:I→ℂ): reap (∏ i∈s,Poly.send (q i) (A i))=∏ i∈s,Poly.send (span (q i)) (A i):=by |
| 50 | by_cases hv:Fits q s |
| 51 | · have hp:Fits (fun i=>span (q i)) s:=by |
| 52 | refine ⟨fun i hi j hj hz=> disjoint_left.mpr fun k hk he=>?_,mem_univ _⟩ |
| 53 | exact disjoint_left.mp (hv.1 hi hj hz) ((worth_iff _).mp (h _ hi) _ hk (default:slot)) ((worth_iff _).mp (h _ hj) _ he (default:slot)) |
| 54 | have hx:Pays (unionTag _ _ hv):=by |
| 55 | rw [worth_iff,combines]; intro i hi j; obtain ⟨k,hk,hz⟩:=mem_biUnion.mp hi; exact mem_biUnion.mpr ⟨k,hk,(worth_iff _).mp (h k hk) i hz j⟩ |
| 56 | rw [tagged_prod _ s hv,harvest,if_pos hx,tagged_prod _ _ hp]; exact congr_arg (fun p=> Poly.send p _) (Subtype.ext (combines hv)) |
| 57 | rw [show (∏ i∈s,Poly.send (q i) (A i))=0 from Classical.byContradiction (fun h=> hv (fits_of_tagged_prod _ h)),map_zero]; symm; by_contra hh |
| 58 | have hp:= fits_of_tagged_prod (fun i=> span (q i)) hh; exact hv ⟨fun i hi j hj hz=> disjoint_left.mpr fun ⟨x,k⟩ hx he=> disjoint_left.mp (hp.1 hi hj hz) ((spans (q i) x).2 ⟨k,hx⟩) ((spans (q j) x).2 ⟨k,he⟩),mem_univ _⟩ |
| 59 | end YM.MergeProof.BatchRibbon |