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.RG08.Line.Hikes |
| 2 | |
| 3 | /-! |
| 4 | # Color-diagonal stencils: arithmetic before any slice index |
| 5 | -/ |
| 6 | noncomputable section |
| 7 | namespace YM.RG08.Line |
| 8 | open Stationary Function Matrix Lattice Exterior Precision RG Tree Wilson Laurent |
| 9 | open scoped Matrix BigOperators Topology |
| 10 | set_option autoImplicit false |
| 11 | variable {c f u: Side} {i j k : ℕ} (G : Gauge) |
| 12 | variable (X Y : Matrix (Body i c) (Body j f) ℝ) |
| 13 | lemma painted (v : Corn (Lines G f j))(a : G.ColorIndex) (t : Body i c): |
| 14 | (patron G X *ᵥ v) (t.1,t.2,a) = (X*ᵥ (fun x => v (x.1,x.2,a))) t := by rw [patron_fee]; rfl |
| 15 | |
| 16 | lemma ink_add_general : patron G (X+Y)=patron G X+patron G Y:= by |
| 17 | refine perVec fun v=> ?_; funext ⟨t,i',a⟩ |
| 18 | rw [add_mulVec,Pi.add_apply] |
| 19 | -- type Body ? ambiguity |
| 20 | change _ = (patron G X *ᵥ v) (_,_,a) + (patron G Y *ᵥ v) (_,_,a) |
| 21 | rw [painted G X v a ((t,i'):Body i c), painted G Y v a ((t,i'):Body i c), ← Pi.add_apply, ← add_mulVec, ← painted G (X+Y) v a ((t,i'):Body i c)] |
| 22 | lemma ink_factor_general (p : ℝ) : patron G (p • X)=p • patron G X:= by |
| 23 | refine perVec fun v=> ?_; funext ⟨t,i',a⟩ |
| 24 | rw [smul_mulVec,Pi.smul_apply, painted G (p • X) v a ((t,i'):Body i c),smul_mulVec,Pi.smul_apply] |
| 25 | rw [painted G X v a ((t,i'):Body i c)] |
| 26 | lemma ink_zero : patron G (0:Matrix (Body i c) (Body j f) ℝ)=0 := by |
| 27 | have hh := ink_factor_general G (0:Matrix (Body i c) (Body j f) ℝ) 0; simpa using hh |
| 28 | lemma ink_neg : patron G (-X) = - patron G X:= by simpa using ink_factor_general G X (-1) |
| 29 | lemma ink_sub : patron G (X-Y)=patron G X-patron G Y:=by rw [sub_eq_add_neg,ink_add_general,ink_neg,sub_eq_add_neg] |
| 30 | lemma ink_id : patron G (1:Matrix (Body i c) (Body i c) ℝ)=1 := by |
| 31 | refine perVec fun v=>?_ ; funext ⟨t,i',a⟩ |
| 32 | rw [painted G _ v a ((t,i'):Body i c),one_mulVec,one_mulVec] |
| 33 | |
| 34 | lemma ink_box (S : StepData c f) : curryG G S = patron G (boxMap S):= by |
| 35 | apply perVec; intro v; funext ⟨i,j,k⟩ |
| 36 | rw [curry_at,painted G (boxMap S) _ k ((i,j):Body 0 c),box_at, vac_only j] |
| 37 | |
| 38 | -- extract uncoloring for bounds |
| 39 | lemma patron_cell (x : Body i c)(y:Body j f)(a b : G.ColorIndex) : |
| 40 | patron G X (x.1,x.2,a) (y.1,y.2,b)= if a=b then X x y else 0 := by |
| 41 | let w : Corn (Lines G f j) := Pi.single (y.1,(y.2,b)) (1:ℝ) |
| 42 | have ht:=painted G X w a x |
| 43 | simp_rw [w,Matrix.mulVec_single] at ht |
| 44 | have hk : (fun x:Body j f=> w (x.1,(x.2,a))) = if a=b then Pi.single y (1:ℝ) else 0 := by ext1 z; split <;> rename_i h <;> simp [w,h,Pi.single_apply, Prod.ext_iff] |
| 45 | change _=ite .. |
| 46 | suffices he : (patron G X*ᵥ w) _ = _ by simpa [w,Matrix.mulVec_single] using he |
| 47 | rw [painted G X w a x, hk]; split <;> simp [Matrix.mulVec_single] |
| 48 | end YM.RG08.Line |