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.Lamp.Oct |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Lamp |
| 5 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Bloch Exterior Tree RG Wilson Finset Push.Uniform Det MeasureTheory |
| 6 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 7 | variable {G:Gauge}{f:Side}{k m n r l:ℕ}{p:Clip}{M:PathData G}{α σ a b c τ A C D μ:ℝ} |
| 8 | variable {X:Type} [NormedAddCommGroup X][NormedSpace ℝ X] |
| 9 | variable {W:Type*}{g:W→Side}{L:Filter W}(d i b:Axis)(q:G.ColorIndex) |
| 10 | -- factors |
| 11 | abbrev senior (F H:WildM G f k k)(x:Link G f):ℝ:=(F x*H x).trace |
| 12 | lemma memo_se (F:WildM G f k k) (h:Memo F 0) : ContDiffAt ℝ ω (fun x=>(F x).trace) 0:= ContDiffAt.sum fun i _=> h i i |
| 13 | lemma sequester {F H:WildM G f k k}(h:Memo F 0)(hp:Memo H 0): ContDiffAt ℝ ω (senior F H) 0:= memo_se _ (h.cross hp) |
| 14 | |
| 15 | abbrev zell (p:Clip)(R:PathData G)(μ:ℝ)(f:Side):WildM G f 1 1:= shellB p R μ ∘ input G f |
| 16 | abbrev wentG (G:Gauge)(μ:ℝ)(f:Side):WildM G f 0 0:= shellG μ ∘ input G f |
| 17 | abbrev lensW (p:Clip)(R:PathData G)(μ:ℝ)(b:Axis)(Y:Gal G f): Maze G f:= senior (zell p R μ f) (wB (stampQ 0) b Y ∘ input G f)+ senior (wentG G μ f) (wG (stampQ 0) b ∘ input G f) |
| 18 | abbrev terraF (G:Gauge)(b:Axis)(k:ℕ)(F:WildM G f k k):= senior F (fun _=>teat G (stampQ (0:Site f)) b k) |
| 19 | abbrev localeZ (b:Axis)(F:WildM G f 1 1):= senior F (fun _=>deal G (stampQ (0:Site f)) b) |
| 20 | abbrev portage (p: Clip)(R:PathData G)(μ:ℝ)(b:Axis)(f:Side): Maze G f:= localeZ b (zell p R μ f) -(1/2:ℝ) • terraF G b 1 (zell p R μ f) + (1/2:ℝ) • terraF G b 0 (wentG G μ f) |
| 21 | lemma ultimate {Y:Gal G f}(hs:G.Simple)(h:M.Bounds p α C D)(hμ:0<μ)(he:(stock p M μ (1:Config G f)).det≠0)(hp:Cloaked Y) : |
| 22 | let S:= mainTerm p M (n:=f); let A:=marke p M μ (f:=f); let τ:=1/2* (lux d i q b (sailM p M μ (aroma p M Y))) |
| 23 | let J:=rill A Y ∘ input G f; let F:=rill S (ashore p M μ Y)∘ input G f; let W:=rill S (mica p M μ (stampQ 0) b (f:=f))∘ input G f |
| 24 | lux d i q b (lush Y ∘ input G f) = τ - lux d i q b J -lux d i q b F +(μ:ℂ)^ (2:ℕ)*(lux d i q b (portage p M μ b f)+lux d i q b W+lux d i q b (lensW p M μ b Y)):=by |
| 25 | intro S A τ J F W |
| 26 | let L:= input G f; have hv:Army L 0:=Army.powL (v:=id) contDiffAt_id; have hx: L 0=1:= input_zero .. |
| 27 | obtain ⟨hV,hT⟩:= gate_shell h hμ he hv hx |
| 28 | have hz := (gauge_fleur (Y:=Y) h hμ he hp hv hx) |
| 29 | let X:=portage p M μ b f; let U:= (1/2:ℝ) • sailM p M μ (aroma p M Y); let V:=lensW p M μ b Y |
| 30 | obtain ⟨hh,hW⟩:= w_memo (stampQ (0:Site f)) b hp hv hx |
| 31 | have ht: ContDiffAt ℝ ω (sailM p M μ (aroma p M Y)) 0:= hearth_s (aroma_diff h hp) hV |
| 32 | have hU:ContDiffAt ℝ ω U 0:=ht.const_smul (1/2:ℝ) |
| 33 | have hJ : ContDiffAt ℝ ω J 0:= (rill_state hs (dyed_mark h hμ he) hp).1 |
| 34 | have hF : ContDiffAt ℝ ω F 0:= (rill_state hs ((contours_main h).coat) (cloak_shore h hμ he hp)).1 |
| 35 | have hX: ContDiffAt ℝ ω X 0:= by |
| 36 | let f'(b:Axis):= localeZ b (zell p M μ f) |
| 37 | have hp: ContDiffAt ℝ ω (f' b) 0:= sequester hV (Memo.raw _ _) |
| 38 | have hs: ContDiffAt ℝ ω (terraF G b 1 (zell p M μ f)) 0:= sequester hV (Memo.raw _ _); have hx:ContDiffAt ℝ ω (terraF G b 0 (wentG G μ f)) 0:= sequester hT (Memo.raw _ _) |
| 39 | exact (hp.sub (hs.const_smul (1/2:ℝ))).add (hx.const_smul (1/2:ℝ)) |
| 40 | have hV':ContDiffAt ℝ ω V 0:= (sequester hV hh).add (sequester hT hW) |
| 41 | have hM :ContDiffAt ℝ ω W 0:= (rill_state hs ((contours_main h).coat) (cloak_mica (stampQ 0) b h hμ he)).1 |
| 42 | have hP :ContDiffAt ℝ ω (X+W+V) 0:=(hX.add hM).add hV' |
| 43 | have hi: lush Y∘ L=ᶠ[𝓝 0] U-J-F+ μ^ (2:ℕ) • (X+W+V) :=by |
| 44 | filter_upwards [hz,mica_lim (Y:=Y) (stampQ 0) b h hμ he hv hx] with z hk hf |
| 45 | change (sailM p M μ (aroma p M Y) z)/2 - lush Y (L z)= J z-μ^2*_+F z at hk |
| 46 | rw [hf] at hk; rw[show (shellB p M μ (L z) * (deal G (stampQ (0:Site f)) b - (1/2:ℝ) • teat G (stampQ (0:Site f)) b 1)).trace = (localeZ b (zell p M μ f) z)-(1/2)* (terraF G b 1 (zell p M μ f) z) from ?_] at hk |
| 47 | change sailM _ _ _ (aroma p M Y) z/2-lush _ _=J z-μ^2*(X z+W z+V z)+F z at hk |
| 48 | change lush Y (L z)=(1/2:ℝ)*sailM p M μ (aroma p M Y) z-J z-F z+ μ^2*(X z+W z+V z); linarith only [hk] |
| 49 | rw[Matrix.mul_sub, Matrix.mul_smul,Matrix.trace_sub,Matrix.trace_smul];rfl |
| 50 | rw [lux_far d i b q hi,lux_a d i b q (F:=U-J-F) ((hU.sub hJ).sub hF) (show ContDiffAt ℝ ω (μ^ (2:ℕ) • (X+W+V)) _ from hP.const_smul (μ^ (2:ℕ))), lux_c d i b q _ hP,lux_a (F:=X+W) (H:=V) d i b q (hX.add hM) hV',lux_a d i b q hX hM,lux_s d i b q (F:=U-J) (hU.sub hJ) hF,lux_s d i b q hU hJ, show U=(1/2:ℝ) • sailM p M μ (aroma p M Y) from rfl,lux_c d i b q _ ht]; push_cast;rfl |
| 51 | -- Portage sum b |
| 52 | variable {F:∀ w, WildM G (g w) 1 1}{H:∀ w,WildM G (g w) 0 0} {R:W→PathData G} {μ':W→ℝ} |
| 53 | lemma luxSum (Q:Tendsto (fun w=>(g w).val) L atTop)(h:Flare g R p σ C)(hs:0<σ)(hv:0<a)(hp:∀ w,a ≤ μ' w∧ μ' w≤ c) : Rose L (fun w=> ∑ i':Axis,lux d i q i' (portage p (R w) (μ' w) i' (g w))) (fun w=> - highray d i q (zell p (R w) (μ' w) (g w))+2 * highray d i q (wentG G (μ' w) (g w))):=by |
| 54 | have ht:= h.house hs hv hp 2; let F(w):= zell p (R w) (μ' w) (g w); let U(w):=wentG G (μ' w) (g w) |
| 55 | have he w:=hv.trans_le (hp w|>.1) |
| 56 | choose B a b A hp' hA H hh using h.tanks |
| 57 | have hx(w):Circles (F w):= cirB (he w) (hp' w) (show (stock p (R w) (μ' w) (1:Config G (g w))).det≠0 from (hull_m (he w) le_rfl (hp' w) (hA w) (H w) (hh w)|>.1.det_pos.ne')); have hu(w):Circles (U w):=cirG (he w) (hp' w) |
| 58 | let X(w):=highray d i q (F w);let Y(w):=highray d i q (U w); let V(w)(b:Axis):=∑ x:G.ColorIndex,cob d i q (cutM (F w) (mood G b x) (mood G b x) 0) |
| 59 | have hr:= ht.2.2.1; have hW:=ht.2.2.2 |
| 60 | obtain ⟨A,p,hZ,hP,g'⟩:= (show Parked F 2 from hr).top |
| 61 | obtain ⟨D,q',hD,hq,gT⟩:= (show Parked U 2 from hW).top |
| 62 | have hR (b): Rose L (fun w=>lux d i q b (localeZ b (F w)-(1/2:ℝ) • terraF G b 1 (F w)+(1/2:ℝ) • terraF G b 0 (U w))) (fun w=>V w b-(1/2)*X w+(1/2)*Y w):=by |
| 63 | have ht:=Rose.inc (Rose.dec (deal_b d i b q Q hx hr) (roseRate (1/2) (teat_ro d i b q Q hx hr))) (roseRate (1/2) (teat_ro d i b q Q hu hW)) |
| 64 | apply Rose.chain (Rose.skip ?_) ht |
| 65 | filter_upwards with w; let f:=g w; let X:= localeZ b (F w); let Y:=terraF G b 1 (F w); let Z:= terraF G b 0 (U w) |
| 66 | have hv : Memo (F w) 0:=fun i j=>(g' w i j).1; have hm:Memo (U w) 0:=fun i j=>(gT w i j).1 |
| 67 | have hX: ContDiffAt ℝ ω X 0:=sequester hv (Memo.raw _ _);have hY:ContDiffAt ℝ ω Y 0:=sequester hv (Memo.raw _ _); have hZ:ContDiffAt ℝ ω Z 0:=sequester hm (Memo.raw _ _) |
| 68 | let t:ℝ:=1/2; have hu: ContDiffAt ℝ ω (t • Y) 0:= hY.const_smul t; change lux d i q b (X - t • Y + t • Z)= lux d i q b X - _ + _ |
| 69 | rw [lux_a d i b q (F:=X-t • Y) (hX.sub hu) (H:=t • Z) (hZ.const_smul t),lux_s d i b q hX hu,lux_c d i b q _ hY,lux_c d i b q _ hZ]; unfold t; push_cast;rfl |
| 70 | apply Rose.chain (Rose.sumX (univ:Finset Axis) (fun i _=> hR i)) (Rose.skip ?_); filter_upwards with w; change ∑ a:Axis,(V w a-(1/2)*X w+(1/2)*Y w)= -(X w)+2*Y w |
| 71 | rw [Finset.sum_add_distrib,Finset.sum_sub_distrib,sum_const,sum_const, Finset.card_univ, show Fintype.card Axis=4 from Fintype.card_fin _, show ∑ a,V w a=X w from ?_]; · simp; ring |
| 72 | unfold X; rw[high_eq _ _ _ (hx w) (g' w) hZ hP,Fintype.sum_prod_type, ← Equiv.sum_comp axisEquiv];rfl |
| 73 | -- main global ward. Keep error poses uniform, µ-dependent lensW remaining. |
| 74 | structure Scene (g:W→Side)(V:(w:W)→Dart G (g w)) (p:Clip)(R:W→PathData G)(a C:ℝ) (ε:W→ℝ) : Prop where |
| 75 | house w: Viz (V w) p (R w) a (fun _=>C) (fun _=> ε w) (ε w) |
| 76 | pad w:(V w).March |
| 77 | vp:0<a |
| 78 | c0:0≤C |
| 79 | clip w:0≤ε w∧ ε w≤ 1 |
| 80 | variable {V:(w:W)→Dart G (g w)}{ε:W→ℝ} |
| 81 | abbrev umbra (p:Clip)(R:PathData G)(μ:ℝ)(n:Side) :ℂ:= -highray d i q (zell p R μ n)+2*highray d i q (wentG G μ n) |
| 82 | |
| 83 | def suite (F:Axis→Axis→ℂ) := ∑ d,∑ i,(if d=i then 0 else F d i) |
| 84 | lemma suite_hold {F H:W→Axis→Axis→ℂ}(h:∀ d i,Rose L (fun w=>F w d i) (fun w=>H w d i)): Rose L (fun w=> suite (F w)) (fun w=> suite (H w)):=by |
| 85 | unfold suite; refine Rose.sumX univ (fun d _=> Rose.sumX univ (fun i _=>?_)); by_cases he:d=i |
| 86 | · simp only [he,↓reduceIte]; exact Rose.const _ |
| 87 | simp only[he,↓reduceIte]; exact h _ _ |
| 88 | lemma suiteIL (c:ℂ)(F H J K K' U:Axis→Axis→ℂ): (suite (fun d i=> (1/2:ℂ)*F d i-H d i-J d i + c*(K d i+K' d i+U d i)))=(1/2:ℂ)*suite F-suite H-suite J+c*(suite K+suite K'+suite U):=by |
| 89 | unfold suite; simp only[Fin.sum_univ_four];simp; ring |
| 90 | -- more simple |
| 91 | lemma scale_select {f g:W→ℂ}(c:W→ℂ)(h: DashQ L c)(hp:Rose L f g): Rose L (c*f) (c*g):=by unfold Rose; rw [← mul_sub,mul_comm c]; exact coh _ c hp h |
| 92 | lemma knick_path (h:Flare g R p α A)(ht:0<α) : knick (g:=g) (fun w=>mainTerm p (R w)):=by |
| 93 | obtain ⟨η,D,hv,hD,H⟩:= H_park G p 0 ht A; refine ⟨_,_,hv,hD,fun w=>?_⟩ |
| 94 | obtain ⟨B,x,y,z,hk,_,_,_⟩:= h.tanks w |
| 95 | intro i j; have hx:= H (g w) (R w) z hk i j |
| 96 | apply pet_fixed; let p:= hx.2 0 le_rfl Fin.elim0; simp only [entry,iteratedFDeriv_zero_apply,Function.comp_apply,input_zero, spanSites,sum_of_isEmpty,Nat.cast_zero,mul_zero,Real.exp_zero,mul_one] at p; exact p |
| 97 | lemma saga {b':ℝ}(Q:Tendsto (fun x=>(g x).val) L atTop)(hG:G.Simple)(h:Scene g V p R a C ε)(H:Flare g R p σ A)(hσ:0<σ) (hM:0<b')(hm:∀ w,b'≤μ' w∧ μ' w≤ c)(hε:Tendsto ε L (𝓝 0)): |
| 98 | Rose L (fun w=> xup q (fun b=> lush ((V w).Y b 0) ∘ input G (g w))) (fun w=> (μ' w:ℂ)^ (2:ℕ)*(suite (fun d i=>umbra d i q p (R w) (μ' w) (g w)) + xup q (fun b=>lensW p (R w) (μ' w) b ((V w).Y b 0)))):=by |
| 99 | choose B A' N D hp hF ht hs using H.tanks |
| 100 | let Y w b:= (V w).Y b 0; let S w:=mainTerm p (R w) (n:=g w); let Z w:= marke p (R w) (μ' w) (f:=g w) |
| 101 | let U w:=input G (g w); let A'X w b:= ashore p (R w) (μ' w) (Y w b); let M' w b:= mica p (R w) (μ' w) (stampQ 0) b (f:=g w) |
| 102 | have hz(w b):Y w b∈rains G _:= (h.house w).sound.palm b 0; have hu(w b): Cloaked (Y w b):=by obtain ⟨p,h⟩:= hz w b;exact p |
| 103 | have he(w):= hM.trans_le (hm w|>.1); have hs'(w):(stock p (R w) (μ' w) (1:Config G (g w))).det≠0:=by have hx:=(H.posit he w);rw[input_zero] at hx;exact hx.det_pos.ne' |
| 104 | have hT:= H.house hσ hM hm 1 |
| 105 | have hc:∀ w b i, Pet Prod.fst 0 (fun z=> Y w b (U w z) i) (a/5) (C* Decay (a/5) 0 i.1) 3:= fun w b i=> pea_rain (hz w b) ((h.house w).Y b _) h.c0 h.vp.le i |
| 106 | obtain ⟨T,h',HT⟩:= pipe_w G 3; have hh:= hT.2.2.1; have hv:= hT.2.2.2; have hy:=h.c0; have ha:=h.vp |
| 107 | have hR(w:W)(b:Axis):=HT (g w) (Y w b) 0 _ _ (by positivity) hy (hu w b) (hc w b) |
| 108 | have hX(b): CodeM (g:=g) (fun _=>0) (fun w=> A'X w b ∘ U w) 1:=by |
| 109 | have hc:0≤ T*C:=mul_nonneg h' hy; have hd:0 < a/5/((↑(3:ℕ):ℝ)+1)/( (↑(3:ℕ):ℝ)+2):=by positivity |
| 110 | have he: Pella (fun w=>(0:Site (g w))) (fun w=> tidal (Y w b) ∘ U w) 2:=⟨_,_,hd,hc,fun w=>tidal_pay _ (hu w b) (hR w b)⟩ |
| 111 | exact ashore_budget (he.tada (by norm_num)) hh hv (shoreX_step hh (fun w=> hR w b) (fun w=> hu w b) hd hc) |
| 112 | let F(w) b:= sailM p (R w) (μ' w) (aroma p (R w) (Y w b)); let P(w) b:= portage p (R w) (μ' w) b (g w); let X(w) b:= lensW p (R w) (μ' w) b (Y w b); let μV(w):=(μ' w:ℂ)^ (2:ℕ) |
| 113 | let J w b:= rill (Z w) (Y w b)∘U w; let M w b:= rill (S w) (M' w b)∘ U w; let E w b:=rill (S w) (A'X w b)∘ U w |
| 114 | have hm':DashQ L μV:=by refine ⟨c^2,sq_nonneg _,Eventually.of_forall fun w=>?_⟩; unfold μV; rw[norm_pow,Complex.norm_real,Real.norm_of_nonneg (he w|>.le)]; exact pow_le_pow_left₀ (he w|>.le) (hm w|>.2) _ |
| 115 | have hk:=knick_path H hσ |
| 116 | have h₁: Rose L (fun w=> xup q (J w)) 0:=by unfold Rose; rw [sub_zero]; exact arcPay _ Q (mark_kin H hσ hM hm) hG (fun i=> contours_m (he i) (hp i) (hs' i)) hu (fun b=> ⟨_,C,by exact show 0<a/5 by positivity,h.c0,fun w i=> (hc w b i).tilt le_rfl le_rfl (by decide)⟩) |
| 117 | have h₂: Rose L (fun w=> xup q (E w)) 0:=by unfold Rose; rw[sub_zero]; exact arcPay _ Q hk hG (fun i=> contours_main (hp i)) (fun w b=> cloak_shore (hp w) (he w) (hs' w) (hu w b)) hX |
| 118 | have h₃: Rose L (fun w=> xup q (M w)) 0:=by unfold Rose; rw[sub_zero]; exact arcPay _ Q hk hG (fun i=> contours_main (hp i)) (fun w b=> cloak_mica (stampQ 0) b (hp w) (he w) (hs' w)) (fun a=> mica_budget (fun w=>(0:Site (g w))) a hh hv) |
| 119 | have h₄ : Rose L (fun w=> xup q (F w)) 0:=Rose.chain (suite_hold (F:=fun w d i=> fata d i q (F w)) (H:=fun _ _ _=>0) (fun d i=>by unfold Rose; rw[show (fun _:W=>(0:ℂ))=0 from rfl,sub_zero]; exact vanish_r _ _ q Q h.house h.pad hε h.clip H hσ ha h.c0 hM hm)) (Rose.skip (Eventually.of_forall (fun i=>by dsimp only[suite];simp))) |
| 120 | let V' w:=suite fun d i=> umbra d i q p (R w) (μ' w) (g w); have h₅: Rose L (fun w=>xup q (P w)) V':= suite_hold (F:=fun w d i=> fata d i q (P w)) (H:=fun w d i=>umbra d i q p (R w) (μ' w) (g w)) (fun d i=>luxSum d i q Q H hσ hM hm) |
| 121 | refine Rose.chain (Rose.skip ?_) (Rose.chain (Rose.inc (Rose.dec (Rose.dec (roseRate (1/2) h₄) h₁) h₂) (scale_select _ hm' (Rose.inc (Rose.inc h₅ h₃) (Rose.const (fun w=> xup q (X w)))))) (Rose.skip ?_)) |
| 122 | · filter_upwards with w |
| 123 | let F'(a:Axis):= lush (Y w a) ∘ U w |
| 124 | have hz(d i: Axis): fata d i q F' = (1/2:ℂ)*fata d i q (F w)-fata d i q (J w)-fata d i q (E w)+μV w*(fata d i q (P w)+fata d i q (M w)+fata d i q (X w)):=by |
| 125 | unfold fata; simp_rw[ show ∀ b: Axis,lux d i q b (F' b)= _ from fun b=> ultimate d i b q hG (hp w) (he w) (hs' w) (hu w b),sum_add_distrib,Finset.sum_sub_distrib, ← Finset.mul_sum]; rw [sum_add_distrib,sum_add_distrib] |
| 126 | change suite (fun d i=>fata d i q F') = (1/2:ℂ)*xup q (F w)-xup q (J w)- xup q (E w) + μV w*(xup q (P w)+xup q (M w)+xup q (X w)); simp_rw[hz]; exact suiteIL (μV w) _ _ _ _ _ _ |
| 127 | filter_upwards with w; simp [μV,V']; left; rfl |
| 128 | end YM.Trace.Lamp |