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.Gauge.Colors |
| 2 | import YM.Space.Orthogonal |
| 3 | import YM.Analysis.Symmetric |
| 4 | import Mathlib.Analysis.Calculus.ContDiff.Operations |
| 5 | |
| 6 | /-! |
| 7 | # Radial variables |
| 8 | |
| 9 | Work with real Lie algebra in physical color coordinates and |
| 10 | symmetric homogeneous (Taylor **coefficients**, not derivative values). The radial constraint is imposed on polynomial potentials at all real positions. No quotient by YM equations in these variables. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Labels |
| 15 | open Set WithLp |
| 16 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators |
| 17 | |
| 18 | /-- `j` denotes weight `j+2`, polynomial position degree `j+1`, slot degree one. -/ |
| 19 | abbrev Raw (G : Gauge) (j : ℕ) := Axis → Tensor.T E4 G.Color (j+1) |
| 20 | |
| 21 | /-- Taylor coefficient constrained by radial gauge. -/ |
| 22 | def radial (G : Gauge) (j : ℕ) : Submodule ℝ (Raw G j) where |
| 23 | carrier := {A | (∀ i : Axis, Tensor.Sym (A i)) ∧ ∀ z : E4, ∑ i : Axis, z i • Tensor.diagonal (A i) z = 0} |
| 24 | zero_mem' := by simp [Tensor.Sym,Tensor.diagonal] |
| 25 | add_mem' := by |
| 26 | rintro x y ⟨H,H'⟩ ⟨K,K'⟩ |
| 27 | refine ⟨fun i s r ↦ ?_,fun z ↦ ?_⟩ |
| 28 | · simp [H i s r, K i s r] |
| 29 | simp only [Tensor.diagonal] at H' K' ⊢ |
| 30 | simp [smul_add, Finset.sum_add_distrib, H', K'] |
| 31 | smul_mem' := by |
| 32 | rintro c y ⟨H,H'⟩ |
| 33 | refine ⟨fun i s r ↦ ?_,fun z ↦ ?_⟩ |
| 34 | · simp [H i s r] |
| 35 | simp only [Tensor.diagonal] at H' ⊢ |
| 36 | simp_rw [Pi.smul_apply, smul_apply, smul_comm _ c, ← Finset.smul_sum, |
| 37 | H', smul_zero] |
| 38 | |
| 39 | abbrev Taylor (G : Gauge) (j : ℕ) := ↥(radial G j) |
| 40 | |
| 41 | namespace Taylor |
| 42 | variable {G : Gauge} {j : ℕ} |
| 43 | |
| 44 | def value (A : Taylor G j) (i : Axis) (z : E4) : G.Color := Tensor.diagonal (A.val i) z |
| 45 | |
| 46 | theorem radial_value (A : Taylor G j) (x : E4) : ∑ i, x i • A.value i x = 0 := A.property.2 _ |
| 47 | |
| 48 | theorem value_ext (A B : Taylor G j) (h : value A = value B) : A = B := |
| 49 | Subtype.ext (funext fun i => Tensor.ext_diag _ _ (A.property.1 i) (B.property.1 i) (congr_fun h i)) |
| 50 | |
| 51 | theorem value_hom (A : Taylor G j) (i : Axis) (x : E4) (t : ℝ) : |
| 52 | A.value i (t • x) = (t^(j+1)) • A.value i x := by |
| 53 | have hi := (A.val i).map_smul_univ (fun _ => t) (fun _ => x) |
| 54 | simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] at hi; exact hi |
| 55 | |
| 56 | def paint (u : G.El) : Taylor G j →ₗ[ℝ] Taylor G j where |
| 57 | toFun A := ⟨fun i => (G.adjoint u).toContinuousLinearMap.compContinuousMultilinearMap (A.val i), by |
| 58 | refine ⟨fun i s r ↦ ?_,fun z ↦ ?_⟩ |
| 59 | · exact congr_arg (G.adjoint u) (A.property.1 i s r) |
| 60 | change ∑ i : Axis, z i • G.adjoint u (value A i z) = _ |
| 61 | rw [← map_zero (G.adjoint u), ← A.radial_value z, map_sum] |
| 62 | simp only [map_smul] ⟩ |
| 63 | map_add' := by intro x y; apply Subtype.ext; funext i; ext1; exact map_add (G.adjoint u) _ _ |
| 64 | map_smul' := by intro c x; apply Subtype.ext; funext i; ext1; exact map_smul (G.adjoint u) _ _ |
| 65 | |
| 66 | @[simp] theorem paint_value (u : G.El) (A : Taylor G j) (i x) : |
| 67 | value (paint u A) i x = G.adjoint u (value A i x) := rfl |
| 68 | |
| 69 | def turn (g : Ortho) : Taylor G j →ₗ[ℝ] Taylor G j where |
| 70 | toFun A := ⟨ fun i => ∑ k, g.val i k • |
| 71 | ((A.val k).compContinuousLinearMap fun _ ↦ (Ortho.motion g⁻¹).toContinuousLinearMap), by |
| 72 | constructor |
| 73 | · intro i x s |
| 74 | have hX := A.property.1 |
| 75 | simp only [sum_apply, smul_apply, |
| 76 | ContinuousMultilinearMap.compContinuousLinearMap_apply] |
| 77 | apply Finset.sum_congr rfl |
| 78 | intro k _ |
| 79 | exact congr_arg (fun z : G.Color => g.val i k • z) (hX k (fun i => (Ortho.motion g⁻¹) (x i)) s) |
| 80 | intro z |
| 81 | have ht (k : Axis) : ∑ i, z i * g.val i k = Ortho.move g⁻¹ z k := by |
| 82 | simp only [Ortho.move, M4.at_coord] |
| 83 | apply Finset.sum_congr rfl; intro i _ |
| 84 | change z i * g.val i k = star (g.val i k) * z i |
| 85 | rw [star_trivial, mul_comm] |
| 86 | simp only [Tensor.diagonal, sum_apply, smul_apply, |
| 87 | ContinuousMultilinearMap.compContinuousLinearMap_apply, Finset.smul_sum, smul_smul] |
| 88 | rw [Finset.sum_comm] |
| 89 | simp_rw [← Finset.sum_smul, ht] |
| 90 | exact A.radial_value _ ⟩ |
| 91 | map_add' := by |
| 92 | intro x y; apply Subtype.ext; funext i; ext1 v |
| 93 | simp [Finset.sum_add_distrib, smul_add] |
| 94 | map_smul' := by |
| 95 | intro c x; apply Subtype.ext; funext i; ext1 v |
| 96 | simp [Finset.smul_sum, smul_comm c] |
| 97 | |
| 98 | theorem turn_value (s : Ortho) (A : Taylor G j) (i : Axis) (x : E4) : |
| 99 | value (turn s A) i x = ∑ k, s.val i k • value A k (Ortho.move s⁻¹ x) := by |
| 100 | unfold turn value Tensor.diagonal |
| 101 | simp [Ortho.motion] |
| 102 | |
| 103 | @[simp] theorem oneTurn (A : Taylor G j) : turn 1 A = A := by |
| 104 | apply value_ext; funext i x; rw [turn_value, inv_one, Ortho.move_one] |
| 105 | change ∑ k : Axis, (1 : M4) i k • _ = _; simp [Matrix.one_apply] |
| 106 | |
| 107 | theorem turn_mul (s t : Ortho) (A : Taylor G j) : |
| 108 | turn (s*t) A = turn s (turn t A) := by |
| 109 | apply value_ext; funext i x |
| 110 | simp_rw [turn_value, mul_inv_rev, Ortho.move_mul, Finset.smul_sum, smul_smul] |
| 111 | change ∑ k, (s.val * t.val) i k • _ = _ |
| 112 | rw [Finset.sum_comm]; simp_rw [Matrix.mul_apply, Finset.sum_smul] |
| 113 | |
| 114 | theorem turn_paint (s : Ortho) (u : G.El) (A : Taylor G j) : |
| 115 | paint u (turn s A) = turn s (paint u A) := by |
| 116 | apply value_ext; funext i x; simp [turn_value] |
| 117 | end Taylor |
| 118 | end YM.Labels |