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.Org.Input |
| 2 | |
| 3 | /-! |
| 4 | # Components and rotation of stresses (A15) |
| 5 | |
| 6 | Use the same vector convention `Ortho.move` as in the hierarchy. The action |
| 7 | used **for averaging** is the label action together with the two compensating |
| 8 | index actions. Its fixed points satisfy the required `Tensorial` law on |
| 9 | labels. Conservation transforms by `Laws.vector` with this same convention. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Work.A15 |
| 15 | |
| 16 | open Table |
| 17 | open scoped BigOperators Matrix.Norms.Frobenius |
| 18 | |
| 19 | variable {G : Gauge} {L : Register G} {S : Table L} |
| 20 | |
| 21 | /-- Take a component, as a linear map. -/ |
| 22 | def component (i j : Axis) : S.Stress →ₗ[ℂ] S.Field 4 := |
| 23 | (LinearMap.proj (R := ℂ) (φ := fun _ : Axis => S.Field 4) j).comp |
| 24 | (LinearMap.proj (R := ℂ) (φ := fun _ : Axis => Axis → S.Field 4) i) |
| 25 | |
| 26 | lemma component_apply (J : S.Stress) (i j : Axis) : component i j J = J i j := rfl |
| 27 | |
| 28 | /-- Contract on two vectors, also linear in the stress. -/ |
| 29 | def contractStress (u v : E4) : S.Stress →ₗ[ℂ] S.Field 4 := |
| 30 | ∑ a : Axis, ∑ b : Axis, (((u a * v b : ℝ) : ℂ)) • component a b |
| 31 | |
| 32 | lemma contractStress_apply (u v : E4) (J : S.Stress) : |
| 33 | contractStress u v J = ∑ a : Axis, ∑ b : Axis, (((u a * v b : ℝ) : ℂ)) • J a b := by |
| 34 | simp only [contractStress, LinearMap.sum_apply, LinearMap.smul_apply, component_apply] |
| 35 | |
| 36 | lemma contractStress_basis (i j : Axis) (J : S.Stress) : |
| 37 | contractStress (basis i) (basis j) J = J i j := by |
| 38 | rw [contractStress_apply, Finset.sum_eq_single i] |
| 39 | · simp |
| 40 | · intro a _ ha; simp [ha] |
| 41 | · simp |
| 42 | |
| 43 | /-- Rotation with compensating index action. -/ |
| 44 | def rotateStress (X : Rotation S) (K : Ortho) : S.Stress →ₗ[ℂ] S.Stress := |
| 45 | LinearMap.pi fun a => LinearMap.pi fun b => |
| 46 | ∑ i : Axis, ∑ j : Axis, (((K.val a i * K.val b j : ℝ) : ℂ)) • |
| 47 | (X.act 4 K).toLinearMap.comp (component i j) |
| 48 | |
| 49 | lemma rotateStress_apply (X : Rotation S) (K : Ortho) (J : S.Stress) (a b : Axis) : |
| 50 | rotateStress X K J a b = ∑ i : Axis, ∑ j : Axis, (((K.val a i * K.val b j : ℝ) : ℂ)) • |
| 51 | X.act 4 K (J i j) := by |
| 52 | simp only [rotateStress, LinearMap.pi_apply, LinearMap.sum_apply, LinearMap.smul_apply, |
| 53 | LinearMap.comp_apply, component_apply, LinearEquiv.coe_coe] |
| 54 | |
| 55 | lemma move_inv_apply (K : Ortho) (x : E4) (i : Axis) : |
| 56 | Ortho.move K⁻¹ x i = ∑ j, K.val j i * x j := by |
| 57 | change M4.move (star K.val) x i = _ |
| 58 | simp only [M4.at_coord, Matrix.star_eq_conjTranspose, |
| 59 | Matrix.conjTranspose_eq_transpose_of_trivial, Matrix.transpose_apply] |
| 60 | |
| 61 | private lemma swap_pairs {E : Type*} [AddCommMonoid E] (f : Axis → Axis → Axis → Axis → E) : |
| 62 | ∑ a, ∑ b, ∑ i, ∑ j, f a b i j = ∑ i, ∑ j, ∑ a, ∑ b, f a b i j := by |
| 63 | have h : |
| 64 | ∑ p : Axis × Axis, ∑ q : Axis × Axis, f p.1 p.2 q.1 q.2 = |
| 65 | ∑ q : Axis × Axis, ∑ p : Axis × Axis, f p.1 p.2 q.1 q.2 := Finset.sum_comm |
| 66 | simpa only [Fintype.sum_prod_type] using h |
| 67 | |
| 68 | private lemma sum_product (f g : Axis → ℝ) : |
| 69 | (∑ a, f a) * (∑ b, g b) = ∑ a, ∑ b, f a * g b := by |
| 70 | rw [Finset.sum_mul] |
| 71 | simp only [Finset.mul_sum] |
| 72 | |
| 73 | /-- Rotating the components pulls back the two vector arguments. -/ |
| 74 | theorem contract_rotate (X : Rotation S) (K : Ortho) (J : S.Stress) (u v : E4) : |
| 75 | contractStress u v (rotateStress X K J) = X.act 4 K |
| 76 | (contractStress (Ortho.move K⁻¹ u) (Ortho.move K⁻¹ v) J) := by |
| 77 | simp only [contractStress_apply, rotateStress_apply, move_inv_apply, sum_product, |
| 78 | Complex.ofReal_sum, Finset.sum_smul, Finset.smul_sum, smul_smul, |
| 79 | map_sum, map_smul] |
| 80 | rw [swap_pairs] |
| 81 | refine Finset.sum_congr rfl fun i _ => Finset.sum_congr rfl fun j _ => |
| 82 | Finset.sum_congr rfl fun a _ => Finset.sum_congr rfl fun b _ => ?_ |
| 83 | rw [← Complex.ofReal_mul] |
| 84 | congr 2 |
| 85 | ring |
| 86 | |
| 87 | theorem rotate_mul {V : DiffPlan S} {H : S.RealSpin} {X : Rotation S} |
| 88 | (h : X.Laws V H) (K P : Ortho) (J : S.Stress) : |
| 89 | rotateStress X K (rotateStress X P J) = rotateStress X (K * P) J := by |
| 90 | funext i j |
| 91 | rw [← contractStress_basis i j (rotateStress X K (rotateStress X P J)), |
| 92 | ← contractStress_basis i j (rotateStress X (K * P) J)] |
| 93 | simp only [contract_rotate, h.group, mul_inv_rev, Ortho.move_mul] |
| 94 | |
| 95 | theorem tensorial_of_fixed (X : Rotation S) (J : S.Stress) |
| 96 | (h : ∀ K, rotateStress X K J = J) : Tensorial X J := by |
| 97 | intro K i j |
| 98 | have e := contract_rotate X K J (Ortho.move K (basis i)) (Ortho.move K (basis j)) |
| 99 | rw [h, Ortho.inv_move, Ortho.inv_move, contractStress_basis] at e |
| 100 | simpa only [contractStress_apply, Ortho.move, M4.move_basis] using e.symm |
| 101 | |
| 102 | /-- Divergence, linear in the stress. -/ |
| 103 | def divergenceMap (V : DiffPlan S) (b : Axis) : S.Stress →ₗ[ℂ] S.Field (4+1) := |
| 104 | ∑ a, (V.deriv 4 a).comp (component a b) |
| 105 | |
| 106 | lemma divergenceMap_apply (V : DiffPlan S) (b : Axis) (J : S.Stress) : |
| 107 | divergenceMap V b J = ∑ a : Axis, V.deriv 4 a (J a b) := by |
| 108 | simp only [divergenceMap, LinearMap.sum_apply, LinearMap.comp_apply, component_apply] |
| 109 | |
| 110 | private lemma reorder {E : Type*} [AddCommMonoid E] (f : Axis → Axis → Axis → E) : |
| 111 | ∑ a, ∑ i, ∑ j, f a i j = ∑ j, ∑ i, ∑ a, f a i j := by |
| 112 | rw [Finset.sum_comm] -- i a j |
| 113 | calc |
| 114 | ∑ i, ∑ a, ∑ j, f a i j = ∑ i, ∑ j, ∑ a, f a i j := |
| 115 | Finset.sum_congr rfl fun _ _ => Finset.sum_comm |
| 116 | _ = _ := Finset.sum_comm |
| 117 | |
| 118 | lemma rotate_divergence {V : DiffPlan S} {H : S.RealSpin} {X : Rotation S} |
| 119 | (h : X.Laws V H) (K : Ortho) (J : S.Stress) (b : Axis) : |
| 120 | divergenceMap V b (rotateStress X K J) = ∑ j : Axis, |
| 121 | ((K.val b j : ℝ) : ℂ) • X.act (4+1) K (divergenceMap V j J) := by |
| 122 | simp only [divergenceMap_apply, rotateStress_apply, map_sum, map_smul, h.vector, |
| 123 | Finset.smul_sum, smul_smul] |
| 124 | rw [reorder] |
| 125 | refine Finset.sum_congr rfl fun j _ => Finset.sum_congr rfl fun i _ => |
| 126 | Finset.sum_congr rfl fun a _ => ?_ |
| 127 | rw [Complex.ofReal_mul, mul_comm (((K.val a i) : ℝ) : ℂ)] |
| 128 | |
| 129 | theorem rotate_conserved {V : DiffPlan S} {H : S.RealSpin} {X : Rotation S} |
| 130 | (h : X.Laws V H) (K : Ortho) (J : S.Stress) (c : Conserved V H J) : |
| 131 | Conserved V H (rotateStress X K J) where |
| 132 | symmetric a b := by |
| 133 | rw [rotateStress_apply, rotateStress_apply, Finset.sum_comm] |
| 134 | refine Finset.sum_congr rfl fun j _ => Finset.sum_congr rfl fun i _ => ?_ |
| 135 | rw [mul_comm (K.val a i), c.symmetric i j] |
| 136 | real a b := by |
| 137 | simp only [rotateStress_apply, map_sum, map_smulₛₗ, h.real, c.real] |
| 138 | simp |
| 139 | divergence b := by |
| 140 | rw [← divergenceMap_apply, rotate_divergence h] |
| 141 | simp only [divergenceMap_apply, c.divergence, map_zero, smul_zero, Finset.sum_const_zero] |
| 142 | |
| 143 | lemma conserved_real_smul {V : DiffPlan S} {H : S.RealSpin} |
| 144 | (J : S.Stress) (h : Conserved V H J) (c : ℝ) : Conserved V H ((c : ℂ) • J) where |
| 145 | symmetric a b := by simp only [Pi.smul_apply, h.symmetric a b] |
| 146 | real a b := by |
| 147 | simp only [Pi.smul_apply, map_smulₛₗ, h.real] |
| 148 | simp |
| 149 | divergence b := by |
| 150 | rw [← divergenceMap_apply, map_smul, divergenceMap_apply, h.divergence, smul_zero] |
| 151 | |
| 152 | end YM.Work.A15 |