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.Fission |
| 2 | |
| 3 | /-! |
| 4 | # Finitely many changes of precision |
| 5 | |
| 6 | At the step replacing branch j, the requested precision may pay ALL the |
| 7 | labels and amplitudes elsewhere in that comparison. Preceding substitutes |
| 8 | have already been chosen, but later, possibly much bigger auxiliary horizons |
| 9 | have not; only finite tasks are requested. No array has simultaneously all |
| 10 | horizons or asks one to grow with inverse lattice spacing. This calculus |
| 11 | expresses comparisons of exact limit-hierarchy readings (where a nonlinear |
| 12 | change of the model wouldn't suffice). |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.OPE.Nesting |
| 17 | open Orbits Orbits.Reader Function Filter Extraction Set Table Tree Measures Menu Atom |
| 18 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 19 | variable {G:Gauge}{B:Register G}{S:Table B}{L I J:Type} |
| 20 | |
| 21 | /-- One family of terms is safe on a subset of the displayed locations. We |
| 22 | require an upper exponential price for the AMPLITUDES; this need not be zero |
| 23 | and instead can be charged before the next branch horizon is to be chosen. -/ |
| 24 | def Eligible (l:Filter L)(T:L→ℝ)(z:L→I→E4)(b:ℝ)(A:Menu S L) : Prop := |
| 25 | ∀ c:A.Draw, (∃ f, (A.pick c).place=fun i=> z i ∘ f) ∧ Kept l T b (A.pick c).place ∧ ∃ r:ℝ, RateLE l T (A.pick c).amp r |
| 26 | variable {l:Filter L}{T:L→ℝ} |
| 27 | variable {n:ℕ}{f:Fin n→Tree}{a:ℝ}{ν:(fork n f).Inner→ℝ}{z:Envelope L (fork n f)} |
| 28 | variable {u b:ℝ} |
| 29 | |
| 30 | lemma interval_plenum [Fintype I](A:I→Atom S L){y:L→J→E4}(h:∀ j, Intervals l T b (A j).place y): Intervals l T b (Atom.bundle A).place y:=by |
| 31 | intro c hc; exact (eventually_all.mpr (fun (s:I)=> h s c hc)).mono fun i hi v k=>hi (show I from v.fst) v.snd k |
| 32 | |
| 33 | include a |
| 34 | set_option maxHeartbeats 1000000 in |
| 35 | lemma Eligible.products [Fintype I] {σ:I→Fin n} (P:I→Menu S L) (hσ:Injective σ) (hT:Tendsto T l atTop) |
| 36 | (h:∀ j,Eligible l T (down (σ j) z) b (P j)) (hb:((fork n f).topAge a ν) ≤ b) (hs:Regular l T (fork n f) a ν z): Eligible l T z b (fuse P):=by |
| 37 | intro v |
| 38 | choose α hα using (fun j=>(h j (v j)).1) |
| 39 | choose γ hγ using (fun j=>(h j (v j)).2.2) |
| 40 | refine ⟨⟨fun q=>(.inr ⟨σ q.fst,α q.fst q.snd⟩:(fork n f).Positions),?_⟩,?_,⟨∑ i,γ i,RateLE.prod hT (fun j _=>hγ j)⟩⟩ |
| 41 | · funext s q; rcases q with ⟨j,q⟩; exact congr_fun (congr_fun (hα j) s) q |
| 42 | change Kept l T b (fun i (j:Σ k,((P k).pick (v k)).Slot)=>_) -- inference |
| 43 | refine kept_sigma (I:=I) (p:=fun k=>((P k).pick (v k)).Slot) (m:=fun k=> ((P k).pick (v k)).place) (fun j=>(h j (v j)).2.1) (fun i j hj=>?_) |
| 44 | rw [hα i,hα j]; exact interval_comp (hs.buffer (σ i) (σ j) (hσ.ne hj) |>.mono hb) (α i) (α j) |
| 45 | lemma Eligible.rested (P:Fin n→Menu S L)(i:Fin n) (hT:Tendsto T l atTop) (h:∀ j,Eligible l T (down j z) b (P j)) (hb:((fork n f).topAge a ν) ≤ b) (hs:Regular l T (fork n f) a ν z) : Eligible l T z b (rest P i):=by |
| 46 | refine Eq.mpr ?_ (Eligible.products (ν:=ν) (b:=b) (fun j:RestIndex i=>P j.val) Subtype.val_injective hT (fun j=>h j.val) hb hs) |
| 47 | unfold rest; congr 2; exact Subsingleton.elim .. |
| 48 | omit a |
| 49 | lemma Eligible.roomAcross [Fintype J] {z:L→I→E4}{P:Menu S L}(h:Eligible l T z b P) (c:P.Draw){y:L→J→E4}(hx:Intervals l T u z y)(hf:Kept l T b y)(hu:u≤b): ∀ᶠ i in l,Injective (beside ((P.pick c).place i) (y i)):= interval_inject (h c).2.1 hf (by obtain ⟨α,hα⟩:=(h c).1; rw [hα]; exact interval_comp hx α id) hu |
| 50 | |
| 51 | variable {G:Gauge}{C:Family G}{S:Table C.book}{F:Order}(U:Spec.Final C F S) |
| 52 | variable {T:L→ℝ} |
| 53 | |
| 54 | /-- Weak agreement at assigned exponential precision, against EVERY fixed |
| 55 | choice of exterior labels across arbitrary admissible viewer and location |
| 56 | paths of the given rates. Nontrivial statement provided by complete kernel |
| 57 | estimates after limiting. Doesn't require discovery of the coefficients from |
| 58 | these tests. -/ |
| 59 | def Agrees (l:Filter L)(T:L→ℝ)(z:L→I→E4)(u b W γ:ℝ)(A A':Menu S L):Prop:= |
| 60 | ∀ {J:Type}[Fintype J](w:J→S.Tag)(y:L→J→E4)(r:L→Viewers U), weightOf w ≤ W → Intervals l T u z y → Kept l T b y → RateLE l T (fun i=>A.atView (spectator U ∘ r) y w i - A'.atView (spectator U ∘ r) y w i) γ |
| 61 | variable {W r γ:ℝ}{A B' D:Menu S L}{o:L→I→E4} |
| 62 | omit a |
| 63 | lemma Agrees.self : Agrees U l T o u b W r A A:=by intros J _ w y z _ _ _; simp only [sub_self]; exact RateLE.zero (X:=ℂ) l T r |
| 64 | lemma Agrees.then (hT:Tendsto T l atTop)(h:Agrees U l T o u b W r A B')(h':Agrees U l T o u b W r B' D):Agrees U l T o u b W r A D :=fun w y z p q he=> ((h w y z p q he).add (h' w y z p q he) hT).congr (Eventually.of_forall fun _=> sub_add_sub_cancel ..) |
| 65 | lemma Agrees.mono (h:Agrees U l T o u b W r A B') {W' :ℝ}(h₁:W'≤W)(h₂:r≤γ):Agrees U l T o u b W' γ A B':=fun w y z he hi hk=>h w y z (he.trans h₁) hi hk |>.mono h₂ |
| 66 | include a |
| 67 | set_option maxHeartbeats 600000 in |
| 68 | lemma change_one {i:Fin n}(P P':Fin n→Menu S L)(h_eq: rest P i = rest P' i)(hg:Regular l T (fork n f) a ν z)(hb:((fork n f).topAge a ν) ≤ b)(hT:Tendsto T l atTop)(h:∀ j,Eligible l T (down j z) b (P j))(h':∀ j,Eligible l T (down j z) b (P' j)) |
| 69 | (h_use:∀ (q:(Menu.rest P i).Draw),∃ ζ:ℝ, RateLE l T ((rest P i).pick q).amp ζ ∧ Agrees U l T (down i z) ((fork n f).topAge a ν) b (W+ ((rest P i).pick q).cost) (r-ζ) (P i) (P' i)): |
| 70 | Agrees U l T z ((fork n f).topAge a ν) b W r (fuse P) (fuse P') :=by |
| 71 | intro J _ w y s p q he |
| 72 | have h₁:= Eligible.products (σ:=id) P injective_id hT h hb hg; have h₂:= Eligible.products (σ:=id) P' injective_id hT h' hb hg |
| 73 | let Z:= (rest P i).pick; let g (A:Menu S L) (q:(rest P i).Draw)(s':L) := taxi (Z q) (spectator U ∘ s) A y w s' |
| 74 | refine (RateLE.sum (S:=Finset.univ) (a:=r) (f:=fun k t=>g (P i) k t - g (P' i) k t) hT (fun k _=>?_)).congr ?_ |
| 75 | swap -- reconstruct from fission |
| 76 | · filter_upwards [eventually_all.mpr (fun c=>h₁.roomAcross c q he hb),eventually_all.mpr (fun c=>h₂.roomAcross c q he hb)] with d he he' |
| 77 | change ∑ k,(g (P i) k d-g (P' i) k d) = _ - _ |
| 78 | rw [Finset.sum_sub_distrib]; exact congr_arg₂ (·-·) (taxi_formula P (spectator U ∘ s) i y w d (spectate U (s d)) he _ rfl).symm (taxi_formula P' (spectator U ∘ s) i y w d (spectate U (s d)) he' _ h_eq.symm).symm |
| 79 | let y' (l:L):=beside ((Z k).place l) (y l); let w':= splice (Z k).tags w |
| 80 | obtain ⟨ζ,hζ,hj⟩:= h_use k |
| 81 | rw [show r=r-ζ+ζ from (sub_add_cancel ..).symm] |
| 82 | refine ((hj w' y' s (by rw [splice_weight]; exact add_le_add le_rfl p |>.trans (add_comm ..|>.le)) ?_ ?_).mul hζ).congr (Eventually.of_forall fun t=> sub_mul ..) |
| 83 | · apply Intervals.swap (pair_intervals ?_ (Intervals.swap (interval_comp q (fun t=>Sum.inr ⟨i,t⟩) id))) |
| 84 | refine interval_plenum (fun j=>(P j.val).pick (k j)) (fun j=>?_) |
| 85 | obtain ⟨φ,hφ⟩:= (h j.val (k j)).1; rw [hφ]; exact interval_comp (hg.buffer j.val i j.prop) φ id |
| 86 | let g' : Eligible l T z b (rest P i):= Eligible.rested P i hT h hb hg |
| 87 | exact ((g' k).2.1.chorus he (by obtain ⟨φ,hφ⟩:= (g' k).1; rw [hφ]; exact interval_comp (q.mono hb) φ id)) |
| 88 | omit a |
| 89 | lemma enough {Z:Menu S L} {o:L→I→E4} (h:Eligible l T o b Z): ∃ W' γ:ℝ, ∀ k:Z.Draw, ∃ ζ:ℝ, RateLE l T ((Z.pick k).amp) ζ ∧ (Z.pick k).cost + W ≤ W' ∧ γ≤r-ζ :=by |
| 90 | obtain ⟨W',hw'⟩:= (Set.finite_range (fun k=>(Z.pick k).cost+W)).bddAbove |
| 91 | choose z hz using fun k=>(h k).2.2 |
| 92 | obtain ⟨R,hR⟩:= (Set.finite_range z).bddAbove |
| 93 | exact ⟨W',r-R,fun k=> ⟨z k, hz k, hw' (mem_range_self _), sub_le_sub_left (hR (mem_range_self _)) _⟩⟩ |
| 94 | include a |
| 95 | lemma sequential (P:Fin n→Menu S L)(good:(i:Fin n)→Menu S L→Prop) |
| 96 | (hg:Regular l T (fork n f) a ν z)(hb:((fork n f).topAge a ν) ≤ b)(hT:Tendsto T l atTop)(h:∀ j,Eligible l T (down j z) b (P j)) |
| 97 | (h_pick : ∀ j W' r', ∃ B:Menu S L,good j B ∧ Eligible l T (down j z) b B ∧ Agrees U l T (down j z) ((fork n f).topAge a ν) b W' r' (P j) B) : |
| 98 | ∃ P':Fin n→Menu S L, (∀ j,good j (P' j)) ∧ Agrees U l T z ((fork n f).topAge a ν) b W r (fuse P) (fuse P') :=by |
| 99 | let p:= (fork n f).topAge a ν |
| 100 | have hell(s:Finset (Fin n)): ∃ P',Agrees U l T z p b W r (fuse P) (fuse P') ∧ (∀ j∈s, good j (P' j)) ∧ (∀ j,j∉s→P j=P' j) ∧ ∀ j, Eligible l T (down j z) b (P' j) :=by |
| 101 | induction s using Finset.induction_on with |
| 102 | | empty=>exact ⟨P,Agrees.self U,fun j h=> (Finset.notMem_empty _ h).elim,fun _ _=> rfl,h⟩ |
| 103 | | insert i s h_i hs => |
| 104 | obtain ⟨P',h',hf,eq,hgP⟩ := hs; let Z:= Menu.rest P' i |
| 105 | obtain ⟨W',r',hZ⟩:= enough (Z:=Z) (W:=W) (r:=r) (Eligible.rested P' i hT hgP hb hg) |
| 106 | obtain ⟨B,he,hE,hi⟩:= h_pick i W' r'; rw [eq i h_i] at hi |
| 107 | let Q (j:Fin n):= if j=i then B else P' j |
| 108 | have hV:∀j,Eligible l T (down j z) b (Q j):=by intro j; unfold Q; split_ifs with hh; subst j; exact hE; exact hgP j |
| 109 | refine ⟨Q,Agrees.then U hT (by exact h') (change_one U (i:=i) P' Q ?_ hg hb hT hgP hV ?_), ?_,?_,hV⟩ |
| 110 | · exact rest_eq i (fun j h=>by simp [Q,h]) |
| 111 | · intro k; rw [show Q i=B from if_pos rfl] |
| 112 | obtain ⟨ζ,hz,he₁,he₂⟩:= hZ k; exact ⟨ζ,hz,Agrees.mono U (by exact hi) ((add_comm ..).le.trans he₁) he₂⟩ |
| 113 | · simp_rw [Finset.mem_insert]; rintro j (rfl|hj); · simpa [Q] using he |
| 114 | have hh : j≠i:= fun h=> h_i (h ▸ hj); simpa [Q,hh] using hf j hj |
| 115 | intro j h; obtain ⟨hh,hj⟩:= not_or.mp (show ¬(j=i∨j∈s) from by simpa using h); simpa only [Q,if_neg hh] using (eq j hj) |
| 116 | obtain ⟨P',h',hG,hH,ht⟩:=hell Finset.univ |
| 117 | exact ⟨P', fun j=>hG j (Finset.mem_univ _), h'⟩ |
| 118 | end YM.OPE.Nesting |