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.TraceExtension.Momentum |
| 2 | import YM.Next.BOUNDARY.Unique |
| 3 | |
| 4 | /-! The Euclidean trace of the Ward-normalized stress, centered in the chosen state. |
| 5 | It pins a Hermitian Lorentz scalar field in the realization on these labels. |
| 6 | -/ |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.TraceExtension |
| 11 | open Function Set Filter MeasureTheory Metric Complex Mink Boundary Spectral Table |
| 12 | open scoped Topology Matrix.Norms.Frobenius NNReal ENNReal BigOperators InnerProductSpace |
| 13 | |
| 14 | variable {G : Gauge} {L : Register G} {S T : Table L} {P : DiffPlan S} {X : Table.Rotation S} {rs : S.RealSpin} |
| 15 | {J : Stress S} |
| 16 | |
| 17 | def stressTrace (J : Stress S) : S.Field 4 := ∑ i, J i i |
| 18 | |
| 19 | lemma stressTrace_turn (hp : Tensorial X J) (K : Ortho) : X.act 4 K (stressTrace J)=stressTrace J := by |
| 20 | let f : Axis → Axis → Axis → S.Field 4 := fun a i j => (↑(K.val i a*K.val j a):ℂ) • J i j |
| 21 | have he : X.act 4 K (stressTrace J)= ∑ a, ∑ i, ∑ j, f a i j := by |
| 22 | rw [stressTrace,map_sum]; exact Finset.sum_congr rfl (fun a _ => hp K a a) |
| 23 | have hu (i j : Axis) : (∑ a, f a i j)= (↑((1:M4) i j):ℂ) • J i j := by |
| 24 | unfold f |
| 25 | rw [← Finset.sum_smul,← Complex.ofReal_sum] |
| 26 | congr 2 |
| 27 | have h : K.val*K.val.transpose=1 := by |
| 28 | simpa [Matrix.star_eq_conjTranspose] using (show K.val*star K.val = 1 from K.property.2) |
| 29 | rw [← h]; rfl |
| 30 | rw [he, Finset.sum_comm]; change ∑ i, ∑ a, ∑ j, f a i j = ∑ i, J i i |
| 31 | apply Finset.sum_congr rfl; intro i hi; rw [Finset.sum_comm]; simp [hu, Matrix.one_apply] |
| 32 | |
| 33 | /-- Vacuum phase convention; evaluated in `T` on our original table's field representative. -/ |
| 34 | def euclideanVEV (S T : Table L) {d : ℕ} (v : S.Field d) := S.useAt T (0:Points 1) (fun _ => ⟨d,v⟩) |
| 35 | lemma vev_coordinates (ht : T.Homogeneous) {d : ℕ} (v : S.Field d) (x : Points 1) : |
| 36 | S.useAt T x (fun _ => ⟨d,v⟩)=euclideanVEV S T v := by |
| 37 | have he := ht 1 0 (fun _ _ _ => Subsingleton.elim ..) (x 0) (fun _ => (⟨d,S.representative d v⟩ : L.Token)) |
| 38 | rw [show Points.across (x 0) (0:Points 1)=x by |
| 39 | ext1 i; rw [Subsingleton.elim i 0]; simp] at he |
| 40 | exact he |
| 41 | |
| 42 | lemma vev_linear {d : ℕ} : IsLinearMap ℂ (@euclideanVEV G L S T d) := by |
| 43 | let M := S.classMoment T (fun _ : Fin 1 => d) 0 |
| 44 | suffices he : @euclideanVEV G L S T d= M.toLinearMap (fun _ => 0) 0 from he ▸ (M.toLinearMap (fun _ => 0) 0).isLinear |
| 45 | funext x; change M (fun _ => x)=M (update _ _ _); congr 1; ext1 i; rw [Subsingleton.elim i 0,update_self] |
| 46 | |
| 47 | lemma vev_proj (hs : T.respects S) (ht : T.Hierarchy) {d : ℕ} (v : L.Ref d) : |
| 48 | euclideanVEV S T (S.project d v)= T.read (0:Points 1) (fun _ => ⟨d,v⟩) := |
| 49 | S.at_project T ht.laws.toSymmetric hs (fun _ _ _ =>Subsingleton.elim ..) (fun _ : Fin 1 => ⟨d,v⟩) |
| 50 | |
| 51 | lemma vev_unit (hs : T.respects S) (ht : T.Hierarchy) (d : ℕ) : euclideanVEV S T (S.unit d)=1 := by |
| 52 | let v : Fin 0 → L.Token := Fin.elim0; rw [Table.unit,vev_proj hs ht] |
| 53 | have he := ht.laws.unital (x:=0) (n:=0) (fun _ _ _ => @Subsingleton.elim (Fin 1) _ ..) d v |
| 54 | rw [ht.laws.trivial] at he |
| 55 | have hi : (fun _ : Fin 1 => (⟨d,L.scalar d⟩:L.Token))=Fin.cons (α:=fun _ => L.Token) (L.one d) v := by funext i; rw [Subsingleton.elim i 0]; rfl |
| 56 | rw [hi]; exact he |
| 57 | |
| 58 | lemma vev_conj (hs : T.respects S) (ht : T.Hierarchy) {d : ℕ} (v : S.Field d) : |
| 59 | euclideanVEV S T (S.conj rs d v)=star (euclideanVEV S T v) := by |
| 60 | obtain ⟨a,rfl⟩ := S.onto d v |
| 61 | rw [S.conj_project,vev_proj hs ht,vev_proj hs ht]; exact ht.spin.real (fun _ _ _ => Subsingleton.elim ..) (fun _ => (⟨d,a⟩:L.Token)) |
| 62 | |
| 63 | def centerIn (S T : Table L) {d : ℕ} (v : S.Field d) := v - euclideanVEV S T v • S.unit d |
| 64 | def theta (T : Table L) (J : Stress S) : S.Field 4 := centerIn S T (stressTrace J) |
| 65 | |
| 66 | lemma centerIn_vac (hs : T.respects S) (ht : T.Hierarchy) {d : ℕ} (v : S.Field d) : euclideanVEV S T (centerIn S T v)=0 := by |
| 67 | unfold centerIn; rw [vev_linear.map_sub,vev_linear.map_smul,vev_unit hs ht]; simp |
| 68 | |
| 69 | lemma trace_real (hp : Table.Conserved P rs J) (hs : T.respects S) (ht : T.Hierarchy) : S.conj rs 4 (theta T J)=theta T J := by |
| 70 | have he : S.conj rs 4 (stressTrace J)=stressTrace J := by simp only [stressTrace,map_sum,hp.real] |
| 71 | unfold theta centerIn; rw [map_sub,map_smulₛₗ,he,S.conj_unit]; rw [show starRingEnd ℂ _ = _ from (vev_conj hs ht (v:=stressTrace J) (rs:=rs)).symm, he] |
| 72 | |
| 73 | lemma trace_turn (hp : Tensorial X J) (hr : X.Laws P rs) (K : Ortho) : X.act 4 K (theta T J) = theta T J := by |
| 74 | unfold theta centerIn; rw [map_sub,map_smul,stressTrace_turn hp,hr.identity] |
| 75 | |
| 76 | lemma trace_adj (hp : Table.Conserved P rs J) (hq : Tensorial X J) (hr : X.Laws P rs) |
| 77 | (hs : T.respects S) (ht : T.Hierarchy) : S.adj rs 4 timeAxis (theta T J) = theta T J := by |
| 78 | rw [Table.adj,LinearMap.comp_apply,trace_real hp hs ht, ← hr.signed,trace_turn hq hr] |
| 79 | |
| 80 | lemma scalar_rail {K : Spins S} (hK : K.Descends X rs) (hr : X.Laws P rs) {d : ℕ} {v : S.Field d} (hf : ∀ i, X.act d i v=v) |
| 81 | (g : Lorentz) : K.rail g (S.pin d v)= S.pin d v := by |
| 82 | have one (v : S.Field d) : K.shell d 1 v = v := S.pin_inj d ((hK.ties ..).symm.trans (hK.identity _)) |
| 83 | have mult (a b : Lorentz) (v : S.Field d) : K.shell d (a*b) v=K.shell d a (K.shell d b v) := by |
| 84 | apply S.pin_inj; simpa only [hK.ties] using hK.representation a b (S.pin d v) |
| 85 | have he : g∈Bid.beamGens := by rw [(Work.A16.answer : Bid.beamGens=⊤)]; trivial |
| 86 | rw [hK.ties] |
| 87 | apply congr_arg |
| 88 | apply Subgroup.closure_induction (p := fun b _ => K.shell d b v=v) _ (one v) _ _ he |
| 89 | · rintro b (⟨s,w,rfl⟩|⟨a,u,rfl⟩) |
| 90 | · rw [hK.spatial,hf] |
| 91 | let U := Ray.fromAxis a |
| 92 | let f t := K.shell d (U.boost t) v |
| 93 | have hz (r : Ortho.Skew) : X.lie d r v=0 := by |
| 94 | have he := hr.infinitesimal d r v; simp_rw [hf] at he; exact he.unique (hasDerivAt_const ..) |
| 95 | let m := LinearMap.toContinuousLinearMap ((-Complex.I) • X.lie d (Ortho.plane timeAxis a.castSucc)) |
| 96 | have hm : m v=0 := by change (-Complex.I) • X.lie _ _ v=_; rw [hz,smul_zero] |
| 97 | have hs (t : ℝ) : HasDerivAt f (m (f t)) t := by |
| 98 | have hd := hK.boosts d a (f t) |
| 99 | simpa only [f,m,Function.comp_def, one_smul, ← mult, ← Ray.boost_add, sub_add_cancel,U] using! |
| 100 | hd.scomp_of_eq t ((hasDerivAt_id' t).sub_const t) (by simp) |
| 101 | have h0 : f 0=v := by simp [f,one] |
| 102 | exact congr_fun (ODE_solution_unique_univ (f:=f) (g:=fun _ => v) (s:=fun _ => univ) |
| 103 | (fun (_ : ℝ) => m.lipschitz.lipschitzOnWith) (fun t => ⟨hs t, mem_univ _⟩) |
| 104 | (fun t => ⟨hm.symm ▸ hasDerivAt_const t _, mem_univ _⟩) h0) u |
| 105 | · intro a b _ _ ha hb; rw [mult,hb,ha] |
| 106 | intro a _ ha; apply (K.shell d a).injective; rw [ha, ← mult, mul_inv_cancel, one] |
| 107 | end YM.TraceExtension |