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.Bid.Angular |
| 2 | |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.Work.A09 |
| 6 | open Bid Org Table Ward Spin |
| 7 | open Ortho (plane Skew) |
| 8 | open scoped BigOperators Matrix.Norms.Frobenius |
| 9 | |
| 10 | lemma bracket_planes (a b i j : Axis) : |
| 11 | bracket (plane a b) (plane i j) = (if b = i then plane a j else 0) - |
| 12 | (if b = j then plane a i else 0) + (if a = i then plane j b else 0) - |
| 13 | (if a = j then plane i b else 0) := by |
| 14 | apply Subtype.ext |
| 15 | split_ifs <;> |
| 16 | simp_all [bracket, plane, sub_mul, mul_sub, eq_comm] <;> abel |
| 17 | |
| 18 | lemma bracket_pick (p : Ind) : bracket (Spin.K (fle p)) (Spin.K (fox p)) = Spin.K p := by |
| 19 | obtain ⟨i,j⟩ := p |
| 20 | have hn : pick (i,j) ≠ i ∧ pick (i,j) ≠ j := by |
| 21 | fin_cases i <;> fin_cases j <;> decide |
| 22 | change bracket (plane i (pick _)) (plane (pick _) j) = plane i j |
| 23 | rw [bracket_planes] |
| 24 | have hz (b : Axis) : plane b b = 0 := Subtype.ext (by simp [plane]) |
| 25 | simp [hn.1.symm, hn.2, hz] |
| 26 | |
| 27 | section ring |
| 28 | variable {R : Type*} [Ring R] (f : Skew →+ R) |
| 29 | (h : ∀ u v, f u * f v - f v * f u = f (bracket u v)) |
| 30 | include h |
| 31 | |
| 32 | lemma perfect : ∀ i, f (Spin.K i) = f (Spin.K (fle i)) * f (Spin.K (fox i)) - f (Spin.K (fox i)) * f (Spin.K (fle i)) := fun i => |
| 33 | (h (Spin.K (fle i)) (Spin.K (fox i)) |>.trans (congr_arg f (bracket_pick i))).symm |
| 34 | |
| 35 | lemma casimir (p : Ind) : Commute (∑ q : Ind, f (Spin.K q)^2) (f (Spin.K p)) := by |
| 36 | obtain ⟨i,j⟩ := p |
| 37 | let P (a b : Axis) := f (plane a b) |
| 38 | let g (a b : Axis) := (if b=i then P a j else 0) - (if b=j then P a i else 0) + |
| 39 | (if a=i then P j b else 0) - (if a=j then P i b else 0) |
| 40 | have hg (a b : Axis) : P a b * P i j - P i j * P a b = g a b := by |
| 41 | dsimp [P]; rw [h, bracket_planes]; simp [P, g, apply_ite f] |
| 42 | have he (a b : Axis) : P a b^2 * P i j - P i j * P a b^2 = P a b * g a b + g a b * P a b := by |
| 43 | rw [← hg]; noncomm_ring |
| 44 | change (∑ q : Ind, P q.1 q.2 ^ 2) * P i j = P i j * (∑ q : Ind, P q.1 q.2 ^ 2) |
| 45 | rw [Fintype.sum_prod_type] |
| 46 | dsimp only |
| 47 | apply sub_eq_zero.mp |
| 48 | simp_rw [Finset.sum_mul, Finset.mul_sum, ← Finset.sum_sub_distrib, he] |
| 49 | simp [g, mul_add, add_mul, mul_sub, sub_mul, Finset.sum_add_distrib, Finset.sum_sub_distrib] |
| 50 | abel |
| 51 | end ring |
| 52 | |
| 53 | variable {G : Gauge} {L : Register G} {S : Table L} |
| 54 | |
| 55 | /-- At one cap use the ordinary endomorphism ring with continuous maps. -/ |
| 56 | def plain (D : SpinRows S) (d : ℕ) : Skew →+ Mat (S.Field d) := |
| 57 | LinearMap.toContinuousLinearMap.toLinearMap.toAddMonoidHom.comp (D d).toAddMonoidHom |
| 58 | |
| 59 | lemma plain_bracket (D : SpinRows S) (h : Brackets D) (d : ℕ) (u v : Skew) : |
| 60 | plain D d u * plain D d v - plain D d v * plain D d u = plain D d (bracket u v) := by |
| 61 | ext1 x |
| 62 | exact LinearMap.congr_fun (h d u v) x |
| 63 | |
| 64 | /-- Relative infinitesimal, both sides at the same cap. -/ |
| 65 | def relative (D T : SpinRows S) (d : ℕ) : Skew →+ Spin.End (S.Field d) where |
| 66 | toFun u := effect (plain D d u) (plain T d u) |
| 67 | map_zero' := by rw [map_zero, map_zero]; simp [effect] |
| 68 | map_add' u v := by |
| 69 | ext1 x; rw [map_add, map_add, add_apply] |
| 70 | simp only [atAct, mul_add, add_mul]; abel |
| 71 | |
| 72 | lemma relative_bracket (D T : SpinRows S) (h : Brackets D) (k : Brackets T) (d : ℕ) (u v : Skew) : |
| 73 | relative D T d u * relative D T d v - relative D T d v * relative D T d u = relative D T d (bracket u v) := by |
| 74 | let F w := effect (plain D d w) (plain T d w) |
| 75 | ext1 x |
| 76 | change F u (F v x) - F v (F u x) = F (bracket u v) x |
| 77 | simp only [F, atAct, ← plain_bracket D h, ← plain_bracket T k]; noncomm_ring |
| 78 | |
| 79 | lemma commutes_evaluate {X : Type*} [NormedAddCommGroup X] [NormedSpace ℂ X] |
| 80 | {A B : Spin.End X} (h : Commute A B) (z : List ℝ) : Commute (evaluate z A) B := by |
| 81 | induction z with |
| 82 | | nil => exact Commute.zero_left _ |
| 83 | | cons t z ih => exact ((Commute.one_left _).smul_left (t:ℂ)).add_left (h.mul_left ih) |
| 84 | |
| 85 | theorem answer : YM.Bid.A09 := by |
| 86 | intro G L S D h |
| 87 | constructor |
| 88 | · intro d; exact perfect (plain D d) (plain_bracket D h d) |
| 89 | intro T k d z i |
| 90 | exact commutes_evaluate (casimir (relative D T d) (relative_bracket D T h k d) i) z |
| 91 | end YM.Work.A09 |