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.Next.MAXWELL.Batch |
| 2 | import YM.Next.MAXWELL.Born |
| 3 | import YM.Next.MAXWELL.Rumbles |
| 4 | |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # Hidden colors at a cluster |
| 9 | |
| 10 | Mixed-leg replacement operators with unrestricted highest direction. |
| 11 | The low jet values need only *generically* separate colors -- prove this |
| 12 | over the polynomial domain using det. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Maxwell.Free |
| 17 | open Set Function Filter Tensor Analysis MeasureTheory Wick |
| 18 | open scoped ContDiff Topology BigOperators InnerProductSpace ComplexOrder Matrix |
| 19 | variable {G : Gauge} {j k l n r d : ℕ} |
| 20 | |
| 21 | lemma probe_radius_span (G : Gauge) (j k : ℕ) : Submodule.span ℝ |
| 22 | {p : Module.Dual ℝ (Probe G j)| ∃ (x:E4) (h:x∈away) (c:G.ColorIndex) (q:Flavor k),p=pairing h (flavor k c q)} = ⊤ := by |
| 23 | classical |
| 24 | let W := Submodule.span ℝ {p : Module.Dual ℝ (Probe G j)|∃ (x:E4) (h:x∈away) (c:G.ColorIndex) (q:Flavor k), p=pairing h (flavor k c q)} |
| 25 | change W=⊤ |
| 26 | have hp : W.dualCoannihilator=⊥ := by |
| 27 | apply le_antisymm _ bot_le; intro i hi |
| 28 | have ht : i=∑ c, flavor j c (flavor_pick i c) := by |
| 29 | ext u; rw [LinearMap.sum_apply]; conv_lhs => rw [← half_sum u, map_sum] |
| 30 | rfl |
| 31 | have hm (c) : flavor_pick i c=0 := by |
| 32 | apply ranging c _ k; intro z hz q |
| 33 | have H (z) (h : z∈away) : pairing (l:=j) h (flavor k c q) i=0 := |
| 34 | (Submodule.mem_dualCoannihilator _).mp hi _ (show _∈ W from Submodule.subset_span ⟨z,h,c,q,rfl⟩) |
| 35 | have he : K i (flavor k c q) z 0=0 := (K_symmetric _ _ hz).trans (H _ (sub_ne_zero.mpr hz.symm)) |
| 36 | rw [ht,K_pairing _ _ hz,map_sum,LinearMap.sum_apply,Finset.sum_eq_single_of_mem c (Finset.mem_univ _)] at he |
| 37 | · change fare c (flavor_pick i c) q (z-0)=_ at he |
| 38 | rwa [sub_zero] at he |
| 39 | intro a _ ha; change legKernel _ _ _=_ |
| 40 | rw [any_ink c (flavor_pick i a) q a c (sub_ne_zero.mpr hz),if_neg ha,zero_mul] |
| 41 | simp_rw [hm,map_zero, Finset.sum_const_zero] at ht |
| 42 | rw [ht]; exact Submodule.zero_mem _ |
| 43 | apply Submodule.eq_top_of_finrank_eq |
| 44 | have he := Subspace.finrank_add_finrank_dualCoannihilator_eq W |
| 45 | rw [hp,finrank_bot,add_zero] at he |
| 46 | rw [he]; exact (Subspace.dual_finrank_eq ..).symm |
| 47 | |
| 48 | lemma group_meal {p : WickPol G} (h : ∀ (x:E4), x∈away → ∀ (q : Flavor k) (c : G.ColorIndex), singleBite j (flavor k c q) x p=0) |
| 49 | (i : Fin (legDim G j)) : MvPolynomial.pderiv (keyAt j i) p=0 := by |
| 50 | let f (a : Fin (legDim G j)) := coordinateLeg (keyAt j a) |
| 51 | let P (a : Fin (legDim G j)) := MvPolynomial.pderiv (keyAt j a) p |
| 52 | let Q : Module.Dual ℝ (Probe G j) →ₗ[ℝ] WickPol G := |
| 53 | { toFun x := ∑ i, x (f i) • P i |
| 54 | map_add' x y := by simp only [LinearMap.add_apply,add_smul, Finset.sum_add_distrib] |
| 55 | map_smul' t x := by simp [Finset.smul_sum,smul_smul] } |
| 56 | have hh : Q=0 := by |
| 57 | apply LinearMap.ext_on (probe_radius_span G j k); rintro w ⟨x,hx,c,q,rfl⟩ |
| 58 | have he := h x hx q c |
| 59 | rw [bite_eval] at he; simp_rw [volumes] at he; exact he |
| 60 | have ht := LinearMap.congr_fun hh ((Module.Dual.eval ℝ (Shell G j)) (frame G j i)) |
| 61 | change ∑ a : Fin (legDim G j), (f a (frame G j i)) • P a=0 at ht |
| 62 | rw [Finset.sum_eq_single_of_mem i (Finset.mem_univ _)] at ht |
| 63 | · rw [show f i _=1 from (Module.Basis.repr_self_apply (frame G j) i i).trans (if_pos rfl),one_smul] at ht; exact ht |
| 64 | intro a _ ha; rw [show f a _=0 from (Module.Basis.repr_self_apply (frame G j) i a).trans (if_neg ha.symm),zero_smul] |
| 65 | |
| 66 | lemma matrix_meal (h : G.Simple) : ∃ q : (c : G.ColorIndex) → Flavor c.val, (Matrix.of (fun (c i : G.ColorIndex) => bit (q c) i)).det≠0 := by |
| 67 | classical |
| 68 | have he (c : G.ColorIndex) : ∃ (q : Flavor c.val) (v : Sheet c.val), q v = 1 := by |
| 69 | let B := Module.finBasis ℝ (Sheet c.val) |
| 70 | letI := has_sheet h c.val |
| 71 | let i := (⟨0,Module.finrank_pos⟩ : Fin (Module.finrank ℝ (Sheet c.val))) |
| 72 | exact ⟨B.coord i, B i, (Module.Basis.repr_self_apply B i i).trans (if_pos rfl)⟩ |
| 73 | choose q w hw using he |
| 74 | let A := Matrix.of fun c i : G.ColorIndex => bit (q c) i |
| 75 | refine ⟨q,fun H => ?_⟩ |
| 76 | let y : TaylorTower G := fun j => if h:j<G.lieDim then fill j (unitColor G ⟨j,h⟩) (w ⟨j,h⟩) else 0 |
| 77 | let P := probe y |
| 78 | have hh : A.map P=1 := by |
| 79 | ext a b; change probe y (bit (q a) b)=_; rw [bit,symbol_test] |
| 80 | rw [show y a.val=fill _ (unitColor G a) (w a) from dif_pos a.isLt, Matrix.one_apply] |
| 81 | by_cases h:a=b |
| 82 | · subst b; rw [tasted,hw,if_pos rfl]; rfl |
| 83 | rw [if_neg h]; |
| 84 | change (↑(q a (faceMap _ _ (fill _ _ _))):ℂ)= _ |
| 85 | rw [which,unitPaint a b,if_neg (Ne.symm h),zero_smul,map_zero]; rfl |
| 86 | have hk : P A.det=1 := by rw [AlgHom.map_det,show P.mapMatrix A=1 from hh, Matrix.det_one] |
| 87 | rw [H,map_zero] at hk; exact zero_ne_one hk |
| 88 | |
| 89 | lemma reduces_top (A : WickPol G) (h : G.Simple) (hp : A ∈ shelf G (j+1)) |
| 90 | (H : ∀ (l : ℕ), l < G.lieDim → ∀ (p : Flavor k) (q : Flavor l) x,x≠0 → circulate (j+1) p q x A=0) : A∈ shelf G j := by |
| 91 | classical |
| 92 | obtain ⟨q,hq⟩ := matrix_meal h |
| 93 | have he (p : Flavor k) (i : G.ColorIndex) {x : E4} (hx : x∈away) : singleBite (j+1) (flavor k i p) x A=0 := by |
| 94 | let M := Matrix.of fun i b : G.ColorIndex => bit (q i) b |
| 95 | let D i := singleBite (j+1) (flavor k (G:=G) i p) x A |
| 96 | have hi : M *ᵥ D=0 := funext fun i => (circulate_eval (j+1) p (q i) x A).symm.trans (H _ i.isLt p (q i) x hx) |
| 97 | have hv : M.det * D i=0 := congr_fun (show M.det • D=0 by rw [← Matrix.one_mulVec D, ← Matrix.smul_mulVec, ← Matrix.adjugate_mul, ← Matrix.mulVec_mulVec, hi]; simp) i |
| 98 | exact (mul_eq_zero.mp hv).resolve_left hq |
| 99 | apply MvPolynomial.mem_supported.mpr; intro i hi |
| 100 | have hb : i.1 ≤ j+1 := MvPolynomial.mem_supported.mp (show A∈Rack G _ from hp) hi |
| 101 | rcases i with ⟨i,z⟩; change i ≤ j+1 at hb; change i ≤ j |
| 102 | by_contra! ha |
| 103 | obtain rfl : i=j+1 := by omega |
| 104 | exact erase_var _ A (group_meal (k:=k) (fun _ hx p c => he p c hx) z) hi |
| 105 | end YM.Maxwell.Free |
| 106 | |
| 107 | namespace YM.Maxwell.Free |
| 108 | open Set Function Filter Tensor Analysis MeasureTheory Wick |
| 109 | open scoped Topology BigOperators |
| 110 | variable {G : Gauge} |
| 111 | |
| 112 | /-- One fixed exterior weight bound (all arities allowed) detects all caps. -/ |
| 113 | theorem exposed (h : G.Simple) : ∃ d,∀ w,∀ p∈shellSector G w,p∈ghost G d → p=0 := by |
| 114 | let j := G.lieDim |
| 115 | let L := j+1 |
| 116 | obtain ⟨r,hr⟩ := hosting G j |
| 117 | let d := max r (4+j+L) |
| 118 | refine ⟨d,fun w => ?_⟩ |
| 119 | induction w using Nat.strong_induction_on with |
| 120 | | h w ih => |
| 121 | intro p hp H |
| 122 | cases w with |
| 123 | | zero => exact ghosts_out (chain (Nat.zero_le _) hp) H |
| 124 | | succ w => |
| 125 | have hx (i : ℕ) (hK : p∈shelf G (j+i)) : p∈shelf G j := by |
| 126 | induction i with |
| 127 | | zero => exact hK |
| 128 | | succ m he => |
| 129 | rw [← Nat.add_assoc] at hK |
| 130 | apply he (reduces_top p h hK (k:=L) ?_) |
| 131 | intro l hl q t x hu |
| 132 | have hh : l < j := hl |
| 133 | have hw : L+l+4 ≤ d := le_trans (by omega : L+l+4 ≤ 4+j+L) (le_max_right ..) |
| 134 | apply ih w (by omega) _ (circulates_lower (j+m+1) q t hu (by omega) _ hp) (cluster_clear hK H q t (by unfold L; omega) hw hu) |
| 135 | have he : p∈shelf G j := hx (w+1) ((MvPolynomial.supported_mono |
| 136 | (show {k : Slot G| k.1 ≤ w + 1} ⊆ {k : Slot G| k.1 ≤ j+(w+1)} from fun _ hv => le_trans hv (Nat.le_add_left ..))) (cap_shelf p (sector.mp hp).1)) |
| 137 | exact hosted_out p (ghost_le (le_max_left ..) H) (fun i {_} => hr i _) he hp |
| 138 | end YM.Maxwell.Free |