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.Transit.Departures |
| 2 | import YM.WilsonBulk.Web.Volume |
| 3 | |
| 4 | /-! |
| 5 | # Matching even across meshes; row and column periodization for multi-leg pulls. |
| 6 | |
| 7 | No quotient and no hidden intermediate volume. Because keeps BOTH positions |
| 8 | in the transfer tests, the proof permits (no estimate yet on) measuring a |
| 9 | arbitrary support per leg. Also good for showing consistency against synth. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.WilsonBulk.Sheet |
| 14 | open scoped Topology Classical BigOperators ENNReal |
| 15 | open Equiv Function Filter Finset Lattice Pert.Bulk Bloch |
| 16 | variable {X Y X' Y' : Type} {x : X} {p q M σ θ : ℝ} {P : X→ X'} {Q : Y→ Y'} {D : Rule X} {E : Rule Y} {m k n : ℕ} |
| 17 | |
| 18 | structure GaugeLine (P : X→X') (Q : Y→Y') (A : Duct X Y) (B : Duct X' Y') : Prop where |
| 19 | row x y : B (P x) y=∑' z:{z//Q z=y}, A x z.val |
| 20 | col x y : B x (Q y)=∑' z:{z//P z=x}, A z.val y |
| 21 | |
| 22 | def pintrail (a : X') (u : Legs X' n) (P : X→ X') : ({x//P x=a} × Trail P u) ≃ Trail P (hitch a u) where |
| 23 | toFun z := ⟨hitch z.1.val z.2.val,by rw [hitch_comp,z.1.property,z.2.property]⟩ |
| 24 | invFun z := (⟨z.val 0,congr_fun z.property 0⟩,⟨crop z.val,by rw [← crop_comp,z.property,crop_hitch]⟩) |
| 25 | left_inv z := Prod.ext (Subtype.ext (hitch_zero z.1.val z.2.val)) (Subtype.ext (crop_hitch z.1.val z.2.val)) |
| 26 | right_inv z := Subtype.ext (hitch_crop ..) |
| 27 | |
| 28 | -- separate product on a fixed finite list of possibly different heads; useful many places |
| 29 | lemma tail_product (Q : X→ X') (f : Fin n→ X→ℝ) (h : ∀ i,Summable (f i)) (v : Legs X' n) : |
| 30 | Summable (fun z:Trail Q v=> ∏ i,f i (z.val i)) ∧ |
| 31 | ∑' z: Trail Q v, ∏ i,f i (z.val i) = ∏ i,∑' z:{z//Q z=v i},f i z.val := by |
| 32 | induction n with |
| 33 | | zero => |
| 34 | let x : Trail Q v := ⟨Fin.elim0,Subsingleton.elim _ _⟩; letI : Unique (Trail Q v):= { default:=x, uniq:=fun y=> Subsingleton.elim _ _ } |
| 35 | refine ⟨Summable.of_finite,?_⟩; simp |
| 36 | | succ n ih => |
| 37 | revert v; refine legs_succ _ ?_; intro x v |
| 38 | let e' := pintrail x v Q; let g : {z//Q z=x}→ℝ:= fun i=> f 0 i.val; let k : Trail Q v → ℝ:= fun z=> ∏ i:Fin n, f i.succ (z.val i) |
| 39 | have hz : Summable g:= (h 0).subtype _ |
| 40 | obtain ⟨hk,hh⟩:= ih (crop f) (fun i=>h i.succ) v |
| 41 | have ht (i : {z//Q z=x} × Trail Q v) : (∏ j,f j ((e' i).val j))=g i.1*k i.2 := by |
| 42 | change (∏ j,f j (hitch _ _ j))=_; simp only [Fin.prod_univ_succ,hitch_succ,hitch_zero]; rfl |
| 43 | refine ⟨(Equiv.summable_iff e').1 ((summable_mul_of_summable_norm hz.norm (show Summable k from hk).norm).congr (fun z=> (ht z).symm)),?_⟩ |
| 44 | rw [← e'.tsum_eq _, Fin.prod_univ_succ (f:=fun j=>∑' z:{z//Q z=hitch x v j}, f j z.val),tsum_congr ht,← tsum_mul_tsum_of_summable_norm hz.norm (show Summable k from hk).norm] |
| 45 | exact congr_arg ((∑' z,g z)* ·) hh |
| 46 | |
| 47 | variable {K : Legs (Duct X Y) (n+1)} {B : Legs (Duct X' Y') (n+1)} {R S : Fin (n+1)→ℝ} {d : Duct X Y} |
| 48 | variable {u : Page X (n+1)} {v : Page X' (n+1)} |
| 49 | |
| 50 | lemma dispatched_inner (h : ∀ i, GaugeLine P Q (K i) (B i)) (p : ∀ i,AuditLine (K i) d (n+1) (R i) (S i)) (w : Legs X (n+1)) |
| 51 | (y : Y) (z : Legs Y' n) : |
| 52 | (∑' t : Trail Q z, metal K u (hitch y t.val) w) = K 0 (w 0) y * (u w * lot (crop B) (P ∘ crop w) z) := by |
| 53 | revert w; refine legs_succ _ ?_; intro x w |
| 54 | have hk := (tail_product Q (fun i : Fin n=>K i.succ (w i)) (fun i=> (p i.succ).total_row _) z).2 |
| 55 | simp_rw [metal_head,tsum_mul_left]; rw [hitch_zero,crop_hitch]; unfold lot; simp only [Function.comp_apply,crop]; simp_rw [GaugeLine.row (h _)]; exact congr_arg (fun q=> K 0 x y*(u (hitch x w)*q)) hk |
| 56 | |
| 57 | lemma quota_page (h : Orates P u v) (x : X) (v' : Legs X' n) {z : X'} (hh : P x=z) : |
| 58 | v (hitch z v')=∑' a:Trail P v',u (hitch x a.val) := by subst z; rw [h 0 x _ (hitch_zero ..),bind_pin] |
| 59 | lemma event_trail (f : Legs X n→ℝ) (h : Summable f) (P : X→X') (x : Legs X' n) : Summable fun z : Trail P x=> f z.val := h.subtype _ |
| 60 | lemma event_tsum {f : Legs X n→ℝ} (h : Summable f) (P : X→X') : |
| 61 | ∑' v,f v = ∑' v',∑' z:Trail P v',f z.val := (h.hasSum.tsum_fiberwise (fun v:Legs X n=> P∘v)).tsum_eq.symm |
| 62 | |
| 63 | set_option maxHeartbeats 100000 in |
| 64 | lemma dispatched (g : Geometry D E θ σ d) (he : ∀ i, AuditLine (K i) d (n+1) (R i) (S i)) (hv : Within D θ M u) (hp : 0≤σ) |
| 65 | (h : Orates P u v) (hh : ∀ i,GaugeLine P Q (K i) (B i)) (y : Y) (z : Legs Y' n) : |
| 66 | page Q 0 y (tele K u) (hitch (Q y) z)=tele B v (hitch (Q y) z) := by |
| 67 | let F (p : Legs X (n+1) × Trail Q z) := metal K u (hitch y p.2.val) p.1 |
| 68 | let U (w : Legs X (n+1)) := K 0 (w 0) y * (u w * lot (crop B) (P ∘ crop w) z) |
| 69 | have e (w : Legs X (n+1)) : (∑' t:Trail Q z,F (w,t))= U w := dispatched_inner hh he w y z |
| 70 | let E' (x:Legs X (n+1) × Trail Q z): Legs X (n+1) × Legs Y n:= (x.1,x.2.val) |
| 71 | have hi : Injective E' := by |
| 72 | intro x y e; have hu := congr_arg Prod.fst e; have hv := congr_arg Prod.snd e; exact Prod.ext hu (Subtype.ext hv) |
| 73 | have hF : Summable F := by |
| 74 | have Hx := (bullet g he hv hp y).comp_injective hi; exact Hx |
| 75 | have hu : Summable U:= hF.prod.congr e |
| 76 | calc |
| 77 | _ = ∑'z:Trail Q z,∑'w:Legs X (n+1),F (w,z) := by rw [bind_pin]; rfl |
| 78 | _ = ∑' w,U w := (Summable.tsum_comm (f:=fun p q=> F (p,q)) hF).trans (tsum_congr e) |
| 79 | _ = _ := by |
| 80 | rw [event_tsum hu P]; unfold tele; refine tsum_congr (legs_succ _ ?_) |
| 81 | intro x w |
| 82 | have ht (i:{i//P i=x}) (a:Trail P w) : U (hitch i.val a.val)= K 0 i.val y*(u (hitch i.val a.val)*lot (crop B) w z) := by simp only [U,hitch_zero,crop_hitch, a.property] |
| 83 | let E := pintrail x w P |
| 84 | rw [← E.tsum_eq (fun t:Trail P (hitch x w)=> U t.val)]; refine Eq.trans ((Equiv.summable_iff E).mpr (event_trail U hu P _)).tsum_prod ?_ |
| 85 | change ∑' i:{i//P i=x}, ∑' a:Trail P w, U (hitch i.val a.val) = _ |
| 86 | have H (i:{i//P i=x}): v (hitch x w) = ∑' a:Trail P w,u (hitch i.val a.val) := quota_page h i.val _ i.property |
| 87 | simp_rw [ht,tsum_mul_left,tsum_mul_right,← H,tsum_mul_right, ← (hh 0).col]; rw [metal_head] |
| 88 | lemma page_account (e : Fin n≃Fin k) (i : Fin n) (t : Legs Y' k) (y : Y) (P : Page Y k) : |
| 89 | page Q (e i) y P t=page Q i y (escort e.symm P) (t ∘ e) := by |
| 90 | rw [page_tsum,page_tsum,← (casesEquiv e (Equiv.refl Y)).tsum_eq _] |
| 91 | apply tsum_congr; intro a; rw [casesEquiv_apply] |
| 92 | simp only [Equiv.coe_refl,id_comp]; unfold escort |
| 93 | simp only [Function.comp_apply,Equiv.symm_apply_apply] |
| 94 | have hT : Q ∘ (a ∘ e.symm)= t ↔ Q ∘ a=t ∘ e := |
| 95 | ⟨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⟩ |
| 96 | simp only [hT] |
| 97 | |
| 98 | lemma Orates.tele (g : Geometry D E θ σ d) (he : ∀ i, AuditLine (K i) d (n+1) (R i) (S i)) (hv : Within D θ M u) (hp : 0≤σ) |
| 99 | (h : Orates P u v) (hh : ∀ i,GaugeLine P Q (K i) (B i)) : Orates Q (tele K u) (tele B v) := by |
| 100 | intro i x w hx |
| 101 | let q := Equiv.swap i 0 |
| 102 | have ht : q 0=i:= Equiv.swap_apply_right .. |
| 103 | have e' : ∀ j,AuditLine ((K∘q) j) d (n+1) (R (q j)) (S (q j)):= fun j=>he (q j) |
| 104 | have hh' : ∀ j,GaugeLine P Q ((K∘q) j) ((B∘q) j):= fun j=> hh (q j) |
| 105 | have h' := dispatched g e' (hv.reindex q.symm) hp (h.reindex q.symm) hh' x (crop (w ∘ q)) |
| 106 | rw [show Q x=(w ∘ q) 0 from (by simp [ht,hx]),hitch_crop,teleport_escort, teleport_escort] at h' |
| 107 | exact (Eq.trans (show _ = escort q.symm (Sheet.tele B v) (w ∘ q) from by simp [escort,comp_assoc]) h'.symm).trans ((ht ▸ page_account (Q:=Q) q 0 w x (Sheet.tele K u)).symm) |
| 108 | end YM.WilsonBulk.Sheet |