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.Trees.Regime |
| 2 | /-! |
| 3 | # Engineering sizes across a tree |
| 4 | |
| 5 | The powers of q in the Nest bounds are those of the weights directly summed |
| 6 | among leaf demands. With losses ε each, all charge at once against `fullLife`. |
| 7 | Undoing normalizations at the end here uses *exponential rates*, no lattice |
| 8 | account remains in the continuum telescoping. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.OPE.Arboreal |
| 13 | open Function Finset Filter |
| 14 | open scoped Classical Topology ContDiff BigOperators |
| 15 | variable {I J : Type}[Fintype I]{a b:Finset I} (s:Arboreal I) (t:I→ℝ) (x:I→E4) {φ:Filter J}{R:J→I→ℝ}{X:J→I→E4} |
| 16 | {G:Gauge}{L:Register G}(p:I→ L.Token) |
| 17 | |
| 18 | lemma sigma_set (a:Finset I) : OPE.sigma (crop p a)=∑ i∈ a,(p i).1:= sum_coe_sort a (fun i=> (p i).1) |
| 19 | |
| 20 | /-- Exponential rate spent by undoing all leaf normalizations. -/ |
| 21 | def onset (b:Finset I): ℝ:=∑ i∈ b, ((p i).1:ℝ)* t (s.parent i) |
| 22 | /-- Required price engineering factors and ratio factors (unredacted tree). |
| 23 | ε can be 0 here in this expression, though not in the subpower estimate. -/ |
| 24 | def tariff (s:Arboreal I)(p:I→ L.Token)(d ε:ℝ)(r:I→ℝ): ℝ:= (r s.root) ^ (d- (OPE.sigma (crop p s.leaves):ℝ)-ε) * |
| 25 | ∏ u∈ s.middle s.zones,(s.ratioAt r u) ^ (-(OPE.sigma (crop p (s.inputs s.zones u)):ℝ) - ε) |
| 26 | /-- Remainder price. -/ |
| 27 | def grace (s:Arboreal I)(r:I→ ℝ) (D:I→ℕ) : ℝ:= ∑ u∈ s.middle s.zones,(s.ratioAt r u)^(D u+1) |
| 28 | |
| 29 | lemma appearances (h:s.Active a) : s.onset t p (s.live a) = |
| 30 | (OPE.sigma (crop p (s.live a)):ℝ) * t s.root + ∑ u ∈ s.middle a,(OPE.sigma (crop p (s.inputs a u)):ℝ)* s.stepAt t u:=by |
| 31 | let g : I→ℝ:= fun i=>(p i).1; let B:= s.live a |
| 32 | have he(u j : I)(hp:u∈ s.middle a) (hj:j∈ s.live a): u∈ s.leg a (s.parent j) ↔ j∈ s.inputs a u:=by |
| 33 | rw [s.leg_in]; exact ⟨fun hv=> mem_filter.mpr ⟨hj,hv.2.joins (Anc.step ..)⟩, fun hv=>⟨hp,inside h (mem_erase.mp hp).2 hv⟩⟩ |
| 34 | simp_rw [sigma_set p,Nat.cast_sum,sum_mul] |
| 35 | unfold onset; have hq : (∑ u∈ s.middle a, ∑ i∈ s.inputs a u, g i*s.stepAt t u)=∑ i∈ B, ∑ u∈ s.leg a (s.parent i),g i*s.stepAt t u:= by |
| 36 | apply Finset.sum_comm' (f:=fun u i=> g i*s.stepAt t u); intro u i; constructor |
| 37 | · rintro ⟨hu,hi⟩; exact ⟨(he u i hu (halfSpace hi)).2 hi,halfSpace hi⟩ |
| 38 | rintro ⟨hk,hv⟩; have hV: u∈ s.middle a:= (s.leg_in .. |>.mp hk).1; exact ⟨hV,(he u i hV hv).1 hk⟩ --- reversed? |
| 39 | change (∑ i∈ B,g i*_) = (∑ i∈B,g i*_)+_; rw [show (∑ j∈ s.middle a, ∑ i∈ s.inputs a j, ((p i).1:ℝ)*s.stepAt t j)=_ from hq, ← sum_add_distrib]; refine sum_congr rfl fun i hi=>?_ ; rw [← mul_sum, ← mul_add]; congr 1; rw [add_comm (t _), s.level_sum] -- he final |
| 40 | exacts [h,(s.live_iff ..|>.mp hi).2] -- implicit s.level_sum? |
| 41 | |
| 42 | variable {t} {M δ:ℝ} (hc:s.Coterie φ t M δ X R) -- M δ |
| 43 | local notation "T!"=> (fun i=>s.fullLife (R i)) |
| 44 | include hc |
| 45 | lemma tariff_life (d ε:ℝ) : RateIs φ T! (fun i=>s.tariff p d ε (R i)) |
| 46 | (s.onset t p s.leaves - d*t s.root + ε):=by |
| 47 | let E: RateIs φ T! (fun i=> _) _ := (hc.tracked.rates s.root s.initial).rpow (d - (OPE.sigma (crop p s.leaves):ℝ)-ε); -- let sort |
| 48 | let f (u:I):ℝ:= (OPE.sigma (crop p (s.inputs s.zones u)):ℝ); let t0:= t s.root; let K:= s.middle s.zones |
| 49 | have hh : ∀ u∈ K, RateIs φ T! (fun i=> (s.ratioAt (R i) u)^(-f u-ε)) ((-f u-ε)*(-s.stepAt t u)):= fun u hu=> (ratio_rate hc.tracked (mem_erase.mp hu).2).rpow _ |
| 50 | apply (E.mul (RateIs.prod hh hc.time)).swap; unfold leaves; rw [s.appearances t p (Action s)]; |
| 51 | have he : (∑ i∈ K, (-f i-ε)*(-s.stepAt t i))=(∑ i∈ K,f i*s.stepAt t i) + ε*(∑ i∈ K,s.stepAt t i):= by rw [mul_sum, ← sum_add_distrib]; exact sum_congr rfl fun _ _=> by ring |
| 52 | rw [he]; have hp: ∑ i∈ K,s.stepAt t i = 1 - t s.root:= eq_sub_of_add_eq hc.tracked.entire; rw [hp]; unfold f K; ring |
| 53 | -- flat layers (per log comparison) |
| 54 | omit hc |
| 55 | variable {s p} |
| 56 | |
| 57 | def SingleLayer (s:Arboreal I)(t:I→ℝ)(a:Finset I)(i:I):=∀ j∈a,s.Anc i j → t j=t i |
| 58 | variable {i j:I} |
| 59 | lemma SingleLayer.condition (h:s.SingleLayer t a i) (h':s.Active a)(he:i∈a)(hp:j∈s.inputs a i): t (s.parent j)=t i := h _ (s.live_iff ..|>.mp (halfSpace hp)).2 (inside h' he hp) |
| 60 | --- i vars |
| 61 | variable (p) |
| 62 | lemma local_charge (h:s.SingleLayer t a i)(h':s.Active a)(hi:i∈a): s.onset t p (s.inputs a i)=(OPE.sigma (crop p (s.inputs a i)):ℝ)*t i :=by |
| 63 | rw [sigma_set p, Nat.cast_sum,sum_mul]; exact sum_congr rfl fun j hj=> by rw [h.condition h' hi hj] |
| 64 | |
| 65 | lemma after_edit (h:s.SingleLayer t a i) (h':s.Active a)(hi:i∈ s.middle a)(y:L.Token) : |
| 66 | s.onset t (update p i y) (s.live (s.redact a i)) + (OPE.sigma (crop p (s.inputs a i)):ℝ) * t i - (y.1:ℝ) * t i = s.onset t p (s.live a) - y.1 * s.stepAt t i := by |
| 67 | rw [← local_charge p h h' (mem_erase.mp hi).2]; unfold onset; conv_rhs=> arg 1; arg 1; rw [← s.divide a i] |
| 68 | rw [pruned h' hi,sum_union (s.divided ..),sum_insert (no_shadow s i a),Function.update_self] |
| 69 | have he: ∑ x∈ s.external a i, (((update p i y) x).1:ℝ)* t (s.parent x)= ∑ x∈ s.external a i,((p x).1:ℝ)*t (s.parent x):= sum_congr rfl fun j hj=>by rw [Function.update_of_ne (live_other (mem_erase.mp hi).2 (exterior_mem.mp hj).1)] |
| 70 | rw [he]; unfold stepAt; ring |
| 71 | end YM.OPE.Arboreal |