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.Nesting.Grove |
| 2 | |
| 3 | /-! Finite alternatives of actual words. Menu terms carry only scalar |
| 4 | amplitudes and physical homogeneous field labels in `S`, allowing the fields |
| 5 | themselves to be summed only after evaluating linear readouts/tests. No |
| 6 | algebra of colliding products. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.OPE.Nesting |
| 10 | open Orbits Orbits.Reader Function Filter Extraction Set Table |
| 11 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 12 | variable {G:Gauge}{B:Register G}{S:Table B} |
| 13 | variable {L I J:Type} |
| 14 | |
| 15 | def degrees (v:I→S.Tag)(i:I):ℕ :=(v i).1 |
| 16 | def voices (v:I→S.Tag):Labels S (degrees v):=fun i=>(v i).2 |
| 17 | def wages (v:I→S.Tag)(i:I):ℝ:=degrees v i |
| 18 | |
| 19 | def weightOf [Fintype I](v:I→S.Tag) := weight (degrees v) |
| 20 | |
| 21 | lemma weightOf_nonnegative [Fintype I] (v:I→S.Tag):0≤weightOf v:=by unfold weightOf weight; positivity |
| 22 | |
| 23 | structure Atom (S:Table B)(L:Type) where |
| 24 | Slot : Type |
| 25 | ft : Fintype Slot |
| 26 | place : L→Slot→E4 |
| 27 | tags : Slot→ S.Tag |
| 28 | amp : L→ℂ |
| 29 | instance atomFt {A:Atom S L}: Fintype A.Slot:=A.ft |
| 30 | |
| 31 | namespace Atom |
| 32 | variable (A:Atom S L) |
| 33 | |
| 34 | def cost := weightOf A.tags |
| 35 | |
| 36 | |
| 37 | def punctum (v:S.Tag)(c:L→ℂ)(o:L→E4):Atom S L where |
| 38 | Slot:=Unit |
| 39 | ft:=inferInstance |
| 40 | place i:=sole (o i) |
| 41 | tags _:=v |
| 42 | amp:=c |
| 43 | lemma punctum_cost {v:S.Tag}{c:L→ℂ}{o:L→E4}:cost (punctum v c o)=v.1 := by change (∑ _:Unit,(v.1:ℝ))=v.1; rw [Fintype.sum_unique] |
| 44 | |
| 45 | variable [Fintype J] |
| 46 | def splice (v:I→S.Tag)(w:J→S.Tag):I⊕J→S.Tag:= Sum.elim v w |
| 47 | lemma splice_weight [Fintype I] (v:I→S.Tag)(w:J→S.Tag):weightOf (splice v w) =weightOf v + weightOf w:=by |
| 48 | unfold weightOf weight; rw [Fintype.sum_sum_type]; rfl |
| 49 | |
| 50 | def duet [Fintype I] (T:Table B)(x:I→E4)(v:I→S.Tag)(y:J→E4)(w:J→S.Tag):ℂ:= whole T x (voices v) y (voices w) |
| 51 | lemma duet_moment [Fintype I] (T:Table B)(x:I→E4)(v:I→S.Tag)(y:J→E4)(w:J→S.Tag):duet T x v y w = moment T (beside x y) (voices (splice v w)) := by |
| 52 | unfold duet; rw [whole_observed,observed] |
| 53 | exact congr_arg _ (funext fun ij=> by cases ij <;> rfl) |
| 54 | |
| 55 | -- update result: HEq |
| 56 | |
| 57 | def sample (T:L→Table B) (y:L→J→E4)(w:J→S.Tag) (s:L):ℂ:= A.amp s * duet (T s) (A.place s) A.tags (y s) w |
| 58 | |
| 59 | local notation "ℛ" => Orbits.Reader |
| 60 | variable {X:S.Rotation}{ρ:S.RealSpin}{Q:DiffPlan S} |
| 61 | |
| 62 | def express [Fintype I] (R:ℛ Q X ρ) (m:ℕ)(h:R.channels m) (x:I→E4)(v:I→S.Tag) (o:E4):ℂ := R.coef m h x (voices v) o |
| 63 | lemma express_perm [Fintype I] (R:ℛ Q X ρ) (e:I ≃ J) (m:ℕ)(h:R.channels m) (x:J→E4)(v:J→ S.Tag) (o:E4) : express R m h (x ∘ e) (v ∘ e) o = express R m h x v o := by |
| 64 | unfold express Orbits.Reader.coef |
| 65 | refine congr_arg (fun z=> ((R.basis m).repr z) h) ?_ |
| 66 | apply Subtype.ext |
| 67 | exact R.fresh_perm m x o (voices v) e |
| 68 | lemma express_reindex [Fintype I] {x:I→E4}{z:J→E4}{v:I→S.Tag}{w:J→S.Tag}{o:E4} (R:ℛ Q X ρ) (e:I≃J)(h₁:x=z ∘ e)(h₂:v=w ∘ e) {m:ℕ}{h:R.channels m}: express R m h x v o = express R m h z w o := by rw [h₁,h₂,express_perm R e] |
| 69 | |
| 70 | def issue (R:ℛ Q X ρ) (m:ℕ)(h:R.channels m) (o:L→E4)(s:L):ℂ:= A.amp s * express R m h (A.place s) A.tags (o s) |
| 71 | |
| 72 | def bundle [Fintype I](A:I→Atom S L):Atom S L where |
| 73 | Slot:= Σ i,(A i).Slot |
| 74 | ft:= inferInstance |
| 75 | place s i:= (A i.1).place s i.2 |
| 76 | tags i:= (A i.1).tags i.2 |
| 77 | amp s:= ∏ i,(A i).amp s |
| 78 | lemma bundle_cost [Fintype I](A:I→Atom S L):cost (bundle A)= ∑ i:I, cost (A i):=by |
| 79 | unfold cost weightOf weight; change (∑ t:(Σ i,(A i).Slot),(_ : ℝ))= _ |
| 80 | rw [Fintype.sum_sigma]; rfl |
| 81 | end Atom |
| 82 | |
| 83 | structure Menu (S:Table B)(L:Type) where |
| 84 | Draw:Type |
| 85 | ft : Fintype Draw |
| 86 | pick: Draw→Atom S L |
| 87 | instance menuFt {A:Menu S L}:Fintype A.Draw:=A.ft |
| 88 | |
| 89 | namespace Menu |
| 90 | variable {X:S.Rotation}{ρ:S.RealSpin}{Q:DiffPlan S} |
| 91 | variable (A:Menu S L) |
| 92 | |
| 93 | variable [Fintype J] |
| 94 | def atView (T':L→Table B)(y:L→J→E4)(w:J→S.Tag)(s:L):ℂ:= ∑ h:A.Draw, (A.pick h).sample T' y w s |
| 95 | def charge (R:Reader Q X ρ)(m:ℕ)(h:R.channels m)(o:L→E4)(s:L):ℂ:=∑ q:A.Draw,(A.pick q).issue R m h o s |
| 96 | |
| 97 | def raw {t:Tree}(z:Tree.Envelope L t)(v:t.Leaf→S.Tag):Menu S L where |
| 98 | Draw:=Unit |
| 99 | ft := inferInstance |
| 100 | pick _ := {Slot:=t.Leaf,ft:=inferInstance,place:=fun i=> z i ∘ t.leafSeat,tags:=v,amp:=fun _=>1} |
| 101 | |
| 102 | -- extend all through given grade |
| 103 | abbrev Cut (R:Reader Q X ρ)(m:ℕ):= (j:Fin (m+1)) × R.channels j.val |
| 104 | |
| 105 | def through (R:Reader Q X ρ)(m:ℕ)(A:Atom S L)(o:L→E4):Menu S L where |
| 106 | Draw:= Cut R m |
| 107 | ft:= inferInstance |
| 108 | pick j:=Atom.punctum ⟨j.1.val, R.actor j.1.val j.2⟩ (A.issue R j.1.val j.2 o) o |
| 109 | |
| 110 | def fuse [ht:Fintype I](p:I→Menu S L): Menu S L where |
| 111 | Draw:= (i:I)→(p i).Draw |
| 112 | ft := inferInstance |
| 113 | pick c:= (Atom.bundle (fun j=>(p j).pick (c j))) |
| 114 | |
| 115 | lemma raw_bundle (n:ℕ)(f:Fin n→Tree)(z:Tree.Envelope L (Tree.fork n f))(v:(Tree.fork n f).Leaf→S.Tag) (c:(@fuse _ _ S L (Fin n) inferInstance (fun j=>raw (Tree.down j z) (Tree.childWages j v))).Draw)(T':L→Table B)(y:L→ J→ E4)(w:J→S.Tag)(s:L): |
| 116 | ((fuse (fun j=>raw (Tree.down j z) (Tree.childWages j v))).pick c).sample T' y w s=(raw z v).atView T' y w s:=by |
| 117 | unfold atView; change _ = ∑ u:Unit,((raw z v).pick u).sample T' y w s |
| 118 | rw [Fintype.sum_unique] |
| 119 | -- want congruent |
| 120 | simp only [fuse,raw,Atom.sample,Atom.bundle,Finset.prod_const_one,one_mul] |
| 121 | rfl |
| 122 | |
| 123 | lemma raw_view {t:Tree}(z:Tree.Envelope L t)(v:t.Leaf→ S.Tag)(T:L→Table B)(y:L→J→E4)(w:J→S.Tag)(s:L): |
| 124 | (Menu.raw z v).atView T y w s = Atom.duet (T s) (z s ∘ t.leafSeat) v (y s) w :=by |
| 125 | unfold atView; change (∑ _:Unit,(1:ℂ) * _) = _ -- ht unif |
| 126 | rw [Fintype.sum_unique]; exact one_mul _ |
| 127 | lemma raw_charge {t:Tree}(z:Tree.Envelope L t)(v:t.Leaf→ S.Tag)(R:Reader Q X ρ)(m:ℕ)(h:R.channels m) (o:L→E4)(s:L):(Menu.raw z v).charge R m h o s = Atom.express R m h (z s ∘ t.leafSeat) v (o s):=by |
| 128 | unfold charge; change (∑ _:Unit,(1:ℂ)*_)=_ |
| 129 | rw [Fintype.sum_unique]; exact one_mul _ |
| 130 | end Menu |
| 131 | |
| 132 | end YM.OPE.Nesting |