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.Orbits.Clearance |
| 2 | |
| 3 | /-! Match discrepancy costs on separated exteriors, including moving tests |
| 4 | with their admitted scale prices. These use full phase/unselected laws of |
| 5 | `viewer U r` (`r : Option ...`, so every phase), not fresh states fitted to |
| 6 | polarizers. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.OPE.Orbits |
| 10 | open Function Set Filter Extraction Table |
| 11 | open scoped Topology BigOperators ContDiff Classical Matrix.Norms.Frobenius |
| 12 | variable {G:Gauge} {C:Family G}{S:Table C.book}{F:Order} |
| 13 | (U:Spec.Final C F S) (R:Reader U.sector.derivatives U.sector.turns U.room.kernel.spin)(h:Services C F S) |
| 14 | {I J L:Type} [Fintype I] [Fintype J] {A:L→ℝ}{φ:Filter L}(hA:Tendsto A φ atTop) [φ.NeBot] |
| 15 | {d:I→ℕ}{e:J→ℕ}{a b c:ℝ} {x:L→ I→ E4}{y:L→J→E4}{o:L→E4} (r:L→ Viewers U) |
| 16 | |
| 17 | def weight (d:I→ℕ):ℝ := ∑ i:I, (d i:ℝ) |
| 18 | lemma weighting (u:Labels S d) : weight d=(sigma (names u):ℝ):= by unfold weight sigma; push_cast; rfl |
| 19 | |
| 20 | variable (v:Labels S d) (w:Labels S e)(hx:enveloped φ A a x o) (hk:Kept φ A a x) |
| 21 | (hp:Intervals φ A b (fun l=>sole (o l)) y) (hy:Kept φ A c y)(ha:0 < a)(hb:0≤b)(hba:b<a)(hc:b≤c) |
| 22 | |
| 23 | private lemma admittance {f:L→ℂ}{g:L→ℂ}(hF:RateLE φ A f c) (he:f =ᶠ[φ] g) (hb:c≤a):RateLE φ A g a:=(hF.congr he).mono hb |
| 24 | |
| 25 | include hx hk hp hy hba hc hA |
| 26 | omit [φ.NeBot] in |
| 27 | lemma clearance_both : (∀ᶠ l in φ, Injective (beside (sole (o l)) (y l))) ∧ (∀ᶠ l in φ,Injective (beside (x l) (y l))):= by |
| 28 | have h0 :=Kept.sole φ A o c; refine ⟨(h0.chorus hy (hp.mono hc)).inject,?_⟩ |
| 29 | have h1:= (shrinking (x:=x) (y:=y) hA hba hx hp).mono (show b ≤ max a c from hc.trans (le_max_right ..)) |
| 30 | exact ((hk.mono (le_max_left ..)).chorus (hy.mono (le_max_right ..)) h1).inject |
| 31 | |
| 32 | include h hb ha U R |
| 33 | lemma discrepancy_rate_old (m:ℕ): RateLE φ A (fun l=>discrepancy (spectator U (r l)) m (x l) (o l) v (shadowOld R.port m (x l) (o l) v) (y l) w) (weight d*a -(m+1:ℝ)*(a-b)+weight e*c):=by |
| 34 | let z(l):=groundError U R.port m (x l) (names v) (o l) (y l) (names w) |
| 35 | have h' : RateLE φ A (fun l=>glance U (r l) (z l)) (weight d*a- (m+1:ℝ)*(a-b)+weight e*c) :=by |
| 36 | have hI:= (arrangement_cost U R.port m (names v) (names w) (O:=o) hA h R.spans hx hk ha hy hp hb hc hba).transfer (Eventually.of_forall fun i=> glance_bound U (r i) (z i)) |
| 37 | rw [weighting v,weighting w]; exact hI |
| 38 | refine h'.congr ?_; filter_upwards [(clearance_both hA hx hk hp hy hba hc).2,(clearance_both hA hx hk hp hy hba hc).1] with i hi he; rw [discrepancy_old ..] |
| 39 | · exact glance_terms _ _ _ _ _ _ _ _ _ hi he |
| 40 | · exact spectate .. |
| 41 | · exact spectate_respects U (r i) |
| 42 | · exact spectate_ready U (r i) |
| 43 | exact he |
| 44 | |
| 45 | omit U R h ha hp hy hc hba hb hx hk hA [φ.NeBot] |
| 46 | private def discrepancy_flip {S':Table C.book}(T:Table C.book)(m:ℕ)(x:I→E4)(v:Labels S' d)(o:E4)(c:S'.Field m)(y:J→E4):MultilinearMap ℂ (fun j=>S'.Field (e j)) ℂ:= (show MultilinearMap ℂ (fun j=> S'.Field (e j)) ℂ from sectionLabels v (moment T (beside y x) (d:=Sum.elim e d))) - (show MultilinearMap ℂ (fun j=>S'.Field (e j)) ℂ from sectionLabels (fun _:Unit=>c) (moment T (beside y (sole o)) (d:=Sum.elim e (fun _:Unit=> m)))) |
| 47 | private lemma flip_cost {S':Table C.book} (T:Table C.book)(v:Labels S' d)(w:Labels S' e)(m:ℕ)(x:I→E4)(o:E4)(y:J→E4)(c:S'.Field m)(h:T.Hierarchy)(hx:Injective (beside x y))(ho:Injective (beside (sole o) y)) : discrepancy T m x o v c y w= discrepancy_flip T m x v o c y w:=by |
| 48 | unfold discrepancy_flip discrepancy; erw [MultilinearMap.sub_apply, sectionLabels_apply,sectionLabels_apply]; change _ - upon T m o y w c= whole T y w x v - whole T y w (sole o) (sole c:Labels S' (fun _:Unit=> m)); rw [whole_flip _ _ _ _ h hx, whole_flip _ _ _ _ h ho]; rfl |
| 49 | include hx hk hp hy hba hc hA U |
| 50 | lemma old_moving {m:ℕ}{ζ:L→S.Field m}{ξ:ℝ} -- undeclared m? binder |
| 51 | (h:∀ w:Labels S e, RateLE φ A (fun i=>discrepancy (spectator U (r i)) m (x i) (o i) v (ζ i) (y i) w) ξ) |
| 52 | (w:L→ Labels S e)(hw:∀ j:J, RateLE φ A (fun s=>w s j) 0) : RateLE φ A (fun i=>discrepancy (spectator U (r i)) m (x i) (o i) v (ζ i) (y i) (w i)) ξ:=by |
| 53 | let f:= fun i=>discrepancy_flip (spectator U (r i)) m (x i) v (o i) (ζ i) (y i) (e:=e) |
| 54 | obtain ⟨h₁,h₂⟩:=clearance_both hA hx hk hp hy hba hc |
| 55 | have he(w:L→ Labels S e) : (fun i=>discrepancy (spectator U (r i)) m (x i) (o i) v (ζ i) (y i) (w i)) =ᶠ[φ] (fun i=>f i (w i)):=by |
| 56 | filter_upwards [h₁,h₂] with i h₁ h₂; exact flip_cost _ _ _ _ _ _ _ _ (spectate U (r i)) h₂ h₁ |
| 57 | have hf:= contract (a:=ξ) hA f (fun v=>(h v).congr (he (fun _=>v))) w (fun _=>0) hw; simpa only [Finset.sum_const_zero,add_zero] using hf.congr (he w).symm |
| 58 | end YM.OPE.Orbits |