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.Extra.WEAK_SCALING_ACTLAW.Divergence |
| 2 | import YM.Extra.WEAK_SCALING_ACTLAW.Five |
| 3 | |
| 4 | |
| 5 | /-! # Free dimension criterion for birth of a physical stress -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Extra.WeakScaling.Dimension |
| 9 | open Set Function Filter Table Climb Org Cube Work.A01 Types Color |
| 10 | variable {G : Gauge} {L : Register G} {v : Pairs (Bel L)} {H : (Bel L).RealSpin} (h : Types H v) |
| 11 | |
| 12 | include h in |
| 13 | private lemma cov (s : Signed) (i j : Axis) : (Bel L).mirror H 4 s (contracted v i j) = |
| 14 | (eps s i * eps s j) • contracted v (s.perm i) (s.perm j) := by |
| 15 | rw [contracted,map_sum,contracted,Finset.smul_sum,← Equiv.sum_comp s.perm (fun k => (eps s i * eps s j) • v (s.perm i) k (s.perm j) k)] |
| 16 | refine Finset.sum_congr rfl fun a _ => ?_ |
| 17 | rw [h.action]; congr 1 |
| 18 | nlinarith only [congrArg (fun z : ℝ => eps s i * eps s j * z) (eps_self s a)] |
| 19 | |
| 20 | include h in |
| 21 | private lemma invariant (s : Signed) : (Bel L).mirror H 4 s (total v) = total v := by |
| 22 | change (Bel L).mirror H 4 s (∑ i, contracted v i i) = _ |
| 23 | simp_rw [map_sum,cov h,eps_self,one_smul, Equiv.sum_comp s.perm (fun i => contracted v i i)]; rfl |
| 24 | |
| 25 | include h in |
| 26 | theorem members : A v ∈ meanFree H ∧ B v ∈ meanFree H ∧ Types.C v ∈ meanFree H := by |
| 27 | let X : (Bel L).Stress := fun a b => contracted v a b |
| 28 | let t := total v |
| 29 | let y := Work.A15.front (n:=0) 0 (Fin.elim0 (α:=(Bel L).Tag)) 4 |
| 30 | have ht : X ∈ meanFree H := by |
| 31 | refine ⟨⟨fun a b => Finset.sum_congr rfl (fun i _ => h.exchange a i b i), fun a b => by simp [X,contracted,h.real], ?_⟩, |
| 32 | funext fun a => funext fun b => ?_⟩ |
| 33 | · intro s a b; rw [show (Bel L).mirror H 4 s (X a b) = _ from cov h s a b]; simp_rw [Complex.ofReal_mul, mul_smul, |
| 34 | ← Finset.smul_sum,eps_column, RCLike.real_smul_eq_coe_smul (K:=ℂ)]; rfl |
| 35 | change y (contracted v a b) = 0; simp only [y,contracted,_root_.map_sum,h.mean, Finset.sum_const_zero] |
| 36 | have he (P : (Bel L).Stress) : RawTensor H P ↔ ∀ s a b, (Bel L).mirror H 4 s (P a b) = |
| 37 | ((↑(eps s a * eps s b) : ℂ)) • P (s.perm a) (s.perm b) := by |
| 38 | unfold RawTensor; simp_rw [Complex.ofReal_mul,mul_smul,← Finset.smul_sum,eps_column] |
| 39 | have h' : A v ∈ meanFree H := by |
| 40 | refine ⟨⟨fun a b => ?_,fun a b => ?_,he _ |>.mpr fun s a b => ?_⟩,funext fun a => funext fun b => ?_⟩ |
| 41 | · by_cases h : a=b <;> simp [A,h,eq_comm (a:=b)] |
| 42 | · by_cases t : a=b <;> simp [A,t,contracted,h.real] |
| 43 | · by_cases t : a=b <;> simp [t,A,cov h, eps_self] |
| 44 | change y (A v a b) = 0; by_cases t:a=b <;> simp [y,A,t,contracted,h.mean] |
| 45 | have ho : (fun a b => if a=b then t else 0) ∈ meanFree H := by |
| 46 | refine ⟨⟨fun a b => ?_,fun a b => ?_,he _ |>.mpr fun s a b => ?_⟩, funext fun a => funext fun b => ?_⟩ |
| 47 | · simp [eq_comm] |
| 48 | · by_cases e : a=b <;> simp [e,t,total,h.real] |
| 49 | · by_cases e : a=b <;> simp [e,t,invariant h,eps_self] |
| 50 | change y (if a=b then t else 0) = 0; by_cases e : a=b <;> simp [e,y,t,total,h.mean] |
| 51 | have hb : B v = (2:ℝ)⁻¹ • (fun a b => if a=b then t else 0) - A v := by ext1 i; ext1 j; by_cases h:i=j <;> simp [A,B,t,h] |
| 52 | have hc : Types.C v = X - A v := by ext1 i; ext1 j; by_cases h:i=j <;> simp [Types.C,A,X,h] |
| 53 | exact ⟨h',hb ▸ (meanFree H).sub_mem ((meanFree H).smul_mem _ ho) h',hc ▸ (meanFree H).sub_mem ht h'⟩ |
| 54 | |
| 55 | |
| 56 | lemma rank_meanFree (hG : G.Simple) (H : (Bel L).Hierarchy) : 3 ≤ Module.finrank ℝ (meanFree H.spin) := by |
| 57 | obtain ⟨hA,hB,hC⟩ := members (pairing_types L hG H) |
| 58 | let v := pinned L |
| 59 | let P : Fin 3 → meanFree H.spin := ![⟨A v,hA⟩,⟨B v,hB⟩,⟨Types.C v,hC⟩] |
| 60 | let X : (Fin 3 → ℝ) →ₗ[ℝ] meanFree H.spin := ∑ i, (LinearMap.proj (R:=ℝ) i).smulRight (P i) |
| 61 | have hi : Injective X := LinearMap.ker_eq_bot.mp (LinearMap.ker_eq_bot'.mpr (by |
| 62 | intro a ha |
| 63 | have he := congrArg Subtype.val ha |
| 64 | unfold X at he; rw [LinearMap.sum_apply, Fin.sum_univ_three] at he |
| 65 | obtain ⟨h₁,h₂,h₃⟩ := tensor_detection hG L (a 0) (a 1) (a 2) he |
| 66 | have h (i : Fin 3) : i=0 ∨ i=1 ∨ i=2 := (by decide : ∀ i : Fin 3, i=0 ∨ i=1 ∨ i=2) i |
| 67 | funext i; rcases h i with h|h|h <;> simp [h,h₁,h₂,h₃])) |
| 68 | exact (Module.finrank_fin_fun ..).symm.trans_le (LinearMap.finrank_le_finrank_of_injective hi) |
| 69 | |
| 70 | lemma space (hG : G.Simple) (H : (Bel L).Hierarchy) : Module.finrank ℝ (polar H.spin) < Module.finrank ℝ (meanFree H.spin) := |
| 71 | lt_of_le_of_lt (Five.rank_polar hG H.spin) (rank_meanFree hG H) |
| 72 | end YM.Extra.WeakScaling.Dimension |