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.EXTRACTION.Tails |
| 2 | |
| 3 | /-! |
| 4 | # Invariants in low slot degree |
| 5 | |
| 6 | Work with the actual real Lie algebra in physical color coordinates. Simplicity of |
| 7 | that algebra is important: adjoint-invariant linear forms vanish; *any* invariant bilinear |
| 8 | form (even potentially across different Taylor degrees or antisymmetric index types) is a |
| 9 | multiple of the inner product. No dimension-at-infinity/color group assumptions. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.StressFlux |
| 14 | open Function Filter Set Gauge LinearMap |
| 15 | open scoped Topology BigOperators Matrix.Norms.Frobenius InnerProductSpace |
| 16 | |
| 17 | variable {G : Gauge} |
| 18 | |
| 19 | theorem inner_adjoint (g : G.El) (x y : G.Color) : ⟪G.adjoint g x,G.adjoint g y⟫_ℝ = ⟪x,y⟫_ℝ := |
| 20 | (LinearIsometry.inner_map_map (⟨G.adjoint g, G.norm_adjoint g⟩ : G.Color →ₗᵢ[ℝ] G.Color)) x y |
| 21 | |
| 22 | theorem color_change (x y : G.Color) : HasDerivAt (fun t : ℝ => G.adjoint (G.lieExp (t • x)) y) |
| 23 | (G.ad x y) 0 := by |
| 24 | let U := fun t : ℝ => G.mat (G.lieExp (t • x)) |
| 25 | have hx : HasDerivAt U (G.colorMat x) 0 := by |
| 26 | unfold U; simp only [G.mat_lieExp, map_smul] |
| 27 | simpa using! hasDerivAt_exp_smul_const (G.colorMat x) (0 : ℝ) |
| 28 | have he := G.projectColor.toContinuousLinearMap.hasFDerivAt.comp_hasDerivAt 0 |
| 29 | ((hx.mul_const (G.colorMat y)).mul hx.star) |
| 30 | refine he.congr_deriv ?_ |
| 31 | simp only [U, zero_smul, G.mat_lieExp, map_zero, NormedSpace.exp_zero, star_one, |
| 32 | G.colorMat_skew, mul_one, one_mul, mul_neg] |
| 33 | rfl |
| 34 | |
| 35 | theorem ad_antisym (x y : G.Color) : G.ad x y = - G.ad y x := by |
| 36 | apply G.colorMat_injective; simp only [map_neg, G.colorMat_ad,neg_sub] |
| 37 | |
| 38 | section Linear |
| 39 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 40 | |
| 41 | theorem linear_zero (H : G.Simple) (l : G.Color →ₗ[ℝ] V) (hl : ∀ x y, l (G.ad x y) = 0) : l = 0 := by |
| 42 | obtain h|h := H.ideals (LinearMap.ker l) (fun x y _ => hl x y) |
| 43 | · obtain ⟨x,y,hz⟩ := H.nonabelian |
| 44 | exact (hz ((LinearMap.ker_eq_bot.mp h) ((hl x y).trans (map_zero l).symm))).elim |
| 45 | exact LinearMap.ker_eq_top.mp h |
| 46 | |
| 47 | theorem linear_invariant (H : G.Simple) (l : G.Color →ₗ[ℝ] V) |
| 48 | (h : ∀ g x, l (G.adjoint g x) = l x) : l = 0 := by |
| 49 | refine linear_zero H l fun x y => ?_ |
| 50 | have he : HasDerivAt (fun t : ℝ => l (G.adjoint (G.lieExp (t • x)) y)) (l (G.ad x y)) 0 := |
| 51 | l.toContinuousLinearMap.hasFDerivAt.comp_hasDerivAt 0 (color_change x y) |
| 52 | simp_rw [h] at he |
| 53 | exact he.unique (hasDerivAt_const ..) |
| 54 | |
| 55 | lemma bilinear_infinitesimal (B : G.Color →ₗ[ℝ] G.Color →ₗ[ℝ] V) |
| 56 | (hb : ∀ g x y, B (G.adjoint g x) (G.adjoint g y) = B x y) (x y z : G.Color) : |
| 57 | B (G.ad x y) z = - B y (G.ad x z) := by |
| 58 | let L := LinearMap.toContinuousLinearMap |
| 59 | (LinearMap.toContinuousLinearMap.toLinearMap ∘ₗ B) |
| 60 | have he := (L.hasFDerivAt.comp_hasDerivAt 0 (color_change x y)).clm_apply (color_change x z) |
| 61 | have hw (v : G.Color) : G.adjoint (G.lieExp ((0:ℝ) • x)) v = v := by simp |
| 62 | change HasDerivAt (fun t => B (G.adjoint (G.lieExp (t • x)) y) (G.adjoint (G.lieExp (t • x)) z)) |
| 63 | (B (G.ad x y) _ + B _ (G.ad x z)) 0 at he |
| 64 | simp_rw [hw, hb] at he |
| 65 | exact eq_neg_of_add_eq_zero_left (he.unique (hasDerivAt_const ..)) |
| 66 | end Linear |
| 67 | |
| 68 | lemma bilinear_real (H : G.Simple) (B : G.Color →ₗ[ℝ] G.Color →ₗ[ℝ] ℝ) |
| 69 | (hi : ∀ x y z, B (G.ad x y) z = - B y (G.ad x z)) : ∃ c : ℝ, ∀ x y, B x y = c * ⟪x,y⟫_ℝ := by |
| 70 | let A := B - B.flip |
| 71 | have hS (x y : G.Color) : A x y = - A y x := by dsimp [A]; ring |
| 72 | have hI (x y z : G.Color) : A (G.ad x y) z = A (G.ad x z) y := by dsimp [A]; rw [hi,hi x z]; ring |
| 73 | have hW (x y z : G.Color) : A (G.ad x y) z = - A (G.ad y x) z := by nth_rw 1 [ad_antisym]; simp |
| 74 | have he (x y z : G.Color) : A (G.ad x y) z = 0 := by linarith [hI x y z,hW x z y,hI z x y,hW z y x,hI y z x,hW y x z] |
| 75 | apply invariant_scalar H B (fun x y => sub_eq_zero.mp ?_) hi |
| 76 | exact LinearMap.congr_fun (linear_zero H (A.flip y) (fun _ _ => he _ _ _)) x |
| 77 | |
| 78 | /-- Scale is specified, not just existence. -/ |
| 79 | theorem bilinear_invariant (H : G.Simple) (B : G.Color →ₗ[ℝ] G.Color →ₗ[ℝ] ℂ) |
| 80 | (h : ∀ g x y, B (G.adjoint g x) (G.adjoint g y) = B x y) {e : G.Color} (he : ‖e‖ = 1) (x y : G.Color) : |
| 81 | B x y = ⟪x,y⟫_ℝ • B e e := by |
| 82 | have hs (l : ℂ →ₗ[ℝ] ℝ) : l (B x y) = ⟪x,y⟫_ℝ * l (B e e) := by |
| 83 | let A : G.Color →ₗ[ℝ] G.Color →ₗ[ℝ] ℝ := B.compr₂ l |
| 84 | have hi (u v w : G.Color) : A (G.ad u v) w = - A v (G.ad u w) := by |
| 85 | change l (B (G.ad u v) w) = - l (B v (G.ad u w)); rw [bilinear_infinitesimal B h,map_neg] |
| 86 | obtain ⟨c,hc⟩ := bilinear_real H A hi |
| 87 | change A x y = _ * A e e |
| 88 | rw [hc x y,hc e e,real_inner_self_eq_norm_sq,he, one_pow,mul_one,mul_comm] |
| 89 | apply Complex.ext |
| 90 | · rw [Complex.smul_re]; exact hs Complex.reCLM.toLinearMap |
| 91 | rw [Complex.smul_im]; exact hs Complex.imCLM.toLinearMap |
| 92 | end YM.StressFlux |