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.Pager |
| 2 | |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.WilsonBulk.Sheet |
| 6 | open scoped Topology Classical ENNReal BigOperators |
| 7 | open Function Equiv Lattice Bloch Pert.Bulk |
| 8 | variable {X Y α β γ : Type} {c d : Side} {n m k : ℕ} {σ θ p q : ℝ} {D : Rule X} |
| 9 | |
| 10 | section pluck |
| 11 | variable {Λ : X→Y} {x : X} {v : Legs Y n} {i : Fin n} |
| 12 | |
| 13 | -- grouping by the image of the leading argument in the finite-volume seam |
| 14 | -- pluck. Each fiber is the full page for hitch y v. |
| 15 | def rollup (y : Y) : |
| 16 | {a : X × Thesis Λ i x v // Λ a.1=y} ≃ Thesis Λ i.succ x (hitch y v) where |
| 17 | toFun a := ⟨hitch a.val.1 a.val.2.val, by rw [hitch_succ,hitch_comp]; exact ⟨a.val.2.property.1, by rw [a.property, a.val.2.property.2]⟩⟩ |
| 18 | invFun a := ⟨(a.val 0,⟨crop a.val, by |
| 19 | refine ⟨a.property.1, ?_⟩; exact funext fun i=> by |
| 20 | simpa only [crop,hitch_succ,comp_apply] using (congr_fun a.property.2 i.succ)⟩), by |
| 21 | change (Λ ∘ a.val) 0=y |
| 22 | rw [a.property.2,hitch_zero]⟩ |
| 23 | left_inv z := Subtype.ext (Prod.ext (hitch_zero z.val.1 z.val.2.val) (Subtype.ext (crop_hitch z.val.1 z.val.2.val))) |
| 24 | right_inv z := Subtype.ext (hitch_crop z.val) |
| 25 | |
| 26 | def liftingOne (u : Legs Y n) (x : X) (i : Fin n) (Λ : X→Y) : X × Thesis Λ i x u ↪ Legs X (n+1) where |
| 27 | toFun a:= hitch a.1 a.2.val |
| 28 | inj' a b h:= by |
| 29 | refine Prod.ext (congr_fun h 0) (Subtype.ext ?_) |
| 30 | simpa using congr_arg crop h |
| 31 | |
| 32 | lemma pluck_income (u : Page X (n+1)) (h : Within D σ p u) (hp : 0≤σ) : |
| 33 | Summable fun a:X×Thesis Λ i x v => u (hitch a.1 a.2.val) := by |
| 34 | refine ((within_total h hp i.succ x).comp_injective (liftingOne _ _ _ Λ).injective).congr (fun a => ?_) |
| 35 | change (if hitch a.1 a.2.val i.succ=x then _ else (0:ℝ))=_ |
| 36 | rw [hitch_succ,if_pos a.2.property.1]; rfl |
| 37 | lemma Orates.pluck {u : Page X (n+1)} {V : Page Y (n+1)} (he : Orates Λ u V) (h : Within D σ p u) (hp : 0≤σ) : |
| 38 | Orates Λ (pluck u) (pluck V) := by |
| 39 | intro i x v hx |
| 40 | let s := fun a:X×Thesis Λ i x v=> u (hitch a.1 a.2.val) |
| 41 | have H : Summable s := pluck_income u h hp |
| 42 | let k : X×Thesis Λ i x v→ Y := Λ ∘ Prod.fst |
| 43 | have hz (y : Y) : V (hitch y v) = ∑' a:{a//k a=y},s a.val := by |
| 44 | rw [he i.succ x (hitch y v) (by simp [hx])] |
| 45 | exact ((rollup (x:=x) (i:=i) (v:=v) (Λ:=Λ) y).tsum_eq (fun a => u a.val)).symm |
| 46 | change (∑' y,V (hitch y v)) = ∑' b : Thesis Λ i x v, ∑' y : X,u (hitch y b.val) |
| 47 | rw [tsum_congr hz] |
| 48 | refine Eq.trans (H.hasSum.tsum_fiberwise k).tsum_eq ?_ |
| 49 | exact ((Equiv.prodComm (Thesis Λ i x v) X).tsum_eq s).symm.trans H.prod_symm.tsum_prod |
| 50 | end pluck |
| 51 | |
| 52 | section seam |
| 53 | variable {Λ : X→Y} {i : Fin n} {x : X} |
| 54 | abbrev Trail (Λ : X→Y) (a : Legs Y n) := {v : Legs X n// Λ ∘ v=a} |
| 55 | def pinned (a : Legs Y n) (x : X) : Trail Λ a ≃ Thesis Λ 0 x (hitch (Λ x) a) where |
| 56 | toFun v := ⟨hitch x v.val, ⟨hitch_zero .., by rw [hitch_comp,v.property]⟩⟩ |
| 57 | invFun v := ⟨crop v.val, by rw [← crop_comp,v.property.2,crop_hitch]⟩ |
| 58 | left_inv v := Subtype.ext (crop_hitch x v.val) |
| 59 | right_inv v := by apply Subtype.ext; change hitch x (crop v.val)= v.val; exact congr_arg (fun y=> hitch y (crop v.val)) v.property.1 |>.symm.trans (hitch_crop ..) |
| 60 | def spine (a : Legs Y k) (b : Legs Y n) : (Trail Λ a × Trail Λ b) ≃ Trail Λ (Fin.append a b) where |
| 61 | toFun v := ⟨Fin.append v.1.val v.2.val, by rw [append_comp,v.1.property,v.2.property]⟩ |
| 62 | invFun v := (⟨snip k n v.val, by rw [← snip_comp,v.property,snip_append]⟩, |
| 63 | ⟨keep k n v.val, by rw [← keep_comp,v.property,keep_append]⟩) |
| 64 | left_inv v := Prod.ext (Subtype.ext (snip_append ..)) (Subtype.ext (keep_append ..)) |
| 65 | right_inv v := Subtype.ext (append_back ..) |
| 66 | lemma bind_pin (u : Page X (n+1)) (x : X) (a : Legs Y n) : page Λ 0 x u (hitch (Λ x) a) = ∑' v:Trail Λ a,u (hitch x v.val) := ((pinned (Λ:=Λ) a x).tsum_eq (fun q:Thesis ..=> u q.val)).symm |
| 67 | lemma pin_paid (u : Page X (n+1)) (x : X) (a : Legs Y n) (h : Within D σ p u) (hp : 0≤σ) : Summable fun v : Trail Λ a=>u (hitch x v.val) := |
| 68 | ((pinned (Λ:=Λ) a x).summable_iff (f:=fun q:Thesis ..=>u q.val)).mpr (page_money Λ u h hp 0 x _) |
| 69 | lemma seam_period {u : Page X (k+1)} {v : Page X (n+1)} (hu : Within D σ p u) (hv : Within D θ q v) (hp : 0 ≤ σ) (hq : 0≤θ) |
| 70 | (x : X) (w : Legs Y (k+n)) : |
| 71 | page Λ 0 x (seam u v) (hitch (Λ x) w) = page Λ 0 x u (hitch (Λ x) (snip k n w))* page Λ 0 x v (hitch (Λ x) (keep k n w)) := by |
| 72 | refine legs_plus (k:=k) (fun w=> page Λ 0 x (seam u v) (hitch (Λ x) w)=page Λ 0 x u (hitch (Λ x) (snip k n w))*page Λ 0 x v (hitch (Λ x) (keep k n w))) ?_ w; intro a b |
| 73 | rw [snip_append,keep_append,bind_pin, bind_pin,bind_pin,← (spine (Λ:=Λ) a b).tsum_eq _] |
| 74 | let g := fun z : Trail Λ a=>u (hitch x z.val); let f:=fun z:Trail Λ b=> v (hitch x z.val) |
| 75 | have he : Summable g:= pin_paid u x a hu hp; have hh : Summable f := pin_paid v x b hv hq |
| 76 | change (∑' z:Trail Λ a × Trail Λ b,seam u v (hitch x (Fin.append z.1.val z.2.val)))=(∑' z,g z)*(∑' z,f z) |
| 77 | rw [show _ = ∑' z:Trail Λ a × Trail Λ b,g z.1 * f z.2 from tsum_congr fun z=> seam_apply u v x z.1.val z.2.val] |
| 78 | exact (tsum_mul_tsum_of_summable_norm he.norm hh.norm).symm |
| 79 | |
| 80 | lemma Orates.sewn {u : Text α (k+1)} {v : Text α (n+1)} {U V} |
| 81 | (hu : Orates (small c α) u U) (hv : Orates (small c α) v V) (pU : Pervasive u) (pV : Pervasive v) |
| 82 | (h : Within (lawn α) σ p u) (he : Within (lawn α) θ q v) (hp : 0≤σ) (hq : 0 ≤ θ) : |
| 83 | Orates (small c α) (seam u v) (seam U V) := by |
| 84 | refine Orates.one (pU.sewn pV) 0 ?_ |
| 85 | intro w; refine legs_succ (fun w:Legs (Co c α) (k+n+1)=> ∃ x,w 0=small c α x ∧ seam U V w = page (small c α) 0 x (seam u v) w) ?H w |
| 86 | case H => |
| 87 | intro x y |
| 88 | obtain ⟨a,rfl⟩ := small_onto c α x |
| 89 | refine ⟨a,hitch_zero ..,?_⟩ |
| 90 | rw [seam, hitch_zero, crop_hitch, hu 0 a _ (hitch_zero ..), hv 0 a _ (hitch_zero ..), seam_period h he hp hq] |
| 91 | end seam |
| 92 | section pairs |
| 93 | -- one-row exact alignment with `Row.acts` |
| 94 | def tailOne (w : Co c α) : Trail (small c α) (fun _:Fin 1=>w) ≃ {x : Cover// wrap c x=w.1} where |
| 95 | toFun x := ⟨(x.val 0).1,by have he:= congr_arg Prod.fst (congr_fun x.property 0); exact he⟩ |
| 96 | invFun p := ⟨fun _=>(p.val,w.2), funext fun _=> Prod.ext p.property rfl⟩ |
| 97 | left_inv x := by apply Subtype.ext; ext1 i; rw [Fin.fin_one_eq_zero i]; exact Prod.ext rfl (by have he:= congr_arg Prod.snd (congr_fun x.property 0); exact he.symm) |
| 98 | right_inv _ := Subtype.ext rfl |
| 99 | lemma page_one (Λ : Text α 2) (x : Market α) (w : Co c α) : page (small c α) 0 x Λ (two (small c α x) w)= ∑' y:Cover, if wrap c y=w.1 then Λ (two x (y,w.2)) else 0 := by |
| 100 | rw [two,bind_pin,← (tailOne w).symm.tsum_eq _] |
| 101 | refine Eq.trans (tsum_subtype {y|wrap c y=w.1} (fun y=>Λ (two x (y,w.2)))) ?_ |
| 102 | apply tsum_congr; intro y; rw [Set.indicator_apply]; simp only [Set.mem_setOf_eq] |
| 103 | variable [Fintype α] |
| 104 | lemma plain_orates (T : Row α α) : Orates (small c α) (pair (plain T)) (pair (fun x y=> T.acts c x y)) := by |
| 105 | apply Orates.one (Pervasive.plain_pair T) 0 |
| 106 | intro v; obtain ⟨x,hx⟩:= small_onto c α (v 0) |
| 107 | refine ⟨x,hx.symm,?_⟩ |
| 108 | let a:= v 1 |
| 109 | have hz : v=two (small c α x) a:= funext fun i=> by fin_cases i <;> first| exact hx.symm | rfl |
| 110 | calc |
| 111 | pair _ _ = display (plain T) c x a := by |
| 112 | rw [pair, ← hx]; exact (matches_plain T x a).symm |
| 113 | _ = page (small c α) 0 x (pair (plain T)) (two (small c α x) a) := (page_one (pair (plain T)) x a).symm |
| 114 | _ = _ := by rw [hz] |
| 115 | end pairs |
| 116 | end YM.WilsonBulk.Sheet |