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.Turret.Pint |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Turret |
| 5 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Exterior Tree RG Wilson Finset Push.Uniform Det Planned.PrimaryIntegral295 Lamp Extra.Iteration |
| 6 | open Filch |
| 7 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 8 | variable {G:Gauge}{n:Side}{k r:ℕ}{o x y:Site n}{p q C E D a v:ℝ}{Z:Dart G n}{R:PathData G}{s:Clip} |
| 9 | abbrev Sway(G:Gauge)(n:Side):= Axis→Axis→CrG G n |
| 10 | def mine (r:ℕ)(X:Sway G n): Sway G n:= fun i j=> frost (X i j) r |
| 11 | def pluck (r:ℕ)(Z:Dart G n)(k:Axis):= frost (Z.Q k) r |
| 12 | def pluckD (r:ℕ)(Z:Dart G n)(i j k:Axis):= frost (Z.twist i j k) r |
| 13 | def aimD := (univ:Finset Axis).erase 0 |
| 14 | private lemma afact : (aimD.card:ℝ)=3:=by unfold aimD; simp |
| 15 | |
| 16 | def paceX(r:ℕ)(Z:Dart G n): Sway G n := fun a b=> if a=0∧b=0 then (∑ i,twing i)-(∑ i∈aimD,mine r Z.J i i) else if b<a then (mine r Z.J b a)-∑ i:Axis,twig i (pluckD r Z b a i) else mine r Z.J a b |
| 17 | where twing i:=twig i (pluck r Z i) |
| 18 | lemma unitst(r:ℕ)(Z:Dart G n):paceX r Z 0 0=(∑ i, twig i (pluck r Z i))-(∑ i∈aimD,mine r Z.J i i):=by rw [paceX,if_pos ⟨rfl,rfl⟩];rfl |
| 19 | lemma aim_ne (x:Axis)(h:x∈aimD):x≠0:=ne_of_mem_erase h |
| 20 | lemma picks (r:ℕ)(Z:Dart G n): (∑ i∈aimD,paceX r Z i i)=(∑ i∈aimD,mine r Z.J i i):=by apply sum_congr rfl; intro i hi; unfold paceX; simp[aim_ne i hi] |
| 21 | lemma cones(r:ℕ)(Z:Dart G n): ∑ i:Axis,paceX r Z i i= ∑ i,twig i (pluck r Z i):=by |
| 22 | let F i:=paceX r Z i i; rw [← Finset.add_sum_erase (a:=0) _ F (mem_univ _)];change F 0+∑ i∈aimD,F i=_;rw[picks r Z,show F 0=_ from unitst r Z, sub_add_cancel] |
| 23 | lemma spirit(r:ℕ)(Z:Dart G n)(i j:Axis)(h:i< j): paceX r Z i j - paceX r Z j i= ∑ k, twig k (pluckD r Z i j k):=by |
| 24 | unfold paceX; rw[if_neg, if_neg (not_lt.mpr h.le),if_neg,if_pos h,sub_sub_cancel]; all_goals intro hr; obtain ⟨rfl,rfl⟩:=hr; exact (lt_irrefl _ h) |
| 25 | private lemma untw(h:Z.Sound R s): Z.J 0 0=(∑ i, twig i (Z.Q i))-∑ i∈aimD,Z.J i i:= by |
| 26 | apply eq_sub_of_add_eq; exact (Finset.add_sum_erase _ (fun i=>Z.J i i) (mem_univ 0)).trans h.hue |
| 27 | |
| 28 | def plumAmount(A:ℝ):=4*(A+A)+4*A+A |
| 29 | def papa(A:ℝ):= 4*(Perfect.shelter 1 4 1*A + A)+4*A+A |
| 30 | lemma pulse (ht:BurstG G k r a p D C E) (hZ:Viz Z s R a (fun _=>p) (fun _=> q) v) (hx:Z.March)(ha:0 ≤ a)(he:a ≤ 1)(hC:0 ≤ C)(hE:0 ≤ E): |
| 31 | (∀ i, Bond (Z.Q i) (pluck r Z i) k (4*(r+1+1)) (a/100) C E D) ∧ (∀ i j k',Bond (Z.twist i j k') (pluckD r Z i j k') k (4*(r+1+1)) (a/100) C E D)∧∀ i j,Bond (Z.J i j) (paceX r Z i j) k (4*(r+1+1)+1) (a/100) (plumAmount C) (papa E) D:=by |
| 32 | let Y:=Z.J |
| 33 | have h(i j):Bond (Z.J i j) (mine r Z.J i j) k (4*(r+1+1)) _ C E D:=ht n _ (fun x=> congr_arg (fun a:Dart G n=> a.J i j) (hx.still x)) (hZ.sound.heart i j _) (hZ.J i j _) |
| 34 | have hp(i):Bond (Z.Q i) (pluck r Z i) k (4*(r+1+1)) _ C E D:=ht n _ (fun x=> congr_arg (fun a:Dart G n=> a.Q i) (hx.still x)) (hZ.sound.plumQ i _) (hZ.plum i _) |
| 35 | have hz(i j k'):Bond (Z.twist i j k') (pluckD r Z i j k') k (4*(r+1+1)) _ C E D:=ht n _ (fun x=> congr_arg (fun a:Dart G n=> a.twist i j k') (hx.still x)) (hZ.sound.mint i j k' _) (hZ.mint ..) |
| 36 | have hA :0≤ a/100:=by positivity |
| 37 | have hA' : a/100 ≤ 1:=by linarith only[he] |
| 38 | have ht:= Perfect.shelter_pos (1:ℝ) 4 zero_le_one |
| 39 | refine ⟨hp,hz,fun i j=>?_⟩; by_cases hD:i=0∧j=0 |
| 40 | · obtain ⟨rfl,rfl⟩:=hD; rw[unitst,untw hZ.sound]; apply ((Bond.bondS _ _ _ _ _ (fun i _=> (hp i).suffix i hA hA')).lapse (Bond.bondS _ _ _ _ _ (fun i _=> (h i i).top le_rfl le_rfl (Nat.le_succ _)))).top _ _ le_rfl |
| 41 | · simp only[sum_const,card_univ,Fintype.card_fin,nsmul_eq_mul]; rw[afact]; unfold plumAmount; norm_num [Axis]; linarith |
| 42 | simp only[sum_const,card_univ,Fintype.card_fin,nsmul_eq_mul]; rw [afact]; unfold papa; norm_num [Axis]; linarith |
| 43 | unfold paceX; rw [if_neg hD]; split <;> rename_i H |
| 44 | · rw[show Z.J i j= Z.J j i-(∑ l,twig l (Z.twist j i l)) from by rw [← hZ.sound.tint]; abel] |
| 45 | apply (((h j i).top le_rfl le_rfl (Nat.le_succ _)).lapse (Bond.bondS _ _ _ _ _ (fun u _=> (hz j i u).suffix u hA hA'))).top _ _ le_rfl |
| 46 | · norm_num [Axis,plumAmount]; linarith |
| 47 | norm_num [Axis,papa]; linarith |
| 48 | refine (h i j).top (by unfold plumAmount; linarith only[hC]) (by unfold papa; nlinarith only [hE,mul_nonneg ht.le hE]) (Nat.le_succ _) |
| 49 | end YM.Trace.Turret |