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.Plot |
| 2 | /-! |
| 3 | # Active internal subtree of a given cluster tree |
| 4 | -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.OPE.Arboreal |
| 8 | open Function Finset |
| 9 | open scoped Classical |
| 10 | variable {I:Type}{s:Arboreal I}{a b:Finset I} {i j k:I} |
| 11 | |
| 12 | structure Active (s:Arboreal I)(a:Finset I): Prop where |
| 13 | main : s.root∈a |
| 14 | included : a ⊆ s.zones |
| 15 | parent {u:I}: u∈a→ s.parent u∈a |
| 16 | lemma Action (s:Arboreal I) : s.Active s.zones := ⟨s.initial, Finset.Subset.refl _,fun {u} _=>s.inward _⟩ |
| 17 | variable (h:s.Active a) |
| 18 | lemma Active.ancestral (h:s.Active a) (hx:s.Anc i j)(hp:j∈a): i ∈a:=by |
| 19 | obtain ⟨n,rfl⟩:=hx; induction n with |
| 20 | | zero=> exact hp |
| 21 | | succ n ih=> rw [iterate_succ_apply']; exact h.parent ih |
| 22 | -- Ports, middle, etc. |
| 23 | variable (s a) |
| 24 | def middle:= a.erase s.root |
| 25 | def redact (i):= a.filter fun j=> ¬ s.Anc i j |
| 26 | variable {s a} |
| 27 | lemma rootAlone (h:s.Active a)(he:s.middle a=∅): a={s.root}:=by |
| 28 | rw [← insert_erase h.main, ← show s.middle a= a.erase s.root from rfl, he]; rfl |
| 29 | lemma redacting (hp:i∈a) : s.redact a i⊆ a:= filter_subset .. |
| 30 | lemma redacted (h:s.Active a)(hp:i∈ s.middle a) : s.Active (s.redact a i):=by |
| 31 | refine ⟨mem_filter.mpr ⟨h.main,fun hr=>(mem_erase.mp hp).1 hr.excess⟩,Subset.trans (redacting (mem_erase.mp hp).2) h.included,fun {u} hu=> ?_⟩ |
| 32 | obtain ⟨qu,hq⟩:= mem_filter.mp hu; exact mem_filter.mpr ⟨h.parent qu,fun he=>hq (he.joins (Anc.step ..))⟩ |
| 33 | lemma redact_gains (hp:i∈a) : (s.redact a i).card < a.card := card_lt_card (Finset.ssubset_iff_subset_ne.mpr ⟨redacting hp,fun he=> (mem_filter.mp (show i∈ s.redact a i from he.symm ▸ hp)).2 (Anc.same ..)⟩) |
| 34 | |
| 35 | /-- A last internal vertex (closest to the current frontier). -/ |
| 36 | def Border (s:Arboreal I)(a:Finset I)(i:I): Prop:=∀ k∈a,s.Anc i k → k=i |
| 37 | lemma terminals (h':(s.middle a).Nonempty): ∃ i∈ s.middle a, s.Border a i:=by |
| 38 | obtain ⟨u,hu,hv⟩:= (s.middle a).exists_max_image s.depth h'; have hx: u≠s.root:=(mem_erase.mp hu).1 |
| 39 | refine ⟨u,hu,fun k hk he=>?_⟩; by_contra ht; exact not_lt_of_ge (hv k (mem_erase.mpr ⟨fun hh=>hx (Anc.excess (hh ▸ he)),hk⟩)) (he.into ht) |
| 40 | lemma redact_one (h:s.Border a i) : s.redact a i = a.erase i:= by |
| 41 | ext j; rw [redact,mem_filter,mem_erase]; constructor |
| 42 | · rintro ⟨hs,he⟩; exact ⟨fun hz=> he (hz ▸ Anc.same ..),hs⟩ |
| 43 | rintro ⟨hi,hp⟩; exact ⟨hp,fun h'=> hi (h j hp h')⟩ |
| 44 | |
| 45 | variable [Fintype I] (s a) |
| 46 | /-- Current insertion positions. With all vertices open, these are the |
| 47 | original leaves. Empty is allowed. -/ |
| 48 | def live := univ.filter fun i=> i∉a ∧ s.parent i∈ a |
| 49 | lemma live_iff (i) : i∈ s.live a ↔ i∉a ∧ s.parent i∈a:=by simp [live] |
| 50 | def leaves := s.live s.zones |
| 51 | lemma leaves_are (i:I): i∈ s.leaves↔ i∉ s.zones:=by rw [leaves,s.live_iff]; simp [s.inward] |
| 52 | def inputs (i:I):=(s.live a).filter fun j=> s.Anc i j |
| 53 | def external (i:I):= s.live a \ s.inputs a i |
| 54 | variable {s a} |
| 55 | lemma live_other (hi:i∈a) (he:j∈ s.live a): j≠ i:= fun hh=> (s.live_iff ..|>.1 he).1 (hh ▸ hi) |
| 56 | lemma only_level (h:s.Active a)(hi:i∈ s.live a)(he:j∈a):¬ s.Anc i j:= fun hv=> (s.live_iff ..|>.1 hi).1 (h.ancestral hv he) |
| 57 | lemma lived (h:s.Active a)(hi:i∈ s.live a)(he:j∈ s.live a)(hu:i≠j):¬ s.Anc i j:= fun hv=> only_level h hi (s.live_iff ..|>.1 he).2 (hv.back hu.symm) |
| 58 | lemma halfSpace (hi:j∈ s.inputs a i): j∈ s.live a:= (mem_filter.mp hi).1 |
| 59 | lemma inside (h:s.Active a)(hi:i∈a)(he:j∈ s.inputs a i) : s.Anc i (s.parent j):= (show s.Anc i j from (mem_filter.mp he).2).back (live_other hi (halfSpace he)) |
| 60 | |
| 61 | lemma exterior_mem : j∈ s.external a i↔ j∈ s.live a ∧ ¬ s.Anc i j:=by |
| 62 | simp [external,inputs]; tauto |
| 63 | lemma aurora {j b c : I}(hp:j∈s.kids i)(hv:k∈s.kids i)(he:j≠k)(hh:s.Anc j b)(hk:s.Anc k c) : s.Fork i b c:= ⟨j,hp,k,hv,he,hh,hk⟩ |
| 64 | lemma fork_rest (h:s.Active a)(hi:i∈s.middle a)(he:j∈s.external a i): ∃ u∈ s.zones, s.Anc u (s.parent i)∧ s.Fork u i j:=by |
| 65 | obtain ⟨hZ,hv⟩:= exterior_mem.mp he; obtain ⟨u,hu,-,hh⟩:= s.divergence hv (only_level h hZ (mem_erase.mp hi).2) (s.closure i) (s.closure j); exact ⟨u,hu, hh.left.1.back hh.left.2,hh⟩ |
| 66 | lemma pruned (h:s.Active a)(hi:i∈ s.middle a) : s.live (s.redact a i) = insert i (s.external a i) := by |
| 67 | obtain ⟨hv,hf⟩:= mem_erase.mp hi; have hc : ¬ s.Anc i (s.parent i):=fun hb=> not_lt_of_ge hb.depth (s.step i hv) |
| 68 | ext x; rw [s.live_iff,mem_insert, exterior_mem,s.live_iff]; constructor |
| 69 | · rintro ⟨hX,hY⟩; obtain ⟨he,hY⟩:= (mem_filter.mp hY); by_cases hh:x=i; · exact Or.inl hh |
| 70 | have hu : ¬ s.Anc i x:= fun ho=> hY (ho.back hh); exact Or.inr ⟨⟨fun hx=> hX (mem_filter.mpr ⟨hx,hu⟩),he⟩,hu⟩ |
| 71 | rintro (rfl|⟨⟨hz,he⟩,hh⟩) |
| 72 | · exact ⟨fun hz=> (mem_filter.mp hz).2 (Anc.same ..),mem_filter.mpr ⟨h.parent hf,hc⟩⟩ |
| 73 | exact ⟨fun hx=> hz ((mem_filter.mp hx).1),mem_filter.mpr ⟨he,fun hu=>hh (hu.joins (Anc.step ..))⟩⟩ |
| 74 | lemma no_shadow (s: Arboreal I)(i a) : i∉s.external a i:=fun hp=> (exterior_mem.mp hp).2 (Anc.same ..) |
| 75 | lemma divide (s:Arboreal I)(a i): s.inputs a i ∪ s.external a i= s.live a:= Finset.union_sdiff_of_subset (filter_subset ..) -- order |
| 76 | lemma divided (s:Arboreal I)(a i): Disjoint (s.inputs a i) (s.external a i) := Finset.disjoint_sdiff |
| 77 | lemma next_leaves (h:s.Border a i)(he:i∈a):s.inputs a i=s.kids i:=by |
| 78 | ext j; rw [inputs,mem_filter,s.live_iff,s.related]; constructor |
| 79 | · rintro ⟨⟨hv,hV⟩,hu⟩; have he' : j≠ i:= fun h'=> hv (h'▸he); have hu' := h _ hV (hu.back he'); exact ⟨fun hz=> by rw [hz,s.direct] at hV; exact hv (hz ▸ hV),hu'⟩ |
| 80 | rintro ⟨hv,hp⟩; have hi : j≠i:= by rw [← hp]; exact s.not_parent j hv |
| 81 | have he':s.Anc i j:= hp ▸ Anc.step .. ; exact ⟨⟨fun hh=>hi (h j hh he'),hp ▸ he⟩,he'⟩ |
| 82 | lemma top_roots (s:Arboreal I)(a):s.inputs a s.root=s.live a:= by ext i; rw [inputs,mem_filter]; simp [s.closure] |
| 83 | end YM.OPE.Arboreal |