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.MergeProof.Fruit |
| 2 | import YM.MergeProof.Tally |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.MergeProof.Menu |
| 6 | open Function Filter Lattice Wilson RG MeasureTheory Finset Push Local Extra.Histories PhysicalNext.Repeat Lotus Merge Accent Marker |
| 7 | open Extra.Multi GridApprox.Nil |
| 8 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff Classical |
| 9 | variable {V ι β : Type}[DecidableEq V] {B:Census V} {G:Gauge}{f c:Side}{R:Rep G f}{E:Rep G c} |
| 10 | open Extra.Trajectories Planned.GuardedAtom |
| 11 | variable (w':Wing) |
| 12 | {s:B.Mode} |
| 13 | (H:Config G f→ℂ) |
| 14 | (v:V→ℝ){d h e b c':ℝ}{o: V→Site f} |
| 15 | |
| 16 | lemma couple (h1 : UsesFinal R.p.threshold (w'.support R) H)(ht:∀ U,H U≠0→ w'.qualifies R U)(hb:w'.blank R)(hm: Measurable H)(hf:GaugeInvariant H)(hp:∀ U,‖H U‖ ≤ b)(he:s.val.Nonempty) :∃ P:Bool→ Hat B R,(∀ i,WKey (P i)=w' ∧ (P i).s=s) ∧ ∑ i,fare (P i) v= 2*(Poly.toll v s*b) ∧ ∀ U,∑ i, amount (P i) U=Poly.send s (H U):=by |
| 17 | let p(L:ℂ →L[ℝ] ℝ)(g:∀ i,‖L i‖≤ ‖i‖): Leaf R:= { |
| 18 | turn:=w' |
| 19 | weight:=b |
| 20 | ingredient:= fun i=> L (H i) |
| 21 | scopedR:=fun U V hx ht=> congr_arg _ (h1 U V hx ht) |
| 22 | grant:= fun U hu=> ht U (fun h=>hu (by rw [h,map_zero])) |
| 23 | blank:=hb |
| 24 | glows:=fun k U=>congr_arg _ (hf k U) |
| 25 | borel:=L.continuous.measurable.comp hm |
| 26 | earn:=fun i=>(g _).trans (hp i) } |
| 27 | let t:Hat B R:= ⟨p Complex.reCLM (fun i=> Complex.abs_re_le_norm _),s,he,1⟩; let u:Hat B R:=⟨p Complex.imCLM (fun i=>Complex.abs_im_le_norm _),s,he,Complex.I⟩; let f(x:Bool): Hat B R:= if x then t else u |
| 28 | have hT : f true=t:=by simp [f] |
| 29 | have hU : f false=u:=by simp [f] |
| 30 | refine ⟨f,fun i=> ?_,?_,fun U=> ?_⟩ |
| 31 | · cases i; rw [hU]; exact ⟨rfl,rfl⟩; rw [hT]; exact ⟨rfl,rfl⟩ |
| 32 | · rw [Fintype.sum_bool,hT,hU]; simp only [fare,sumFee,t,u,p,norm_one,Complex.norm_I]; ring |
| 33 | rw [Fintype.sum_bool,hT,hU,varnish,varnish]; dsimp only [u,t,p]; rw [← Extra.Trajectories.send_add,mul_one]; congr 1; exact Complex.re_add_im _ |
| 34 | -- trim to active mode correct locality & plate. statement from W produced when only if f i≠0. land fees.Current |
| 35 | variable [Fintype ι] {X:ι→Support f}{F:ι→ Config G f→Poly B} |
| 36 | def Vivid (F:ι→ Config G f→Poly B) (i:ι)(p:B.Mode):=∃ U,(F i U).part p ≠0 |
| 37 | abbrev VividId (F:ι→ Config G f→Poly B) := Σ i, {p:B.Mode // Vivid F i p} × Bool -- fine.location |
| 38 | lemma alarm (hv:∀ i,0<v i) {g:ι→Wing} |
| 39 | (h:∀ i,F i≠0→ (g i).support R=X i ∧ (g i).blank R)(ht:∀ i U,F i U≠0→ (g i).qualifies R U) |
| 40 | (hp:∀ i,Borne o (X i) (F i) R.p.threshold)(hx:∀ i U,rises (F i U))(he:Towed v X F R.p.B d b):∃ (P:VividId F→ Hat B R), |
| 41 | (∀ i,WKey (P i)=g i.fst ∧ (P i).s=i.2.1.val) ∧ Offer o P v R.p.B d (2*b) ∧ ∀ i U,∑ j:{i':B.Mode // Vivid F i i'} × Bool, amount (P ⟨i,j⟩) U= F i U :=by |
| 42 | let A(i):= {p:B.Mode// Vivid F i p}; have hh(i) (x:A i): F i≠0:=by obtain ⟨y,hy⟩:=x.property;exact fun ht=> hy (by rw [ht];rfl) |
| 43 | obtain ⟨w,hw,hW,hB⟩:=he |
| 44 | choose f hf hs hP using hB |
| 45 | have hI(i)(x:A i): 2 ≤ x.val.val.card:=hx i _ _ x.property.choose_spec |
| 46 | obtain ⟨P,HP,HQ,Hh⟩ : ∃ (u : ∀ i,A i→ Bool→Hat B R), (∀ i p j,WKey (u i p j)=g i ∧ (u i p j).s=p.val) ∧ (∀ i p,∑ l,fare (u i p l) v = 2*(Poly.toll v p.val*f i p.val))∧∀ i p U,∑ l,amount (u i p l) U=Poly.send p.val ((F i U).part p.val):=by |
| 47 | have he i (p:A i): UsesFinal R.p.threshold ((g i).support R) (fun U=> (F i U).part p.val):= (h i (hh i p)).1.symm ▸ (fun U V hx ht=> congr_arg (fun f:Poly B=> f.part p.val) ((hp i).home U V hx ht)) |
| 48 | choose u hu hU hT using fun i p=> couple (R:=R) (g i) (s:=(p:A i).val) (fun U=> (F i U).part p.val) v (he i p) (fun U hv=> ht i U (fun h=> hv (by rw [h];rfl))) (h i (hh i p)|>.2) (hp i|>.me _) (fun t U=> congr_arg (fun f:Poly B=> f.part p.val) ((hp i).turns t U)) (fun U=> hs i U _) (Finset.card_pos.mp (show 0 < p.val.val.card from (Nat.succ_pos 1).trans_le (hI ..))) |
| 49 | exact ⟨u,hu,hU,hT⟩ |
| 50 | let P' (i:VividId F): Hat B R:= P i.1 i.2.1 i.2.2 |
| 51 | have hz i (j:A i×Bool): (P' ⟨i,j⟩).M.crest=X i:=by rw [show (P' ⟨i,j⟩).M.crest=(g i).support R from congr_arg (fun i:Wing=>i.support R) (HP i j.1 j.2).1]; exact (h i (hh i j.1)).1 |
| 52 | -- CORE |
| 53 | refine ⟨P',fun i=>HP ..,⟨fun i=>?_,fun i=>?_⟩,fun i U=>?_⟩ |
| 54 | · rcases i with ⟨i,j⟩; rw [hz,show (P' ⟨i,j⟩).s=j.1.val from (HP ..).2]; exact (hp i).place _ _ j.1.property.choose_spec |
| 55 | · refine ⟨fun i=>?_,Summable.of_finite,?_⟩ |
| 56 | · dsimp only; split; exact mul_nonneg (Crew v hv) (Real.exp_pos _).le;rfl |
| 57 | apply le_trans _ (mul_le_mul_of_nonneg_left (Extra.Multi.Budget.cap (hW i) univ) zero_le_two) |
| 58 | rw [tsum_fintype,Fintype.sum_sigma, Finset.mul_sum]; refine Finset.sum_le_sum fun j _=>?_ ; dsimp only |
| 59 | by_cases hx:i∈X j |
| 60 | · let Z:= Real.exp (d*coverNumber R.p.B (X j)); have hN(y : A j × Bool): |
| 61 | (if i∈ (P' ⟨j,y⟩).M.crest then fare (P' ⟨j,y⟩) v*Real.exp (d*coverNumber R.p.B (P' ⟨j,y⟩).M.crest) else 0)= Z*fare (P j y.1 y.2) v:=by rw [if_pos (show i∈ _ from hz j y|>.symm ▸ hx), hz]; exact mul_comm .. |
| 62 | rw [if_pos hx,Finset.sum_congr rfl (fun i _=>hN i), ← mul_sum,Fintype.sum_prod_type]; simp_rw [HQ]; rw [← Finset.mul_sum]; |
| 63 | have hu : ∑ i : A j, Poly.toll v i.val*f j i.val≤w j:=by |
| 64 | rw [← Finset.sum_subtype (p:=Vivid F j) ((univ:Finset B.Mode).filter fun p=> Vivid F j p) (fun i=>by simp) (fun i=> Poly.toll v i*f j i)]; exact (Finset.sum_le_sum_of_subset_of_nonneg (subset_univ _) fun p _ _=> mul_nonneg (Poly.worth hv _).le (hf ..)).trans (hP j) |
| 65 | refine (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hu zero_le_two) (Real.exp_pos _).le).trans_eq ?_; ring |
| 66 | rw [if_neg hx,mul_zero,sum_eq_zero]; intro y _; exact if_neg ((hz j y).symm ▸ hx) -- cast |
| 67 | rw [Fintype.sum_prod_type]; simp_rw [P',Hh]; |
| 68 | conv_rhs => rw [← Poly.studs (F i U)] |
| 69 | classical |
| 70 | refine (sum_subtype (p:=Vivid F i) (s:= Finset.univ.filter (Vivid F i)) (fun i=>by simp) (fun j=>Poly.send j ((F i U).part j))).symm.trans (sum_subset (subset_univ _) fun j _ h=> ?_) |
| 71 | have he: (F i U).part j=0:=Classical.byContradiction fun H=> h (mem_filter.mpr ⟨mem_univ _,(show Vivid F i j from ⟨U,H⟩)⟩); simp [he] |
| 72 | end YM.MergeProof.Menu |