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.FullVolume.Train.Pins |
| 2 | import YM.Next.STATIONARY.Level.Recurse |
| 3 | /-! Pin producers retain convergence in cover coefficient spaces. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Next.Free |
| 7 | open Function Lattice Laurent RG Wilson Precision Tree Exterior Bloch Stock |
| 8 | open Craft Next Next.Free Flight Retort Filter Set Matrix |
| 9 | open scoped Topology BigOperators ComplexConjugate |
| 10 | variable {G:Gauge}{A: Levels G} {l:ℕ→ℝ}{X K:MapPrices}{B T:Horizon A} |
| 11 | private lemma perunik {X Y:Type} {F:ℕ→ Matrix X Y ℝ} {x y}(h:Tendsto F atTop (𝓝 x))(e:Tendsto F atTop (𝓝 y)):x=y:=by |
| 12 | letI : T2Space (Matrix X Y ℝ) := inferInstanceAs (T2Space (X→Y→ℝ)) |
| 13 | exact tendsto_nhds_unique h e |
| 14 | def Loom {X Y:Type}(S:ℕ→Row X Y):=∃ R,Tendsto S atTop (𝓝 R) |
| 15 | structure Mite (H:Horizon A) :Prop where |
| 16 | diagonal m : Loom fun N=>(H.H N m).diagonal |
| 17 | dual m: Loom fun N=> (H.H N m).dual_diag |
| 18 | roots m: Loom fun N=> (H.H N m).roots |
| 19 | metric m: Loom fun N=> (H.H N m).metric |
| 20 | inverse m: Loom fun N=> (H.H N m).inverse |
| 21 | structure Amplify (H:Horizon A) :Prop extends Mite H where |
| 22 | prediction m: Loom fun N=> (H.towers N m).A0 |
| 23 | T m: Loom fun N=> (H.towers N m).T |
| 24 | mf m: Loom fun N=> (H.towers N m).mf |
| 25 | mn m: Loom fun N=> (H.towers N m).mn |
| 26 | o m: Loom fun N=> (H.towers N m).o |
| 27 | lemma Loom.copies {X Y:Type}{S Q:ℕ→Row X Y}(h:Loom S)(he:S=ᶠ[atTop] Q): Loom Q:=⟨_,h.choose_spec.congr' he⟩ |
| 28 | lemma stellar (h:Exhibits A X B l) (hl:∀ i,0≤ l i): Mite B:=by |
| 29 | have he(i):∀ᶠ N:ℕ in atTop, Defined A.clock.kernel.penalty (l (A.clock.J i)) (location A N i) (B.H N i):= (eventually_ge_atTop _).mono fun N hx=> h.offered.1 N i hx |
| 30 | have hs(i):=Retort.dominant A i (l (A.clock.J i)) (hl _) |
| 31 | have hu (i): Loom fun N=> (B.H N i).metric:= Loom.copies (hs i).2.2.2.2 ((he i).mono fun n ht=> ht.metric.symm) |
| 32 | refine ⟨fun i=> Loom.copies (hs i).1.2 ((he i).mono fun n ht=>ht.diag.symm),fun i=> Loom.copies (hs i).2.1.2 ((he i).mono fun n ht=>ht.dual.symm),fun i=>?_,hu,fun i=> Loom.copies (hs i).2.2.1.2 ((he i).mono fun n ht=>ht.inverse.symm)⟩ |
| 33 | let j:= A.clock.J i; obtain ⟨F,hF⟩:= hu i |
| 34 | have H:=X.alpha_pos j |
| 35 | have hG :Fleet (fun N=> (B.H N i).metric) F (X.α j) (X.Ω j):=⟨hF,H,(eventually_ge_atTop _).mono fun N hi=> (h.classic.covers _ _ hi).2.1⟩ |
| 36 | let W:= fun N=> (B.H N i).roots; have hb n : ∀ᶠ i in atTop,((W i).acts n).PosSemidef:= (eventually_ge_atTop _).mono (fun z hv=> h.vivid _ _ hv n) |
| 37 | have hp n: ∃ R,Tendsto (fun i=> ((W i).acts n)ᵀ*(W i).acts n) atTop (𝓝 R):=by |
| 38 | let U:= (A.params i).clip.direct • (1:Matrix (Body 2 n) (Body 2 n) ℝ) |
| 39 | refine ⟨_,((hG.muster n).sub_const U).congr' ?_⟩; filter_upwards [eventually_ge_atTop i] with z hz; have hx := (h.classic.traces _ _ hz n).roots; rw [full_cover] at hx |
| 40 | rw [← hx]; change U+_-U=_; abel |
| 41 | obtain ⟨V,hV⟩:= evening H ((eventually_ge_atTop _).mono (fun n hz=> (h.classic.covers _ _ hz).2.2.2.1)) hb hp; exact ⟨_,hV.hull⟩ |
| 42 | private lemma transposeM {X Y: Type}[Fintype X][Fintype Y]{A:ℕ→Matrix X Y ℝ}{r} (he:Tendsto A atTop (𝓝 r)):Tendsto (fun i=>(A i)ᵀ) atTop (𝓝 rᵀ):= (show ContinuousAt transpose r from continuous_id.matrix_transpose.continuousAt).tendsto.comp he |
| 43 | private lemma deliver (h:Exhibits A X B l)(hl:∀ i,0≤l i)(hv: Mite B) (hc: Bid.Retained T B)(hk:T.Suffices K) |
| 44 | (m:ℕ)(y Xz z:ℝ)(hy:0<y)(hz:0<z) (G':ℕ→C3)(Q:∀ N,m<N→ Bid.Committed l B T N m (G' N) y Xz z): |
| 45 | Loom (fun N=>(T.towers N m).A0) ∧ Loom (fun N=> (T.towers N m).T) ∧ Loom (fun N=> (T.towers N m).mf)∧ Loom (fun N=> (T.towers N m).mn) ∧ Loom (fun N=> (T.towers N m).o):=by |
| 46 | obtain ⟨F,σ,c,hF⟩:= Retort.stock_take (angular A m (l (A.clock.J (m+1))) (l (A.clock.J m)) (hl _)) |
| 47 | have he:= eventually_gt_atTop m |
| 48 | obtain ⟨R,hR⟩:= evening hz (he.mono fun _ ht=>(Q _ ht).strip) (fun n=>he.mono fun i ht=>warmly hy hz (Q _ ht).strip (Q _ ht).funds n) |
| 49 | (fun n=> ⟨_, (hF.muster n).congr' (he.mono fun i ht=> ((Q _ ht).square n).1)⟩) |
| 50 | obtain ⟨hp,hS⟩:=concord A m |
| 51 | have hF0 : Loom (fun N=> (B.towers N m).T):= Loom.copies hS.2 (he.mono fun _ hz=>(h.offered.2 _ _ hz).2.symm) |
| 52 | refine ⟨Loom.copies hp.2 (he.mono fun n h'=> ((h.offered.2 n m h').1.symm.trans (hc.2 n m h').1.symm)), Loom.copies hF0 (he.mono fun n h'=> (hc.2 n m h').2.symm),?_⟩ |
| 53 | have hk0:= K.alpha_pos (A.clock.J (m+1)); have hV:=X.alpha_pos (A.clock.J (m+1)); have hp:=X.alpha_pos (A.clock.J m) |
| 54 | obtain ⟨S,hS'⟩:=hF0 |
| 55 | let b:= A.S.block m |
| 56 | have hZ : ∃ c,Fleet (fun i=>(B.towers i m).T) S (X.α (A.clock.J (m+1))) c := ⟨_,hS',hV,he.mono fun i hh=> (h.classic.legs i m hh [] (by simp)).2⟩ |
| 57 | obtain ⟨c0,hC⟩:=hZ |
| 58 | have hY i : ∃ F,Fleet (fun n=>(B.H n i).inverse) F (X.α (A.clock.J i)) (X.Ω (A.clock.J i)) := |
| 59 | ⟨_,(hv.inverse i).choose_spec, X.alpha_pos _,(eventually_ge_atTop _).mono fun n hx=> (h.classic.covers _ _ hx).2.2.1⟩ |
| 60 | obtain ⟨D,hU⟩:= hY (m+1); obtain ⟨D',hV'⟩:= hY m |
| 61 | have hh (i) (c:Side): ∃ X,Tendsto (fun n=> (B.H n i|>.full (A.params i).clip c)) atTop (𝓝 X):=by |
| 62 | let R:= fun n=> (B.H n i).roots |
| 63 | obtain ⟨S,hS⟩:=hv.roots i |
| 64 | have hk: Fleet R S (X.α (A.clock.J i)) (X.Ω (A.clock.J i)):= ⟨hS,X.alpha_pos _,(eventually_ge_atTop _).mono fun n hi=> (h.classic.covers _ _ hi).2.2.2.1⟩ |
| 65 | let X := { B.H i i with roots:= S} |
| 66 | refine ⟨X.full (A.params i).clip c,tendsto_pi_nhds.mpr fun ⟨x,w⟩=>tendsto_pi_nhds.mpr fun j=> ?_⟩ |
| 67 | cases w |
| 68 | · exact tendsto_const_nhds |
| 69 | exact tendsto_pi_nhds.mp (tendsto_pi_nhds.mp (hk.muster c) _) _ |
| 70 | have hJ:= Stationary.bound_climb G A m |
| 71 | let a:= A.S.side m |
| 72 | have hj : ∃ c F,Fleet (fun n=> (T.towers n m).mf) F (K.α (A.clock.J (m+1))) c:=by |
| 73 | have hG:= he.mono fun N hn=> (hk.costs N m hn).2.2.1 |
| 74 | refine ⟨_,crest hk0 hG a hJ ?_⟩ |
| 75 | intro r t F W hr ht hw hy i |
| 76 | let f:= A.S.side (m+1) i; let v:= (A.clock.op m i).ratio |
| 77 | have hS:= promote_crew (c:=a i) (f:=f) (r:=v) (S:=fun n=>(B.towers n m).T) hC |
| 78 | obtain ⟨M₀,H₀⟩:= hh m (a i); obtain ⟨M₁,H₁⟩:=hh (m+1) f |
| 79 | have hu:=(copies_crew (S:=fun n=> (T.towers n m).mf) v ((((H₁.matrix_product (hU.muster f)).matrix_product hS).matrix_product (transposeM H₀)).congr' (he.mono fun N h=>(Q N h|>.generated i|>.mf).symm ))) |
| 80 | exact (perunik (hw.muster (a i)) (hu.comp hr.tendsto_atTop)).trans (perunik (hu.comp ht.tendsto_atTop) (hy.muster (a i))) |
| 81 | obtain ⟨c'',F,hF⟩:= hj |
| 82 | have he1:= he.mono fun N hn=>(hk.costs N m hn).1 |
| 83 | have he2 := he.mono fun N hn=>(hk.costs N m hn).2.1 |
| 84 | refine ⟨⟨_,hF.hull⟩,⟨_,(crest hk0 he1 a hJ ?_).choose_spec.hull⟩,⟨_,(crest hk0 he2 a hJ ?_).choose_spec.hull⟩⟩ |
| 85 | · intro r t F W hr ht hw hy i; obtain ⟨V,hV⟩:=hh m (a i) |
| 86 | have hu:= (((tendsto_const_nhds (x:=(d 1 (a i)).transpose)).matrix_product (transposeM hV)).const_smul (Real.sqrt A.clock.kernel.penalty)⁻¹).congr' (f₂:=fun N=> (T.towers N m|>.mn.acts (a i))) (he.mono fun N h=>(Q N h|>.generated i|>.mn).symm) |
| 87 | exact (tendsto_nhds_unique (hw.muster (a i)) (hu.comp hr.tendsto_atTop)).trans (tendsto_nhds_unique (hu.comp ht.tendsto_atTop) (hy.muster (a i))) |
| 88 | intro r t F W hr ht hw hy i; let c:= a i; obtain ⟨V,hV⟩:=hh m c |
| 89 | let U := Matrix (Co c Layers2) (Co c Layers2) ℝ; let U' := Matrix (Co c (TypeFace 3)) (Co c Layers2) ℝ |
| 90 | have H: Continuous (fun x:U×U'=> stack x.1 x.2):=by |
| 91 | refine continuous_pi fun ⟨i,x⟩ => continuous_pi fun j=>?_ |
| 92 | cases x <;> rename_i k |
| 93 | · change Continuous fun (x:U×U')=> x.1 (i,k) j; exact (continuous_apply_apply _ _).comp continuous_fst |
| 94 | change Continuous fun (x:U×U')=> x.2 (i,k) j; exact (continuous_apply_apply _ _).comp continuous_snd |
| 95 | have hZ:= hR.muster c; have h1:=(tendsto_const_nhds (x:=(1:U))).sub ((hV.matrix_product (hV'.muster c)).matrix_product (transposeM hV)); have h2:= ((hZ.matrix_product (tendsto_const_nhds (x:= d 2 c))).matrix_product (hV'.muster c)).matrix_product (transposeM hV) |
| 96 | have hu:= (H.continuousAt.tendsto.comp (h1.prodMk_nhds h2)).congr' (f₂:=fun N=> (T.towers N m|>.o.acts c)) (he.mono fun N h=>(Q N h|>.generated i|>.image).symm) |
| 97 | exact (tendsto_nhds_unique (hw.muster (a i)) (hu.comp hr.tendsto_atTop)).trans (tendsto_nhds_unique (hu.comp ht.tendsto_atTop) (hy.muster (a i))) |
| 98 | lemma relayT {P:Supply.Sheet G}: ∃ K:MapPrices,∀ A: Levels G,A.clock.stage=P.profile→ A.clock.kernel=P.kernel → |
| 99 | ∀ B:Horizon A, Exhibits A X B l → (∀ i,0≤l i)→∃ T:Horizon A,Bid.Retained T B∧ T.Suffices K ∧ Amplify T :=by |
| 100 | obtain ⟨K,hK⟩:=Bid.pinsT l Work.F07.answer Work.F08.answer Work.F09.answer P X |
| 101 | refine ⟨K,fun A h ht B hX hL=>?_⟩ |
| 102 | obtain ⟨T,hT,hM,y,V,z,hy,hz,H⟩:= hK A h ht B hX |
| 103 | have hg:= stellar hX hL |
| 104 | choose! D I using H |
| 105 | have hm m:=deliver hX hL hg hT hM m _ _ _ (hy _) (hz _) (fun N=> D N m) (fun N h=> I _ _ h) |
| 106 | refine ⟨T,hT,hM,?_,fun i=> (hm i).1, fun i=> (hm i).2.1, fun i=> (hm i).2.2.1, fun i=> (hm i).2.2.2.1, fun i=> (hm i).2.2.2.2⟩ |
| 107 | constructor <;> intro i <;> rw [hT.1] |
| 108 | · exact hg.diagonal i |
| 109 | · exact hg.dual i |
| 110 | · exact hg.roots i |
| 111 | · exact hg.metric i |
| 112 | exact hg.inverse i |
| 113 | end YM.Next.Free |
| 114 | #print axioms YM.Next.Free.relayT |