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.Shoot.Race |
| 2 | import YM.PCalc.Loop |
| 3 | |
| 4 | /-! |
| 5 | # Adapters to actual T stack (ADJ branch, uninhabited inputs possible) |
| 6 | |
| 7 | Strengths beyond endpoint used as sufficient criteria for later developments; |
| 8 | specialize estimates to one history of any given cutoff and its continuations |
| 9 | only. `Directed.a` fixes exactly Levels. `Prog` candidate ties α used in |
| 10 | reset to determinant gate, not arbitrarily redistributing β per p. Any |
| 11 | additional scratch data/tests needed for eligibility during steps and later |
| 12 | IR/matching can be stored in retainers. Record which trajectory produced B. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Input |
| 18 | open Lattice Wilson RG Precision Shoot Supply |
| 19 | open Filter MeasureTheory |
| 20 | open scoped Matrix.Norms.Frobenius BigOperators Topology |
| 21 | |
| 22 | variable {G : Gauge} {C : Sheet G} {D : Rolls C} {Θ : Protection D} {W : Delays Θ} {Y : Bar W} {I : Wait Y} |
| 23 | |
| 24 | /-- dependent pass-through code, build even for m=0. Every return estimator |
| 25 | must hold for the same B/B' chosen. -/ |
| 26 | structure Directed (G : Gauge) {C : Sheet G} {D : Rolls C} {Θ : Protection D} {W : Delays Θ} {Y : Bar W} (I : Wait Y) |
| 27 | (Z : ChartRatio G) (K : MapPrices) (P : PostCost D) where |
| 28 | a : Levels G |
| 29 | valid : Paid I a |
| 30 | ratio : LocalRatio Z |
| 31 | M : Horizon a |
| 32 | kin : Kin M Z |
| 33 | plan : M.Suffices K |
| 34 | support : kin.Planned P |
| 35 | bake : Recipe a |
| 36 | bases : bake.path=kin.path |
| 37 | |
| 38 | variable {Z : ChartRatio G} {K : MapPrices} {P : PostCost D} |
| 39 | |
| 40 | namespace Directed |
| 41 | variable (B : Directed G I Z K P) |
| 42 | |
| 43 | /-- Coupling reset associated to same paths and map. |
| 44 | |
| 45 | Use actual reference coupling claim reconstructed here after |
| 46 | band comparability in positive lane. |
| 47 | |
| 48 | No drift until using determinant sign. -/ |
| 49 | structure Move (N m p) (u : Rep G (B.a.S.side m p)) (v : Rep G (B.a.S.side (m+1) p)) : Prop where |
| 50 | ident : u.eval=(B.a.clock.op m p).push v.beta v.eval |
| 51 | step : B.bake.next N m p u v |
| 52 | bundle : Lives B.bake N m p u |
| 53 | forced : |
| 54 | u.activities.KBound u.p (Real.exp (-(P.g (B.a.clock.J (m+1)))*(B.a.clock.monitor (m+1))^2)) |
| 55 | δ : |u.beta-v.beta-B.kin.alpha N m| ≤ 1 |
| 56 | |
| 57 | lemma links {N m p} (hk : m<N) {u v} (h : Move B N m p u v) : B.bake.Relays N m p u v := by |
| 58 | refine ⟨h.ident,?_,h.step⟩ |
| 59 | obtain ⟨h₁,h₂⟩ := abs_le.mp h.δ |
| 60 | have he := B.support.kinetic N m hk |
| 61 | apply abs_le.mpr |
| 62 | obtain ⟨ht,hi⟩ := (abs_le.mp <| le_sub_iff_add_le.mpr he) |
| 63 | constructor <;> linarith |
| 64 | |
| 65 | structure Program (B : Directed G I Z K P) : Prop where |
| 66 | begins N p : ∃ F, Curve (B.a.budget N) (n:=B.a.S.side N p) F (band B.a N) ∧ |
| 67 | ∀ β∈band B.a N,(F β).beta=β ∧ Lives B.bake N N p (F β) ∧ B.bake.Starter N p (F β) |
| 68 | advances N p (m : ℕ) : m < N → |
| 69 | ∀ l u : ℝ, l ≤ u → ∀ Q, Curve (B.a.budget (m+1)) Q (Set.Icc l u) → |
| 70 | (∀ x∈ Set.Icc l u, Lives B.bake N (m+1) p (Q x) ∧ (Q x).beta ∈ band B.a (m+1)) → |
| 71 | ∃ T, Curve (B.a.budget m) T (Set.Icc l u) ∧ |
| 72 | ∀ x∈ Set.Icc l u,B.Move N m p (T x) (Q x) |
| 73 | |
| 74 | lemma supplies (h : B.Program) (N p : ℕ) : B.bake.Issues N p := by |
| 75 | refine ⟨h.begins N p,fun m hk l v hu Q hw hx => ?_⟩ |
| 76 | obtain ⟨E,e,he⟩ := h.advances N p m hk l v hu Q hw hx |
| 77 | exact ⟨E,e,fun x hj => ⟨(he _ hj).bundle,B.links hk (he x hj)⟩⟩ |
| 78 | |
| 79 | /-- If also need EXTRA outputs Move.forced/δ retained, set `bake.next` |
| 80 | to include those! Here ready for next consumers of Stays. -/ |
| 81 | lemma actually (hG : G.Simple) (h : B.Program) : ∃ T, B.bake.Stays T ∧ (B.bake.make T).Selected ∧ |
| 82 | ∀ N m p, m≤N → Attached (B.M.H N m) (((B.bake.make T).rep N p m).path) := by |
| 83 | obtain ⟨T,HT,H⟩ := B.bake.races hG (B.supplies h) (Drifting.pay B.valid) |
| 84 | refine ⟨T,HT,H,fun N m p hm ↦ ?_⟩ |
| 85 | have he := ((HT N p).prices m (Nat.zero_le _) hm).1.path |
| 86 | change Attached _ (T N p m).path |
| 87 | rw [he,B.bases]; exact B.support.links N m hm |
| 88 | /-- Build a history *retaining* the actual Move tickets (δ from the |
| 89 | kinetic reset on THIS Kin, and stronger exp at forcing) as well as |
| 90 | the initially exposed bake.stays tests. Need no assumption on what |
| 91 | choices the spatial history carries at unrelated periods. -/ |
| 92 | theorem holding (hG : G.Simple) (h : B.Program) : ∃ T, B.bake.Stays T ∧ |
| 93 | (B.bake.make T).Selected ∧ ∀ N m p, m<N → B.Move N m p (T N p m) (T N p (m+1)) := by |
| 94 | let R := { B.bake with next := fun N m p u v => B.Move N m p u v } |
| 95 | have hp N p u : Lives R N N p u ↔ Lives B.bake N N p u := by |
| 96 | constructor <;> rintro ⟨A,X,C,T,Z⟩ <;> exact ⟨A,X,C,T,Z⟩ |
| 97 | have hv n m p u : Lives R n m p u ↔ Lives B.bake n m p u := by |
| 98 | constructor <;> rintro ⟨A,X,C,T,Z⟩ <;> exact ⟨A,X,C,T,Z⟩ |
| 99 | have hh N p : R.Issues N p := by |
| 100 | constructor |
| 101 | · obtain ⟨u,H,U⟩ := h.begins N p |
| 102 | refine ⟨u,H,fun t ht ↦ ?_⟩ |
| 103 | obtain ⟨a,b,c,d,y⟩ := U t ht |
| 104 | exact ⟨a,(hp ..).2 b,c,d,y⟩ |
| 105 | intro m hm l u hl Q hQ hL |
| 106 | obtain ⟨x,hx,Z⟩ := h.advances N p m hm l u hl Q hQ (fun x hx => ⟨(hv ..).1 ((hL x hx).1),(hL x hx).2⟩) |
| 107 | exact ⟨x,hx,fun t ht ↦ ⟨(hv ..).2 (Z t ht).bundle, (Z t ht).ident,(B.links hm (Z t ht)).drift,Z t ht⟩⟩ |
| 108 | obtain ⟨T,t,w⟩ := R.races hG hh (Drifting.pay B.valid) |
| 109 | have he N m p (h : m < N) : B.Move N m p (T N p m) (T N p (m+1)) := ((t N p).persists m (Nat.zero_le _) h).continues |
| 110 | refine ⟨T,?_,w,he⟩ |
| 111 | intro N p; have hu := (t N p).fromTop |
| 112 | exact ⟨fun i hi hx => ⟨(hv ..).1 ((t N p).prices i hi hx).1,((t N p).prices i hi hx).2⟩, |
| 113 | ⟨hu.scalars,hu.raw,hu.inits⟩, fun i _ hi => B.links hi (he N i p hi)⟩ |
| 114 | end Directed |
| 115 | end YM.Input |