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.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.District |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Tree transition for the vacuum determinant |
| 6 | |
| 7 | Integer cochain basis change (on FULL dozing + active completion). No |
| 8 | assumptions on the reach of supported rotations; does not yet retag K families. |
| 9 | Complements between any two forests have same cardinal. Not claiming positivity |
| 10 | generally -- see Rotator prices. Used with F external to word. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.ConnectedActivityE6.TreeColor |
| 15 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 16 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 17 | open Bloch Laurent SliceRows Mask Tags Progress.StationaryScenes Green Census Work.F03 Animals Control Window Coat Footprint Raw |
| 18 | open Pulse Itinerary Bid Packets |
| 19 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 20 | variable {G : Gauge} {c f L : Side} {S : StepData c f} {T : Tube G S} (F H : Forest S.ratio) {P : Teller G} |
| 21 | |
| 22 | private lemma leaf_distinct (i j : Site f) (hi : leaf S.ratio i) (hj:leaf S.ratio j) (h : (F.up i).used i=(F.up j).used j) : i=j := by |
| 23 | have hp:= F.rise i hi; have hq:=F.rise j hj |
| 24 | cases he : F.up i with |
| 25 | | mk a b => |
| 26 | rw [he] at h hp |
| 27 | cases hz : F.up j with |
| 28 | | mk k d => |
| 29 | rw [hz] at h hq |
| 30 | cases b <;> cases d <;> simp only [Lattice.Step.used,Bool.false_eq_true,↓reduceIte,Prod.mk.injEq] at h |
| 31 | · exact h.1 |
| 32 | · have ha:=h.1; rw [h.2] at hp; change F.height (i+step k)<_ at hp; rw [show i+step k=j from by rw [ha,sub_add_cancel]] at hp |
| 33 | change F.height (j+ -step k) < _ at hq; rw [← sub_eq_add_neg,← ha] at hq; omega |
| 34 | · have ha:=h.1; rw [← h.2] at hq; change F.height (j+step a)<_ at hq; rw [show j+step a=i from by rw [← ha,sub_add_cancel]] at hq |
| 35 | change F.height (i+ -step a) < _ at hp; rw [← sub_eq_add_neg,ha] at hp; omega |
| 36 | have hh := h.1; rw [h.2] at hh; exact sub_left_injective hh |
| 37 | |
| 38 | def tallyF : (↥F.trunks)≃(↥H.trunks) := by |
| 39 | let K : ∀F:Forest S.ratio, {i//leaf S.ratio i}≃↥F.trunks := by |
| 40 | intro F |
| 41 | refine Equiv.ofBijective (fun i=> ⟨(F.up i.val).used i.val,(F.trunk_mem_iff _).mpr ⟨i.val,i.2,rfl⟩⟩) ⟨fun i j he=>?_,fun i=>?_⟩ |
| 42 | · exact Subtype.ext (leaf_distinct _ _ _ i.2 j.2 (congr_arg Subtype.val he)) |
| 43 | obtain ⟨x,h,hx⟩:= (F.trunk_mem_iff _).mp i.2; exact ⟨⟨x,h⟩,Subtype.ext hx⟩ |
| 44 | exact (K F).symm.trans (K H) |
| 45 | lemma freed : Fintype.card F.Free=Fintype.card H.Free := by |
| 46 | have hp:= Fintype.card_congr (tallyF F H); rw [Fintype.card_subtype_compl,Fintype.card_subtype_compl,hp] |
| 47 | |
| 48 | section rods |
| 49 | variable {A : Type} [AddCommGroup A] |
| 50 | local notation "dir" => Bond f → A |
| 51 | |
| 52 | def gradient (u : Site f→ A) : Bond f → A := fun i=> u (i.1+step i.2)-u i.1 |
| 53 | -- use arbitrary scalars / linear CL |
| 54 | private lemma telescoping (u: Site f→A) (x : Site f) (p : Walk) : linkSum (gradient u) x p=u (stop x p)-u x := by |
| 55 | induction p generalizing x with |
| 56 | | nil => simp [linkSum,stop] |
| 57 | | cons d p ih => rw [linkSum,stop,ih]; rcases d with ⟨i,h|h⟩ <;> simp [Step.used,Step.vec,gradient,sub_eq_add_neg] <;> abel |
| 58 | |
| 59 | lemma lane_plus (u v: Bond f →A) (x : Site f) (p : Walk) : linkSum (u+v) x p=linkSum u x p+linkSum v x p := by |
| 60 | induction p generalizing x with |
| 61 | | nil => simp [linkSum] |
| 62 | | cons d p ih => rw [linkSum,linkSum,linkSum,ih]; split <;> simp [*] <;> abel |
| 63 | |
| 64 | def aligns (v : Bond f → A) : Site f→ A := fun i=> linkSum v i (F.hike i) |
| 65 | def bundled (v : Bond f → A) := v+gradient (aligns F v) |
| 66 | lemma numbered (v : Bond f → A) (i : Bond f) (h : i∈F.trunks) : bundled F v i=0 := by |
| 67 | obtain ⟨x,hx,rfl⟩ := (F.trunk_mem_iff _).mp h |
| 68 | have hh:= F.stays x hx |
| 69 | have ht : aligns F v x=(if (F.up x).neg then -v ((F.up x).used x) else v ((F.up x).used x))+aligns F v (x+(F.up x).vec) := by |
| 70 | unfold aligns; nth_rw 1 [Forest.hike, dif_pos hx]; rfl |
| 71 | cases he : F.up x with |
| 72 | | mk i val => |
| 73 | rw [he] at ht |
| 74 | cases val <;> simp only [Step.used,Bool.false_eq_true,↓reduceIte,Step.vec] at * |
| 75 | · unfold bundled; rw [Pi.add_apply,gradient]; dsimp only; rw [ht]; abel |
| 76 | unfold bundled; rw [Pi.add_apply,gradient]; dsimp only; rw [sub_add_cancel,ht,sub_eq_add_neg]; abel |
| 77 | lemma vacates {u:Bond f→A} (hp : ∀ i∈F.trunks,u i=0) : bundled F u=u := by |
| 78 | have he (x : Site f) : aligns F u x=0 := by |
| 79 | unfold aligns; induction x using Forest.hike.induct F with |
| 80 | | case1 x hx ih => rw [Forest.hike,dif_pos hx, Exterior.linkSum, hp _ ((F.trunk_mem_iff _).mpr ⟨x,hx,rfl⟩),ih]; simp |
| 81 | | case2 x hx => rw [Forest.hike, dif_neg hx]; rfl |
| 82 | funext i; unfold bundled gradient; rw [Pi.add_apply]; simp only [he,sub_zero,add_zero] |
| 83 | lemma evaporates (v : Site f → A) (h : ∀ i,v (S.ratio.embed i)=0) : bundled F (gradient v)=0 := by |
| 84 | unfold bundled aligns; simp_rw [telescoping,F.hike_root,h]; funext i; unfold gradient; simp |
| 85 | lemma aligns_embed (u : Bond f → A) (p : Site c) : aligns F u (S.ratio.embed p)=0 := by |
| 86 | unfold aligns; rw [Forest.hike,dif_neg]; rfl |
| 87 | apply Not.intro; unfold leaf; dsimp only; rw [Ratio.embed_parent]; simp |
| 88 | lemma bundle_sum (u v : Bond f → A) : bundled F (u+v)=bundled F u+bundled F v := by |
| 89 | funext i; simp only [bundled,gradient, aligns, lane_plus, Pi.add_apply]; abel |
| 90 | |
| 91 | def directF (u : Bond f → A) : Bond f → A := fun i=> if i∈F.trunks then 0 else u i |
| 92 | lemma trunkless (u : Bond f→A) (i) (hi : i∈F.trunks) : directF F u i=0:=if_pos hi |
| 93 | |
| 94 | def surgery (t : (↥F.trunks) ≃ (↥H.trunks)) (u : Bond f→A) : Bond f → A := fun i=> if h:i∈ H.trunks then |
| 95 | u ((t.symm ⟨i,h⟩).val) else bundled H (directF F u) i |
| 96 | lemma enwrap (t : (↥F.trunks) ≃ (↥H.trunks)) (u : Bond f→A) : directF H (surgery F H t u)=bundled H (directF F u) := by |
| 97 | funext i; unfold directF surgery; by_cases h:i∈H.trunks |
| 98 | · rw [if_pos h,numbered H _ i h] |
| 99 | rw [if_neg h,dif_neg h]; rfl |
| 100 | lemma stays_all (t : (↥F.trunks) ≃ (↥H.trunks)) (u : Bond f→A) : surgery H F t.symm (surgery F H t u)=u := by |
| 101 | let v:=surgery F H t u |
| 102 | have he: directF F (surgery H F t.symm v)=directF F u := by unfold v; rw [enwrap, enwrap, show bundled H (directF F u)=directF F u+gradient (aligns H _) from rfl,bundle_sum,evaporates F _ (aligns_embed H (directF F u)),add_zero]; exact vacates F (trunkless F u) |
| 103 | funext i |
| 104 | by_cases h:i∈F.trunks |
| 105 | · unfold surgery; rw [dif_pos h, dif_pos]; |
| 106 | · simp |
| 107 | exact (t ⟨i,h⟩).2 |
| 108 | simpa only [v,directF, if_neg h] using congr_fun he i |
| 109 | end rods |
| 110 | end YM.ConnectedActivityE6.TreeColor |