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.Height |
| 2 | import Mathlib.Algebra.BigOperators.Group.Finset.Basic |
| 3 | import Mathlib.Algebra.Order.BigOperators.Group.Finset |
| 4 | import Mathlib.Analysis.SpecialFunctions.Log.Basic |
| 5 | /-! |
| 6 | # Ancestral telescoping/accounts |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.OPE.Arboreal |
| 11 | open Function Finset Filter |
| 12 | open scoped Classical Topology BigOperators |
| 13 | variable {I:Type}{s:Arboreal I}{a:Finset I}{i j k:I} |
| 14 | |
| 15 | variable (s a) |
| 16 | def leg (i:I):= (s.middle a).filter (fun j=> s.Anc j i) |
| 17 | lemma leg_in (i j): j∈ s.leg a i↔ j∈ s.middle a ∧ s.Anc j i:= mem_filter |
| 18 | -- for s_i relative to parent spacing |
| 19 | |
| 20 | def stepAt (t:I→ℝ)(i:I):= t i-t (s.parent i) |
| 21 | def ratioAt (r:I→ℝ)(i:I):= r i/r (s.parent i) |
| 22 | variable {s a} |
| 23 | lemma step_mem (hv:i≠s.root)(he:i∈a): s.leg a i= insert i (s.leg a (s.parent i)):=by |
| 24 | ext k; rw [s.leg_in, mem_insert, s.leg_in]; constructor |
| 25 | · rintro ⟨hz,hk⟩; by_cases hx:k=i; · exact Or.inl hx |
| 26 | exact Or.inr ⟨hz,hk.back (Ne.symm hx)⟩ |
| 27 | rintro (rfl|⟨hk,hk'⟩); exacts [⟨mem_erase.mpr ⟨hv,he⟩,Anc.same ..⟩,⟨hk,hk'.joins (Anc.step ..)⟩] |
| 28 | lemma leg_not (hv:i≠s.root) : i∉ s.leg a (s.parent i):=fun h=> not_lt_of_ge (s.leg_in ..|>.1 h).2.depth (s.step i hv) |
| 29 | lemma beginLeg (s:Arboreal I)(a):s.leg a s.root=∅:=eq_empty_of_forall_notMem (fun _ h=> (mem_erase.mp (s.leg_in ..|>.mp h).1).1 (s.leg_in ..|>.mp h).2.excess) |
| 30 | lemma level_sum (t:I→ℝ)(he:s.Active a)(hi:i∈a) : (∑ k∈ s.leg a i,s.stepAt t k)+t s.root = t i:=by |
| 31 | induction i using s.hill with |
| 32 | | h=>rw [beginLeg,sum_empty,zero_add] |
| 33 | | hp i h ih=> rw [step_mem h hi,sum_insert (leg_not h),add_assoc, ih (he.parent hi)]; unfold stepAt; ring |
| 34 | |
| 35 | lemma leg_mono {r:I→ℝ} (hs:∀ i∈ s.middle a, 0 ≤ s.stepAt r i) (h : s.Active a)(hi:i∈a): r i ≤ (∑ k∈ s.middle a, s.stepAt r k)+r s.root:=by -- r variable |
| 36 | rw [← level_sum r h hi]; exact add_le_add_left (sum_le_sum_of_subset_of_nonneg (filter_subset ..) (fun i hi _=> hs i hi)) _ -- right? |
| 37 | end YM.OPE.Arboreal |