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.WilsonBulk.Web.Patterns |
| 2 | |
| 3 | /-! |
| 4 | # Periodization at fixed valence on connected sheets |
| 5 | |
| 6 | This is NOT the finite-volume conditional Taylor recursion -- e.g. loops can |
| 7 | wind. We identify seam/pluck and pointwise multiply against an ALREADY |
| 8 | periodized factor; later use to recover Ward on the cover. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.WilsonBulk.Sheet |
| 13 | open scoped Topology Classical BigOperators ENNReal |
| 14 | open Function Equiv Lattice Bloch Pert.Bulk Filter |
| 15 | |
| 16 | variable {X Y α β : Type} {c d : Side} {n m k : ℕ} {σ θ p q : ℝ} {D : Rule X} |
| 17 | |
| 18 | -- for arbitrary projection on a representative space |
| 19 | abbrev Thesis (Λ : X→ Y) (i : Fin n) (x : X) (v : Legs Y n) := |
| 20 | {u : Legs X n // u i=x ∧ Λ ∘ u = v} |
| 21 | def page (Λ : X→ Y) (i : Fin n) (x : X) (u : Page X n) (v : Legs Y n) : ℝ := |
| 22 | ∑' a : Thesis Λ i x v,u a.val |
| 23 | lemma page_tsum (Λ : X→ Y) (i : Fin n) (x : X) (u : Page X n) (v : Legs Y n) : page Λ i x u v = |
| 24 | ∑' a, (if a i=x ∧ Λ ∘ a=v then u a else 0) := by |
| 25 | unfold page; erw [_root_.tsum_subtype {a|a i=x∧ Λ∘a=v} u]; apply tsum_congr; intro a |
| 26 | simp only [Set.indicator_apply, Set.mem_setOf_eq] |
| 27 | lemma page_money (Λ : X→ Y) (u : Page X n) (h : Within D σ p u) (hσ : 0≤σ) (i x v) : |
| 28 | Summable fun a : Thesis Λ i x v=> u a.val := by |
| 29 | refine ((within_total h hσ i x).subtype {a | a i=x ∧ Λ ∘ a=v}).congr ?_ |
| 30 | rintro ⟨a,ha⟩; simp [show a i=x from ha.1] |
| 31 | |
| 32 | def Orates (Λ : X→ Y) (u : Page X n) (v : Page Y n) := ∀ i x w, w i=Λ x → v w= page Λ i x u w |
| 33 | namespace Orates |
| 34 | variable {Λ : X→ Y} {u u' : Page X n} {v v' : Page Y n} |
| 35 | lemma zero : Orates Λ (0:Page X n) 0 := by intro i x w _; simp [page] |
| 36 | lemma plus (he : Orates Λ u v) (hh : Orates Λ u' v') (hu : Within D σ p u) (hu' : Within D θ q u') |
| 37 | (hp : 0 ≤ σ) (hq : 0≤θ) : Orates Λ (u+u') (v+v') := fun i x w h=> by |
| 38 | rw [Pi.add_apply,he i x w h, hh i x w h]; exact ((page_money Λ u hu hp i x w).tsum_add (page_money Λ u' hu' hq i x w)).symm |
| 39 | lemma scale (he : Orates Λ u v) (r : ℝ) : Orates Λ (r • u) (r • v) := fun i x w h=> by |
| 40 | rw [Pi.smul_apply,he i x w h]; simp [page,tsum_mul_left] |
| 41 | lemma minus (he : Orates Λ u v) (hh : Orates Λ u' v') (hu : Within D σ p u) (hu' : Within D θ q u') |
| 42 | (hp : 0 ≤ σ) (hq : 0≤θ) : Orates Λ (u-u') (v-v') := fun i x w h=> by |
| 43 | rw [Pi.sub_apply,he i x w h, hh i x w h]; exact ((page_money Λ u hu hp i x w).tsum_sub (page_money Λ u' hu' hq i x w)).symm |
| 44 | lemma gather {ι : Type} (s : Finset ι) (u : ι → Page X n) (v : ι → Page Y n) {p : ι→ℝ} |
| 45 | (h : ∀ i∈s, Orates Λ (u i) (v i)) (hh : ∀ i∈s, Within D σ (p i) (u i)) (hp : 0≤σ) : Orates Λ (∑ i∈s,u i) (∑ i∈s,v i) := by |
| 46 | intro i x w hx; rw [Finset.sum_apply]; unfold page; simp_rw [Finset.sum_apply] |
| 47 | rw [Summable.tsum_finsetSum (by intro b hb; exact page_money Λ (u b) (hh b hb) hp i x w)]; exact Finset.sum_congr rfl fun a ha=>h a ha i x w hx |
| 48 | lemma reindex (h : Orates Λ u v) (e : Fin n ≃ Fin m) : Orates Λ (escort e u) (escort e v) := by |
| 49 | intro i x w hx |
| 50 | calc |
| 51 | escort e v w = page Λ (e.symm i) x u (w ∘ e) := h _ x _ (by simp [hx]) |
| 52 | _ = _ := by |
| 53 | rw [page_tsum,page_tsum,← (casesEquiv e (.refl _)).tsum_eq _] |
| 54 | apply tsum_congr ; intro a |
| 55 | have h₀ : casesEquiv e (.refl X) a=a ∘ e.symm := rfl |
| 56 | rw [h₀]; simp only [comp_apply] |
| 57 | have he : Λ ∘ (a ∘ e.symm) = w ↔ Λ ∘ a=w ∘ e := ⟨fun h=> by simpa [comp_assoc] using congr_arg (fun f=> f ∘ e) h,fun h=> by simpa [comp_assoc] using congr_arg (fun f=> f ∘ e.symm) h⟩ |
| 58 | simp [he,escort,comp_assoc] |
| 59 | lemma polished (h : Orates Λ u v) (he : Within D σ p u) (hh : 0≤σ) : Orates Λ (polish u) (polish v) := |
| 60 | (gather Finset.univ _ _ (fun e _=> h.reindex e) (fun e _=>he.reindex e) hh).scale _ |
| 61 | -- tensor fiber against pulled-back *periodic* factor (e.g. loop line Γ) |
| 62 | lemma overlay (h : Orates Λ u v) {s : Legs X n → ℝ} {t : Legs Y n → ℝ} |
| 63 | (hs : ∀ a,s a=t (Λ ∘ a)) : Orates Λ (u*s) (v*t) := by |
| 64 | intro i x w hx; rw [Pi.mul_apply,h i x w hx]; simp only [page,Pi.mul_apply]; rw [← tsum_mul_right] |
| 65 | exact tsum_congr fun a=> by rw [hs,a.property.2] |
| 66 | lemma uniq (h : Orates Λ u v) (he : Orates Λ u v') (hΛ : Surjective Λ) (hn : n ≠ 0) : v=v' := by |
| 67 | ext1 x; let i : Fin n:=⟨0,by omega⟩; obtain ⟨a,ha⟩:= hΛ (x i); exact (h i a x ha.symm).trans (he i a x ha.symm).symm |
| 68 | lemma regular (h : Orates Λ u v) (hs : Regular u) (hΛ : Surjective Λ) (hn : n≠0) : Regular v := fun e=> (hs e ▸ (h.reindex e) : Orates Λ u (escort e v)).uniq h hΛ hn |
| 69 | end Orates |
| 70 | |
| 71 | def small (c : Side) (α : Type) : Market α→Co c α := fun x=> (wrap c x.1,x.2) |
| 72 | def print (c : Side) (u : Text α (n+1)) : Page (Co c α) (n+1) := fun w=> |
| 73 | page (small c α) 0 (lift (w 0).1,(w 0).2) u w |
| 74 | lemma small_onto (c : Side) (α : Type) : Surjective (small c α) := fun ⟨v,t⟩ => ⟨(lift v,t),by simp [small]⟩ |
| 75 | lemma small_roll (c : Side) (α : Type) (b : Cover) (v : Market α) : small c α (roll b α v)=rolls (wrap c b) α (small c α v) := by simp [roll_apply,rolls_apply,small] |
| 76 | |
| 77 | section reroot |
| 78 | -- one true translation orbit, can hold any representative of any slot |
| 79 | variable {x y : Market α} {i j : Fin n} {v : Legs (Co c α) n} {u : Text α n} |
| 80 | |
| 81 | def relocate (a : Legs (Market α) n) (x : Market α) (j : Fin n) : Legs (Market α) n := roll (x.1-(a j).1) α ∘ a |
| 82 | lemma relocate_at (x : Market α) (a : Legs (Market α) n) (j : Fin n) : |
| 83 | relocate a x j j=(x.1,(a j).2) := by simp only [relocate,comp_apply,roll_apply]; congr 1; abel |
| 84 | lemma thesis_move (h : v j=small c α y) (a : Thesis (small c α) i x v) : |
| 85 | relocate a.val y j j=y ∧ small c α ∘ relocate a.val y j=v := by |
| 86 | have he : small c α (a.val j)=small c α y := (congr_fun a.property.2 j).trans h |
| 87 | have hk : wrap c (a.val j).1 = wrap c y.1 := congr_arg Prod.fst he |
| 88 | refine ⟨by rw [relocate_at]; exact Prod.ext rfl (show (a.val j).2 = y.2 from (have e := congr_arg Prod.snd he; e)),?_⟩ |
| 89 | refine Eq.trans ?_ a.property.2; ext1 t; simp only [relocate, comp_apply, roll_apply, small]; rw [map_add,map_sub,hk,sub_self,add_zero] |
| 90 | def rotor (h : v i=small c α x) (he : v j=small c α y) : Thesis (small c α) i x v ≃ Thesis (small c α) j y v where |
| 91 | toFun a := ⟨relocate a.val y j, thesis_move he a⟩ |
| 92 | invFun a := ⟨relocate a.val x i, thesis_move h a⟩ |
| 93 | left_inv a := by |
| 94 | apply Subtype.ext; ext1 t; simp only [relocate,comp_apply,roll_apply]; rw [a.property.1]; refine Prod.ext ?_ rfl; dsimp only; abel |
| 95 | right_inv a := by |
| 96 | apply Subtype.ext; ext1 t; simp only [relocate,comp_apply,roll_apply]; rw [a.property.1]; refine Prod.ext ?_ rfl; dsimp only; abel |
| 97 | lemma page_move (hU : Pervasive u) (h : v i=small c α x) (he : v j=small c α y) : page (small c α) i x u v = page (small c α) j y u v := by |
| 98 | unfold page |
| 99 | rw [← (rotor h he).tsum_eq _]; exact tsum_congr fun b=> (hU (y.1-(b.val j).1) b.val).symm |
| 100 | lemma Orates.one {w : Page (Co c α) n} (hU : Pervasive u) (j : Fin n) |
| 101 | (h : ∀ v : Legs (Co c α) n, ∃ x,v j=small c α x ∧ w v=page (small c α) j x u v) : Orates (small c α) u w := by |
| 102 | intro i x v hx; obtain ⟨y,H,H'⟩:= h v; exact H'.trans (page_move hU H hx) |
| 103 | lemma reads {u : Text α (n+1)} (h : Pervasive u) : Orates (small c α) u (print c u) := |
| 104 | Orates.one h 0 (fun v=> ⟨(lift (v 0).1,(v 0).2), Prod.ext (by simp [small]) rfl,rfl⟩) |
| 105 | end reroot |
| 106 | end YM.WilsonBulk.Sheet |