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.North.Wraith |
| 2 | import YM.OPE.Replicas.Corn |
| 3 | |
| 4 | /-! |
| 5 | # Many slots per cell: port of YM/MergeProof/North/Wraith.lean |
| 6 | |
| 7 | Most of the proof can be shared verbatim with that for pairs. Costs at every step |
| 8 | use the same register though the group being transported can now be quite different. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.MergeProof.Ribbons.ManyCopies |
| 13 | open Function Filter Lattice RG Pressure Wilson Finset MeasureTheory |
| 14 | open Push Marker Accent Ribbon Local Menu Extra.Histories Motion Merge PhysicalNext.Repeat |
| 15 | open Extra.Multi GridApprox.Nil Ac |
| 16 | open Extra.Trajectories |
| 17 | open scoped Topology BigOperators Classical |
| 18 | variable {slotsZ : Type}[Fintype slotsZ][DecidableEq slotsZ] {V J : Type}[Fintype V][DecidableEq V]{G:Gauge}{f c:Side}{R:Rep G f}{A:Rep G c} |
| 19 | local notation "X"=> Names V slotsZ |
| 20 | variable (v u:V)(B:Equiv.Perm V)(m:Motion)(x:Site c) |
| 21 | (K:Box c→ Config G c→Poly (Names V slotsZ))(ψ:(V×slotsZ)→Response G c)(t:ℝ)(U : Config G c) |
| 22 | local notation "Q"=> sky m x |
| 23 | local notation "q"=> puff m x |
| 24 | variable (P:J→Support c)(e:Equiv.Perm J)(he:∀ j,P (e j)=sky m x (P j)) |
| 25 | local notation "L"=> Equiv.sumCongr q e |
| 26 | local notation "Q0"=> flags t U |
| 27 | set_option quotPrecheck false |
| 28 | local notation "V0"=>pull m.1 x U |
| 29 | variable (s:Finset (FlowKind J c)) |
| 30 | variable [Fintype J] |
| 31 | lemma rejoins (Z:J→ Config G c→Poly (Names V slotsZ))(hz:∀ i,Harm v B m (Z i (pull m.1 x U)) (Z (e i) U))(hZ:∀ i,Harm v B m (K i (pull m.1 x U)) (K (puff m x i) U)) (he:∀ j,P (e j)=sky m x (P j))(i:Box c): |
| 32 | Harm v B m (Accent.closure K Z P t i (pull m.1 x U)) (Accent.closure K Z P t (puff m x i) U):=by |
| 33 | have hp : Q i.1∩flags t U = Q i.2↔ i.1∩flags t (pull m.1 x U)=i.2:=by |
| 34 | nth_rw 1 [← Work.H03.flags_send m.1 x]; simp only [shading]; rw [show affine m.1 x=⇑(turnSites m.1 x) from rfl,← Finset.image_inter _ _ (turnSites m.1 x).injective]; exact (Finset.image_injective (turnSites m.1 x).injective).eq_iff |
| 35 | rw [quarters,quarters]; |
| 36 | let F:= tallyHead K Z P t (pull m.1 x U) i; let G:= tallyHead K Z P t U (q i) |
| 37 | have hh : ∑ j,G j=∑ j,G ((L).finsetCongr j):=(Equiv.sum_comp ..).symm |
| 38 | change Harm v B m (∑ j,F j) (∑ j,G j); rw [hh]; refine Harm.seq _ _ _ fun j _=> ?_ |
| 39 | unfold F G tallyHead; rw [show (L).finsetCongr j = j.image L by rw [Equiv.finsetCongr_apply,map_eq_image];rfl]; |
| 40 | have hv: (q i).1∩Q0 = (q i).2 ↔ i.1 ∩ flags t (V0)=i.2:=hp |
| 41 | simp only [← sealP m x P e he j,ashes m x P e he j,Equiv.apply_eq_iff_eq,hv]; split; swap; exact fun _ _=> (scalar_z _).symm |
| 42 | rw [prod_image (L).injective.injOn]; apply Harm.prod_; intro j hj; cases j |
| 43 | next j=> exact hZ j |
| 44 | next j=> exact hz j |
| 45 | -- row relations only on needed v |
| 46 | omit [Fintype J] in |
| 47 | lemma reborn (hp:B v=u)(he:∀ j:slotsZ,ψ (u,j)= upwards m x (ψ (v,j)))(ht:∀ i,Harm v B m (K i (pull m.1 x U)) (K (puff m x i) U))(i:Box c) : |
| 48 | Harm v B m (Accent.closure K (conviction ψ (Names V slotsZ)) Prod.snd t i (pull m.1 x U)) (Accent.closure K (conviction ψ (Names V slotsZ)) Prod.snd t (puff m x i) U) :=by |
| 49 | let P:= Equiv.prodCongr (nome (slotsZ:=slotsZ) B) (sky m x); refine rejoins v B m x K t U Prod.snd P _ ?_ ht (fun i=> rfl) _ |
| 50 | rintro ⟨⟨i,b⟩,s⟩; unfold conviction |
| 51 | let z:=(i,b); change Harm _ _ _ (Poly.send ((X).fire z) (ψ (i,b) s (V0))) (Poly.send ((X).fire (nome B z)) (ψ (B i,b) (Q s) U)); let a:=(X).fire z |
| 52 | rw [← go_one B]; by_cases h:v=i |
| 53 | · rw [show B i=_ from h ▸ hp,he b,upwards,Equiv.symm_apply_apply, show ψ (i,b)=ψ (v,b) from by rw [h]]; exact Harm.solo _ _ |
| 54 | intro k hk; simp only [Poly.part_send]; have hA:k≠a:=fun e=>h ((which v z).1 (show Focused v a from e ▸ hk)).symm |
| 55 | simp only [(show k≠(X).fire z from hA),Equiv.apply_eq_iff_eq,↓reduceIte];exact (scalar_z _).symm |
| 56 | end YM.MergeProof.Ribbons.ManyCopies |