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.MultipleContact.Multi.Invoice |
| 2 | |
| 3 | /-! Physical normalization at the grid snapshots. -/ |
| 4 | set_option autoImplicit false |
| 5 | set_option maxHeartbeats 1300000 |
| 6 | noncomputable section |
| 7 | namespace YM.MultipleContact.ScheduleRow |
| 8 | open Filter Set Function MeasureTheory Extraction Table Ward MergeProof Ribbons Cells Next.UVStress Wilson Lattice Arbor |
| 9 | open Script Scene Bunching |
| 10 | open Accent Matching |
| 11 | open RG Bunching.Cord |
| 12 | open Drama |
| 13 | open scoped Topology BigOperators Classical |
| 14 | variable {G:Gauge}{C:Family G}{F:Extraction.Order}{S:Table C.book} |
| 15 | variable {b:ℕ}{n d: Fin b → ℕ} |
| 16 | variable [∀i:Fin b,Inhabited (Fin (n i))] |
| 17 | def scaledBranch (g:Mode) {n d:ℕ}(v:Fin n → S.Tag)(D:Detector S d)(w:ℝ)(z:E4)(xe:Fin n→E4)(u:S.Field d) : Grammar (Alpha S) := |
| 18 | match g with | .raw=> Scene.packet S v xe z | .fused=> insertion S z u | .signed=> (w:ℂ) • Scene.packet S v xe z - insertion S z (w • D.apply v (points xe)) |
| 19 | private lemma scaled_read (H:S.Hierarchy)(g:Mode){k d:ℕ}(v:Fin k → S.Tag)(D:Detector S d)(w:ℝ)(z:E4)(xe:Fin k→E4)(u:S.Field d): |
| 20 | Indist S (scaledBranch g v D w z xe u) (if cEq:g=.signed then (w:ℂ) • scaledBranch g v D 1 z xe u else scaledBranch g v D 1 z xe u):= by |
| 21 | unfold scaledBranch; split |
| 22 | · simp [Indist] |
| 23 | · simp [Indist] |
| 24 | intro f; simp only [dite_true] -- transport notation perhaps if dependent? use dite |
| 25 | simp only [dite_true, smul_mul_assoc,sub_mul,map_sub,map_smul,one_smul,Complex.ofReal_one,insertion] |
| 26 | rw [show w • D.apply v (points xe)=(w:ℂ) • D.apply v (points xe) from rfl]; rw [inline_smul S H.laws.toSymmetric] |
| 27 | all_goals rw [smul_sub] |
| 28 | private lemma trueWeight (H:S.Hierarchy)(g:Fin b→Mode)(v:∀i:Fin b,Fin (n i) → S.Tag)(D:∀i:Fin b,Detector S (d i))(w r:Fin b→ℝ)(h:∀i:Fin b,r i>0)(z:Fin b→E4) (xe:∀i:Fin b,Fin (n i)→E4)(u:∀i,S.Field (d i))(hw:∀i:Fin b,0< w i) |
| 29 | (t:ℝ)(ht:0<t)(hs:‖evaluation S (∏i:Fin b,scaledBranch (g i) (v i) (D i) (w i) (z i) (xe i) (u i))‖≤t*∏i:Fin b,r i): |
| 30 | ‖evaluation S (∏ i:Fin b,scaledBranch (g i) (v i) (D i) 1 (z i) (xe i) (u i))‖ ≤ t*∏ i:Fin b,if g i=.signed then r i/w i else r i:=by |
| 31 | let e(i:Fin b):=if g i=.signed then w i else 1 |
| 32 | have hl: (∏ i:Fin b,e i)> (0:ℝ):=Finset.prod_pos fun i _=> by unfold e;split;exact hw i;exact zero_lt_one |
| 33 | let f(t:ℝ)(i:Fin b):=scaledBranch (g i) (v i) (D i) t (z i) (xe i) (u i) |
| 34 | have he: Indist S (∏ i:Fin b,f (w i) i) ((↑((∏i:Fin b,e i):ℝ):ℂ) • ∏ i:Fin b, f 1 i) := by |
| 35 | rw [show ((↑((∏i:Fin b,e i):ℝ):ℂ))=∏ i:Fin b,(e i:ℂ) from Complex.ofReal_prod .., ← Finset.prod_smul] |
| 36 | exact prod_indist S (q:=Finset.univ) (fun i _=> by by_cases h:g i=.signed <;> simpa [h,e,f] using! scaled_read H (g i) (v i) (D i) (w i) (z i) (xe i) (u i)) -- replace |
| 37 | have hs:=hs |
| 38 | change ‖evaluation S (∏ i:Fin b,f (w i) i)‖ ≤ _ at hs |
| 39 | rw [reading_eq S he,map_smul,norm_smul,Complex.norm_real,Real.norm_eq_abs,abs_of_pos hl] at hs |
| 40 | have he': (∏ i:Fin b,if g i=.signed then r i/w i else r i)=(∏ i:Fin b,r i)/(∏i:Fin b,e i):=by rw [← Finset.prod_div_distrib]; apply Finset.prod_congr rfl; intro i _; by_cases h: g i = .signed <;> simp [e,h] |
| 41 | apply (le_div_iff₀ hl).mpr (show _ from hs.trans' (le_of_eq (mul_comm ..))) |>.trans; rw [he',mul_div_assoc] |
| 42 | variable {v:∀i:Fin b,Fin (n i) → C.book.Token} |
| 43 | variable (D : ∀ i:Fin b,Detector S (d i)) |
| 44 | variable (hA:Acme.Aroma C)(hT:Treasury C){ε:ℝ} |
| 45 | variable (hF:CellHyp C F)(H:S.Hierarchy)(hm:F.PointLimits C S)(hc:C.Makes) |
| 46 | variable (lamp:Lattice.Side) |
| 47 | include hA |
| 48 | lemma signed_power (i:Fin b)(β:ℝ)(hβ:β<1/32) (E:ℕ→ℝ) (h:Note C.S E (-1/32)): |
| 49 | ∀ᶠ m in atTop,∀ρ:ℝ,tail C ρ m→ E m / charge (v i) (d i) m ≤ ρ^(-(mass (v i):ℝ)+(d i)+β):=by |
| 50 | let g t:= fuga C.path.levels (t+1); let z t:= topZone C.path.levels (C.S.block t) (t+1) |
| 51 | let q:ℝ := -(mass (v i):ℝ) + (d i:ℝ) |
| 52 | have he:= h.splits (hA.notes.powr (-q)); have hg:=hA.notes.powr (q+β); have hz:=(Local.topNote hA.notes).powr (q+β) |
| 53 | have hu:(-1/32:ℝ) - (-q)*-1 <(q+β)*-1:= by linarith only [hβ] |
| 54 | filter_upwards [he.outweigh hz hu,he.outweigh hg hu] with m hm h'm ρ ⟨hx,hx'⟩ |
| 55 | change _ ≤ ρ^(q+β); rw [charge,show (mass (v i):ℝ) - ↑(d i)= -q by unfold q; ring] -- check |
| 56 | have hρ:(0:ℝ)<ρ:= (hA.notes.pos _).trans_le hx |
| 57 | by_cases hq:0≤ q+β |
| 58 | · exact h'm.trans (Real.rpow_le_rpow (hA.notes.pos _|>.le) hx hq) |
| 59 | exact hm.trans (Real.rpow_le_rpow_of_nonpos hρ hx' ((not_le.mp hq).le)) |
| 60 | omit hA in |
| 61 | lemma make_room {P : Fin b → ℝ}{J:ℕ} (hRoom:∀i:Fin b,∀q:C.book.Ref (d i),‖q‖ < ‖LinearMap.toContinuousLinearMap (S.representative (d i))‖+1 → Drama.Wage F C (Drama.Unit C q) J (P i)): |
| 62 | ∀ i:Fin b,∀ u:S.Field (d i),‖u‖≤1 → Drama.Wage F C (Drama.Unit C (S.representative _ u)) J (P i):= by |
| 63 | intro i u hu; apply hRoom |
| 64 | exact ((LinearMap.toContinuousLinearMap (S.representative (d i))).le_opNorm u).trans_lt ((mul_le_of_le_one_right (norm_nonneg _) hu).trans_lt (lt_add_of_pos_right _ zero_lt_one)) |
| 65 | include hT hF H hm hc |
| 66 | set_option maxRecDepth 100000 |
| 67 | lemma engineering (hε:0<ε){κ:ℝ}(hk:0<κ)(g:Fin b→Mode):∃ (Z':ℝ)(t:Fin b→ℝ)(j:Fin b→ℕ→ℕ) (M P':ℕ),0<Z' ∧ 4*C.S.a M < κ ∧ (∀i:Fin b,1< t i ∧ Tendsto (j i) atTop atTop ∧ Tendsto (fun m=> C.S.scale (j i m)/C.S.scale m) atTop (𝓝 (t i))) ∧ |
| 68 | ∀ (m:Fin b→ ℕ)(ρ:Fin b→ℝ), (∀i,P' ≤ m i ∧ 0<ρ i ∧ tail C (ρ i) (m i))→ ∀(z:Fin b→ E4),Drama.far (C.S.a M) z → ∀xe:∀i:Fin b,Fin (n i)→ E4, (∀ i:Fin b,g i≠.fused→Band (n i) lamp (ρ i) (xe i))→(∀i:Fin b,g i=.signed→∀l,Placed (n i) (C.S.a (j i (m i))) (xe i) l) → ∀ h:∀i:Fin b,S.Field (d i),(∀i:Fin b,g i=.fused→‖h i‖≤1)→ |
| 69 | ‖evaluation S (∏ i:Fin b,scaledBranch (g i) (S.classTokens ∘ v i) (D i) 1 (z i) (xe i) (h i))‖ ≤ Z'*∏ i:Fin b, scaleMap g (fun i=>(ρ i)^(-(mass (v i):ℝ)+(d i)+1/64)) (fun i=>(ρ i)^(-(mass (v i):ℝ)-ε)) (fun i=>(1:ℝ)) i:= by |
| 70 | let Q(i):= ‖LinearMap.toContinuousLinearMap (S.representative (d i))‖+1 |
| 71 | obtain ⟨M,J,P,hκ,hJ,hfit,hP,B,hb,hbudget⟩:=layout D Q (fun i=>by unfold Q;exact add_pos_of_nonneg_of_pos (norm_nonneg (LinearMap.toContinuousLinearMap (S.representative (d i)))) one_pos) κ hk hF |
| 72 | choose A t j ht hj hJ' ha hr using fun i:Fin b=> portion hA hT lamp J hε hF (h:=d i) (v:=v i) |
| 73 | obtain ⟨K,hK,hC⟩:=decode_hold (n:=n) D B |
| 74 | obtain ⟨P',hq⟩:=eventually_atTop.mp (eventually_all.mpr hr|>.and (eventually_all.mpr fun i=>signed_power (v:=v) (d:=d) hA i (1/64) (by norm_num) _ (ha i))) -- uses And under upper binder, |
| 75 | let H' := ∏i:Fin b, max 1 (P i) |
| 76 | let Z':=cash P K |
| 77 | have hP' : 0 < H':=Finset.prod_pos fun i hi=>lt_of_lt_of_le zero_lt_one (le_max_left ..) |
| 78 | have hZ': 0 < Z':=by unfold Z' cash; apply mul_pos; exact_mod_cast (show 0 < Fintype.card (Fin b→Fin 2) from Fintype.card_pos_iff.mpr (by infer_instance)); exact Finset.prod_pos fun i hi=>lt_of_lt_of_le zero_lt_one (le_max_left ..) |
| 79 | refine ⟨Z'*H',t,j,M,P',mul_pos hZ' hP',hκ,fun i=>⟨ht i,hj i,hJ' i⟩,?_⟩ |
| 80 | rintro m ρ hm' z hz xe hConfig hGrid u hu |
| 81 | have hL(i):=(hq (m i) (hm' i).1).1 i; have hS (i):=(hq (m i) (hm' i).1).2 i _ (hm' i).2.2 -- syntax replace |
| 82 | let w(i):=charge (v i) (d i) (m i); let E(i):=A i (m i) |
| 83 | let Rraw(i):=(ρ i)^(-(mass (v i):ℝ)-ε); let Rsigned(i):=(ρ i)^(-(mass (v i):ℝ)+(d i)+1/64) |
| 84 | let r0:=scaleMap g Rsigned Rraw (fun _=>1) |
| 85 | let r1:=scaleMap g E Rraw P |
| 86 | let r2(i):=if g i=.signed then r1 i/w i else r1 i |
| 87 | have hE(i:Fin b):0 < E i:= (ha i).pos _ |
| 88 | have hpwr := hA.notes |
| 89 | have hw(i):0 < w i:=Real.rpow_pos_of_pos (hpwr.pos _) _ |
| 90 | have hBnd:= price_mixed (A:=E) D H hm hc lamp hL (fun i=>(hm' i).2.2) (fun i=>(hm' i).2.1) hConfig hGrid hJ (fun k e=>(hbudget k e).1) (fun k e=>(hbudget k e).2.1) (fun k e=>(hbudget k e).2.2) hfit hz u hu (fun j=> (hP j).1) (make_room (fun i=> (hP i).2)) hE hK hC -- hOrder args hc before H etc. |
| 91 | let V(i):=S.classTokens ∘ v i |
| 92 | have hr(i):0<r1 i:=by dsimp [r1,scaleMap]; split; exact hE i; exact Real.rpow_pos_of_pos (hm' i).2.1 _; exact (hP i).1 |
| 93 | have hr0(i):0< r0 i:=by dsimp [r0,scaleMap]; split; exact Real.rpow_pos_of_pos (hm' i).2.1 _; exact Real.rpow_pos_of_pos (hm' i).2.1 _; exact zero_lt_one |
| 94 | have h0(i):0 < r2 i:=by unfold r2; split; exact div_pos (hr ..) (hw ..); exact hr .. |
| 95 | change ‖evaluation S (∏ i:Fin b,scaledBranch (g i) (V i) _ (w i) _ _ _)‖ ≤ Z' * (∏ i:Fin b,r1 i) at hBnd -- need cases due match order |
| 96 | suffices hm' : _ ≤ Z' * (∏ i:Fin b,r2 i) by |
| 97 | rw [mul_assoc Z']; apply hm'.trans; refine mul_le_mul_of_nonneg_left (((le_of_eq Finset.prod_mul_distrib).trans' (Finset.prod_le_prod (fun i _=>h0 i|>.le) (fun i hi=>?_)))) hZ'.le |
| 98 | calc _ ≤ (if g i=.fused then P i else 1)*r0 i := by cases heq:g i <;> simp [r1,r2,r0,scaleMap,heq] <;> exact hS i |
| 99 | _ ≤ _ := mul_le_mul_of_nonneg_right (by split <;> simp only [le_sup_right, le_sup_left]) (hr0 i).le |
| 100 | apply trueWeight H g V D w r1 hr z xe u hw Z' hZ' hBnd |
| 101 | end YM.MultipleContact.ScheduleRow |