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.PriceDrop |
| 2 | |
| 3 | /-! Combining the direct and synthetic expansions. If any logarithmic gap |
| 4 | below a root is actually zero, the desired accuracy has already reduced |
| 5 | to the raw rate and we *don't* need high precision at that switch. In the |
| 6 | other case every positive common lower gain is compared via `Escape` on the |
| 7 | entire direct sum. Empty lower system of edges is treated exactly separately. -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.OPE.Nesting.Composite |
| 11 | open Orbits Orbits.Reader Function Filter Extraction Set Table Tree Measures Menu Atom MeasureTheory Finset |
| 12 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 13 | variable {G:Gauge}{C:Family G}{F:Order}{S:Table C.book}(U:Spec.Final C F S) |
| 14 | (R:Reader U.sector.derivatives U.sector.turns U.room.kernel.spin) |
| 15 | variable {L:Type}{l:Filter L}{T:L→ℝ} |
| 16 | variable (h:Services C F S)[l.NeBot](hT:Tendsto T l atTop) |
| 17 | |
| 18 | section Parent |
| 19 | variable {n:ℕ}{f:Fin n→Tree}{κ:ℝ}{a:(fork n f).Inner→ℝ} |
| 20 | variable {z:Envelope L (fork n f)}(hg:Regular l T (fork n f) κ a z)(v:(fork n f).Leaf→S.Tag) |
| 21 | {D:(fork n f).Inner→ℕ}{m:ℕ}(c:R.channels m) {γ:ℝ} |
| 22 | abbrev echoRate :=RateLE l T (stacked U R m c z v D) (forkBill κ a v m) |
| 23 | def echoErr :=RateLE l T (fun t=>(Menu.raw z v).charge R m c (Tree.center z) t - stacked U R m c z v D t) (forkBill κ a v m-γ) |
| 24 | |
| 25 | include hg h hT γ |
| 26 | lemma chain (hu:gapBelow (fork n f) a D γ) (hγ:0≤γ) |
| 27 | (h₁:∀ (j:Fin n) (p :Stage U R (rollCaps D j) (f j)),RateLE l T (nShot U R (f j) (down j z) (childWages j v) (childAge j D) p) (expense U R (a (Sum.inl ())) (childAge j a) (childWages j v) p)) |
| 28 | (he:∀ (j:Fin n) (p :Stage U R (rollCaps D j) (f j)),RateLE l T (fun i=> flash U R (f j) (down j z) (childWages j v) p i - nShot U R (f j) (down j z) (childWages j v) (childAge j D) p i) (expense U R (a (Sum.inl ())) (childAge j a) (childWages j v) p - γ)): |
| 29 | echoErr (γ:=γ) U R v c (κ:=κ) (a:=a) (z:=z) (l:=l) (T:=T) (D:=D) :=by |
| 30 | have hd:= Fusion.tariff U R hT h _ κ _ _ v hg |
| 31 | rcases hγ.eq_or_lt with hγ|hγ |
| 32 | · subst γ; dsimp [echoErr]; rw [sub_zero] |
| 33 | exact (hd.2.output m c).sub (price_nested U R hg v c h hT h₁) hT |
| 34 | have h_age (j)(hi:f j≠bud) := inflate.internal_strict (h:=hg.inside j) hγ (hu j) hi |
| 35 | obtain ⟨H,big,hHp⟩:=escape U R h hT v hg h_age (forkBill κ a v m - γ) c (rollCaps D) |
| 36 | have hP:=drop_price U R hg v c h hT big hu |
| 37 | have hΔ:=delta_nested U R hg v c h hT h₁ (γ:=γ) he |
| 38 | exact ((hHp.add hP hT).add hΔ hT).congr (Eventually.of_forall fun i=> (by dsimp only; abel)) |
| 39 | end Parent |
| 40 | |
| 41 | lemma bud_shot {t:Tree}{z:Tree.Envelope L t}{D:t.Inner→ℕ}{p:Stage U R (boundNow t D) t}(v:t.Leaf → S.Tag) {s:L} (he:t=bud): nShot U R t z v D p s=1:=by cases t with |
| 42 | | bud=>rfl |
| 43 | | fork=>cases he |
| 44 | lemma bud_unique {t:Tree}{k:ℕ}(h:t=bud): Nonempty (Unique (Stage U R k t)):=by cases h; exact ⟨(inferInstanceAs (Unique Unit))⟩ |
| 45 | lemma bud_leaf {t:Tree}(h:t=bud):Nonempty (Unique t.Leaf):=by cases h; exact ⟨inferInstanceAs (Unique Unit)⟩ -- k unused implicit danger, remove |
| 46 | |
| 47 | variable (γ:ℝ) (hh:0≤γ) |
| 48 | include h hT hh in |
| 49 | lemma nShot_rate {t:Tree}{z:Tree.Envelope L t}(v:t.Leaf → S.Tag){a:t.Inner→ℝ}{D:t.Inner→ℕ} {κ:ℝ} |
| 50 | (h_g:gapBelow t a D γ)(hg:Regular l T t κ a z)(p:Stage U R (boundNow t D) t) : |
| 51 | let k:= expense U R κ a v p; RateLE l T (nShot U R t z v D p) k ∧ RateLE l T (fun i=>flash U R t z v p i-nShot U R t z v D p i) (k-γ):=by |
| 52 | induction t generalizing κ with |
| 53 | | bud => dsimp only |
| 54 | have hw(s:L): flash U R bud z v p s - nShot U R bud z v D p s=0:=by rw [bud_flash U R rfl,bud_shot U R _ rfl,sub_self] |
| 55 | simp_rw [hw]; refine ⟨RateLE.const (X:=ℂ) 1 (by exact hT) |>.mono ?_, (RateLE.zero (X:=ℂ) l T _)⟩ |
| 56 | change 0 ≤ κ*wages v () - wages v () * κ; rw [mul_comm,sub_self] |
| 57 | | fork n f ih => |
| 58 | let h_i (j:Fin n)(c):= ih j (childWages j v) (gapAll_below (h_g j)) (hg.inside j) c |
| 59 | constructor |
| 60 | · exact price_nested U R hg v p.2 h hT (fun j c=>(h_i j c).1) |
| 61 | exact chain U R h hT hg v p.2 h_g hh (fun j c=>(h_i j c).1) (fun j c=>(h_i j c).2) |
| 62 | |
| 63 | include hh h hT |
| 64 | |
| 65 | set_option maxHeartbeats 600000 in |
| 66 | lemma echo_sized {n:ℕ}{f:Fin n→Tree}{z:Envelope L (fork n f)}{v:(fork n f).Leaf→S.Tag} |
| 67 | {D:(fork n f).Inner→ℕ}{a:(fork n f).Inner→ℝ}{κ:ℝ} {m:ℕ}(c:R.channels m) (hu:gapBelow (fork n f) a D γ) (hg:Regular l T (fork n f) κ a z) : echoRate (l:=l) (T:=T) (a:=a) (κ:=κ) (z:=z) (D:=D) U R v c ∧ echoErr (γ:=γ) (l:=l) (T:=T) (a:=a) (κ:=κ) (z:=z) (D:=D) U R v c:=by |
| 68 | have hv j(p):= nShot_rate U R h hT γ hh (childWages j v) (gapAll_below (hu j)) (hg.inside j) p |
| 69 | exact ⟨price_nested U R hg v c h hT (fun i u=>(hv i u).1),chain U R h hT hg v c hu hh (fun i u=>(hv i u).1) (fun i u=>(hv i u).2)⟩ |
| 70 | |
| 71 | omit [l.NeBot] h hT hh |
| 72 | lemma empty_gain {n:ℕ}{f:Fin n→Tree}{z:Envelope L (fork n f)}{v:(fork n f).Leaf→S.Tag} |
| 73 | (D:(fork n f).Inner→ℕ){m:ℕ}(c:R.channels m) (h:∀ j,f j=bud)(s:L): stacked U R m c z v D s = (Menu.raw z v).charge R m c (Tree.center z) s :=by |
| 74 | have he(p:Branches U R (rollCaps D)) (j:Fin n): nShot U R (f j) (down j z) (childWages j v) (childAge j D) (p j) s = 1 := bud_shot U R (childWages j v) (h j) |
| 75 | have ht(p:Branches U R (rollCaps D)):factor U R z v p c s=(Menu.raw z v).charge R m c (Tree.center z) s:=by |
| 76 | letI(j:Fin n):Unique ((f j).Leaf) := Nonempty.some <| bud_leaf (h j) |
| 77 | let e:(fork n f).Leaf ≃ Fin n:=Equiv.sigmaUnique _ _ |
| 78 | rw [raw_charge]; symm; refine express_reindex (w:=echoTags U R v p) R e ?_ (?_); · funext j; exact seats_bud (z:=down j.1 z) (h j.1) j.2 s |
| 79 | funext (j:(fork n f).Leaf); exact (bud_token (t:=f j.1) (v:=childWages j.1 v) U R (h j.1) j.2|>.symm) |
| 80 | unfold stacked; simp_rw [he,prod_const_one,one_mul,ht] |
| 81 | letI (k:Fin n):Unique (Stage U R (rollCaps D k) (f k)):=Nonempty.some (bud_unique U R (h k)) |
| 82 | rw [@Fintype.sum_unique _ _ (_:Fintype (Branches U R (rollCaps D)))] -- typeclass mismatch |
| 83 | end YM.OPE.Nesting.Composite |