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.Garnish |
| 2 | import YM.MergeProof.North.Blot |
| 3 | import YM.MergeProof.North.Corn |
| 4 | import YM.MergeProof.Sigil |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.MergeProof.Ribbons |
| 8 | open Function Filter Lattice RG Pressure Wilson Finset MeasureTheory |
| 9 | open Push Marker Accent Ribbon Local Menu Extra.Histories Motion Merge PhysicalNext.Repeat |
| 10 | open Extra.Multi GridApprox.Nil Ac |
| 11 | open Extra.Trajectories |
| 12 | open scoped Topology BigOperators Classical |
| 13 | variable {V J : Type}[Fintype V][DecidableEq V]{G:Gauge}{f c:Side}{R:Rep G f}{A:Rep G c} |
| 14 | local notation "X"=> Aged V |
| 15 | variable (v u:V)(B:Equiv.Perm V)(m:Motion)(x:Site c) |
| 16 | (K:Box c→ Config G c→Poly (Aged V))(ψ:Name V→Response G c)(t:ℝ)(U : Config G c) |
| 17 | local notation "Q"=> sky m x |
| 18 | local notation "q"=> puff m x |
| 19 | variable (P:J→Support c)(e:Equiv.Perm J)(he:∀ j,P (e j)=sky m x (P j)) |
| 20 | local notation "L"=> Equiv.sumCongr q e |
| 21 | local notation "Q0"=> flags t U |
| 22 | set_option quotPrecheck false |
| 23 | local notation "V0"=>pull m.1 x U |
| 24 | variable (s:Finset (FlowKind J c)) |
| 25 | lemma lookout :(s.image L).toLeft=s.toLeft.image q:=by |
| 26 | ext i; constructor |
| 27 | · intro hi; obtain ⟨a|b,hv,h⟩:=mem_image.mp (mem_toLeft.mp hi); exact mem_image.mpr ⟨a,mem_toLeft.mpr hv,Sum.inl.inj h⟩; simp at h |
| 28 | intro hi; obtain ⟨b,hv,rfl⟩:=mem_image.mp hi; exact mem_toLeft.mpr (mem_image_of_mem (L) (mem_toLeft.mp hv)) |
| 29 | include he |
| 30 | lemma sealP : Sealed P s↔ Sealed P (s.image L):=by |
| 31 | let T:= s.image L |
| 32 | have hc j: bloom P (L j)= (bloom P j).image (turnSites m.1 x):=by cases j; exact shading ..; next j=> exact (he j).trans (shading ..) |
| 33 | have ht i: i∈ s↔ L i∈T:= (Ribbons.mem_image_of_injective (L) (L).injective).symm -- use explicit |
| 34 | have hz : Spark (bloom P) s ↔ Spark (bloom P) T := Turn.seam L (turnSites m.1 x) (fun i=> (Turn.display _ _ _).1 (hc i)) ht |
| 35 | have hv:= lookout m x e s; change T.toLeft=_ at hv |
| 36 | have hF : s.toLeft.Nonempty↔ T.toLeft.Nonempty:=by rw [hv,image_nonempty] |
| 37 | have hP : (s.toLeft:Set (Box c)).PairwiseDisjoint Prod.fst↔ (T.toLeft:Set (Box c)).PairwiseDisjoint Prod.fst:=by rw [hv]; exact Twin.dist (R:=J) q s.toLeft (f:=Prod.fst) (f':=Prod.fst) Disjoint Disjoint (fun i _ j _=> (meet_sky m x ..).symm) |
| 38 | have he(i:FlowKind J c) : bread P i↔ bread P (L i):=by |
| 39 | cases i |
| 40 | next i=> change (i.2.Nonempty ∧ i.2⊆ i.1)↔ _ ∧ ((Q) i.2⊆ (Q) i.1); exact and_congr (by change _↔ (Q i.2).Nonempty; rw [shading,image_nonempty]) (by rw [shading,shading,image_subset_image_iff (turnSites m.1 x).injective]) |
| 41 | next i=> change (P i).Nonempty ↔ (P (e i)).Nonempty; rw [he,shading,image_nonempty] |
| 42 | constructor |
| 43 | · intro h; refine ⟨hz.1 h.spark,hF.1 h.life,hP.1 h.neat,fun i hi=>?_⟩; obtain ⟨i,hj,rfl⟩:=mem_image.mp hi; exact (he i).mp (h.bulk i hj) |
| 44 | intro h; exact ⟨hz.2 h.spark,hF.2 h.life,hP.2 h.neat,fun i hi=> (he i).mpr (h.bulk _ ((ht i).1 hi))⟩ |
| 45 | lemma ashes : flash P (s.image L)=q (flash P s):=by |
| 46 | apply Prod.ext |
| 47 | · change Finset.biUnion _ _= Q _; simp only [shading,image_biUnion]; change _=Finset.image (turnSites m.1 x) (s.biUnion _); rw [biUnion_image]; refine biUnion_congr rfl ?_; intro i hi; cases i |
| 48 | next i=> exact shading .. |
| 49 | next i=> exact (he i).trans (shading ..) |
| 50 | change (s.image L).toLeft.biUnion _= Q (s.toLeft.biUnion _); rw [lookout,image_biUnion,shading,biUnion_image];exact biUnion_congr rfl fun i _=> shading .. |
| 51 | omit he |
| 52 | variable [Fintype J] |
| 53 | lemma rejoins (Z:J→ Config G c→Poly (Aged V))(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): |
| 54 | 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 |
| 55 | have hp : Q i.1∩flags t U = Q i.2↔ i.1∩flags t (pull m.1 x U)=i.2:=by |
| 56 | 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 |
| 57 | rw [quarters,quarters]; |
| 58 | let F:= tallyHead K Z P t (pull m.1 x U) i; let G:= tallyHead K Z P t U (q i) |
| 59 | have hh : ∑ j,G j=∑ j,G ((L).finsetCongr j):=(Equiv.sum_comp ..).symm |
| 60 | change Harm v B m (∑ j,F j) (∑ j,G j); rw [hh]; refine Harm.seq _ _ _ fun j _=> ?_ |
| 61 | unfold F G tallyHead; rw [show (L).finsetCongr j = j.image L by rw [Equiv.finsetCongr_apply,map_eq_image];rfl]; |
| 62 | have hv: (q i).1∩Q0 = (q i).2 ↔ i.1 ∩ flags t (V0)=i.2:=hp |
| 63 | 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 |
| 64 | rw [prod_image (L).injective.injOn]; apply Harm.prod_; intro j hj; cases j |
| 65 | next j=> exact hZ j |
| 66 | next j=> exact hz j |
| 67 | -- row relations only on needed v |
| 68 | omit [Fintype J] in |
| 69 | lemma reborn (hp:B v=u)(he:∀ j:Bool,ψ (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) : |
| 70 | Harm v B m (Accent.closure K (conviction ψ (Aged V)) Prod.snd t i (pull m.1 x U)) (Accent.closure K (conviction ψ (Aged V)) Prod.snd t (puff m x i) U) :=by |
| 71 | let P:= Equiv.prodCongr (nome B) (sky m x); refine rejoins v B m x K t U Prod.snd P _ ?_ ht (fun i=> rfl) _ |
| 72 | rintro ⟨⟨i,b⟩,s⟩; unfold conviction |
| 73 | 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 |
| 74 | rw [← go_one B]; by_cases h:v=i |
| 75 | · 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 _ _ |
| 76 | 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 |
| 77 | simp only [(show k≠(X).fire z from hA),Equiv.apply_eq_iff_eq,↓reduceIte];exact (scalar_z _).symm |
| 78 | end YM.MergeProof.Ribbons |