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.MAXWELL.Canopy |
| 2 | import YM.Next.MAXWELL.Leading |
| 3 | |
| 4 | /-! |
| 5 | # Extract the polarized vector test |
| 6 | |
| 7 | Only the −5 triangular residue. Get `monoT` logically via |
| 8 | all positions and uncontracted Sheet detection, not any choice of inverse |
| 9 | for the 10 covariance. Then symmetry *itself* gives linearity. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Maxwell.Free |
| 14 | open Set Function Filter Tensor Analysis MeasureTheory Wick |
| 15 | open scoped ContDiff Topology BigOperators InnerProductSpace ComplexOrder |
| 16 | variable {G : Gauge} {j l d : ℕ} |
| 17 | |
| 18 | section Cluster |
| 19 | variable (c : G.ColorIndex) {x y : ℝ → E4} {u z : E4} |
| 20 | |
| 21 | lemma tri_panel (hx : Tendsto x little (𝓝 0)) (hy : Tendsto y little (𝓝 0)) |
| 22 | (hz : z≠0) (he : u≠0) (hh : ∀ (t : ℝ), x t-y t=t • u) |
| 23 | (D : Panels 0 1) (p q : Flavor 0) (X : Sheet 0) (hX : ∀ p, fare c p q (0-z)=p X) : |
| 24 | Tendsto (fun t : ℝ => (↑(t^5):ℂ)*triangle G (x t) (y t) z (canopy G 0 1 D) (team G p p) (team G q q)) little |
| 25 | (𝓝 (↑((G.lieDim:ℝ)*4*fare c (D X) p u*p X):ℂ)) := by |
| 26 | let B := Module.finBasis ℝ (Sheet 0) |
| 27 | let J t (u) := (triangle G (x t) (y t) z u (team G p p) (team G q q)) |
| 28 | let C' := (G.lieDim:ℝ)*4 |
| 29 | have hr : Tendsto (fun t : ℝ => ∑ i, (↑(t^5):ℂ)* J t (team G (B.coord i) (D (B i)))) little |
| 30 | (𝓝 (∑ i, (↑(C'*(fare c (B.coord i) q (0-z) * fare c (D (B i)) p u)*fare c p q (0-z)):ℂ))) := |
| 31 | tendsto_finsetSum _ fun i _ => tri_path c hx hy hz he hh _ _ _ _ |
| 32 | rw [show canopy G 0 1 D=∑ i,team G (B.coord i) (D (B i)) from rfl] |
| 33 | simp only [map_sum,LinearMap.sum_apply,Finset.mul_sum] |
| 34 | have ht (L : Sheet 0) : fare c (D L) p u = ∑ i, B.coord i L*fare c (D (B i)) p u := by |
| 35 | conv_lhs => rw [← B.sum_repr L] |
| 36 | rw [← fare_pair _ _ _ he]; simp only [map_sum,map_smul,LinearMap.sum_apply]; |
| 37 | exact Finset.sum_congr rfl fun i _ => rfl |
| 38 | rw [ht]; simp_rw [hX] at hr |
| 39 | simp only [Finset.mul_sum, Finset.sum_mul,← mul_assoc,Complex.ofReal_sum] |
| 40 | simp only [← mul_assoc] at hr; exact hr |
| 41 | |
| 42 | include c |
| 43 | lemma tri_panel_far (hx : Tendsto x little (𝓝 0)) (hy : Tendsto y little (𝓝 0)) |
| 44 | (hz : z≠0) (he : u≠0) (hh : ∀ (t : ℝ), x t-y t=t • u) |
| 45 | (D : Panels 0 1) (p q : Flavor 0) : |
| 46 | Tendsto (fun t : ℝ => (↑(t^5):ℂ)*triangle G z (x t) (y t) (canopy G 0 1 D) (team G p p) (team G q q)) little |
| 47 | (𝓝 0) := by |
| 48 | let B := Module.finBasis ℝ (Sheet 0) |
| 49 | rw [show canopy G 0 1 D=∑ i,team G (B.coord i) (D (B i)) from rfl] |
| 50 | simp only [map_sum,LinearMap.sum_apply,Finset.mul_sum] |
| 51 | have ht := tendsto_finsetSum (f:=fun i t => _) Finset.univ (fun i _ => tri_path_far c hx hy hz he hh (B.coord i) (D (B i)) p q) |
| 52 | rwa [Finset.sum_const_zero] at ht |
| 53 | |
| 54 | lemma tri_focus {T : Module.End ℂ (WickPol G)} {D : Flavor 0 → Panels 0 1} (H : silence G d T) |
| 55 | (hd : 4≤d) (ht : ∀ x, canopy G 0 1 (D x)=T (team G x x)) (p q : Flavor 0) {u : E4} (hu : u≠0) (X : Sheet 0) : |
| 56 | fare c (D p X) q u * q X = fare c (D q X) p u * p X := by |
| 57 | let x := fun t : ℝ => t • u |
| 58 | let y := fun _ : ℝ => (0:E4) |
| 59 | let z := basis timeAxis |
| 60 | have hx : Tendsto x little (𝓝 0) := by |
| 61 | have hh := tendsto_id (x:=𝓝 (0:ℝ)) |
| 62 | unfold x; simpa only [id_eq,little,zero_smul] using (hh.smul_const u).mono_left nhdsWithin_le_nhds |
| 63 | have hy : Tendsto y little (𝓝 0) := tendsto_const_nhds |
| 64 | have hz : z≠0 := (norm_ne_zero_iff.mp (by simp [z])) |
| 65 | have he t : x t-y t=t • u := sub_zero _ |
| 66 | have he' (t : ℝ) : y t-x t=t • (-u) := by rw [← neg_sub (x t), he,smul_neg] |
| 67 | obtain ⟨w,hw⟩ := point_fares c X (sub_ne_zero.mpr (Ne.symm hz)) |
| 68 | let A b := team G (b:Flavor 0) b |
| 69 | let f t := triangle G (x t) (y t) z (T (A p)) (A q) (A w) + triangle G (y t) (x t) z (T (A q)) (A p) (A w) + |
| 70 | triangle G z (y t) (x t) (T (A w)) (A q) (A p) |
| 71 | have hr := ((tri_panel c hx hy hz hu he (D p) q w X hw).add |
| 72 | (tri_panel c hy hx hz (neg_ne_zero.mpr hu) he' (D q) p w X hw)).add |
| 73 | (tri_panel_far (G:=G) c hy hx hz (neg_ne_zero.mpr hu) he' (D w) q p) |
| 74 | simp only [ht,← mul_add,fare_sign c _ _ hu,add_zero] at hr |
| 75 | have hs : Tendsto (fun t : ℝ => (↑(t^5):ℂ)*f t) little (𝓝 0) := by |
| 76 | apply tendsto_const_nhds.congr' |
| 77 | filter_upwards [hx.eventually (isOpen_ne.mem_nhds (show (0:E4)≠z from hz.symm)), self_mem_nhdsWithin (a:=(0:ℝ)) (s:=Ioi 0)] with t ha ho |
| 78 | have Ho := tri_ok (y:=y t) (smul_ne_zero (show t ≠ 0 from (show 0<t from ho).ne') hu) ha hz.symm |
| 79 | have hb := triangle_stat Ho H (team_label (G:=G) p p hd) (team_label (G:=G) q q hd) (team_label (G:=G) w w hd) |
| 80 | rw [tri_around Ho (team G p p) (T (team G q q)), tri_switch Ho (team G p p) (team G q q)] at hb |
| 81 | rw [show f t = 0 from hb,mul_zero] |
| 82 | have hv := tendsto_nhds_unique hr hs |
| 83 | let k := (G.lieDim:ℝ)*4 |
| 84 | have hK : k ≠ 0 := by |
| 85 | have hh : 0<G.lieDim := lt_of_le_of_lt (Nat.zero_le _) c.isLt |
| 86 | dsimp [k]; positivity |
| 87 | have hm := Complex.ofReal_inj.mp ((Complex.ofReal_add ..).trans (hv.trans Complex.ofReal_zero.symm)) |
| 88 | change k*_ * q X + k* -fare c (D q X) p u * p X = 0 at hm |
| 89 | rw [mul_neg, neg_mul, ← sub_eq_add_neg, mul_assoc,mul_assoc,sub_eq_zero] at hm |
| 90 | apply mul_left_cancel₀ hK; simpa only [k,mul_assoc] using hm |
| 91 | end Cluster |
| 92 | |
| 93 | section receipt |
| 94 | variable {T : Module.End ℂ (WickPol G)} |
| 95 | variable (c : G.ColorIndex) (H : silence G d T) (hd : 4≤d) |
| 96 | |
| 97 | private lemma witness (a : Flavor 0) (h : a≠0) : ∃ x : Sheet 0,a x ≠ 0 := by |
| 98 | by_contra! ht; exact h (LinearMap.ext ht) |
| 99 | private lemma dual_witness (x : Sheet 0) (hx : x≠0) : ∃ a : Flavor 0,a x ≠ 0 := by |
| 100 | by_contra! ht; exact hx (flavor_ext fun u i l => by rw [ht,map_zero]) |
| 101 | |
| 102 | include H hd c |
| 103 | lemma tri_takes (D : Flavor 0 → Panels 0 1) (hD : ∀ x, canopy G 0 1 (D x)=T (team G x x)) (a : Flavor 0) (ha : a≠0) : |
| 104 | ∃ b : Flavor 1,D a=monoT a b := by |
| 105 | obtain ⟨x,hx⟩ := witness a ha |
| 106 | let f := D a |
| 107 | have he (X : Sheet 0) (ht : a X=0) : f X=0 := by |
| 108 | by_cases hw:X=0 |
| 109 | · rw [hw,map_zero] |
| 110 | apply ranging c (f X) 0; intro z hz p |
| 111 | have hp (p : Flavor 0) (h : p X ≠ 0) : fare c (f X) p z = 0 := |
| 112 | (mul_eq_zero.mp ((tri_focus c H hd hD a p hz X).trans (by rw [ht,mul_zero]))).resolve_right h |
| 113 | by_cases hh : p X = 0 |
| 114 | · obtain ⟨q,hq⟩ := dual_witness X hw |
| 115 | have hk := hp (p+q) (by rwa [LinearMap.add_apply,hh,zero_add]) |
| 116 | rw [← fare_pair c _ _ hz,map_add,fare_pair,fare_pair, hp q hq,add_zero] at hk; exact hk |
| 117 | exact hp _ hh |
| 118 | refine ⟨(a x)⁻¹ • f x, LinearMap.ext fun u => ?_⟩ |
| 119 | let r := a u*(a x)⁻¹ |
| 120 | have ht := he (u-r • x) (by rw [map_sub,map_smul, smul_eq_mul,sub_eq_zero]; unfold r; field_simp) |
| 121 | rw [map_sub,map_smul,sub_eq_zero] at ht |
| 122 | change f u = a u • ((a x)⁻¹ • _) |
| 123 | rw [smul_smul]; exact ht |
| 124 | |
| 125 | set_option maxHeartbeats 600000 in |
| 126 | lemma receives (hD : ∀ p : Flavor 0,∃ D : Panels 0 1, canopy G 0 1 D=T (team G p p)) : |
| 127 | ∃ f : Flavor 0 →ₗ[ℝ] Flavor 1, (∀ p, T (team G p p)=team G p (f p)) ∧ |
| 128 | (∀ p q z, z≠0 → fare c (f p) q z=fare c (f q) p z) := by |
| 129 | choose D ht using hD |
| 130 | have hh (p : Flavor 0) : ∃ b : Flavor 1,D p=monoT p b ∧ (p=0→b=0) := by |
| 131 | classical |
| 132 | by_cases he : p=0 |
| 133 | · subst p |
| 134 | refine ⟨0,canopy_faithful c (by decide) ?_,fun _ => rfl⟩ |
| 135 | rw [ht,shelter]; change T (duetL G 0 0 0 0)=duetL G 0 1 0 0; simp |
| 136 | obtain ⟨b,h⟩ := tri_takes (G:=G) c H hd _ ht p he |
| 137 | exact ⟨b,h,by simp [he]⟩ |
| 138 | choose f hf h0 using hh |
| 139 | have hw (p q : Flavor 0) (z : E4) (hz : z≠0) : fare c (f p) q z=fare c (f q) p z := by |
| 140 | by_cases he : p=0 |
| 141 | · subst p |
| 142 | rw [h0 _ rfl,← fare_pair _ _ _ hz,← fare_pair _ _ _ hz]; simp |
| 143 | by_cases hh : q=0 |
| 144 | · subst q |
| 145 | rw [h0 _ rfl,← fare_pair _ _ _ hz,← fare_pair _ _ _ hz]; simp |
| 146 | have hg : ∃ x, p x≠0 ∧ q x≠0 := by |
| 147 | obtain ⟨x,hx⟩ := witness p he |
| 148 | by_cases h : q x=0 |
| 149 | · obtain ⟨y,hy⟩ := witness q hh |
| 150 | by_cases ht : p y=0 |
| 151 | · exact ⟨x+y,by simpa [ht],by simpa [h]⟩ |
| 152 | exact ⟨y,ht,hy⟩ |
| 153 | exact ⟨x,hx,h⟩ |
| 154 | obtain ⟨x,hx,hy⟩ := hg |
| 155 | have hk := tri_focus c H hd ht p q hz x |
| 156 | rw [hf,hf] at hk |
| 157 | change fare c (p x • f p) q z*q x = fare c (q x • f q) p z*p x at hk |
| 158 | rw [← fare_pair _ _ _ hz,← fare_pair _ _ _ hz,map_smul,map_smul,LinearMap.smul_apply,LinearMap.smul_apply,fare_pair,fare_pair,smul_eq_mul,smul_eq_mul] at hk |
| 159 | apply mul_right_cancel₀ hy; apply mul_left_cancel₀ hx; convert hk using 1 <;> ring |
| 160 | refine ⟨{ toFun := f, map_add' p q := ?_, map_smul' a p := ?_ },?_,hw⟩ |
| 161 | · apply sub_eq_zero.mp; apply ranging c _ 0; intro z hz t |
| 162 | rw [← fare_pair _ _ _ hz,map_sub,LinearMap.sub_apply,map_add,LinearMap.add_apply,fare_pair,fare_pair,fare_pair, |
| 163 | hw _ _ _ hz,hw p t _ hz,hw q t _ hz,← fare_pair _ _ _ hz,map_add,fare_pair,fare_pair,sub_self] |
| 164 | · apply sub_eq_zero.mp; apply ranging c _ 0; intro z hz t |
| 165 | rw [← fare_pair _ _ _ hz,map_sub,LinearMap.sub_apply,map_smul, LinearMap.smul_apply, fare_pair,fare_pair,hw _ _ _ hz,hw p t _ hz, |
| 166 | ← fare_pair _ _ _ hz,map_smul,fare_pair]; exact sub_self _ |
| 167 | intro p; rw [← ht,hf,shelter]; rfl |
| 168 | end receipt |
| 169 | end YM.Maxwell.Free |