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.OPE.Nesting.Inflate |
| 2 | |
| 3 | /-! Rate of a complete term (multiplying its actual scalar child amplitudes), |
| 4 | with the excess log-cost rebate for positive child grades. The only place |
| 5 | that spends this extra exponent is a truncation of genuinely unretained terms. |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.OPE.Nesting.Composite |
| 10 | open Orbits Orbits.Reader Function Filter Extraction Set Table Tree Measures Menu Atom MeasureTheory Finset |
| 11 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 12 | variable {G:Gauge}{C:Family G}{F:Order}{S:Table C.book}(U:Spec.Final C F S) |
| 13 | (R:Reader U.sector.derivatives U.sector.turns U.room.kernel.spin) |
| 14 | variable {L:Type}{l:Filter L}{T:L→ℝ}{t:Tree} |
| 15 | |
| 16 | def expense (κ:ℝ)(a:t.Inner→ℝ)(v:t.Leaf→S.Tag){n:ℕ}(q:Stage U R n t):=t.cost κ a (wages v) - (token U R t v q).1*(t.topAge κ a) |
| 17 | |
| 18 | def forkBill (κ:ℝ)(a:t.Inner→ℝ)(v:t.Leaf→S.Tag)(m:ℕ):ℝ:= t.cost κ a (wages v) - m*t.topAge κ a |
| 19 | |
| 20 | section Single |
| 21 | variable {z:Envelope L t}(v:t.Leaf→S.Tag){κ:ℝ}{a:t.Inner→ℝ}(hg:Regular l T t κ a z) |
| 22 | variable [l.NeBot](h:Services C F S)(hT:Tendsto T l atTop) |
| 23 | include hg h hT |
| 24 | lemma flash_rate {n:ℕ}(q:Stage U R n t) : RateLE l T (flash U R t z v q) (expense U R κ a v q) :=by |
| 25 | obtain ⟨-,hd⟩:=Fusion.tariff U R hT h _ _ _ z v hg |
| 26 | cases t with |
| 27 | | bud=>change RateLE l T (fun _=>(1:ℂ)) (κ * ((v ()).1:ℝ) - ((v ()).1:ℝ)*κ); rw [mul_comm,sub_self]; exact RateLE.const (1:ℂ) hT |
| 28 | | fork n f=> exact hd.output q.1 _ |
| 29 | end Single |
| 30 | section Fork |
| 31 | variable {n:ℕ}{f:Fin n→Tree}{κ:ℝ}{a:(fork n f).Inner→ℝ} |
| 32 | variable {z:Envelope L (fork n f)}(hg:Regular l T (fork n f) κ a z)(v:(fork n f).Leaf→S.Tag) |
| 33 | def childExpense (a:(fork n f).Inner→ℝ){r:Fin n→ℕ}(q:Branches U R (f:=f) r)(i:Fin n):=expense U R (a (Sum.inl ())) (childAge i a) (childWages i v) (q i) |
| 34 | def rebate (a:(fork n f).Inner→ℝ){r:Fin n→ℕ}(q:Branches U R (f:=f) r)(i:Fin n):=(token U R (f i) (childWages i v) (q i)).1* ((f i).topAge (a (Sum.inl ())) (childAge i a)-a (Sum.inl ())) |
| 35 | @[simp] |
| 36 | lemma sum_fares {r:Fin n→ℕ}(q:Branches U R (f:=f) r)(m:ℕ): |
| 37 | (∑ i:Fin n,childExpense U R v a q i)+ (weightOf (echoTags U R v q)-m)*a (Sum.inl ()) = forkBill (t:=fork n f) κ a v m - ∑ i,rebate U R v a q i :=by |
| 38 | simp only [childExpense,expense,forkBill,rebate,weightOf,echoTags,degrees,weight,mul_sub,Finset.sum_sub_distrib] |
| 39 | simp only [← Finset.sum_mul, sub_mul] |
| 40 | change (∑ i:Fin n,(f i).cost (a (Sum.inl ())) (childAge i a) (childWages i (wages v))) - _ + _ = _ |
| 41 | rw [Tree.cost_fork]; change _= (∑ i,(f i).cost ..) - m * a (Sum.inl ()) - (_ - _ * a (Sum.inl ())) |
| 42 | ring |
| 43 | |
| 44 | lemma terms_nonnegative (h_k: ∀i,(a (Sum.inl ())) ≤ (f i).topAge (a (Sum.inl ())) (childAge i a)) {r:Fin n→ℕ}(q:Branches U R (f:=f) r)(i:Fin n):0≤rebate U R v a q i:= mul_nonneg (by positivity) (sub_nonneg.mpr (h_k i)) |
| 45 | include hg in |
| 46 | lemma sum_fares_le {r:Fin n→ℕ}(q:Branches U R (f:=f) r)(m:ℕ): |
| 47 | (∑ i:Fin n,childExpense U R v a q i)+ (weightOf (echoTags U R v q)-m)*a (Sum.inl ()) ≤ forkBill κ a v m :=by |
| 48 | rw [sum_fares]; exact sub_le_self _ (sum_nonneg (fun i _=>terms_nonnegative U R v (fun i=>(hg.inside i).ageLower) q i)) |
| 49 | include hg |
| 50 | -- note sum_fares_le uses hg; include field placement |
| 51 | |
| 52 | lemma fare_omitted (D:(fork n f).Inner→ℕ)(r:Fin n→ℕ)(q:Branches U R (f:=f) r)(hD:rollCaps D ≤ r){g:ℝ}(h':gapBelow (fork n f) a D g) |
| 53 | (hq:q ∈ Finset.univ \ Finset.univ.image (advance U R (f:=f) hD)): g ≤ ∑ i, rebate U R v a q i :=by |
| 54 | obtain ⟨p,hp,h_d⟩:= advance_missed U R v hD hq |
| 55 | exact le_trans (b:=rebate U R v a q p) (inflate.drop_cost U R (q p) (hg.inside p) (h' p) hp h_d) (Finset.single_le_sum (fun i hi=>terms_nonnegative U R v (fun i=>(hg.inside i).ageLower) q i) (Finset.mem_univ p)) |
| 56 | |
| 57 | variable [l.NeBot](h:Services C F S)(hT:Tendsto T l atTop) |
| 58 | include hT |
| 59 | lemma echo_room : enveloped l T (a (.inl ())) (echoPoints z) (Tree.center z) ∧ Kept l T (a (.inl ())) (echoPoints z) ∧ Tendsto (fun i=>away (echoPoints z i) (Tree.center z i)) l (𝓝 0) :=by |
| 60 | let φ:Fin n→(fork n f).Positions := fun i=> (.inr ⟨i,(f i).topSeat⟩) |
| 61 | refine ⟨envelope_comp (hg.extent hT) φ,fun η h=>?_, shrink_comp hg.vanish φ⟩ |
| 62 | exact eventually_all.mpr fun i=>eventually_all.mpr fun j=> eventually_all.mpr (fun he=>(hg.buffer i j he η h).mono fun k hx=> hx (f i).topSeat (f j).topSeat) |
| 63 | include h hT |
| 64 | lemma factor_cost {r:Fin n→ℕ}{m:ℕ}(c:R.channels m)(p:Branches U R (f:=f) r): RateLE l T (factor U R z v p c) ((weightOf (echoTags U R v p)-m)*a (Sum.inl ())):=by |
| 65 | obtain ⟨he,h_b,hn⟩:=echo_room hg hT |
| 66 | let x:= echoPoints z; let g:=echoTags U R v p |
| 67 | let A:Atom S L := {Slot:=Fin n, tags:=g, place:=x,ft:=inferInstance, amp:=fun _=>1}; let P:Menu S L:=⟨Unit,inferInstance,fun _=>A⟩ |
| 68 | let M:=weightOf g*a (.inl ()) |
| 69 | have hp:Comparable l T z (a (.inl ())) M P:= by intro i; exact ⟨⟨_,rfl⟩,h_b,(RateLE.const _ hT).mono (by exact (sub_self M).ge)⟩ |
| 70 | have hh:=(Comparable.meets U R hT h hg.vanish P (hg.extent hT) hg.nonneg hp).output m c -- hn is on x, need x shrink or z? |
| 71 | refine (hh.mono (show M-m*(a (.inl ()))≤_ from (sub_mul ..).ge)).congr (Eventually.of_forall fun i=>?_) -- orientation |
| 72 | change ∑ _:Unit,A.issue R _ _ _ _ = _; rw [Fintype.sum_unique]; exact one_mul _ |
| 73 | |
| 74 | lemma one_term {r:Fin n→ℕ}{m:ℕ}(c:R.channels m)(p:Branches U R (f:=f) r): RateLE l T (fun s=>(∏ i:Fin n,flash U R (f i) (down i z) (childWages i v) (p i) s)* factor U R z v p c s) (forkBill κ a v m - ∑ i, rebate U R v a p i):=by |
| 75 | have hp:=RateLE.prod (S:=Finset.univ) hT (fun i _=> flash_rate U R (Tree.childWages i v) (hg.inside i) h hT (p i)) |
| 76 | exact (hp.mul (factor_cost U R hg v h hT c p)).mono (sum_fares U R v p m).le |
| 77 | end Fork |
| 78 | end YM.OPE.Nesting.Composite |