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.Swift.Flag |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Swift |
| 5 | open Function Filter Set Lattice Pressure Ac Wilson RG Precision Laurent Stationary Perfect Exterior Tree RG Wilson Finset Push.Uniform Det Planned.PrimaryIntegral295 Lamp Analysis Matrix |
| 6 | open Filch Turret Shepherd AnalyticBridge VerifiedReset Drupes Extra.Iteration SectorAffine Fen Kits Pills Loft Xo Zn StressFlux |
| 7 | open scoped BigOperators Topology Classical Matrix.Norms.Frobenius ContDiff |
| 8 | variable {G:Gauge} {n:Side}{s u C A T:ℝ}{k m:ℕ} |
| 9 | abbrev Rho(G:Gauge)(n:Side):= Directions G n × ℝ |
| 10 | def transit (o:Bond n) (v:G.Color) (p:Rho G n):= rung (increment 1 p.1) o v p.2 |
| 11 | lemma voy (D:ℝ)(hd:1≤D)(k:ℕ)(G:Gauge):∃ A:ℝ,0≤ A∧ ∀ (n:Side)(o:Bond n)(v:G.Color),‖v‖≤1→∀ p:Rho G n,‖p‖≤D→∀ i,Allows k (fun x=>G.mat (transit o v x i)) p A:=by |
| 12 | obtain ⟨S,hS,H⟩:=Turret.atp G k D (by positivity) |
| 13 | let A:=2^k*S*S; refine ⟨A,by positivity,fun n o v hv p hp i=>?_⟩ |
| 14 | let U(x:Rho G n) := input G n (x.2 • phB o v) |
| 15 | let L:Rho G n→L[ℝ] Directions G n:= (ContinuousLinearMap.snd ℝ (Directions G n) ℝ).smulRight (edgeColor (phB o v)) |
| 16 | have hV: ‖edgeColor (phB o v)‖≤ 1:=by unfold phB; simp; apply (pi_norm_le_iff_of_nonneg zero_le_one).mpr; intro j; by_cases h:j=o <;> simp [h,hv] |
| 17 | have he:‖L‖≤1:=L.opNorm_le_bound zero_le_one (fun x=> (le_trans (le_of_eq (norm_smul (x.2) (edgeColor (phB o v)))) (by rw[one_mul]; exact (mul_le_of_le_one_right (norm_nonneg _) hV).trans (norm_snd_le x)))) |
| 18 | have hh(x:Rho G n): U x=increment 1 (L x):=by funext i; rw[increment]; simp only [Pi.one_apply,mul_one]; unfold U; rw[input_color,map_smul]; rfl |
| 19 | have hx : Allows k (fun x=>G.mat (U x i)) p S:=by simp_rw [hh]; exact pre_short L (f:=fun x=>G.mat (increment (1:Config G n) x i)) (H n 1 (L p) (((L.le_opNorm _).trans ((mul_le_mul_of_nonneg_right he (norm_nonneg p)).trans_eq (one_mul _))).trans hp) i) he |
| 20 | let W(x:Rho G n):=increment (1:Config G n) x.1 |
| 21 | exact hx.times (f:=fun y=>U y i) (g:=fun y=>W y i) (allows_first_var (p:=p) (f:=fun y=>G.mat (increment (1:Config G n) y i)) (H n 1 p.1 ((norm_fst_le p).trans hp) i)) |
| 22 | lemma spoutW (S:BudgetPoint) (o:Bond n)(v:G.Color)(x:Rho G n): Army (transit o v) x:= by |
| 23 | let Q(x:Rho G n):= increment (1:Config G n) x.1 |
| 24 | exact (Army.powL (v:=fun x:Rho G n=> x.2 • phB o v) (by fun_prop)).mul (show Army Q x from fun i=> by |
| 25 | let V:= incrementA (1:Config G n) x.1 i |
| 26 | exact ContDiffAt.comp (f:=Prod.fst) (g:=fun p:Directions G n=>G.mat (increment (1:Config G n) p i)) x V contDiffAt_fst) |
| 27 | lemma spine(G:Gauge)(D:ℝ)(hd:1 ≤ D)(k:ℕ):∃ A:ℝ,0 ≤ A∧ ∀ (n:Side)(F:Peat G n)(o:Bond n)(v:G.Color)(r s C:ℝ) (B:Support n),‖v‖≤1→ 0 < s→ s≤1 → Splendor F B k C A → 2 ≤ k → |
| 28 | ∀ x:Rho G n,‖x‖ ≤ D→ Allows k (fun y=> F (transit o v (s • y))) x (C*evenR 2 D*s^ (2:ℕ)):=by |
| 29 | obtain ⟨A,hA,H⟩:=voy D hd k G; refine ⟨A,hA,fun n F o v r s C B hv hs hp h he x hx=> ?_⟩ |
| 30 | let f(y:Rho G n):=F (transit o v y); let U:=transit o v; have hz: U 0=1:=by simp [U,transit,rung,Work.G07.at_zero_increment] |
| 31 | have hi(p:Rho G n)(hp:‖p‖ ≤D): Allows k f p C:= h.tickets _ U _ (H n o v hv _ hp) |
| 32 | have hn := hi 0 (by rw[norm_zero]; linarith); have hm: Army U 0:=fun j=> (H n o v hv 0 (by rw [norm_zero]; linarith) j).analytic |
| 33 | let g:=content ∘ U; have hg:g 0=0:=by simp [g,hz] |
| 34 | obtain ⟨hT,hF⟩:= h.cloth; change Perfect.braid (F ∘ input G n) _ _ _ at hF |
| 35 | have hu : Perfect.braid f (fun _=>0) 0 1:=by refine (braided (n:=1) (H:=(F ∘ input G n) ∘ g) ?_).trans (wove (w:=g) (hg.symm ▸ hF) (hg.symm ▸ (show Cleric _ from hT).dye) contDiffAt_const (hm.logL hz)); filter_upwards [(show Tendsto U _ (𝓝 1) from hz ▸ hm.cont.tendsto).eventually content_encodes] with x hx; exact congr_arg F hx.symm |
| 36 | apply heaven (f:=f) 2 D (by linarith only[hd]) hs.le hp (fun x hx=> hi x (hx.trans (mul_le_of_le_one_right (by linarith only[hd]) hp))) hn.nonneg he _ x hx; intro i hv |
| 37 | rw[hu i (by omega),iteratedFDeriv_zero_fun,Pi.zero_apply,norm_zero]; positivity[hn.nonneg] |
| 38 | lemma spineY (G:Gauge)(D:ℝ)(hd:1 ≤ D)(k:ℕ):∃ A K:ℝ,0≤ A∧1 ≤ K∧∀ (n:Side)(Y:Gal G n)(o:Bond n)(v:G.Color)(s C:ℝ),0≤ C→‖v‖≤1→0 < s→ s≤1→Y 1=0→ Climate Y k C A→ 1≤ k→ |
| 39 | ∀ x:Rho G n,‖x‖≤D→ Allows k (fun y=> clamor o Y v (transit o v (s • y))) x (K*C*s):=by |
| 40 | obtain ⟨A,hA,H⟩:=voy D hd (k+1) G |
| 41 | let L:= (WithLp.linearEquiv 2 ℝ (G.ColorIndex→ℝ)).symm.toContinuousLinearMap |
| 42 | let P:= (‖innerSL ℝ (E:=G.Color)‖ * ‖L‖) * evenR 1 D |
| 43 | have he:0≤ P:=by unfold P evenR; positivity |
| 44 | refine ⟨A,1+P,hA,le_add_of_nonneg_right he,fun n Y o v s C hC hv hs hp ht hz hk x hx=>?_⟩ |
| 45 | let U:=transit o v; have h₁:U 0=1:=by simp [U,transit,rung,Work.G07.at_zero_increment] |
| 46 | have hQ(i p)(hp:‖p‖≤D):Allows k (fun x=> Y (U x) i) p C:= (hz.laps _ _ _ (H n o v hv p hp) i).order (by omega) |
| 47 | let F(y:Rho G n):= clamor o Y v (U y); let Q:=(innerSL ℝ (E:=G.Color)).flip |
| 48 | let T:= ‖innerSL ℝ (E:=G.Color)‖ * (‖L‖ * C) |
| 49 | have hu(x:Rho G n)(hx:‖x‖≤D): Allows k F x T:=by |
| 50 | unfold F clamor; simp_rw[zeal] |
| 51 | have hm: Allows k (fun y=>edgeColor (Y (U y)) o) x (‖L‖ * C):= (allows_pi (f:=fun y:Rho G n=>fun i=>edgeColor (Y (U y)) o i) hC (fun i=> hQ (o.1,Exterior.coord o.2,i) x hx)).linear L le_rfl |
| 52 | have hv':‖Q v‖≤‖innerSL ℝ (E:=G.Color)‖:= (Q.le_opNorm _).trans ((mul_le_of_le_one_right (norm_nonneg _) hv).trans_eq (ContinuousLinearMap.opNorm_flip ..)) |
| 53 | exact hm.linear (Q v) hv' |
| 54 | have h₀:=hu 0 (by rw[norm_zero];linarith); apply (heaven (f:=F) 1 D (by positivity) hs.le hp (fun y hy=>hu y (hy.trans (mul_le_of_le_one_right (by positivity) hp))) h₀.nonneg hk _ x hx).mono |
| 55 | · rw [pow_one]; apply mul_le_mul_of_nonneg_right _ hs.le |
| 56 | exact (le_of_eq (show T*evenR 1 D=P*C by unfold P T; ring)).trans (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left zero_le_one) hC) |
| 57 | intro i hi; obtain rfl:i=0:=by omega |
| 58 | rw[norm_iteratedFDeriv_zero,show F 0=0 from ?_]; · rw[norm_zero]; positivity[h₀.nonneg] |
| 59 | unfold F clamor; rw[h₁,ht,zero_dotProduct] |
| 60 | end YM.Trace.Swift |