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.NestRates |
| 2 | |
| 3 | /-! Successive powers on declared tree scales. The parent of a root in |
| 4 | `ratios` is charged at virtual scale 1, i.e., its "ratio" is just the |
| 5 | request's root length. The rates need not be strict; only the *sum* of the |
| 6 | advances needs to be positive when comparing losses, ensuring enough slack for |
| 7 | all prefactors. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.OPE.Nesting |
| 12 | open Orbits Orbits.Reader Function Filter Extraction Set Table Tree Measures Menu Atom MeasureTheory Finset |
| 13 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 14 | namespace Tree |
| 15 | |
| 16 | /-- Nonnegative engineering exponent advance at an admissible request. -/ |
| 17 | def step : (t:Tree)→ ℝ→(t.Inner→ℝ)→ (t.Inner→ℝ) |
| 18 | | bud,_,_,v=>nomatch v |
| 19 | | fork n f,k,a, Sum.inl ()=> a (Sum.inl ())-k |
| 20 | | fork n f,k,a, Sum.inr ⟨i,v⟩=>step (f i) (a (Sum.inl ())) (childAge i a) v |
| 21 | |
| 22 | /-- Leaf weight charged as a normalization when entering parent cluster. -/ |
| 23 | def headSum : (t:Tree)→(t.Leaf→ℝ)→(t.Inner→ℝ) |
| 24 | | bud,_,v=>nomatch v |
| 25 | | fork n f,a,Sum.inl ()=> ∑ v:Σ i:Fin n,(f i).Leaf,a v |
| 26 | | fork n f,a,Sum.inr ⟨i,v⟩ => headSum (f i) (childWages i a) v |
| 27 | |
| 28 | def ratios : (t:Tree)→ℝ→(t.Inner→ℝ)→(t.Inner→ℝ) |
| 29 | | bud,_,_,v=>nomatch v |
| 30 | | fork n f,p,a, Sum.inl ()=>a (Sum.inl ())/p |
| 31 | | fork n f,p,a, Sum.inr ⟨i,v⟩=> ratios (f i) (a (Sum.inl ())) (childAge i a) v |
| 32 | |
| 33 | variable {n:ℕ}{f:Fin n→Tree} |
| 34 | |
| 35 | lemma sum_inner {M:Type}[AddCommMonoid M](u:(fork n f).Inner→M):∑ v,u v = u (Sum.inl ()) + ∑ i:Fin n,∑ j:(f i).Inner,u (Sum.inr ⟨i,j⟩):=by |
| 36 | change (∑ v:Unit ⊕ Σ i:Fin n,(f i).Inner,u v)=_ |
| 37 | rw [Fintype.sum_sum_type u,Fintype.sum_sigma,Fintype.sum_unique] |
| 38 | lemma prod_inner {M:Type}[CommMonoid M](u:(fork n f).Inner→M): (∏ v,u v) = u (Sum.inl ()) * ∏ i:Fin n,∏ j:(f i).Inner,u (Sum.inr ⟨i,j⟩):=by |
| 39 | change (∏ v:Unit ⊕ Σ i:Fin n,(f i).Inner,u v)=_ |
| 40 | rw [Fintype.prod_sum_type u,Fintype.prod_sigma,Fintype.prod_unique] |
| 41 | lemma sum_wages_fork {w:(fork n f).Leaf→ℝ}: (∑ i:Fin n,∑ j:(f i).Leaf,w ⟨i,j⟩)=∑ j,w j:= by rw [← Fintype.sum_sigma]; rfl |
| 42 | |
| 43 | section |
| 44 | variable (L:Type) |
| 45 | lemma budget_expansion (t:Tree)(w:t.Leaf→ℝ)(k:ℝ)(a:t.Inner→ℝ): t.cost k a w = k*(∑ i,w i) + ∑ v:t.Inner,(t.headSum w v)*(t.step k a v):=by |
| 46 | induction t generalizing k with |
| 47 | | bud=>change k*w ()= k * (∑ j:Unit, w j)+∑ j:Empty,_; rw [@Fintype.sum_unique _ Unit,Fintype.sum_empty,add_zero] |
| 48 | | fork n f ih=> |
| 49 | let y:=∑ j,w j |
| 50 | have hpos:(fork n f).headSum w (Sum.inl ())=y:=rfl |
| 51 | rw [Tree.cost_fork,sum_inner (fun v:(fork n f).Inner=>((fork n f).headSum w v)*((fork n f).step k a v))] |
| 52 | conv_lhs => enter[2,i]; rw [ih i] |
| 53 | rw [Finset.sum_add_distrib,← Finset.mul_sum]; dsimp [childWages]; rw [sum_wages_fork] |
| 54 | rw [hpos]; dsimp [childAge,step,headSum]; change a (Sum.inl ()) * y + _ = k*y + (y* (a (Sum.inl ()) - k)+_); ring |
| 55 | |
| 56 | lemma adequate_cost (t:Tree) {k:ℝ}{a:t.Inner→ℝ}(h:t.ordered k a)(v:t.Inner):0≤t.step k a v:=by induction t generalizing k with |
| 57 | | bud=>cases v |
| 58 | | fork n f ih=>rcases v with u | ⟨i,t⟩ |
| 59 | · cases u; exact sub_nonneg.mpr h.1 |
| 60 | exact ih i (h.2 i) t |
| 61 | lemma step_sum_bound (t:Tree){k:ℝ}{a:t.Inner→ℝ}(h:t.ordered k a)(v:t.Inner) : a v ≤ k+∑ p:t.Inner,t.step k a p:=by induction t generalizing k with |
| 62 | | bud=>cases v |
| 63 | | fork n f ih => |
| 64 | obtain u | ⟨i,p⟩:=v |
| 65 | · cases u; have he:(fork n f).step k a (Sum.inl ()) ≤ ∑p:(fork n f).Inner, Tree.step _ _ _ p:= single_le_sum (fun v _=> adequate_cost _ h v) (mem_univ _) |
| 66 | change a (Sum.inl ())-k ≤ _ at he; linarith only [he] |
| 67 | change childAge i a p ≤ _ |
| 68 | refine (ih i (h.2 i) p).trans (?_) |
| 69 | have he: ∑ p:(f i).Inner,(f i).step (a (Sum.inl ())) (childAge i a) p ≤ ∑ i:Fin n,∑ p:(f i).Inner,((f i).step (a (Sum.inl ())) (childAge i a) p) := single_le_sum (fun j _=>sum_nonneg (s:=Finset.univ) fun t _=>adequate_cost (f j) (h.2 j) t) (mem_univ i) |
| 70 | rw [sum_inner (fun p:(fork n f).Inner=> step _ _ _ p)]; change _ ≤ k + (a (Sum.inl ()) - k + ∑ i:Fin n,∑ p:(f i).Inner,((f i).step (a (Sum.inl ())) (childAge i a) p)) |
| 71 | linarith only [he] |
| 72 | |
| 73 | /-- Bounds at a fork, using root radius stored with the positions, |
| 74 | read at engineering shift m (weight for coefficients, `D+1` for kernel tail). -/ |
| 75 | def scaleFee (w:(fork n f).Leaf→ℝ) (s:(fork n f).Inner→ℝ)(eps m:ℝ) :ℝ := |
| 76 | (s (Sum.inl ()))^m * ∏ v,(fork n f|>.ratios 1 s v)^(-(fork n f).headSum w v-eps) |
| 77 | |
| 78 | variable {L:Type}{t:Tree}{l:Filter L}{T p:L→ℝ}{s:L→t.Inner→ℝ}{a:t.Inner→ℝ}{k:ℝ} |
| 79 | lemma rate_ratios (hp:RateIs l T p (-k))(h:∀ v, RateIs l T (fun i=>s i v) (-a v)) (v:t.Inner) :RateIs l T (fun i=>t.ratios (p i) (s i) v) (-(step t k a v)):=by |
| 80 | induction t generalizing k p with |
| 81 | | bud=>cases v |
| 82 | | fork n f ih => rcases v with u | ⟨j,v⟩ |
| 83 | · cases u; exact (h _ |>.div hp).swap (by rw [step]; ring) |
| 84 | exact ih j (h ..) (fun v=> h _) v |
| 85 | |
| 86 | lemma incidence {I:Type}{α:I→ℝ}{F:I→L→ℝ} (hT:Tendsto T l atTop)(V:Finset I)(h:∀ v∈V,RateIs l T (F v) (α v)) : RateIs l T (fun i=>∏ v∈V,F v i) (∑ v∈V,α v):=by |
| 87 | induction V using Finset.induction with |
| 88 | | empty=>simpa only [Finset.sum_empty, Finset.prod_empty] using (RateIs.const hT zero_lt_one) |
| 89 | | @insert b v hb hv => simpa only [sum_insert hb,prod_insert hb] using ((h b (mem_insert_self b v)).mul (hv (fun i hi=> h i (mem_insert_of_mem hi)))) |
| 90 | |
| 91 | lemma rate_base {s:L→(fork n f).Inner→ℝ}{a:(fork n f).Inner→ℝ} |
| 92 | (hT:Tendsto T l atTop)(hs:∀ v,RateIs l T (fun i=>s i v) (-a v))(w:(fork n f).Leaf→ℝ)(ε m:ℝ): |
| 93 | RateIs l T (fun i=>scaleFee w (s i) ε m) (m*(-a (Sum.inl ())) + (fork n f).cost 0 a w + ε*∑ v:(fork n f).Inner,(fork n f).step 0 a v):=by |
| 94 | have hp(v:(fork n f).Inner):=rate_ratios (p:=fun _=>1) (t:=fork n f) (a:=a) (k:=0) (by simpa using RateIs.const hT one_pos) hs v |
| 95 | unfold scaleFee |
| 96 | have h':= (hs (Sum.inl ())|>.rpow m).mul (incidence hT (Finset.univ: Finset (fork n f).Inner) (fun v _=>(hp v).rpow (-(fork n f).headSum w v-ε))) |
| 97 | refine h'.swap (?_) |
| 98 | rw [budget_expansion, zero_mul,zero_add, add_assoc,Finset.mul_sum,← sum_add_distrib]; apply congr_arg (_+·) (Finset.sum_congr rfl (fun v _=>by ring)) |
| 99 | |
| 100 | /-- RHS using a sum of gains over nonroot internals (may equal zero if |
| 101 | there are none, so no exponential comparator can pay it in general). -/ |
| 102 | def nestPrice (s:(fork n f).Inner→ℝ)(D:(fork n f).Inner→ℕ):ℝ := |
| 103 | ∑ v:Σ i:Fin n,(f i).Inner, ((fork n f).ratios 1 s (Sum.inr v))^(D (Sum.inr v)+1) |
| 104 | lemma nest_price_add (D:(fork n f).Inner→ℕ) {s:(fork n f).Inner→ℝ} (h:∀ i:(fork n f).Inner,0 < (fork n f).ratios 1 s i) (v:Σ i:Fin n,(f i).Inner): (fork n f|>.ratios 1 s (Sum.inr v))^(D (Sum.inr v)+1) ≤ nestPrice s D:= Finset.single_le_sum (fun t ht=> pow_nonneg (h (Sum.inr t)).le (D (Sum.inr t)+1)) (mem_univ v) |
| 105 | end |
| 106 | end Tree |
| 107 | end YM.OPE.Nesting |