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.Push.ABSOLUTE_SUMS.Breadth |
| 2 | import YM.Push.RELAY_DIFFERENCE.TwoSided |
| 3 | import YM.Push.SECTOR_MEASURE.Oriented |
| 4 | |
| 5 | /-! |
| 6 | # One tree slice, all channels |
| 7 | |
| 8 | Output-scale locations with both endpoints, counting on actual torus. |
| 9 | When assigning whole rows in a turned channel we use the *turned anchor*, |
| 10 | not the minimum canonical base of the physical object. `near`-type tests |
| 11 | for seeds and shells must allow this convention. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.ConnectedActivityE6 |
| 16 | open Filter Function Lattice RG Pressure Pressure.Stores Tree Wilson Finset MeasureTheory |
| 17 | open Push Push.AbsoluteSums |
| 18 | open SectorMeasure Oriented Precision |
| 19 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 20 | variable {G : Gauge} {n c f : Side} {S : StepData c f} |
| 21 | |
| 22 | namespace Channel |
| 23 | section turns |
| 24 | variable (s : Signed) (i : Bond n) |
| 25 | |
| 26 | def edge (s : Signed) (i : Bond n) : Bond n := sendEdge s 0 i |
| 27 | |
| 28 | @[simp] lemma affine0 (v : Site n) : affine s 0 v = s.act v := add_zero _ |
| 29 | |
| 30 | lemma positive (h : s.flip i.2=false) : edge s i=(s.act i.1,s.perm i.2) := by |
| 31 | simp [edge,sendEdge,posDir,Step.rotate,Step.used,h] |
| 32 | |
| 33 | lemma negative (h : s.flip i.2=true) : edge s i=(s.act (i.1+step i.2),s.perm i.2) := by |
| 34 | have he := StepData.negsite s (0:Site n) i.1 i.2 h |
| 35 | simp_rw [affine0] at he |
| 36 | rw [he]; simp [edge,sendEdge,posDir,Step.rotate,Step.used,h] |
| 37 | |
| 38 | lemma charge (U : Config G n) : pull s 0 U i = if s.flip i.2 then (U (edge s i))⁻¹ else U (edge s i) := by |
| 39 | unfold pull Step.read; simp only [edge,sendEdge,posDir,Step.rotate,Bool.false_xor] |
| 40 | |
| 41 | lemma endpoints (v : Site n) : v∈pinPos i ↔ s.act v∈pinPos (edge s i) := by |
| 42 | cases ht : s.flip i.2 |
| 43 | · rw [positive s i ht] |
| 44 | have he := StepData.possite s (0:Site n) i.1 i.2 ht |
| 45 | simp_rw [affine0] at he |
| 46 | simp only [pinPos,mem_insert,mem_singleton, ← he]; simp only [s.act_injective.eq_iff] |
| 47 | rw [negative s i ht] |
| 48 | have he := StepData.negsite s (0:Site n) i.1 i.2 ht |
| 49 | simp_rw [affine0] at he |
| 50 | simp only [pinPos,mem_insert,mem_singleton] |
| 51 | rw [show s.act (i.1+step i.2)+step (s.perm i.2)=s.act i.1 by rw [he,sub_add_cancel]] |
| 52 | rw [or_comm]; exact or_congr s.act_injective.eq_iff.symm s.act_injective.eq_iff.symm |
| 53 | |
| 54 | lemma start (p : Cell f) : startPos S (Oriented.faces s f p) = (startPos S p).image s.act := by |
| 55 | change (startPos _ (Face.send s 0 p))= _ |
| 56 | unfold startPos; rw [Work.H03.touched_send,image_image,image_image ] |
| 57 | apply Finset.image_congr; intro i hi |
| 58 | simp only [comp_apply,affine0, |
| 59 | S.ratio.parent_signed S.patch.odd_side] |
| 60 | |
| 61 | lemma site_face (v : Site c) (p : Cell f) : v∈startPos S p ↔ s.act v∈startPos S (Oriented.faces s f p) := by |
| 62 | rw [start]; simp [s.act_injective.eq_iff] |
| 63 | |
| 64 | lemma rotates_place (X : Stores S) (v : Site c) : v ∈ (turnStore s X).place ↔ s.act v ∈ X.place := by |
| 65 | unfold Stores.place turnStore |
| 66 | simp only [mem_union,mem_biUnion]; constructor |
| 67 | · rintro ((⟨p,hp,h⟩|⟨p,hp,h⟩)|h) |
| 68 | · exact Or.inl (Or.inl ⟨Oriented.faces s f p,by simpa using hp,(site_face s v p).mp h⟩) |
| 69 | · exact Or.inl (Or.inr ⟨edge s p,(by |
| 70 | have hh : StepData.sendBonds s 0 p∈X.aisles := by simpa only [Equiv.toEmbedding_apply, |
| 71 | Equiv.symm_symm,Finset.mem_map_equiv] using! hp |
| 72 | exact hh), (endpoints s p v).mp h⟩) |
| 73 | · refine Or.inr ?_ |
| 74 | have hh : StepData.sendSites s 0 v ∈ X.flags := by simpa only [Equiv.toEmbedding_apply,Equiv.symm_symm, |
| 75 | Finset.mem_map_equiv] using! h |
| 76 | change affine s 0 v ∈ _ at hh; rwa [affine0] at hh |
| 77 | · rintro ((⟨p,hp,h⟩|⟨p,hp,h⟩)|h) |
| 78 | · obtain ⟨p,rfl⟩ := (Oriented.faces s f).surjective p |
| 79 | exact Or.inl (Or.inl ⟨p,by simpa using hp,(site_face s v p).mpr h⟩) |
| 80 | · obtain ⟨p,rfl⟩ := (StepData.sendBonds s 0).surjective p |
| 81 | exact Or.inl (Or.inr ⟨p,by simpa only [mem_map_equiv,Equiv.toEmbedding_apply,Equiv.symm_symm] |
| 82 | using! hp,(endpoints s p v).mpr h⟩) |
| 83 | refine Or.inr ?_ |
| 84 | have ht : StepData.sendSites s 0 v=s.act v := affine0 s v |
| 85 | simpa only [mem_map_equiv,Equiv.toEmbedding_apply,Equiv.symm_symm,ht] using! h |
| 86 | |
| 87 | lemma rotates_dome (X : Stores S) (M : ℕ) (v : Site c) : v ∈ (turnStore s X).dome M ↔ s.act v∈X.dome M := by |
| 88 | unfold dome; rw [halo_spec,halo_spec]; constructor |
| 89 | · rintro ⟨x,hx,h⟩; exact ⟨s.act x,(rotates_place s X x).mp hx,(separation_signed ..).trans_le h⟩ |
| 90 | rintro ⟨x,hx,h⟩; obtain ⟨x,rfl⟩ := s.actEquiv.surjective x |
| 91 | change s.act x ∈ _ at hx; exact ⟨x,(rotates_place s X x).mpr hx,(separation_signed x v s).symm.trans_le h⟩ |
| 92 | |
| 93 | lemma pulls_replica (V : Config G c) : |
| 94 | pull s 0 (replica S.ratio V) = replica S.ratio (pull s 0 V) := by |
| 95 | let g := S.ratio |
| 96 | funext i; rcases i with ⟨x,a⟩; rw [charge]; dsimp only |
| 97 | have hp := g.parent_signed S.patch.odd_side |
| 98 | have hz := g.parents_hop S.patch.odd_side x a |
| 99 | have he (hh : g.parent (x+step a) ≠ g.parent x) : |
| 100 | g.parent (x+step a)=g.parent x+step a := by |
| 101 | split at hz |
| 102 | · exact hz |
| 103 | exact (hh hz).elim |
| 104 | cases hf : s.flip a |
| 105 | · rw [if_neg (by simp),positive s (x,a) hf] |
| 106 | have h := StepData.possite s (0:Site f) x a hf; rw [affine0,affine0] at h |
| 107 | change (if g.parent (s.act x+step (s.perm a))=g.parent (s.act x) then 1 else V (g.parent (s.act x),s.perm a)) = |
| 108 | if g.parent (x+step a)=g.parent x then 1 else pull s 0 V (g.parent x,a) |
| 109 | rw [← h,hp,hp] |
| 110 | by_cases H : g.parent (x+step a)=g.parent x |
| 111 | · rw [if_pos H,if_pos (s.act_injective.eq_iff.mpr H)] |
| 112 | rw [if_neg H,if_neg (s.act_injective.ne H),charge,positive s (g.parent x,a) hf]; simp only [hf, Bool.false_eq_true, ↓reduceIte] |
| 113 | rw [if_pos (by simp),negative s (x,a) hf] |
| 114 | have ht := StepData.negsite s (0:Site f) x a hf; rw [affine0,affine0] at ht |
| 115 | let y := x+step a |
| 116 | change (if g.parent (s.act y+step (s.perm a))=g.parent (s.act y) then (1:G.El) else V (g.parent (s.act y),s.perm a))⁻¹ = |
| 117 | if g.parent y=g.parent x then 1 else pull s 0 V (g.parent x,a) |
| 118 | rw [show s.act y+step (s.perm a)=s.act x by rw [show y=x+step a from rfl,ht]; abel,hp,hp] |
| 119 | by_cases H : g.parent y=g.parent x |
| 120 | · rw [if_pos (s.act_injective.eq_iff.mpr H.symm),if_pos H,inv_one] |
| 121 | rw [if_neg (s.act_injective.ne (Ne.symm H)),if_neg H,charge,negative s (g.parent x,a) hf]; dsimp only; rw [hf, show g.parent y=_ from he H,if_pos rfl] |
| 122 | end turns |
| 123 | |
| 124 | section tangent |
| 125 | -- Conjugation in the actual group/chart; no gauge-differentiability assumptions. |
| 126 | variable (u : G.El) (x : G.Color) |
| 127 | lemma exp_adjoint : G.lieExp (G.adjoint u x)=u*G.lieExp x*u⁻¹ := by |
| 128 | apply G.mat_injective |
| 129 | rw [G.mat_lieExp,G.mat_mul,G.mat_mul,G.mat_adjoint,G.exp_conjugate,G.mat_lieExp,G.mat_inv]; rfl |
| 130 | |
| 131 | /-- Rotating increments at reference W. -/ |
| 132 | def displacement (s : Signed) (a : Directions G n) (W : Config G n) (i : Bond n) : G.Color := |
| 133 | let j:=edge s i |
| 134 | if s.flip i.2 then -(G.adjoint (W j)⁻¹ (a j)) else a j |
| 135 | |
| 136 | variable (s : Signed) (a : Directions G n) (W : Config G n) |
| 137 | lemma size_displacement (i : Bond n) : ‖displacement s a W i‖ = ‖a (edge s i)‖ := by |
| 138 | dsimp only [displacement]; split |
| 139 | · rw [norm_neg,G.norm_adjoint] |
| 140 | · rfl |
| 141 | |
| 142 | lemma pull_increment : pull s 0 (increment W a) = increment (pull s 0 W) (displacement s a W) := by |
| 143 | funext i |
| 144 | rw [charge,increment,increment,charge]; dsimp only [displacement] |
| 145 | split |
| 146 | · rw [Work.F03.exp_neg_color,exp_adjoint]; group |
| 147 | · rfl |
| 148 | |
| 149 | lemma gauge_displacement (i : Bond n) (z : Site n → G.El) : |
| 150 | displacement s (fun i => G.adjoint (z i.1) (a i)) (gauge z W) i = |
| 151 | G.adjoint (z (s.act i.1)) (displacement s a W i) := by |
| 152 | dsimp only [displacement]; split |
| 153 | next ht => |
| 154 | rw [map_neg, ← G.adjoint_mul, ← G.adjoint_mul] |
| 155 | let j := edge s i |
| 156 | rw [show (gauge z W j)⁻¹ * z j.1=z (s.act i.1) * (W j)⁻¹ by |
| 157 | unfold Lattice.gauge j |
| 158 | rw [negative s i ht]; dsimp only |
| 159 | have hp := StepData.negsite s (0:Site n) i.1 i.2 ht; simp_rw [affine0] at hp |
| 160 | rw [hp, sub_add_cancel]; group] |
| 161 | next ht => |
| 162 | have he : s.flip i.2=false := Bool.eq_false_iff.mpr ht |
| 163 | rw [positive s i he] |
| 164 | end tangent |
| 165 | end Channel |
| 166 | end YM.ConnectedActivityE6 |