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.MergeProof.Temper |
| 2 | import YM.Next.MULTISOURCE.Formal |
| 3 | /-! |
| 4 | # Root alternatives on the physical marker polynomial |
| 5 | |
| 6 | Contravariant license for forgetting an ancestor: every nonzero image |
| 7 | of a potential word (including precisely its square-zero condition) had |
| 8 | BETTER be legal upstairs. In particular this won't reopen pair exclusions |
| 9 | between siblings without another argument. `feed` absorbs explicit per-mark |
| 10 | weights, such as engineering, signs on exceptions, or native test payments; |
| 11 | no hidden marker factorial. Tows carry support prices across such a license. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.RG05Readout.Many |
| 16 | open Function Finset Filter MeasureTheory Set |
| 17 | open Marker MergeProof Accent Extra Multi |
| 18 | open scoped Topology BigOperators Classical ContDiff Matrix.Norms.Frobenius |
| 19 | variable {V W I J : Type*}[DecidableEq V][DecidableEq W] |
| 20 | variable {B:Census V}{C:Census W}{δ:V→W} |
| 21 | |
| 22 | def Lit (C:Census W)(δ:V→W)(i:Finset V) : Prop := i.image δ∈ C.choices∧ Set.InjOn δ (i:Set V) |
| 23 | def License (C:Census W)(B:Census V) (δ:V→W):Prop:= ∀ i:Finset V,Lit C δ i→i∈ B.choices |
| 24 | omit [DecidableEq V] in |
| 25 | lemma dark_empty : Lit C δ (∅: Finset V) :=by simp [Lit,C.blank] |
| 26 | omit [DecidableEq V] in |
| 27 | lemma dark_one (i : V) : Lit C δ {i}:=by simp [Lit,C.solo] |
| 28 | omit [DecidableEq V] in |
| 29 | lemma Lit.down {x z:Finset V} (h:Lit C δ x)(hy:z⊆ x) : Lit C δ z:=⟨C.down h.1 _ (Finset.image_mono _ hy),h.2.mono hy⟩ |
| 30 | def Lit.climb {x:Finset V}(h:Lit C δ x) : C.Mode:= ⟨x.image δ,h.1⟩ |
| 31 | lemma Lit.together {x y z:B.Mode} (hx:Lit C δ x.val)(hy:Lit C δ y.val)(hz:Lit C δ z.val)(hi:Poly.merges x y z):Poly.merges hx.climb hy.climb hz.climb:=by |
| 32 | obtain ⟨ha,hb⟩:= hi |
| 33 | refine ⟨Finset.disjoint_left.mpr ?_,by dsimp only [Lit.climb]; rw [← hb,Finset.image_union]⟩ |
| 34 | intro i hj hk; obtain ⟨j,hj,hJ⟩:= mem_image.mp hj; obtain ⟨k,hk,hK⟩:= mem_image.mp hk |
| 35 | exact Finset.disjoint_left.mp ha (show k ∈ x.val from hz.2 (hb ▸ mem_union_left _ hj) (hb ▸ mem_union_right _ hk) (hJ.trans hK.symm) ▸ hj) hk |
| 36 | lemma Lit.pooled {x y:Finset V}{w:C.Mode} (hx:Lit C δ x)(hy:Lit C δ y)(hi:Poly.merges hx.climb hy.climb w): Lit C δ (x∪y) :=by |
| 37 | obtain ⟨hd,hb⟩:= hi; refine ⟨?_,?_⟩ |
| 38 | · dsimp only[Lit.climb] at hb; rw [Finset.image_union,hb]; exact w.property |
| 39 | have he(i j:V)(h1:i∈x)(h2:j∈y):δ i≠ δ j:=fun h=> Finset.disjoint_left.mp hd (show δ j∈hx.climb.val from h ▸ mem_image_of_mem δ h1) (mem_image_of_mem _ h2) |
| 40 | intro i h j h' ha; rcases Finset.mem_union.mp h with h|h <;> rcases mem_union.mp h' with h'|h' |
| 41 | · exact hx.2 h h' ha |
| 42 | · exact False.elim (he i j h h' ha) |
| 43 | · exact False.elim (he j i h' h ha.symm) |
| 44 | exact hy.2 h h' ha |
| 45 | lemma License.retain (he:License C B δ) {x y:B.Mode}{w:C.Mode} (hx:Lit C δ x.val)(hy:Lit C δ y.val)(hi:Poly.merges hx.climb hy.climb w): ∃ z, Poly.merges x y z:=by |
| 46 | refine ⟨⟨_,he _ (hx.pooled hy hi)⟩,Finset.disjoint_left.mpr ?_,rfl⟩ |
| 47 | intro i hj hk; exact Finset.disjoint_left.mp hi.1 (mem_image_of_mem δ hj) (mem_image_of_mem _ hk) |
| 48 | omit [DecidableEq V] in |
| 49 | lemma Lit.keep_count {x: Finset V}(h:Lit C δ x):h.climb.val.card=x.card:=Finset.card_image_of_injOn h.2 |
| 50 | |
| 51 | section |
| 52 | variable (B C δ) |
| 53 | def move (i:B.Mode)(c:ℂ) : Poly C:= if h:Lit C δ i.val then Poly.send h.climb c else 0 |
| 54 | lemma move_add (i:B.Mode)(c t:ℂ):move B C δ i (c+t)=move B C δ i c + move B C δ i t:=by by_cases he:Lit C δ i.val <;> simp [move,he,YM.Multi.send_add] |
| 55 | lemma move_scale (i:B.Mode)(c t:ℂ):move B C δ i (c*t)=c • move B C δ i t:=by by_cases he:Lit C δ i.val <;> simp [move,he,YM.Multi.send_scale] |
| 56 | def moveL : Poly B →ₗ[ℂ] Poly C where |
| 57 | toFun a:=∑ i, move B C δ i (a.part i) |
| 58 | map_add' a b:=by simp only[Poly.part_plus,move_add,Finset.sum_add_distrib] |
| 59 | map_smul' r a:=by simp only[Poly.part_smul,move_scale,Finset.smul_sum,RingHom.id_apply] |
| 60 | lemma moveL_one (i:B.Mode)(c:ℂ) : moveL B C δ (Poly.send i c)=move B C δ i c:=by |
| 61 | unfold moveL; simp only [LinearMap.coe_mk,AddHom.coe_mk]; rw [sum_eq_single i]; simp |
| 62 | · intro j _ h; by_cases he:Lit C δ j.val <;> simp [move,he,h] |
| 63 | simp |
| 64 | end |
| 65 | |
| 66 | variable (a:V→ℂ) |
| 67 | def forget (h:License C B δ) : Poly B →ₐ[ℂ] Poly C:= by |
| 68 | refine AlgHom.ofLinearMap (moveL B C δ) ?_ ?_ |
| 69 | · change moveL B C δ (Poly.send B.quiet 1)=Poly.send C.quiet 1 |
| 70 | rw [moveL_one,move,dif_pos (show Lit C δ B.quiet.val from dark_empty)]; congr 1 |
| 71 | have hp (x y : B.Mode)(s t:ℂ): moveL B C δ (Poly.send x s*Poly.send y t)=moveL B C δ (Poly.send x s)*moveL B C δ (Poly.send y t):=by |
| 72 | rw [moveL_one,moveL_one]; by_cases ht:∃ z,Poly.merges x y z |
| 73 | · obtain ⟨z,hz⟩:=ht; rw [YM.Multi.send_prod hz, moveL_one]; unfold move |
| 74 | by_cases hh : Lit C δ z.val |
| 75 | · have hv := hz.2; have hx:Lit C δ x.val:=hh.down (hv ▸ subset_union_left); have hy:Lit C δ y.val:=hh.down (hv ▸ subset_union_right); rw [dif_pos hh,dif_pos hx,dif_pos hy,YM.Multi.send_prod (hx.together hy hh hz)] |
| 76 | rw [dif_neg hh]; by_cases hx:Lit C δ x.val; by_cases hy:Lit C δ y.val |
| 77 | · rw [dif_pos hx,dif_pos hy,YM.Multi.send_noProd ?_]; exact fun ⟨u,h⟩=> hh (hz.2 ▸ (hx.pooled hy h)) |
| 78 | · rw [dif_neg hy,mul_zero] |
| 79 | rw [dif_neg hx,zero_mul] |
| 80 | rw [YM.Multi.send_noProd ht, map_zero]; unfold move |
| 81 | split |
| 82 | next h'=> split; next hy=> rw [YM.Multi.send_noProd ?_]; rintro ⟨z,hi⟩; exact ht (License.retain h h' hy hi) |
| 83 | next=> rw [mul_zero] |
| 84 | next=> rw [zero_mul] |
| 85 | intro x y; rw [← Poly.studs x, ← Poly.studs y]; simp_rw [Finset.sum_mul,Finset.mul_sum,map_sum,hp,Finset.sum_mul,Finset.mul_sum] |
| 86 | |
| 87 | def feed (h:License C B δ) := (forget h).comp (YM.Multi.dilation B a) |
| 88 | lemma mouth (h:License C B δ)(x:B.Mode) (c:ℂ):feed a h (Poly.send x c)=move B C δ x ((∏ i∈x.val, a i)*c) :=by |
| 89 | change moveL B C δ (YM.Multi.dilation B a (Poly.send x c))=_; rw [YM.Multi.dilation_send,moveL_one] -- check |
| 90 | lemma parts_of_feed (h:License C B δ)(p:Poly B)(x:C.Mode): |
| 91 | (feed a h p).part x= ∑ i:B.Mode,(move B C δ i ((∏ j∈i.val, a j)*p.part i)).part x:=by |
| 92 | conv_lhs=> rw [← Poly.studs p,map_sum,Poly.part_sum] |
| 93 | simp_rw [mouth] |
| 94 | lemma feed_fire (h:License C B δ)(i:V)(x:ℂ) : feed a h (Poly.send (B.fire i) x)= Poly.send (C.fire (δ i)) (a i*x):=by |
| 95 | rw [mouth,move,dif_pos (show Lit C δ (B.fire i).val from dark_one i)]; simp [Lit.climb,Census.fire] |
| 96 | lemma feed_quiet (h:License C B δ)(p:Poly B):(feed a h p).part C.quiet=p.part B.quiet:=by |
| 97 | rw [parts_of_feed,Finset.sum_eq_single B.quiet,move,dif_pos (show Lit C δ B.quiet.val from dark_empty)]; simp [Census.quiet,Lit.climb] |
| 98 | · intro i _ he; unfold move; split |
| 99 | next ht => rw [Poly.part_send,if_neg ?_]; exact fun h' => he (Subtype.ext (by simpa only [Lit.climb,Census.quiet,Finset.image_eq_empty] using congr_arg Subtype.val h'.symm)) |
| 100 | next=>rfl |
| 101 | simp |
| 102 | section |
| 103 | variable [Fintype V][Fintype W] |
| 104 | lemma feed_mach (h:License C B δ)(p:V→ℂ): feed a h (Mach B p)= Mach C (fun j=>∑ i:V,if δ i=j then a i*p i else 0):=by |
| 105 | ext j; unfold Mach; rw [map_sum]; simp_rw [feed_fire] |
| 106 | all_goals |
| 107 | by_cases hf:∃ i:W,C.fire i=j |
| 108 | · obtain ⟨i,rfl⟩:=hf |
| 109 | simp [Poly.part_sum,eq_comm] |
| 110 | simp [Poly.part_sum,Poly.part_send,show ∀ i, j ≠ C.fire i from fun i e=>hf ⟨i,e.symm⟩] |
| 111 | end |
| 112 | end YM.RG05Readout.Many |