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.Phase |
| 2 | |
| 3 | /-! |
| 4 | # Individual invariance of M, with phase reflection as input |
| 5 | |
| 6 | Use long-train *pairs* (Ground.same_up, coming from S covariance and time order). |
| 7 | With individual time reflection, simultaneous pair invariance holds on full O. |
| 8 | It lets us conjugate individual time reflection to individual invariance under |
| 9 | any reflection, first in pair stages, then as operators using the adjoint tests |
| 10 | and separation by omega. Thus no need for the power/bounded-extension argument |
| 11 | to handle time-space rotations separately. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace YM.Work.B06 |
| 18 | open OS OS.Ground Org Bid Table Word |
| 19 | open scoped Topology NNReal InnerProductSpace ContDiff |
| 20 | |
| 21 | section geometry |
| 22 | open Submodule |
| 23 | |
| 24 | -- reflection in a hyperplane normal to v (identity when v = 0) |
| 25 | private def hyper (v : E4) : E4 ≃ₗᵢ[ℝ] E4 := (ℝ ∙ v)ᗮ.reflection |
| 26 | private abbrev theta := Signed.reflect timeAxis |
| 27 | |
| 28 | private lemma theta_move (x : E4) : Ortho.move theta x = hyper (basis timeAxis) x := by |
| 29 | rw [hyper, reflection_orthogonal_apply, reflection_singleton_apply] |
| 30 | ext i |
| 31 | by_cases h : i = timeAxis |
| 32 | · subst i |
| 33 | simp [theta, two_smul] |
| 34 | simp [theta, h, two_smul] |
| 35 | |
| 36 | private lemma conj_hyper (v : E4) (hv : v ≠ 0) : |
| 37 | ∃ J : Ortho, ∀ x, Ortho.move (J * theta * J⁻¹) x = hyper v x := by |
| 38 | let b := basis timeAxis |
| 39 | let u := ‖v‖⁻¹ • v |
| 40 | have hu : ‖b‖ = ‖u‖ := by simp [b, u, norm_smul, hv] |
| 41 | obtain ⟨J, hJ⟩ := Ground.columns (hyper (b-u)) |
| 42 | let f := Ortho.motion J |
| 43 | have hf : f b = u := by change Ortho.move J b = _; rw [hJ]; exact reflection_sub hu |
| 44 | have hmap : (ℝ ∙ b)ᗮ.map (f.toLinearEquiv : E4 →ₗ[ℝ] E4) = (ℝ ∙ v)ᗮ := by |
| 45 | rw [map_orthogonal_equiv, Submodule.map_span, Set.image_singleton] |
| 46 | change (ℝ ∙ f b)ᗮ = _ |
| 47 | rw [hf, show ℝ ∙ u = ℝ ∙ v from span_singleton_smul_eq (by simp [hv]) _] |
| 48 | refine ⟨J, fun x => ?_⟩ |
| 49 | simp only [Ortho.move_mul, theta_move] |
| 50 | change f (hyper b (f.symm x)) = _ |
| 51 | rw [hyper, ← reflection_map_apply f] |
| 52 | exact congr_arg (fun W : Submodule ℝ E4 => W.reflection x) hmap |
| 53 | |
| 54 | private lemma theta_generates (W : Ortho → Prop) (hi : W 1) |
| 55 | (hm : ∀ j k, W j → W k → W (j*k)) (hc : ∀ j : Ortho, W (j * theta * j⁻¹)) (k : Ortho) : W k := by |
| 56 | have single (v : E4) : ∃ J : Ortho, W J ∧ ∀ x, Ortho.move J x = hyper v x := by |
| 57 | rcases eq_or_ne v 0 with e|e |
| 58 | · subst v |
| 59 | exact ⟨1, hi, fun x => by rw [Ortho.move_one, hyper, reflection_orthogonal_apply, |
| 60 | reflection_singleton_apply]; simp⟩ |
| 61 | obtain ⟨J,hJ⟩ := conj_hyper v e |
| 62 | exact ⟨_, hc J, hJ⟩ |
| 63 | have chain (l : List E4) : ∃ J : Ortho, W J ∧ ∀ x, Ortho.move J x = (l.map hyper).prod x := by |
| 64 | induction l with |
| 65 | | nil => exact ⟨1,hi,fun x => (Ortho.move_one x)⟩ |
| 66 | | cons v l ih => |
| 67 | obtain ⟨A,hA,ha⟩ := single v |
| 68 | obtain ⟨B,hB,hb⟩ := ih |
| 69 | exact ⟨A*B, hm A B hA hB, fun x => by rw [Ortho.move_mul, hb, ha]; rfl⟩ |
| 70 | obtain ⟨l, -, hl⟩ := (Ortho.motion k).reflections_generate_dim |
| 71 | obtain ⟨J, hJ, hf⟩ := chain l |
| 72 | have e : k = J := Ortho.ext _ _ (fun x => by rw [hf]; exact congr_arg (fun f : E4 ≃ₗᵢ[ℝ] E4 => f x) hl) |
| 73 | exact e.symm ▸ hJ |
| 74 | end geometry |
| 75 | |
| 76 | section stages |
| 77 | variable {G : Gauge} {C : Family G} {S : Table C.book} |
| 78 | {V : Chamber S timeAxis} (A : Spread V) (T : Rotation S) |
| 79 | {P : DiffPlan S} (H : S.Hierarchy) (o : T.Oriented S) (law : T.Laws P H.spin) |
| 80 | (B : Theme V A) (st : Steady V) (hr : Phase.reflects (C:=C) V A) |
| 81 | |
| 82 | private abbrev m (x : Row.Core C.book) : A.algebra := M A x.val x.property |
| 83 | private def individually (k : Ortho) := ∀ x : Row.Core C.book, m A x = m A (orbit H T o k x) |
| 84 | |
| 85 | -- Composition works exactly (projection of the chosen representative gives the tag). |
| 86 | -- The identity need not act by the identity before projecting labels. |
| 87 | include law in |
| 88 | private lemma orbit_comp (j k : Ortho) (x : Row.Core C.book) : |
| 89 | orbit H T o j (orbit H T o k x) = orbit H T o (j*k) x := by |
| 90 | apply Subtype.ext |
| 91 | change Ground.rotate (Ground.rotate _ T k) T j = _ |
| 92 | unfold orbit Ground.rotate |
| 93 | dsimp only |
| 94 | rw [List.map_map] |
| 95 | have h (p : S.Tag) : T.label j (T.label k p) = T.label (j*k) p := by |
| 96 | unfold Rotation.label; rw [law.group] |
| 97 | simp only [Function.comp_def, Ward.sends_back, h, Ortho.move_mul] |
| 98 | |
| 99 | include law B in |
| 100 | private lemma raw_signed (s : Signed) (w : Row.Core C.book) (ha : distinct (Word.act s w.val)) : |
| 101 | M A (Word.act s w.val) ha = m A (orbit H T o s.ortho w) := by |
| 102 | let v := Word.tokens w.val |
| 103 | let p : Caps w.val.length := fun i => (v i).1 |
| 104 | let x := Points.move s.ortho (positions w.val) |
| 105 | have hx : x ∈ conf _ := Points.move_in _ w.property |
| 106 | let a : C.book.Vector p := fun i => C.book.mirrorGroup _ s (v i).2 |
| 107 | let b : C.book.Vector p := fun i => S.representative _ (T.act _ s.ortho (S.project _ (v i).2)) |
| 108 | have h (i : Fin w.val.length) : S.project _ (a i) = S.project _ (b i) := by |
| 109 | dsimp only [a, b] |
| 110 | rw [S.rep, law.signed, S.mirror_project] |
| 111 | let fitted (u : C.book.Vector p) : Row.Core C.book := |
| 112 | ⟨realize (fun i => ⟨p i,u i⟩) x, (realized _ _).mpr hx⟩ |
| 113 | have he : m A (fitted a) = m A (fitted b) := by |
| 114 | have he := B.pins w.val.length p x a b h |
| 115 | unfold depot at he |
| 116 | rw [dif_pos hx,dif_pos hx] at he |
| 117 | exact he |
| 118 | have e₁ : fitted a = (⟨_,ha⟩ : Row.Core _) := by |
| 119 | apply Subtype.ext; change Word.realize _ x = List.map _ w.val |
| 120 | conv_rhs => rhs; rw [← List.ofFn_get w.val] |
| 121 | rw [List.map_ofFn]; rfl |
| 122 | have e₂ : fitted b = orbit H T o s.ortho w := by |
| 123 | apply Subtype.ext; change Word.realize _ x = List.map _ w.val |
| 124 | conv_rhs => rhs; rw [← List.ofFn_get w.val] |
| 125 | rw [List.map_ofFn]; rfl |
| 126 | rw [e₁, e₂] at he |
| 127 | exact he |
| 128 | |
| 129 | include law in |
| 130 | private lemma product_individual (j k : Ortho) (hj : individually A T H o j) |
| 131 | (hk : individually A T H o k) : individually A T H o (j*k) := by |
| 132 | intro x |
| 133 | exact (hk x).trans ((hj _).trans (congr_arg (m A) (orbit_comp T H o law j k x))) |
| 134 | |
| 135 | include law B hr in |
| 136 | private lemma theta_individual : individually A T H o theta := by |
| 137 | intro w |
| 138 | have h := hr w.val w.property |
| 139 | exact h.trans (raw_signed A T H o law B (Signed.mirror timeAxis) w _) |
| 140 | |
| 141 | include law B hr in |
| 142 | private lemma one_individual : individually A T H o 1 := by |
| 143 | have hh := theta_individual A T H o law B hr |
| 144 | have hθ : theta * theta = 1 := Ortho.ext _ _ (fun x => by |
| 145 | rw [Ortho.move_one, Ortho.move_mul]; ext i; by_cases e : i = timeAxis <;> simp [theta, e]) |
| 146 | exact hθ ▸ product_individual A T H o law theta theta hh hh |
| 147 | |
| 148 | private lemma pair_form (x y : Row.Core C.book) : stage A [x,y] = |
| 149 | inner ℂ V.omega0 ((m A x).val ((m A y).val V.omega0)) := by |
| 150 | simp only [stage, starU, List.prod_cons, List.map_cons, List.map_nil, List.prod_nil, mul_one] |
| 151 | rfl |
| 152 | |
| 153 | private lemma pair_congr {p q x y : Row.Core C.book} (he : m A p = m A q) (hf : m A x = m A y) : |
| 154 | stage A [p,x] = stage A [q,y] := by rw [pair_form, pair_form, he, hf] |
| 155 | |
| 156 | include law B st hr in |
| 157 | private lemma pair_orbit (k : Ortho) (p x : Row.Core C.book) : |
| 158 | stage A [p,x] = stage A [orbit H T o k p, orbit H T o k x] := by |
| 159 | let t := timeAxis |
| 160 | let b := basis t |
| 161 | have hb : 0 < b t := by simp [b] |
| 162 | -- Need a common increasing time direction for same_up. Include equator; |
| 163 | -- when time coefficient is negative first compose with theta. |
| 164 | rcases lt_trichotomy 0 (Ortho.move k b t) with h|e|h |
| 165 | · exact same_up A st H T o k b hb h [p,x] |
| 166 | · let u := Ortho.move k⁻¹ b |
| 167 | have hu : u t = 0 := by |
| 168 | have h₁ := (Ortho.motion k).inner_map_map u b |
| 169 | change inner ℝ (Ortho.move k (Ortho.move k⁻¹ b)) (Ortho.move k b) = inner ℝ u b at h₁ |
| 170 | rw [Ortho.move_inv, ← real_inner_comm u b] at h₁ |
| 171 | change inner ℝ (basis t) _ = inner ℝ (basis t) _ at h₁ |
| 172 | rw [basis_inner, basis_inner] at h₁ |
| 173 | exact h₁.symm.trans e.symm |
| 174 | have he : 0 < (b+u) t := by simp [hu, hb] |
| 175 | have hv : 0 < Ortho.move k (b+u) t := by |
| 176 | rw [(show Ortho.move k (b+u) = Ortho.move k b + Ortho.move k u from |
| 177 | (Ortho.motion k).map_add ..)] |
| 178 | simp [u, e.symm, hb] |
| 179 | exact same_up A st H T o k (b+u) he hv [p,x] |
| 180 | have hv : 0 < Ortho.move (theta*k) b t := by |
| 181 | simp only [Ortho.move_mul, theta, Signed.mirrored, show timeAxis = t from rfl, if_true] |
| 182 | exact neg_pos.mpr h |
| 183 | have hf (x : Row.Core C.book) : m A (orbit H T o (theta*k) x) = m A (orbit H T o k x) := by |
| 184 | rw [← orbit_comp T H o law] |
| 185 | exact (theta_individual A T H o law B hr _).symm |
| 186 | calc |
| 187 | _ = stage A [orbit H T o (theta*k) p, orbit H T o (theta*k) x] := |
| 188 | same_up A st H T o (theta*k) b hb hv [p,x] |
| 189 | _ = _ := pair_congr A (hf p) (hf x) |
| 190 | |
| 191 | -- Rotate a pair back; apply theta invariance to the second factor ONLY; |
| 192 | -- rotate forward again. Avoid an auxiliary operator representing rotations. |
| 193 | include law B st hr in |
| 194 | private lemma second_conjugate (j : Ortho) (p x : Row.Core C.book) : |
| 195 | stage A [p,x] = stage A [p, orbit H T o (j*theta*j⁻¹) x] := by |
| 196 | let a := orbit H T o j⁻¹ p |
| 197 | let b := orbit H T o j⁻¹ x |
| 198 | let c := orbit H T o theta b |
| 199 | have ha : orbit H T o j a = orbit H T o 1 p := by |
| 200 | dsimp only [a]; rw [orbit_comp T H o law, mul_inv_cancel] |
| 201 | have hc : orbit H T o j c = orbit H T o (j*theta*j⁻¹) x := by |
| 202 | dsimp only [c, b] |
| 203 | rw [orbit_comp T H o law, orbit_comp T H o law] |
| 204 | calc |
| 205 | _ = stage A [a,b] := pair_orbit A T H o law B st hr j⁻¹ p x |
| 206 | _ = stage A [a,c] := pair_congr A rfl (theta_individual A T H o law B hr b) |
| 207 | _ = stage A [orbit H T o j a, orbit H T o j c] := |
| 208 | pair_orbit A T H o law B st hr j a c |
| 209 | _ = _ := pair_congr A ((congr_arg (m A) ha).trans |
| 210 | (one_individual A T H o law B hr p).symm) (congr_arg (m A) hc) |
| 211 | |
| 212 | -- Pair stages separate individual M's. For the left test Word.reflect (not theta alone) |
| 213 | -- is the adjoint test. Omega is separating by Ground.adjunction + Ground.attains. |
| 214 | include B st T H o in |
| 215 | private lemma by_pairs (x y : Row.Core C.book) (h : ∀ p : Row.Core C.book, stage A [p,x] = stage A [p,y]) : |
| 216 | m A x = m A y := by |
| 217 | let v := fun p : Row.Core C.book => (m A p).val V.omega0 |
| 218 | let ref := fun p : Row.Core C.book => |
| 219 | (⟨reflect p.val timeAxis, Word.reflects timeAxis p.property⟩ : Row.Core C.book) |
| 220 | have hf (p q : Row.Core C.book) : stage A [ref p,q] = inner ℂ (v p) (v q) := by |
| 221 | have hr : m A (ref p) = star (m A p) := (B.opposite p.val p.property _).symm |
| 222 | rw [pair_form, hr] |
| 223 | exact ContinuousLinearMap.adjoint_inner_right (m A p).val V.omega0 (v q) |
| 224 | have he (p : Row.Core C.book) : inner ℂ (v p) (v x - v y) = 0 := by |
| 225 | rw [inner_sub_right, ← hf, ← hf, h, sub_self] |
| 226 | have hh : v x - v y = 0 := inner_self_eq_zero (𝕜:=ℂ) |>.mp (by rw [inner_sub_left, he, he, sub_self]) |
| 227 | apply sub_eq_zero.mp |
| 228 | apply attains A (adjunction A st H T o) st |
| 229 | exact hh |
| 230 | |
| 231 | include law B st hr in |
| 232 | private lemma conjugate_individual (j : Ortho) : individually A T H o (j*theta*j⁻¹) := by |
| 233 | intro x |
| 234 | apply by_pairs A T H o B st |
| 235 | exact fun p => second_conjugate A T H o law B st hr j p x |
| 236 | end stages |
| 237 | |
| 238 | theorem answer : YM.Bid.B06 := by |
| 239 | intro G C S V A T P H o law B st hr k w h p |
| 240 | have hk := theta_generates (individually A T H o) (one_individual A T H o law B hr) |
| 241 | (product_individual A T H o law) (conjugate_individual A T H o law B st hr) k |
| 242 | exact hk (⟨w,h⟩ : Row.Core _) |
| 243 | |
| 244 | end YM.Work.B06 |