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.Ac.Table |
| 2 | import YM.Next.MULTISOURCE.Couple |
| 3 | import YM.Next.MULTISOURCE.Measure |
| 4 | import YM.Next.MULTISOURCE.Monomial |
| 5 | import YM.Next.MULTISOURCE.Touch |
| 6 | |
| 7 | |
| 8 | |
| 9 | /-! |
| 10 | # Read compressed *marked* packets |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Multi.Couples |
| 16 | open RG Wilson Lattice Finset Function Marker |
| 17 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 18 | variable {n : Side} {V : Type} [DecidableEq V] [Fintype V] (Y : V → Support n) {G : Gauge} |
| 19 | |
| 20 | -- Recipe for K marker in singleton terms at cutoff. Aggregated exactly on pack addresses. |
| 21 | def ballast (Y : Support n) (P : Rep G n) (C : Config G n → ℂ) (q : Pack n) (U : Config G n) := |
| 22 | if q.zone ∩ flags P.p.threshold U = q.flagsAt then C U * |
| 23 | ∑ s ∈ univ.filter (fun s : Finset (Pack n) => s.Nonempty ∧ (s:Set (Pack n)).PairwiseDisjoint Pack.zone ∧ |
| 24 | (∀ j∈s,¬ Disjoint Y j.zone) ∧ Y ∪ s.biUnion Pack.zone=q.zone ∧ s.biUnion Pack.flagsAt=q.flagsAt), |
| 25 | ∏ j∈s, incumbent P U j else 0 |
| 26 | |
| 27 | def trays (Y : V → Support n) (q : Pack n) := (boxes Y).filter fun a => fused Y a=q |
| 28 | |
| 29 | def master (P : Rep G n) (C : V → Config G n → ℂ) (U : Config G n) : Atom n V → ℂ := |
| 30 | Sum.elim (incumbent P U) (fun i => C i U) |
| 31 | |
| 32 | def track {R : Census V} (P : Rep G n) (C : V → Config G n → ℂ) (U : Config G n) : Atom n V → Poly R := |
| 33 | Sum.elim (fun i => Poly.send R.quiet (incumbent P U i)) (fun i => Poly.send (R.fire i) (C i U)) |
| 34 | |
| 35 | /-- Formula per particular collection of sources, NOT one coefficient per |
| 36 | configuration (and even singleton output retains the complete overlap). -/ |
| 37 | def payload (P : Rep G n) (C : V → Config G n → ℂ) (T : Finset V) (q : Pack n) (U : Config G n) := |
| 38 | ∑ j ∈ trays Y q with j.toRight=T, earning Y (flags P.p.threshold U) (master P C U) j |
| 39 | |
| 40 | lemma each_payload (P : Rep G n) (C : V → Config G n → ℂ) {R : Census V} (T : R.Mode) |
| 41 | (q : Pack n) (U : Config G n) : |
| 42 | (till Y (flags P.p.threshold U) (track P C U) q).part T = payload Y P C T.val q U := by |
| 43 | let F := track (R:=R) P C U |
| 44 | have he j : (earning Y (flags P.p.threshold U) F j).part T = |
| 45 | if j.toRight=T.val then earning Y (flags P.p.threshold U) (master P C U) j else 0 := by |
| 46 | unfold earning; split_ifs with h h' h' |
| 47 | · rw [split_product j, show (∏ i∈ j.toLeft,F (Sum.inl i)) = |
| 48 | Poly.bead R (∏ i∈j.toLeft, incumbent P U i) from (map_prod (Poly.bead R) ..).symm] |
| 49 | rw [Poly.product_bead, Poly.part_smul] |
| 50 | change _ * (∏ i ∈ j.toRight, Poly.send (R.fire i) (C i U)).part T=_ |
| 51 | rw [monomial, if_pos h'.symm, split_product j _]; rfl |
| 52 | · rw [split_product j, show (∏ i∈ j.toLeft,F (Sum.inl i)) = |
| 53 | Poly.bead R (∏ i∈j.toLeft, incumbent P U i) from (map_prod (Poly.bead R) ..).symm] |
| 54 | rw [Poly.product_bead, Poly.part_smul] |
| 55 | change _ * (∏ i ∈ j.toRight, Poly.send (R.fire i) (C i U)).part T=_ |
| 56 | rw [monomial, if_neg (Ne.symm h'), mul_zero] |
| 57 | all_goals rfl |
| 58 | unfold till; rw [Poly.part_sum]; unfold payload; conv_rhs => rw [Finset.sum_filter] |
| 59 | refine sum_congr ?_ (fun i _ => he i) |
| 60 | rfl |
| 61 | |
| 62 | lemma empty_payload (P : Rep G n) (C : V → Config G n → ℂ) |
| 63 | (q : Pack n) (U : Config G n) {δ κ : ℝ} (H : P.activities.Valid P.p δ κ) : |
| 64 | payload Y P C ∅ q U=incumbent P U q := by |
| 65 | let s : Recipe n V := {Sum.inl q} |
| 66 | have he : s∈boxes Y := alone Y q |
| 67 | have hf : fused Y s=q := fused_one .. |
| 68 | have hr : ground Y s=q.zone := (hf ▸ merged_zone Y he).symm |
| 69 | have ht : tags s=q.flagsAt := (hf ▸ merged_tags Y he).symm |
| 70 | unfold payload; rw [sum_eq_single s] |
| 71 | · rw [earning,hr,ht]; split <;> rename_i hi |
| 72 | · rw [prod_singleton]; rfl |
| 73 | by_contra h'; exact hi ((incumbent_legible P q H.forced).inventory U (Ne.symm h')) |
| 74 | · intro b hb hh; obtain ⟨hb, h'⟩ := mem_filter.mp hb |
| 75 | simp only [trays,mem_filter] at hb |
| 76 | exact False.elim (hh (purchase Y hb.1 hb.2 h')) |
| 77 | intro hj; refine False.elim (hj (mem_filter.mpr ⟨?_,?_⟩)) |
| 78 | · simp only [trays,mem_filter]; exact ⟨he,hf⟩ |
| 79 | ext; simp [s] |
| 80 | |
| 81 | lemma till_eq (P : Rep G n) (C : V → Config G n → ℂ) (R : Census V) |
| 82 | (q : Pack n) (U : Config G n) {δ κ : ℝ} (H : P.activities.Valid P.p δ κ) : |
| 83 | till Y (flags P.p.threshold U) (track P C U) q = Poly.send R.quiet (incumbent P U q)+ |
| 84 | lit R fun i => payload Y P C i.sites q U := by |
| 85 | ext i; rw [each_payload,Poly.part_plus]; by_cases h : i.val.Nonempty |
| 86 | · rw [Poly.part_send, if_neg (show i ≠ R.quiet from fun e => not_nonempty_empty (e ▸ h)), zero_add] |
| 87 | exact (part_lit (fun j => payload Y P C j.sites q U) (⟨i,h⟩ : Hot R)).symm |
| 88 | rw [show i=R.quiet from Subtype.ext (Finset.not_nonempty_iff_eq_empty.mp h),part_lit_quiet,add_zero, |
| 89 | Poly.part_send,if_pos rfl]; exact empty_payload Y _ _ _ U H |
| 90 | |
| 91 | omit [DecidableEq V] in |
| 92 | private lemma mark_host (j : Recipe n V) (q : Pack n) : j∈trays Y q ↔ j∈ boxes Y ∧ |
| 93 | ground Y j=q.zone ∧ tags j=q.flagsAt := by |
| 94 | simp only [trays,mem_filter]; constructor |
| 95 | · rintro ⟨h,hp⟩; exact ⟨h,(merged_zone Y h).symm.trans (congrArg Pack.zone hp), |
| 96 | (merged_tags Y h).symm.trans (congrArg Pack.flagsAt hp)⟩ |
| 97 | rintro ⟨h,hp,H⟩; exact ⟨h,Subtype.ext ((fused_eq Y h).trans (Prod.ext hp H))⟩ |
| 98 | |
| 99 | lemma single_payload (P : Rep G n) (C : V → Config G n → ℂ) (q : Pack n) (i : V) (U : Config G n) : |
| 100 | payload Y P C {i} q U = ballast (Y i) P (C i) q U := by |
| 101 | unfold ballast payload; split_ifs with h |
| 102 | · rw [Finset.mul_sum] |
| 103 | symm |
| 104 | refine Finset.sum_bij (fun a _ => Finset.disjSum a {i}) ?_ (fun a ha b hb H => |
| 105 | by simpa using congrArg Finset.toLeft H) ?_ ?_ |
| 106 | · intro a ha |
| 107 | obtain ⟨ht,ha,hH,he,hq⟩ := (mem_filter.mp ha).2 |
| 108 | refine mem_filter.mpr ⟨(mark_host ..).mpr ⟨(plus_box Y i a).mpr ⟨ht,ha,hH⟩, |
| 109 | (plus_span ..).trans he,?_⟩, toRight_disjSum⟩ |
| 110 | unfold tags; rw [toLeft_disjSum]; exact hq |
| 111 | · intro b hb |
| 112 | obtain ⟨hb,H⟩ := mem_filter.mp hb |
| 113 | obtain ⟨hs,hb,hc⟩ := (mark_host ..).mp hb |
| 114 | have he : b.toLeft.disjSum {i}=b := by rw [← H]; exact parts_word _ |
| 115 | obtain ⟨hq,hq',hr⟩ := (plus_box Y i b.toLeft).mp (by rwa [he]) |
| 116 | refine ⟨b.toLeft,mem_filter.mpr ⟨mem_univ _,hq,hq',hr,?_,hc⟩,he⟩ |
| 117 | rw [← plus_span,he,hb] |
| 118 | intro a ha |
| 119 | obtain ⟨hb,H⟩ := mem_filter.mp ha |
| 120 | unfold earning; rw [if_pos (by rw [plus_span,H.2.2.2.1, tags,toLeft_disjSum,H.2.2.2.2]; exact h)] |
| 121 | rw [prod_disjSum,prod_singleton,mul_comm]; rfl |
| 122 | apply sum_eq_zero; intro a ha; obtain ⟨_,hb,hc⟩ := (mark_host ..).mp (mem_filter.mp ha).1 |
| 123 | unfold earning; rw [if_neg (by rw [hb,hc]; exact h)] |
| 124 | end YM.Multi.Couples |