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.RG08.April.Consumes |
| 2 | /-! # Manufacturer plate. Supply with stage choices, output & compile stencil recursion |
| 3 | from boundary value (permits even high-led variant on overlap/continuation). -/ |
| 4 | noncomputable section |
| 5 | set_option autoImplicit false |
| 6 | namespace YM.RG08.April |
| 7 | open Function Lattice Laurent Pert.Bulk Forms Room Carrel Steam Isles Rows Rate Rate.Stair RG Stationary Bloch Rudder RG08.Mount Tack Anchor Spar Camera Sedan Precision Finset Exterior Nacre PowerSeries Finset.Nat Symmetry Prism Quarry Roost Packets Ducat Mason |
| 8 | open Jetty Precision Skiff Weald Hatch Planned.PrimaryIntegral295 Labels Source Source.Drops WardBin Parts Atrium Trill Necks Sideshow |
| 9 | open scoped Classical Matrix BigOperators PowerSeries Topology |
| 10 | variable {X:Type}{G:Gauge}{D d p l e n k r j t:ℕ}{σ τ μ U η:ℝ}{K:KernelChoices} |
| 11 | local notation "Δ"=> stance (Loc G 1) |
| 12 | local notation "E"=> Ed G Cover |
| 13 | variable (F:Labels.Frame G d)(W:Rate.Stair X)(H:Housing F W D k) |
| 14 | local notation "I₀"=> Accent F |
| 15 | local notation "B₀"=>Bouquet F |
| 16 | local notation "V₀"=>Haven W |
| 17 | local notation "R₀"=>Mason.Run W |
| 18 | local notation "D0"=> Mason.kiosk W |
| 19 | local notation "D1"=> Mason.turnstile W |
| 20 | |
| 21 | -- density stage data on every Run. all costs at specific k knee. |
| 22 | structure Dials (G:Gauge)(W:Rate.Stair X)(D d k:ℕ) where |
| 23 | κ:KernelChoices |
| 24 | P:Mason.Run W→ Patch |
| 25 | lengths(x):((P x).L.val:ℝ)= W.length x.x x.m |
| 26 | older:Mason.Run W→ℕ -- Athena fine smoothing |
| 27 | horizon:Mason.Run W→ℕ |
| 28 | filter: Haven W→ℝ |
| 29 | paid:∀ i,0<filter i |
| 30 | shift: Mason.Run W→ℝ -- before Ω, row and costs |
| 31 | orth:Mason.Run W→ℝ |
| 32 | norm:Mason.Run W→ℝ |
| 33 | fee(x:Mason.Run W): Sideshow.Font d D k (older x) (horizon x) (filter (past W x)) (shift x) (filter (old W x)) (orth x) (norm x) |
| 34 | Q:∀ i:Mason.Run W,Crew G (P i) κ |
| 35 | Q':∀ i:Mason.Run W,Crew G (P i) κ |
| 36 | power: Mason.Run W→ℝ -- W |
| 37 | score: Mason.Run W→ℝ |
| 38 | can:(Mason.turnstile W).Good power |
| 39 | hit: (Mason.turnstile W).cheap score |
| 40 | warm i:0<score i |
| 41 | foil (i:Mason.Run W)(r:ℝ):score i≤r→Race (filter (past W i)) (shift i) (filter (old W i)) (orth i) (norm i) (power i) r D d k (d+k) (older i) (horizon i) (Q i) (Q' i) |
| 42 | slots i:1 ≤ power i |
| 43 | |
| 44 | -- pre numbers & post adjacency constants given before lengths. CHOSEN from implementation @harbor. carry for consumer. |
| 45 | def cap (F:Labels.Frame G d)(D k j t l e n:ℕ)(A:Hol G)(K:KernelChoices)(σ η τ μ U:ℝ)(h:Font d D k j t σ τ η μ U)(hl:l≤d)(he:e≤k)(hn:n≤l+e):ℝ:= (harbor F D k j t l e n A K σ η τ μ U h hl he hn).choose |
| 46 | def post (F:Labels.Frame G d)(D k j t l e n:ℕ)(A:Hol G)(K:KernelChoices)(σ η τ μ U:ℝ)(h:Font d D k j t σ τ η μ U)(hl:l≤d)(he:e≤k)(hn:n≤l+e):ℝ→ℝ:=(harbor F D k j t l e n A K σ η τ μ U h hl he hn).choose_spec.choose |
| 47 | lemma ledger (A:Hol G)(H:Font d D k j t σ τ η μ U)(hl:l≤d)(he:e≤k)(hn:n≤l+e): |
| 48 | let C:=cap F _ _ _ _ _ _ _ A K _ _ _ _ _ H hl he hn;let V:= post F _ _ _ _ _ _ _ A K _ _ _ _ _ H hl he hn |
| 49 | ; 1≤C ∧ Week (transitR n e l d k) V∧(∀ p≥1,1≤V p)∧∀ {P:Patch}{Q R:Crew G P K}{w δ:ℝ},Race σ τ η μ U w δ D d k (d+k) j t Q R→0<δ→∀ {S S':Bouquet F},Silo F D k H.fine S → Silo F D k H.fine S' → |
| 50 | let Y:=sing F Q S; let Y':=sing F R S';let M:=Sideshow.deposit F Q S;let N:=Sideshow.deposit F R S';let g:ℝ:=P.L.val |
| 51 | ; ∀ {B B0 B1 T:ℝ},Stamps F D e n l B δ H.fine H.coarse S S' Y Y' M N → 0≤B0→0≤B1→0≤T→(∀ i∈Sideshow.booth F l,Sings Δ D H.fine (S i e n) B0∧ Sings Δ D H.fine (S' i e n) B1 ∧ Sings Δ D H.fine (S i e n-S' i e n) T) → |
| 52 | Replies F D e n l C (V w*B^2) (V w*(B+B1)^4) B0 B1 g δ T H.coarse Y Y' M N:= (harbor F D k j t l e n A K σ η τ μ U H hl he hn).choose_spec.choose_spec |
| 53 | namespace Dials |
| 54 | variable (P:Dials G W D d k)(A:Hol G) |
| 55 | def shell (x:R₀)(hl:l≤d)(he:e≤k)(hn:n≤l+e):= cap F _ _ _ _ _ _ _ A P.κ _ _ _ _ _ (P.fee x) hl he hn |
| 56 | def echo (x:R₀)(hl:l≤d)(he:e≤k)(hn:n≤l+e):= April.post F _ _ _ _ _ _ _ A P.κ _ _ _ _ _ (P.fee x) hl he hn (P.power x) |
| 57 | end Dials |
| 58 | structure Paid {W:Rate.Stair X}(P:Dials G W D d k)(A:Hol G):Prop where |
| 59 | shell(e l n:ℕ)(he:e≤k)(hl:l≤d)(hn:n≤l+e):(Mason.turnstile W).Good (fun x=>P.shell F W A x hl he hn) |
| 60 | post_(e l n:ℕ)(he:e≤k)(hl:l≤d)(hn:n≤l+e):(Mason.turnstile W).Good fun x=>P.echo F W A x hl he hn |
| 61 | floor(e l n:ℕ)(he:e≤k)(hl:l≤d)(hn:n≤l+e):∀ x,(P.shell F W A x hl he hn)^2≤ ((P.P x).L.val:ℝ) |
| 62 | structure Boundary (F:Labels.Frame G d)(W:Rate.Stair X)(D k:ℕ)(strip:Haven W→ℝ)(paid:∀ i,0<strip i) where |
| 63 | map: (x:X)→Bouquet F |
| 64 | call: ∀ i:Haven W,i.m=W.top i.x → Silo F D k (paid i) (map i.x) |
| 65 | pay (e n:ℕ)(_he:e≤k):∃ p:Haven W→ℝ,(Mason.kiosk W).Good p∧∀ i:Haven W,i.m=W.top i.x→∀ j:Accent F,Sings (stance (Loc G 1)) D (paid i) (map i.x j e n) (p i) |
| 66 | |
| 67 | -- independent full historical formulas (may read backwards as linear recurrence) |
| 68 | def template (Q:(Mason.Run W )→ Bouquet F→Bouquet F)(T:X→Bouquet F)(x:X):ℕ→Bouquet F |
| 69 | | 0=> T x |
| 70 | | n+1=> if h: Mason.active W x (W.top x - (n+1)) then Q ⟨x,_,h⟩ (template Q T x n) else 0 |
| 71 | -- `template` implicit recursion with parameters F W maybe need explicit. |
| 72 | def rise (Q:(Mason.Run W)→Bouquet F→Bouquet F)(T:X→Bouquet F)(y:Haven W):Bouquet F:=template F W Q T y.x (W.top y.x-y.m) |
| 73 | lemma rise_top (Q:R₀→B₀→B₀)(T:X→B₀)(i:V₀)(hi:i.m=W.top i.x):April.rise F W Q T i=T i.x:=by unfold April.rise;rw [hi,Nat.sub_self,template] |
| 74 | lemma rise_step (Q:R₀→B₀→B₀)(T:X→B₀)(i:R₀):April.rise F W Q T (old W i)=Q i (April.rise F W Q T (past W i)):=by |
| 75 | have hi:i.m < W.top i.x:=i.admit.2;unfold April.rise;change template F W Q T i.x (W.top i.x-i.m)=Q _ (template _ _ _ _ i.x (W.top i.x-(i.m+1)));nth_rw 1 [show W.top i.x-i.m=W.top i.x-(i.m+1)+1 by omega,template];have he:W.top i.x-(W.top i.x-(i.m+1)+1)=i.m:=by omega |
| 76 | rw [dif_pos (he.symm ▸ i.admit)] |
| 77 | congr 2 |
| 78 | lemma downcorner {Q:V₀→Prop}(hh:∀ i:V₀,i.m=W.top i.x→Q i)(ht:∀ i:R₀,Q (past W i)→Q (old W i))(i:V₀):Q i:=by |
| 79 | generalize he:W.top i.x-i.m=n;induction n generalizing i with |
| 80 | | zero => |
| 81 | apply hh |
| 82 | have hi : i.m ≤ W.top i.x := i.admit.2 |
| 83 | omega |
| 84 | | succ n ih=> |
| 85 | let j:R₀:=⟨i.x,i.m,i.admit,by omega⟩; exact ht j (ih (past W j) (by change W.top i.x-(i.m+1)=n;omega)) |
| 86 | |
| 87 | namespace Dials |
| 88 | variable (T:Dials G W D d k)(A:Hol G) |
| 89 | def shoot (Q:Boundary F W D k T.filter T.paid)(i:Haven W): Bouquet F := April.rise F W (fun j=>Sideshow.sing F (T.Q j)) Q.map i -- remove C |
| 90 | abbrev shoot2 (C:Boundary F W D k T.filter T.paid):= April.rise F W (fun j=>Sideshow.sing F (T.Q' j)) C.map |
| 91 | include A in |
| 92 | lemma shoot_valid (Y Y':Boundary F W D k T.filter T.paid)(i:Haven W):Silo F D k (T.paid i) (T.shoot F W Y i) ∧ Silo F D k (T.paid i) (T.shoot2 F W Y' i):=by |
| 93 | let V(i:Haven W):Prop:=Silo F D k (T.paid i) (T.shoot F W Y i) ∧ Silo F D k (T.paid i) (T.shoot2 F W Y' i) |
| 94 | apply downcorner W (Q:=V) (fun i hi=>?_ ) _ i;swap |
| 95 | · unfold V shoot shoot2;rw [rise_top F W _ _ i hi,rise_top F W _ _ i hi];exact ⟨Y.call i hi,Y'.call i hi⟩ |
| 96 | intro i hi |
| 97 | let x:=T.shoot F W Y (past W i);let y:=T.shoot2 F W Y' (past W i) |
| 98 | obtain ⟨C,hC,Hc⟩:= Sideshow.oneWing F D k _ _ T.κ _ _ _ _ _ A (T.fee i) |
| 99 | obtain ⟨hx,hy⟩:= Hc (T.foil i (T.score i) le_rfl) (T.warm i) (S:=x) (S':=y) hi.1 hi.2 |
| 100 | unfold V shoot shoot2;rw [rise_step,rise_step]; exact ⟨hx.rises,hy.rises⟩ |
| 101 | def plot (Y Y':Boundary F W D k T.filter T.paid)(he:Paid F T A): Housing F W D k where |
| 102 | strip:=T.filter |
| 103 | stand:=T.paid |
| 104 | S:=T.shoot F W Y |
| 105 | S':=T.shoot2 F W Y' |
| 106 | P i:= Sideshow.deposit F (T.Q i) (T.shoot F W Y (past W i)) |
| 107 | P' i:=Sideshow.deposit F (T.Q' i) (T.shoot2 F W Y' (past W i)) |
| 108 | wish i:= T.shoot_valid F W A Y Y' i |
| 109 | score :=fun i=>let h:=T.shoot_valid F W A Y Y' (past W i);⟨(Sideshow.overjoy F (T.Q i) _ h.1.unbound).2,(Sideshow.overjoy F (T.Q' i) _ h.2.unbound).2⟩ |
| 110 | debt:=T.score |
| 111 | tiny:=T.hit |
| 112 | never:=T.warm |
| 113 | afford:=by |
| 114 | intro e l n hx hr hn |
| 115 | refine ⟨_,_,he.shell e _ _ hx hr hn, he.post_ e _ _ hx hr hn,fun i=>?_⟩ |
| 116 | obtain ⟨hA,hC,hU,H⟩:= April.ledger (l:=l) (e:=e) (n:=n) (K:=T.κ) F A (T.fee i) hr hx hn |
| 117 | have hk:(cap F _ _ _ _ _ _ _ A T.κ _ _ _ _ _ (T.fee i) hr hx hn)^2≤W.length i.x i.m:= (he.floor e _ _ hx hr hn i).trans_eq (T.lengths i) |
| 118 | refine ⟨hA,hU _ (T.slots i),hk,?_⟩ |
| 119 | let x:=T.shoot F W Y (past W i);let y:=T.shoot2 F W Y' (past W i) |
| 120 | intro B δ B0 B1 t ht hs |
| 121 | have hL:T.shoot F W Y (old W i)=Sideshow.sing F (T.Q i) x:=rise_step F W _ _ i |
| 122 | have hQ:T.shoot2 F W Y' (old W i)=Sideshow.sing F (T.Q' i) y:=rise_step F W _ _ i |
| 123 | rw [hL,hQ] at hs ⊢ -- expensive. change selectively |
| 124 | obtain ⟨h₁,h₂⟩:=T.shoot_valid F W A Y Y' (past W i) |
| 125 | intro hb hG hD hi |
| 126 | rw [←T.lengths] |
| 127 | exact H (T.foil i δ ht) ((T.warm i).trans_le ht) h₁ h₂ hs hb hG hD hi |
| 128 | vault:=by |
| 129 | intro e n he |
| 130 | obtain ⟨p,hp,hq⟩:=Y.pay e n he |
| 131 | obtain ⟨a,hA,ha⟩:=Y'.pay e n he |
| 132 | refine ⟨fun i=>p i+a i, (Mason.kiosk W).hear _ _ hp hA,fun i hi j=>?_ ⟩; dsimp only [shoot,shoot2];rw [rise_top _ _ _ _ _ hi,rise_top _ _ _ _ _ hi] |
| 133 | exact ⟨(hq i hi j).mono le_rfl le_rfl (fun _=>le_rfl) (le_add_of_nonneg_right ((Mason.kiosk W).safe _ hA _)),(ha i hi j).mono le_rfl le_rfl (fun _=>le_rfl) (le_add_of_nonneg_left ((Mason.kiosk W).safe _ hp _))⟩ |
| 134 | |
| 135 | end Dials |
| 136 | end YM.RG08.April |