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 | /-! |
| 4 | # Algebraic generation of the actual `Ortho` |
| 5 | |
| 6 | Use Mathlib's generation by reflections on `E4`. Every hyperplane reflection there |
| 7 | is rotation-conjugate to a coordinate mirror. To realize the conjugator in the |
| 8 | specified subgroup, we align the normal vector by elementary rotations, working |
| 9 | out the actions of those `Ortho.oneParameter`s on vectors. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Work.A13 |
| 15 | |
| 16 | open scoped Matrix Matrix.Norms.Frobenius InnerProductSpace |
| 17 | |
| 18 | lemma hasDerivAt_move (g : Ortho.Skew) (v : E4) (t : ℝ) : |
| 19 | HasDerivAt (fun u => Ortho.move (Ortho.oneParameter g u) v) |
| 20 | (M4.move g.val (Ortho.move (Ortho.oneParameter g t) v)) t := by |
| 21 | unfold Ortho.move |
| 22 | rw [← M4.move_mul] |
| 23 | let f : M4 →ₗ[ℝ] E4 := (LinearMap.applyₗ v).comp Matrix.toEuclideanLin.toLinearMap |
| 24 | exact (LinearMap.toContinuousLinearMap f).hasFDerivAt.comp_hasDerivAt t |
| 25 | (hasDerivAt_exp_smul_const' g.val t) |
| 26 | |
| 27 | lemma hasDerivAt_coord (g : Ortho.Skew) (v : E4) (k : Axis) (t : ℝ) : |
| 28 | HasDerivAt (fun u => Ortho.move (Ortho.oneParameter g u) v k) |
| 29 | (M4.move g.val (Ortho.move (Ortho.oneParameter g t) v) k) t := |
| 30 | (EuclideanSpace.proj (𝕜 := ℝ) k).hasFDerivAt.comp_hasDerivAt t (hasDerivAt_move g v t) |
| 31 | |
| 32 | lemma plane_field_apply {i j : Axis} (hij : i ≠ j) (v : E4) (k : Axis) : |
| 33 | M4.move (Ortho.plane i j).val v k = |
| 34 | if k = i then v j else if k = j then -(v i) else 0 := by |
| 35 | change ((Matrix.single i j (1 : ℝ) - Matrix.single j i 1) *ᵥ v.ofLp) k = _ |
| 36 | rw [Matrix.sub_mulVec, Matrix.single_mulVec, Matrix.single_mulVec] |
| 37 | by_cases hi : k = i |
| 38 | · subst k; simp [hij] |
| 39 | by_cases hj : k = j |
| 40 | · subst k; simp [hi] |
| 41 | simp [hi, hj] |
| 42 | |
| 43 | lemma oneParameter_zero (g : Ortho.Skew) : Ortho.oneParameter g 0 = 1 := by |
| 44 | apply Subtype.ext |
| 45 | change NormedSpace.exp ((0 : ℝ) • g.val) = 1 |
| 46 | simp |
| 47 | |
| 48 | private lemma equals_at_zero {f : ℝ → ℝ} (hf : ∀ u, HasDerivAt f 0 u) (t : ℝ) : f t = f 0 := |
| 49 | is_const_of_deriv_eq_zero (fun u => (hf u).differentiableAt) (fun u => (hf u).deriv) t 0 |
| 50 | |
| 51 | /-- Note the signs: `plane i j` rotates toward `i` from `j`. -/ |
| 52 | lemma plane_givens {i j : Axis} (hij : i ≠ j) (v : E4) (t : ℝ) : |
| 53 | let w := Ortho.move (Ortho.oneParameter (Ortho.plane i j) t) v |
| 54 | w i = Real.cos t * v i + Real.sin t * v j ∧ |
| 55 | w j = Real.cos t * v j - Real.sin t * v i ∧ |
| 56 | ∀ k : Axis, k ≠ i → k ≠ j → w k = v k := by |
| 57 | let g := Ortho.plane i j |
| 58 | let y (k : Axis) (u : ℝ) := Ortho.move (Ortho.oneParameter g u) v k |
| 59 | have he (k) : y k 0 = v k := by simp [y, oneParameter_zero] |
| 60 | have h (k u) : HasDerivAt (y k) |
| 61 | (if k = i then y j u else if k = j then -(y i u) else 0) u := by |
| 62 | simpa only [y, g, plane_field_apply hij] using hasDerivAt_coord (Ortho.plane i j) v k u |
| 63 | have hi u : HasDerivAt (y i) (y j u) u := by simpa using h i u |
| 64 | have hj u : HasDerivAt (y j) (-(y i u)) u := by simpa [Ne.symm hij] using h j u |
| 65 | -- Multiply by the inverse rotation: both resulting coordinates are constant. |
| 66 | have h₁ (u) : HasDerivAt |
| 67 | (fun s => Real.cos s * y i s - Real.sin s * y j s) 0 u := by |
| 68 | refine (((Real.hasDerivAt_cos u).fun_mul (hi u)).fun_sub |
| 69 | ((Real.hasDerivAt_sin u).fun_mul (hj u))).congr_deriv ?_ |
| 70 | ring |
| 71 | have h₂ (u) : HasDerivAt |
| 72 | (fun s => Real.sin s * y i s + Real.cos s * y j s) 0 u := by |
| 73 | refine (((Real.hasDerivAt_sin u).fun_mul (hi u)).fun_add |
| 74 | ((Real.hasDerivAt_cos u).fun_mul (hj u))).congr_deriv ?_ |
| 75 | ring |
| 76 | have ha : Real.cos t * y i t - Real.sin t * y j t = v i := by |
| 77 | simpa [he] using equals_at_zero h₁ t |
| 78 | have hb : Real.sin t * y i t + Real.cos t * y j t = v j := by |
| 79 | simpa [he] using equals_at_zero h₂ t |
| 80 | have hc := Real.sin_sq_add_cos_sq t |
| 81 | change y i t = _ ∧ y j t = _ ∧ ∀ k : Axis, k ≠ i → k ≠ j → y k t = v k |
| 82 | refine ⟨?_, ?_, ?_⟩ |
| 83 | · linear_combination -(y i t) * hc + Real.cos t * ha + Real.sin t * hb |
| 84 | · linear_combination -(y j t) * hc - Real.sin t * ha + Real.cos t * hb |
| 85 | · intro k hki hkj |
| 86 | refine (equals_at_zero (f := y k) ?_ t).trans (he k) |
| 87 | intro u |
| 88 | simpa [hki, hkj] using h k u |
| 89 | |
| 90 | lemma plane_eliminates {i j : Axis} (hij : i ≠ j) (v : E4) : |
| 91 | ∃ t : ℝ, Ortho.move (Ortho.oneParameter (Ortho.plane i j) t) v j = 0 := by |
| 92 | let z : ℂ := ⟨v i, v j⟩ |
| 93 | refine ⟨z.arg, ?_⟩ |
| 94 | rw [(plane_givens hij v z.arg).2.1] |
| 95 | have hs : ‖z‖ * Real.sin z.arg = v j := Complex.norm_mul_sin_arg z |
| 96 | have hc : ‖z‖ * Real.cos z.arg = v i := Complex.norm_mul_cos_arg z |
| 97 | rw [← hs, ← hc]; ring |
| 98 | |
| 99 | /-- Zero any set of non-pivot coordinates, by successive left actions. -/ |
| 100 | lemma squash (i : Axis) (v : E4) (s : Finset Axis) (h : i ∉ s) : |
| 101 | ∃ g ∈ YM.Bid.AxisGens, ∀ j ∈ s, Ortho.move g v j = 0 := by |
| 102 | induction s using Finset.induction_on with |
| 103 | | empty => exact ⟨1, YM.Bid.AxisGens.one_mem, by simp⟩ |
| 104 | | @insert j s hj ih => |
| 105 | obtain ⟨hij, his⟩ := (show i ≠ j ∧ i ∉ s by simpa using h) |
| 106 | obtain ⟨b, hb, hbs⟩ := ih his |
| 107 | obtain ⟨t, ht⟩ := plane_eliminates hij (Ortho.move b v) |
| 108 | let r := Ortho.oneParameter (Ortho.plane i j) t |
| 109 | have hr : r ∈ YM.Bid.AxisGens := Subgroup.subset_closure (Or.inr ⟨_, t, rfl⟩) |
| 110 | refine ⟨r * b, YM.Bid.AxisGens.mul_mem hr hb, ?_⟩ |
| 111 | intro k hk |
| 112 | rw [Ortho.move_mul] |
| 113 | rcases Finset.mem_insert.mp hk with he | hm |
| 114 | · subst k; exact ht |
| 115 | have hki : k ≠ i := fun e => his (e ▸ hm) |
| 116 | have hkj : k ≠ j := fun e => hj (e ▸ hm) |
| 117 | exact ((plane_givens hij (Ortho.move b v) t).2.2 k hki hkj).trans (hbs k hm) |
| 118 | |
| 119 | lemma align (i : Axis) (v : E4) : |
| 120 | ∃ g ∈ YM.Bid.AxisGens, ∃ c : ℝ, Ortho.move g v = c • basis i := by |
| 121 | obtain ⟨g, hg, hall⟩ := squash i v (Finset.univ.erase i) (by simp) |
| 122 | refine ⟨g, hg, Ortho.move g v i, PiLp.ext ?_⟩ |
| 123 | intro k |
| 124 | by_cases h : k = i |
| 125 | · subst k; simp |
| 126 | simp [h, hall k (by simp [h])] |
| 127 | |
| 128 | def motionHom : Ortho →* (E4 ≃ₗᵢ[ℝ] E4) where |
| 129 | toFun := Ortho.motion |
| 130 | map_one' := LinearIsometryEquiv.ext (fun x => Ortho.move_one x) |
| 131 | map_mul' r s := LinearIsometryEquiv.ext (fun x => Ortho.move_mul r s x) |
| 132 | |
| 133 | lemma motionHom_injective : Function.Injective motionHom := by |
| 134 | intro r s h |
| 135 | apply Ortho.ext |
| 136 | intro x |
| 137 | exact congr_arg (fun f : E4 ≃ₗᵢ[ℝ] E4 => f x) h |
| 138 | |
| 139 | lemma motionHom_mirror (i : Axis) : |
| 140 | motionHom (Signed.reflect i) = (ℝ ∙ basis i)ᗮ.reflection := by |
| 141 | apply LinearIsometryEquiv.ext; intro x |
| 142 | change Ortho.move _ x = _ |
| 143 | rw [Submodule.reflection_orthogonal_apply, Submodule.reflection_singleton_apply] |
| 144 | apply PiLp.ext; intro k |
| 145 | rw [Signed.mirrored] |
| 146 | by_cases hi : k = i |
| 147 | · subst k; simp; ring |
| 148 | simp [hi] |
| 149 | |
| 150 | /-- All (genuine) hyperplane reflections come from conjugating just one mirror. -/ |
| 151 | lemma reflection_conjugate (i : Axis) {v : E4} (hv : v ≠ 0) : |
| 152 | ∃ g ∈ YM.Bid.AxisGens, |
| 153 | motionHom (g⁻¹ * Signed.reflect i * g) = (ℝ ∙ v)ᗮ.reflection := by |
| 154 | obtain ⟨g, hg, c, hc⟩ := align i v |
| 155 | refine ⟨g, hg, ?_⟩ |
| 156 | let f := motionHom g |
| 157 | have he : f v = c • basis i := hc |
| 158 | have hcn : c ≠ 0 := by |
| 159 | intro hz |
| 160 | rw [hz, zero_smul] at he |
| 161 | exact hv (f.injective (by simpa using he)) |
| 162 | have ht : (ℝ ∙ v)ᗮ.map (f.toLinearEquiv : E4 →ₗ[ℝ] E4) = (ℝ ∙ basis i)ᗮ := by |
| 163 | rw [Submodule.map_orthogonal_equiv, Submodule.map_span, Set.image_singleton] |
| 164 | change (ℝ ∙ f v)ᗮ = _ |
| 165 | rw [he, Submodule.span_singleton_smul_eq (isUnit_iff_ne_zero.mpr hcn)] |
| 166 | have hm : (ℝ ∙ basis i)ᗮ.reflection = f.symm.trans ((ℝ ∙ v)ᗮ.reflection.trans f) := |
| 167 | (congrArg (fun A : Submodule ℝ E4 => A.reflection) ht.symm).trans |
| 168 | (Submodule.reflection_map f (ℝ ∙ v)ᗮ) |
| 169 | rw [map_mul, map_mul, map_inv, motionHom_mirror] |
| 170 | change f⁻¹ * (ℝ ∙ basis i)ᗮ.reflection * f = (ℝ ∙ v)ᗮ.reflection |
| 171 | rw [hm] |
| 172 | apply LinearIsometryEquiv.ext; intro x |
| 173 | change f.symm (f ((ℝ ∙ v)ᗮ.reflection (f.symm (f x)))) = _ |
| 174 | simp |
| 175 | |
| 176 | lemma reflection_mem (v : E4) : |
| 177 | (ℝ ∙ v)ᗮ.reflection ∈ YM.Bid.AxisGens.map motionHom := by |
| 178 | by_cases hv : v = 0 |
| 179 | · subst v |
| 180 | have he : (ℝ ∙ (0 : E4))ᗮ.reflection = 1 := by |
| 181 | apply LinearIsometryEquiv.ext; intro x |
| 182 | apply Submodule.reflection_mem_subspace_eq_self |
| 183 | simp |
| 184 | rw [he]; exact Subgroup.one_mem _ |
| 185 | obtain ⟨g, hg, he⟩ := reflection_conjugate timeAxis hv |
| 186 | have hr : Signed.reflect timeAxis ∈ YM.Bid.AxisGens := |
| 187 | Subgroup.subset_closure (Or.inl ⟨Signed.mirror timeAxis, rfl⟩) |
| 188 | refine Subgroup.mem_map.mpr ⟨_, ?_, he⟩ |
| 189 | exact YM.Bid.AxisGens.mul_mem (YM.Bid.AxisGens.mul_mem (YM.Bid.AxisGens.inv_mem hg) hr) hg |
| 190 | |
| 191 | theorem answer : YM.Bid.A13 := by |
| 192 | have h : ⊤ ≤ YM.Bid.AxisGens.map motionHom := by |
| 193 | rw [← LinearIsometryEquiv.reflections_generate] |
| 194 | apply (Subgroup.closure_le _).mpr |
| 195 | rintro r ⟨v, rfl⟩ |
| 196 | exact reflection_mem v |
| 197 | apply (Subgroup.eq_top_iff' _).mpr |
| 198 | intro g |
| 199 | obtain ⟨b, hb, he⟩ := Subgroup.mem_map.mp (h (Subgroup.mem_top (motionHom g))) |
| 200 | rwa [← motionHom_injective he] |
| 201 | |
| 202 | end YM.Work.A13 |