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.RemainderComparison.Script.Matrices |
| 2 | |
| 3 | /-! |
| 4 | # Restrict assertions supported on diagrams'. |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.RemainderComparison.Script |
| 9 | open Function Filter Lattice RG RG.Patch Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 10 | open Push Push.AbsoluteSums Precision Exterior ConnectedActivityE6 Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 11 | open Mask Work.F03 Presented LabelSum Sector Footprint Packets SliceRows Control Window Pulse PhysicalNext.Repeat Gas |
| 12 | open Coat Matter ProbabilityTheory Poll Pond Census Blaze Scroll Vine Polar Frond Corona Brush Foramen Gate Tablet Strokes Quill Shield Eider Flux Art Silica Poll Pond Lotus |
| 13 | open Itinerary Animals March Captain Greenbelt Stained Ursell Trees Reserves |
| 14 | open Merge Palette Next.Scheduling OmitClusters AnalyticBridge.VerifiedReset |
| 15 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 16 | variable {ι α : Type} |
| 17 | variable {G : Gauge} {c f L : Side} {S : StepData c f} {P:Teller G} {T: Tube G S} {F : Tree.Forest S.ratio} {R : Rep G f} |
| 18 | {p : Molecule S} {m : ℕ} {W a r σ μ x κ w C : ℝ} |
| 19 | {Q: YM.ConnectedActivityE6.Target G P} {o: ConnectedActivityE6.Target.Order G W} |
| 20 | variable (M:ι→Lotus.Leaf R)(H:Cash W x μ L Q o C T R) {q A B b e u v d L' Gp:ℝ}{j n k s J:ℕ}(χ:Chi) |
| 21 | open Lyric Mosaic Muse Sleet |
| 22 | variable (σ:α ↪ ι) |
| 23 | local notation "M'" => M ∘ σ |
| 24 | local notation "V'"=> drums M σ S |
| 25 | local notation "w'"=> label M H σ |
| 26 | |
| 27 | -- Lean handy generalization |
| 28 | lemma join_budget {R ι:Type*}{α:R→Type*}{F:Filter R} [F.NeBot](θ:(r:R)→ (α r ↪ ι))(b : ι→ℝ) (s:ℝ) |
| 29 | (he:∀ i, ∀ᶠ x in F,i∈ Set.range (θ x))(hp:∀ᶠ x in F, SumBudget (b∘θ x) s) : SumBudget b s:=by |
| 30 | apply budget_of_sum |
| 31 | · intro i; obtain ⟨r,⟨p,h⟩,he'⟩:= (he i|>.and hp).exists; rw [← h]; exact he'.1 p |
| 32 | intro p; obtain ⟨v,hv,he⟩:= ((eventually_all_finset p).2 (fun i hi=> he i)|>.and hp).exists -- pred |
| 33 | let t:=θ v; let a:= p.preimage t t.injective.injOn |
| 34 | have h : p=a.map t:=by |
| 35 | ext i; constructor |
| 36 | · intro hi; obtain ⟨j,h⟩:=hv i hi; exact mem_map.mpr ⟨j,(show j∈a from mem_preimage.mpr (h.symm ▸ hi)),h⟩ |
| 37 | intro hi; obtain ⟨z,hz,ht⟩:=mem_map.mp hi; subst i; exact mem_preimage.mp (show z∈a from hz) |
| 38 | rw [h,Finset.sum_map]; exact budget_sum he a |
| 39 | |
| 40 | -- natural inclusion |
| 41 | |
| 42 | def grid (x:Finset ι): Staff (M ∘ restrict x) H ↪ Staff M H := Embedding.sigmaMap (Embedding.refl _) (fun p=> label M H (restrict x) p) |
| 43 | |
| 44 | def prairie (x:Finset ι) : Flak (M ∘ restrict x) H ↪ Flak M H:= Embedding.sigmaMap (Embedding.refl _) (fun p=> queue M H (restrict x) p) |
| 45 | lemma roam (p:Staff M H): ∀ᶠ x in atTop,p∈ Set.range (grid M H x):=by |
| 46 | filter_upwards [ships M H p.1 p.2] with x hx; obtain ⟨w,hw⟩:=hx; exact ⟨⟨p.1,w⟩, by change Sigma.mk p.1 _=_; exact Sigma.ext rfl (heq_of_eq hw)⟩ |
| 47 | lemma explored (p:Muse.Flak M H): ∀ᶠ x in atTop,p∈ Set.range (prairie M H x):=by |
| 48 | filter_upwards [Script.flags M H p.1 p.2] with x hx; obtain ⟨w,hw⟩:=hx; exact ⟨⟨p.1,w⟩, by change Sigma.mk p.1 _=_; exact Sigma.ext rfl (heq_of_eq hw)⟩ |
| 49 | |
| 50 | lemma recover (P':BudgetPoint){V:Set (Staff M H)}{f:Staff M H→ℝ}(a b:ℝ)(l:ι→ℝ) |
| 51 | (h:∀ᶠ x in atTop, Network (M ∘ restrict x) H χ (l ∘ restrict x) P' ((grid M H x) ⁻¹' V) (f∘grid M H x) a b): Network M H χ l P' V f a b:=by |
| 52 | constructor |
| 53 | · intro i hi; obtain ⟨x,⟨j,hj⟩,hx⟩:=((roam M H i).and h).exists; rw [←hj] at hi ⊢ |
| 54 | obtain ⟨a',hh⟩:= hx.mark j (show grid M H x j∈ V from hi); refine ⟨a',?_⟩ |
| 55 | change P'.Regular (reachability j.1) (fun U=>_)∧_ |
| 56 | rw [show (etude M H χ ((grid M H x) j).fst ((grid M H x) j).snd).emit l= _ from Eq.trans (congr_arg (fun f:Verse ι (Config G c)=> f.emit l) (resume M H χ (restrict x) j.1 j.2)) (alive (restrict x) l _)]; exact hh |
| 57 | intro y; apply join_budget (θ:= fun x=>grid M H x) (he:= roam M H) |
| 58 | filter_upwards [h] with x hx; exact hx.costs y |
| 59 | end YM.RemainderComparison.Script |