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.Pi.Arcus |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Kits |
| 5 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Bloch Exterior Tree RG Wilson Finset Push.Uniform Audience Metric Lamp Det Loft MeasureTheory |
| 6 | open Source Source.Drops Work Planned.PrimaryIntegral295 Place Parts Next.Foundations WardBin |
| 7 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Interval InnerProductSpace Classical |
| 8 | variable {G:Gauge}{n:Side}{F:Peat G n}{P:Support n}{v:Labels.Label G 5}{H: Hol G} |
| 9 | open Complex |
| 10 | variable (d i b:Axis)(a:G.ColorIndex) |
| 11 | lemma mushC (F: Peat G n) : ContDiff ℝ ω (mush i a F):=by |
| 12 | rw[funext (expo _ _ _)]; apply ContDiff.sum; intro j _; apply ContDiff.sum; intro k _; |
| 13 | have hx(j':Fin 2)(k:Lines G n 1): ContDiff ℝ ω (fun z:Land=> pulseB (z j') i k):=by unfold pulseB midV; simp_rw[mind_t]; fun_prop |
| 14 | unfold wash; have hr:= hx 0 j |>.add (hx 1 k); exact ContDiff.mul ((contDiff_exp (𝕜:=ℝ)).comp ((Complex.ofRealCLM.contDiff.comp hr).const_smul Complex.I)) contDiff_const |
| 15 | abbrev mornA : Land→ℝ:=fun x=> x 0 i+x 1 i |
| 16 | def miry (x:Land):= aper i x-1 |
| 17 | lemma apT (z:Land): AnalyticAt ℝ (aper i) z:=by |
| 18 | unfold aper; apply ContDiffAt.analyticAt; have hp: ContDiff ℝ ω (fun x:Land=> x 0 i+x 1 i):=by fun_prop |
| 19 | exact (((contDiff_exp (𝕜:=ℝ)).comp (((Complex.ofRealCLM.contDiff.comp hp).const_smul Complex.I).div_const (2:ℂ)))).contDiffAt |
| 20 | lemma apsi(x:Land) : neap 1 (aper i) 0 x = Complex.I*(x 0 i+x 1 i:ℝ)/2:=by |
| 21 | rw[← chord_n _ _ _ (apT i 0 |>.contDiffAt)]; let K:ℂ:=Complex.I*↑(x 0 i+x 1 i)/2 |
| 22 | have he(t:ℝ): aper i (0+t • x) = Complex.exp (↑t*K)*1:=by rw[mul_one]; unfold aper K; simp only [zero_add,Pi.smul_apply,smul_eq_mul]; push_cast;ring_nf |
| 23 | simp_rw [he]; rw [exp_lead]; simp[K] |
| 24 | variable (h:Cleric F)(hp:LocalOn P F)(hs:Nonwrapping P 0)(hG:G.Simple)(hn:2 ≤ n.val) |
| 25 | include h hp hs hG hn |
| 26 | lemma col_hush(x:Land): ContDiffAt ℝ ω (colM i a F) 0 ∧ colM i a F 0=0 ∧ neap 1 (colM i a F) 0 x = 0:=by |
| 27 | let M:=colM i a F; let N:=aper i |
| 28 | have hN:N 0=1:=by simp[N,aper] |
| 29 | have hA:=apT i 0|>.contDiffAt (n:=ω) |
| 30 | have he: ContDiffAt ℝ ω M 0:=by |
| 31 | have hx : M=mush i a F/N := by funext x; rw[Pi.div_apply, aimed, eq_div_iff (show N x≠0 from Complex.exp_ne_zero _)]; exact mul_comm .. |
| 32 | rw[hx]; change ContDiffAt ℝ ω (fun x=>mush i a F x / N x) 0; simp_rw[div_eq_mul_inv]; exact (mushC i a F).contDiffAt.mul (hA.inv (show N 0 ≠ 0 from hN ▸ one_ne_zero)) |
| 33 | obtain ⟨hz,hv⟩:= darkL i a h hp hs hG hn x |
| 34 | have hw: mush i a F=N*M:= funext fun x=> aimed _ _ _ _; rw [hw,Pi.mul_apply,hN,one_mul] at hz |
| 35 | rw[hw,fderiv_mul (hA.differentiableAt (by simp)) (he.differentiableAt (by simp)),show aper i 0=1 from hN,hz] at hv |
| 36 | refine ⟨he,hz,(neap1 _ _ _).trans (show fderiv ℝ M 0 x=0 from ?_)⟩; change (1:ℂ)*fderiv ℝ M 0 x + 0* fderiv ℝ (aper i) 0 x=0 at hv; simpa using hv |
| 37 | lemma burnt (x:Land): neap 3 (mush i a F) 0 x=neap 3 (colM i a F) 0 x+ Complex.I*↑(mornA i x)/2*neap 2 (colM i a F) 0 x:=by |
| 38 | let N:=colM i a F; let P':=aper i; obtain ⟨hC,hz,hv⟩:=col_hush i a h hp hs hG hn x |
| 39 | rw[show mush i a F=(fun x=>N x*aper i x) from funext fun y=>(aimed i a F _).trans (mul_comm ..), neap_prop hC ((apT i 0).contDiffAt) hz]; rw [apsi,hv,zero_mul,zero_add,neap0,show aper i 0=1 from by simp[aper] ]; unfold mornA; ring |
| 40 | lemma moments : Deb (fun y=>neap 3 (mush i a F) 0 (lawn d b y))= pia d i a b (F ∘ input G n) - (if i=b then (1/2:ℂ)*floft d i a (F ∘input G n) else 0):=by |
| 41 | let N:=colM i a F; let P(y:Dish):= lawn d b y |
| 42 | let f(y:Dish):= Complex.I *(↑(mornA i (P y)):ℂ)/2*neap 2 N 0 (P y) |
| 43 | have hx : Deb (fun y=> neap 3 (mush i a F) 0 (lawn d b y))=Deb (fun y=> neap 3 N 0 (lawn d b y))+Deb f:=by rw [← map_add]; exact congr_arg _ (funext fun j=> burnt i a h hp hs hG hn _) |
| 44 | rw [hx]; have he(y): mornA i (P y)= if i=b then y.2 else 0:=by simp [P,lawn,flee,mornA,step,Pi.single_apply, mul_ite]; |
| 45 | by_cases h':i=b |
| 46 | · subst b; simp only [if_true]; change pia _ _ _ _ _ + Deb f=_ |
| 47 | have hv(x:ℤ): FlopZ (fun y=>f (x,y))=(x:ℂ)^ (2:ℕ)*( Complex.I/2*neap 2 N 0 (![step d,-step d])):=by |
| 48 | rw[flopi]; unfold f; simp_rw [he,if_true]; simp only [P,lawn,flee_run,neap2,map_add,map_smul,_root_.smul_apply,_root_.add_apply,Complex.real_smul]; push_cast;ring |
| 49 | rw[show Deb f= Complex.I*PanZ _ from rfl] |
| 50 | rw[funext hv,pan_coeff _ _ (by omega),if_pos rfl]; unfold N Loft.floft; rw [← mul_assoc,mul_div_assoc',I_mul_I];ring |
| 51 | simp only [h',↓reduceIte,sub_zero]; change pia _ _ _ _ _+_= _; suffices hf:f=0 by rw[hf,map_zero,add_zero] |
| 52 | ext1 y; unfold f; rw [he,if_neg h'];simp |
| 53 | omit h hp in |
| 54 | lemma height (F: Axis→ Peat G n)(h:∀ i, Cleric (F i))(hp:∀ i, LocalOn P (F i)): Holt a (fun i=> F i∘ input G n)= suite fun d i=> ∑ b:Axis, Deb fun y => neap 3 (mush i a (F b)) 0 (lawn d b y):=by |
| 55 | unfold Holt crest suite |
| 56 | rw [mul_sum,← sum_sub_distrib]; apply Finset.sum_congr rfl fun d _ => ?_; rw [mul_sum,← sum_sub_distrib]; apply Finset.sum_congr rfl fun i _=> ?_; by_cases he:d=i |
| 57 | · simp[he] |
| 58 | simp only[he,↓reduceIte]; simp_rw [moments d i _ _ (h _) (hp _) hs hG hn]; rw [sum_sub_distrib]; simp |
| 59 | end YM.Trace.Kits |