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.Euclid.Comparator |
| 2 | import YM.Euclid.Words |
| 3 | import YM.Gauge.Casimir |
| 4 | import YM.Gauge.Chart |
| 5 | import YM.Next.MAXWELL.Kernel |
| 6 | |
| 7 | |
| 8 | |
| 9 | /-! # Low invariant tensors for any actual nonabelian Simple Gauge -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.Maxwell.Free |
| 13 | open Set Function Filter Analysis MeasureTheory |
| 14 | open scoped ContDiff Topology BigOperators Matrix.Norms.Frobenius InnerProductSpace |
| 15 | |
| 16 | variable {G : Gauge} |
| 17 | |
| 18 | def irreduc (B : G.Color → ℝ) := ∀ u : G.El, ∀ x, B (G.adjoint u x)=B x |
| 19 | |
| 20 | def irreduc₂ (B : G.Color →ₗ[ℝ] G.Color →ₗ[ℝ] ℝ) := ∀ u : G.El, ∀ x y, B (G.adjoint u x) (G.adjoint u y)=B x y |
| 21 | |
| 22 | lemma adj_cont (x : G.Color) : Continuous fun u => G.adjoint u x := by |
| 23 | let J := fun u : G.El => G.mat u * G.colorMat x * star (G.mat u) |
| 24 | have hp : Continuous J := (G.continuous_mat.mul continuous_const).mul G.continuous_mat.star |
| 25 | exact G.projectColor.continuous_of_finiteDimensional.comp hp |
| 26 | |
| 27 | lemma adj_has (x y : G.Color) : HasDerivAt (fun s : ℝ => G.adjoint (G.lieExp (s • x)) y) (G.ad x y) 0 := by |
| 28 | let L := fun s : ℝ => G.mat (G.lieExp (s • x)) |
| 29 | have he : L 0=1 := by simp [L] |
| 30 | have hp : HasDerivAt L (G.colorMat x) 0 := by |
| 31 | unfold L; simp only [Gauge.mat_lieExp, map_smul] |
| 32 | simpa using! hasDerivAt_exp_smul_const (G.colorMat x) (0:ℝ) |
| 33 | have ht := (hp.mul_const (G.colorMat y)).mul hp.star |
| 34 | change HasDerivAt (fun s => L s*G.colorMat y*star (L s)) |
| 35 | (G.colorMat x * G.colorMat y * star (L 0) + (L 0 * G.colorMat y) * star (G.colorMat x)) 0 at ht |
| 36 | rw [he,star_one,mul_one, one_mul,G.colorMat_skew, mul_neg, ← sub_eq_add_neg] at ht |
| 37 | exact G.projectColor.toContinuousLinearMap.hasFDerivAt.comp_hasDerivAt (0:ℝ) ht |
| 38 | |
| 39 | lemma skew_ad (x y : G.Color) : G.ad x y = -G.ad y x := by |
| 40 | apply G.colorMat_injective |
| 41 | rw [map_neg,G.colorMat_ad,G.colorMat_ad,neg_sub] |
| 42 | |
| 43 | lemma ad_span (h : G.Simple) : Submodule.span ℝ {x|∃ a b, G.ad a b=x}=⊤ := by |
| 44 | let V := Submodule.span ℝ {x|∃ a b,G.ad a b=x} |
| 45 | have ht (a b) : G.ad a b ∈ V := Submodule.subset_span ⟨_,_,rfl⟩ |
| 46 | apply (h.ideals V fun a b _ => ht a b).resolve_left; intro hv |
| 47 | obtain ⟨x,y,hxy⟩ := h.nonabelian |
| 48 | exact hxy ((Submodule.mem_bot ..).mp (hv ▸ ht x y)) |
| 49 | |
| 50 | lemma singles_inv (h : G.Simple) (v : G.Color →ₗ[ℝ] ℝ) (H : irreduc (G:=G) v) : v=0 := by |
| 51 | let L := v.toContinuousLinearMap |
| 52 | refine LinearMap.ext_on (ad_span h) ?_ |
| 53 | rintro x ⟨a,b,rfl⟩ |
| 54 | have ht := L.hasFDerivAt.comp_hasDerivAt (0:ℝ) (adj_has a b) |
| 55 | change HasDerivAt (fun s : ℝ => v (G.adjoint (G.lieExp (s • a)) b)) (v (G.ad a b)) 0 at ht |
| 56 | simp_rw [H (G.lieExp _) _] at ht; exact ht.unique (hasDerivAt_const ..) |
| 57 | |
| 58 | lemma invariant_two (h : G.Simple) (B : G.Color →ₗ[ℝ] G.Color →ₗ[ℝ] ℝ) (H : irreduc₂ B) : |
| 59 | ∃ c : ℝ, ∀ x y, B x y=c * ⟪x,y⟫_ℝ := by |
| 60 | let f := LinearMap.toContinuousLinearMap.toLinearMap.comp B |
| 61 | let L := f.toContinuousLinearMap |
| 62 | have he (x y z) : B (G.ad x y) z = -B y (G.ad x z) := by |
| 63 | let K (b : G.Color) := fun t : ℝ => G.adjoint (G.lieExp (t • x)) b |
| 64 | have hk (b) : K b 0=b := by simp [K] |
| 65 | have hh := ((L.hasFDerivAt.comp_hasDerivAt (0:ℝ) (show HasDerivAt (K y) _ 0 from adj_has x y)).clm_apply |
| 66 | (show HasDerivAt (K z) _ 0 from adj_has x z)) |
| 67 | simp only [Function.comp_apply,hk] at hh |
| 68 | have ht (t : ℝ) : L (K y t) (K z t)=B y z := H _ _ _ |
| 69 | simp_rw [ht] at hh |
| 70 | have hr := hh.unique (hasDerivAt_const ..) |
| 71 | exact eq_neg_of_add_eq_zero_left hr |
| 72 | apply Gauge.invariant_scalar h B _ he |
| 73 | have hc (x y z) : B (G.ad x y) z=B x (G.ad y z) := by rw [skew_ad x y,map_neg,LinearMap.neg_apply,he,neg_neg] |
| 74 | have hv (x y z) : B (G.ad x y) z=B z (G.ad x y) := by rw [he,skew_ad x z, map_neg,neg_neg,← hc, he, skew_ad, map_neg,neg_neg] |
| 75 | intro x y |
| 76 | have heq : B.flip y=B y := LinearMap.ext_on (ad_span h) (by rintro z ⟨a,b,rfl⟩; exact hv a b y) |
| 77 | exact LinearMap.congr_fun heq x |
| 78 | end YM.Maxwell.Free |