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.Next.FOUNDATIONS.SU2 |
| 2 | import YM.Push.STRESS_FLUX.Color |
| 3 | |
| 4 | /-! |
| 5 | Elementary low-weight representation on actual radial jets, including all covariance |
| 6 | rules on the bilinear terms. No assumption about free equations or separated detection. |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.StressFlux |
| 11 | open Labels Function Gauge |
| 12 | open scoped Topology BigOperators Matrix.Norms.Frobenius InnerProductSpace |
| 13 | |
| 14 | variable {G : Gauge} |
| 15 | |
| 16 | structure Low (G : Gauge) where |
| 17 | c : ℂ |
| 18 | l : Jet G →ₗ[ℝ] ℂ |
| 19 | sq : Taylor G 0 →ₗ[ℝ] Taylor G 0 →ₗ[ℝ] ℂ |
| 20 | mix : Taylor G 0 →ₗ[ℝ] Taylor G 1 →ₗ[ℝ] ℂ |
| 21 | |
| 22 | def Low.eval (A : Low G) (J : Jet G) := A.c + A.l J + A.sq (J 0) (J 0) + A.mix (J 0) (J 1) |
| 23 | def Low.Sym (A : Low G) := ∀ x y, A.sq x y = A.sq y x |
| 24 | |
| 25 | lemma peel_weight {M : Key G →₀ ℕ} (h : M ≠ 0) : |
| 26 | ∃ i : Key G, ∃ N : Key G →₀ ℕ, M = Finsupp.single i 1 + N ∧ height M = generation i + height N := by |
| 27 | obtain ⟨i,hi⟩ : ∃ i : Key G, 1 ≤ M i := by |
| 28 | by_contra! hh |
| 29 | exact h (Finsupp.ext fun i => (Nat.lt_one_iff.mp (hh i) :)) |
| 30 | obtain ⟨N,hN⟩ := exists_add_of_le (Finsupp.single_le_iff.mpr hi) |
| 31 | exact ⟨i,N,hN,by simp [hN,height, Finsupp.weight_single]⟩ |
| 32 | |
| 33 | private def atom (i : Key G) : Taylor G i.1 →ₗ[ℝ] ℂ := Complex.ofRealAm.toLinearMap.comp ((axes G i.1).coord i.2) |
| 34 | private def molecule (i j : Key G) : Taylor G i.1 →ₗ[ℝ] Taylor G j.1 →ₗ[ℝ] ℂ := |
| 35 | (LinearMap.mul ℝ ℂ).compl₁₂ (atom i) (atom j) |
| 36 | |
| 37 | private lemma monomial_low {d : ℕ} (hd : d ≤ 5) (M : Key G →₀ ℕ) (h : height M ≤ d) : |
| 38 | ∃ A : Low G, (d ≤ 4 → A.mix = 0) ∧ ∀ J, read J (MvPolynomial.monomial M 1) = A.eval J := by |
| 39 | rcases eq_or_ne M 0 with rfl|h0 |
| 40 | · exact ⟨⟨1,0,0,0⟩,fun _ => rfl,fun J => by simp [Low.eval, Labels.read]⟩ |
| 41 | obtain ⟨i,N,hN,hi⟩ := peel_weight h0 |
| 42 | rcases eq_or_ne N 0 with ht|ht |
| 43 | · rw [ht,add_zero] at hN |
| 44 | refine ⟨⟨0,(atom i).comp (LinearMap.proj i.1),0,0⟩,fun _ => rfl,fun J => ?_⟩ |
| 45 | rw [hN] |
| 46 | change read J (MvPolynomial.X i) = _ |
| 47 | simp only [Low.eval,Labels.read, MvPolynomial.aeval_X, LinearMap.zero_apply, add_zero,zero_add]; rfl |
| 48 | obtain ⟨j,K,hK,hj⟩ := peel_weight ht |
| 49 | have he : K=0 := by |
| 50 | by_contra! he; obtain ⟨a,b,-,hb⟩ := peel_weight he; unfold generation at *; omega |
| 51 | rw [he,add_zero] at hK |
| 52 | rw [hN,hK,show MvPolynomial.monomial _ 1 = (MvPolynomial.X i : Pol G)*MvPolynomial.X j by |
| 53 | simp [MvPolynomial.X, MvPolynomial.monomial_mul]] |
| 54 | simp only [Labels.read,map_mul,MvPolynomial.aeval_X] |
| 55 | unfold generation at hi hj |
| 56 | obtain ⟨ni,i⟩ := i; obtain ⟨nj,j⟩ := j |
| 57 | change height M = ni+2+height N at hi; change height N=nj+2+_ at hj |
| 58 | have hc : ni+nj=0 ∨ (ni=0 ∧ nj=1 ∧ d=5) ∨ (ni=1 ∧ nj=0 ∧ d=5) := by omega |
| 59 | rcases hc with hh|⟨rfl,rfl,rfl⟩|⟨rfl,rfl,rfl⟩ |
| 60 | · have := Nat.eq_zero_of_add_eq_zero_right hh |
| 61 | have := Nat.eq_zero_of_add_eq_zero_left hh |
| 62 | subst ni nj |
| 63 | refine ⟨⟨0,0,molecule ⟨0,i⟩ ⟨0,j⟩,0⟩,fun _ => rfl,fun J => ?_⟩ |
| 64 | simp only [Low.eval, LinearMap.zero_apply, zero_add,add_zero]; rfl |
| 65 | · refine ⟨⟨0,0,0,molecule ⟨0,i⟩ ⟨1,j⟩⟩,by omega,fun J => ?_⟩ |
| 66 | simp only [Low.eval, LinearMap.zero_apply,zero_add]; rfl |
| 67 | refine ⟨⟨0,0,0,molecule ⟨0,j⟩ ⟨1,i⟩⟩,by omega,fun J => ?_⟩ |
| 68 | simp only [Low.eval, LinearMap.zero_apply,zero_add]; rw [mul_comm]; rfl |
| 69 | |
| 70 | private lemma has_low {d : ℕ} (hd : d≤5) (p : Pol G) (h : p ∈ limited G d) : |
| 71 | ∃ A : Low G, (d ≤ 4 → A.mix = 0) ∧ ∀ J, read J p = A.eval J := by |
| 72 | rw [limited, MvPolynomial.restrictSupport_eq_span] at h |
| 73 | induction h using Submodule.span_induction with |
| 74 | | mem _ h => obtain ⟨M,hM,rfl⟩ := h; exact monomial_low hd M hM |
| 75 | | zero => exact ⟨⟨0,0,0,0⟩,fun _ => rfl,fun J => by simp [Low.eval]⟩ |
| 76 | | add p q _ _ hp hq => |
| 77 | obtain ⟨x,hx,H⟩ := hp; obtain ⟨y,hy,L⟩ := hq |
| 78 | refine ⟨⟨x.c+y.c,x.l+y.l,x.sq+y.sq,x.mix+y.mix⟩,fun he => by simp [hx he,hy he],fun J => ?_⟩ |
| 79 | simp [Low.eval,map_add,H,L]; abel |
| 80 | | smul a p _ hp => |
| 81 | obtain ⟨x,hx,H⟩ := hp |
| 82 | refine ⟨⟨a*x.c,a • x.l,a • x.sq,a • x.mix⟩,fun he => by simp [hx he],fun J => ?_⟩ |
| 83 | simp [Low.eval,H,mul_add] |
| 84 | |
| 85 | theorem low {d : ℕ} (hd : d ≤ 5) (p : Label G d) : |
| 86 | ∃ A : Low G, A.Sym ∧ (d ≤ 4 → A.mix=0) ∧ ∀ J, read J p.val = A.eval J := by |
| 87 | obtain ⟨x,hx,H⟩ := has_low hd p.val p.property.1 |
| 88 | refine ⟨{ x with sq := (2:ℂ)⁻¹ • (x.sq+x.sq.flip) }, (fun a b => by |
| 89 | change (2:ℂ)⁻¹ * (_ + _) = (2:ℂ)⁻¹ * (_ + _); rw [add_comm]; rfl),hx,fun J => ?_⟩ |
| 90 | simp [H,Low.eval]; ring |
| 91 | |
| 92 | def axesMove (e : ∀ i, Module.End ℝ (Taylor G i)) : Jet G →ₗ[ℝ] Jet G := |
| 93 | LinearMap.pi fun i => (e i).comp (LinearMap.proj i) |
| 94 | |
| 95 | def Low.comp (A : Low G) (L : ℂ →ₗ[ℝ] ℂ) (e : ∀ i, Module.End ℝ (Taylor G i)) : Low G where |
| 96 | c := L A.c |
| 97 | l := L ∘ₗ A.l ∘ₗ axesMove e |
| 98 | sq := (A.sq.compr₂ L).compl₁₂ (e 0) (e 0) |
| 99 | mix := (A.mix.compr₂ L).compl₁₂ (e 0) (e 1) |
| 100 | |
| 101 | theorem Low.comp_sym {A : Low G} (h : A.Sym) (L e) : (A.comp L e).Sym := fun x y => congr_arg L (h (e 0 x) (e 0 y)) |
| 102 | theorem Low.comp_eval (A : Low G) (L e) (J) : (A.comp L e).eval J = L (A.eval (axesMove e J)) := by |
| 103 | unfold eval; simp only [map_add]; rfl |
| 104 | |
| 105 | private lemma unique_sq {V : Type*} [AddCommGroup V] [Module ℝ V] |
| 106 | (A B : V →ₗ[ℝ] V →ₗ[ℝ] ℂ) (hA : ∀ x y, A x y = A y x) (hB : ∀ x y, B x y = B y x) |
| 107 | (H : ∀ v, A v v = B v v) : A=B := by |
| 108 | apply LinearMap.ext₂ |
| 109 | intro x y |
| 110 | have h := H (x+y) |
| 111 | simp only [map_add,LinearMap.add_apply, H x,H y, hA y x,hB y x] at h |
| 112 | linear_combination h / 2 |
| 113 | |
| 114 | lemma Low.ext (A B : Low G) (hA : A.Sym) (hB : B.Sym) (h : ∀ J, A.eval J = B.eval J) : A=B := by |
| 115 | have hc : A.c=B.c := by simpa [Low.eval] using h 0 |
| 116 | have hL : A.l=B.l := by |
| 117 | ext1 J; have he := h (-J) |
| 118 | simp only [Low.eval,hc, map_neg, Pi.neg_apply, LinearMap.neg_apply, neg_neg] at h he |
| 119 | linear_combination ((h J) - he) / 2 |
| 120 | have hq (J : Jet G) := h J |
| 121 | simp only [Low.eval,hc,hL,add_assoc,add_right_inj] at hq |
| 122 | have hS : A.sq=B.sq := unique_sq _ _ hA hB (fun v => by simpa using hq (Pi.single 0 v)) |
| 123 | have hM : A.mix=B.mix := LinearMap.ext₂ fun x y => by |
| 124 | simpa [hS] using hq (Pi.single 0 x + Pi.single 1 y) |
| 125 | cases A; cases B; congr |
| 126 | |
| 127 | lemma Low.covariance {d : ℕ} {p : Label G d} {A : Low G} (hs : A.Sym) (he : ∀ J, read J p.val = A.eval J) (g : G.El) : |
| 128 | A.comp LinearMap.id (fun _ => Taylor.paint g) = A := by |
| 129 | apply Low.ext _ _ (A.comp_sym hs _ _) hs |
| 130 | exact fun J => (A.comp_eval ..).trans (by |
| 131 | change A.eval (colored g J)=A.eval J; rw [← he, ← he, p.property.2]) |
| 132 | |
| 133 | /-- A rank-one operator in color applied to a Taylor column stays radial. -/ |
| 134 | private def paintOne (j : ℕ) (c : G.ColorIndex) (J : Jet G) (x : G.Color) : Taylor G j := |
| 135 | let L := (EuclideanSpace.proj c).smulRight x |
| 136 | ⟨fun i => L.compContinuousMultilinearMap ((J j).val i), by |
| 137 | refine ⟨fun i u s => congr_arg L ((J j).property.1 i u s),fun z => ?_⟩ |
| 138 | change ∑ i, z i • L ((J j).value i z) = 0 |
| 139 | rw [← map_zero L, ← Taylor.radial_value (J j) z,map_sum]; simp only [map_smul] ⟩ |
| 140 | |
| 141 | private def paintColumn (c : G.ColorIndex) (J : Jet G) : G.Color →ₗ[ℝ] Jet G where |
| 142 | toFun x j := paintOne j c J x |
| 143 | map_add' x y := by |
| 144 | funext j; apply Taylor.value_ext; funext i z |
| 145 | exact smul_add (((J j).value i z) c) x y |
| 146 | map_smul' a x := by |
| 147 | funext j; apply Taylor.value_ext; funext i z |
| 148 | exact smul_comm (((J j).value i z) c) a x |
| 149 | |
| 150 | lemma Low.linear_invariant {A : Low G} (H : G.Simple) |
| 151 | (h : ∀ g, A.comp LinearMap.id (fun _ => Taylor.paint g) = A) : A.l=0 := by |
| 152 | have he (c : G.ColorIndex) (J : Jet G) : A.l ∘ₗ paintColumn c J = 0 := by |
| 153 | refine StressFlux.linear_invariant H _ fun g x => ?_ |
| 154 | have hf : paintColumn c J (G.adjoint g x) = axesMove (fun _ => Taylor.paint g) (paintColumn c J x) := by |
| 155 | funext j; apply Taylor.value_ext; funext i z |
| 156 | exact (map_smul (G.adjoint g) _ x).symm |
| 157 | exact (congr_arg A.l hf).trans (congr_arg (fun B => Low.l B (paintColumn c J x)) (h g)) |
| 158 | apply LinearMap.ext |
| 159 | intro J |
| 160 | let b := EuclideanSpace.basisFun G.ColorIndex ℝ |
| 161 | suffices ht : (∑ i, paintColumn i J (b i)) = J by |
| 162 | change A.l J=0; rw [← ht,map_sum] |
| 163 | exact Finset.sum_eq_zero (fun i _ => LinearMap.congr_fun (he i J) (b i)) |
| 164 | funext j; apply Taylor.value_ext; funext i z |
| 165 | simp only [Finset.sum_apply,Taylor.value,AddSubmonoidClass.coe_finsetSum, Tensor.diagonal, _root_.sum_apply] |
| 166 | exact b.sum_repr ((J j).value i z) |
| 167 | |
| 168 | end YM.StressFlux |