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.RG05Readout.Offsets.Transport |
| 2 | import YM.UVExtension.Flake.Lamps |
| 3 | import YM.RG05Readout.Offsets.Target |
| 4 | import YM.RG05Readout.Offsets.Budget |
| 5 | import YM.RG05Readout.Offsets.Expansion |
| 6 | /-! |
| 7 | # An off-center primary input gives a real hierarchical output at anchored center |
| 8 | |
| 9 | Mint the actual weighted support rep first (including wrap), on graph Pill for |
| 10 | any offset over 0. Then certify the output in its engineering rows which must |
| 11 | be inverted with care. No small projection bound on the residual higher rows, |
| 12 | and the heading is not a label transfer or an assertion of analytic discrepancy. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.PhysicalNext.Repeat.Cub |
| 17 | open Circlet |
| 18 | open Function Filter Set Lattice RG Pressure Pressure.Tube Tree Wilson Finset MeasureTheory |
| 19 | open ConnectedActivityE6 Shell Coat SliceRows Pulse Mask Raw Matter Pond |
| 20 | open Push Push.AbsoluteSums Gas Ursell Trees Multiple Letter OmitClusters RG Shoot Precision SectorMeasure Oriented Reserves |
| 21 | open AnalyticBridge VerifiedReset Collection Quotes UVNext Next.Scheduling Org |
| 22 | open Extra.Iteration Greenbelt Match Song Refrain |
| 23 | open ConnectedActivityE6.Blaze Blaze.March Captain Silica Height Brim Time Supply Input Testing PriceCompiler Opera |
| 24 | open JointLoad JointLoad.Heir JointLoad.Heir.Suite JointLoad.Psalm Clockwork Roof Daisy Charity Rain Roost Lotus Blush Mallow |
| 25 | open UVNext.CouplingReset Animals Marlin Progress.DirectedRecipe Ovens Ovens.Pipes |
| 26 | open Extra.Histories Extra.Histories.Doors Next.Foundations YM.Planned.GuardedAtom Labels Peak Mercury Graces |
| 27 | open Planned.PrimaryIntegral295 WaterLevels |
| 28 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 29 | variable {G : Gauge}{M : Metals G}{D:Rolls M.p}{A:Alloy M D}{Q:ℕ→ℕ→ Teller G}{C: Programs M.p} |
| 30 | {r p:ℕ→ℕ} {R:ℕ→ℕ→Record}{B:Factor A}{V:Vintage.YM.Org.Bolt A} {jV : ℕ → ∀ p m,RG.Rep G (A.B.a.S.side m p)} |
| 31 | local notation "cc"=> A.B.a |
| 32 | variable {m N n d:ℕ} (hm:m<N) |
| 33 | local notation "J"=> A.B.a.clock.J (m+1) |
| 34 | local notation "T"=> A.B.a.clock.J m |
| 35 | local notation "B₁"=> A.B.a.budget m |
| 36 | local notation "B₂"=> A.B.a.budget (m+1) |
| 37 | local notation "X"=> A.B.a.clock.op m n |
| 38 | local notation "V0"=> ships A.B N m n |
| 39 | local notation "L"=> D.L J |
| 40 | local notation "y"=> A.B.a.clock.hatBeta m |
| 41 | local notation "v"=> R J T |
| 42 | local notation "u"=> C J T |
| 43 | local notation "vT"=> M.p.profile J |
| 44 | local notation "vB"=> M.p.profile T |
| 45 | local notation "r'"=> B.span J T |
| 46 | set_option quotPrecheck false |
| 47 | variable (hP:Circlet.Pitch M.p M.K Q C r) (hp: Pads D R Q M.K C A.delay) (hc: Decked C D R B.span B.shape A.delay) (hb:goodD M.p (A.B.a.clock.J (m+1)) (A.B.a.clock.J m) d)(hV:Vintage.YM.PhysicalNext.Repeat.Graces.Nest B V) (hC:Mallow.Arrives B.shape A.delay) |
| 48 | local notation "F"=> (Labels.frames G).level d |
| 49 | local notation "n₀"=> A.B.a.S.side m n |
| 50 | local notation "n₁"=> A.B.a.S.side (m+1) n |
| 51 | variable {K:In A.B.a m n} {x t:ℝ} (H: Spring B N m n x t K)(z: Icc x t) |
| 52 | local notation "Z"=> houseS H z |
| 53 | local notation "K!"=> K z.val |
| 54 | variable (hz:Push.Local.Readable (hol G) (localSection G d) (K z).p (A.B.a.S.side (m+1) n) (Cub.title G (M.p.profile (A.B.a.clock.J (m+1))))) (h!:HasSlots (K z|>.p) (K z|>.activities)) |
| 55 | -- wrap etc. earn with fixed Glider. |
| 56 | local notation "β" => (K z.val).beta |
| 57 | open RG05Cell |
| 58 | variable (b₀:Site (A.B.a.S.side (m+1) n))(hb₀:(A.B.a.clock.op m n).ratio.parent b₀=0) |
| 59 | local notation "Ω"=> RG05Cell.tab G b₀ d |
| 60 | local notation "w"=> B.span J T |
| 61 | local notation "Xp"=> (localSection G d).footprint b₀ |
| 62 | local notation "Yp"=> (plate Z Ω).support |
| 63 | open PPX Next.Free WardBin.Lies |
| 64 | -- expose Leg without footing.Help alignment |
| 65 | variable (i:((Labels.frames G).level d).Index) |
| 66 | local notation "θ!"=> Cub.title G vT |
| 67 | local notation "T!"=> wood (K z) b₀ i hz h! |
| 68 | local notation "c0"=> (K z).p |
| 69 | local notation "U!"=> (X) |
| 70 | local notation "f!"=> RG05Cell.hills (K z) b₀ i |
| 71 | local notation "Z0"=> icon Z Ω |
| 72 | local notation "q'"=> Chi.canonical |
| 73 | set_option quotPrecheck false |
| 74 | include h! hm hP hp hc hb hV hC |
| 75 | include hb₀ |
| 76 | open Multi.Puff Source Bid |
| 77 | local notation "M0"=> (M.p.profile T) |
| 78 | local notation "v0"=> ((L).val:ℂ)^d |
| 79 | local notation "F0"=> (Blush.pane Z T! v0 Z0) |
| 80 | local notation "t0"=> ((B₁).threshold) |
| 81 | local notation "S!"=> localSection G d |
| 82 | local notation "p'"=> (Vintage.YM.Planned.PrimaryIntegral295.WaterLevels.forecast V m N n) |
| 83 | local notation "f0"=> pupil H z (T!).live |
| 84 | local notation "f1"=> pupil H z (T!).pale |
| 85 | local notation "r0"=> Blush.screen Z T! f0 f1 v0 F |
| 86 | local notation "Scope"=> Blush.scope Z T! (0:Site n₀) |
| 87 | variable (g:G.Simple) |
| 88 | (he : (History.mk A.B.a jV).rep N n m = H.result z.val) (ht : (History.mk A.B.a jV).rep N n (m+1) = K z.val) (hd : d+3≤ A.B.a.clock.J m) {E:ℕ→ℝ} |
| 89 | (h' : Chop M.p E B.span) {W:Bid.Worth}(hY:Doors.Budget A.B.a E W) (hκ:Comply B.shape A.delay)(hi:i≠0) |
| 90 | local notation "yT"=> authors A.B.a m |
| 91 | include he ht hd h' hY hκ hi g |
| 92 | local notation "Wk"=> History.mk A.B.a jV |
| 93 | local notation "W₁" => (Wk).rep N n m |
| 94 | open MergeProof Guard YM.RG05Readout.Offsets |
| 95 | set_option maxRecDepth 6000 in |
| 96 | set_option maxHeartbeats 960000 in |
| 97 | lemma RG05_primary (Hk:(Wk).Conv N n m)(Pa:Wing→Prop)(hW:Pa (.logKey Ω))(Tq : Guard.Keeper ((History.mk A.B.a jV).rep N n m).p ((History.mk A.B.a jV).rep N n m).activities) (D':Angle J T d (M0).order L vB vT (query M.p M.K J T) M.p.kernel u v (B.target J T) (B.walls J T) (B.shape.o J T) (B.shape.μ J T) y (B.span J T)) (hs:4≤ A.B.a.clock.J m) (hj:d ≤ A.B.a.clock.J (m+1)) (hJ:Blend 2 (B₂).threshold (B₁).threshold) |
| 98 | (hv:Heir.Release.accepts w (vT).supportExponent ((vB).supportExponent+2) L): |
| 99 | let P:=Warehouse.flight (History.mk A.B.a jV) N m; let Zx:=Seal.donne S! (sound G d) M.p.kernel.penalty_pos hs (Next.Foundations.valuation G d) P hj hJ; let x:= Size.axis F i |
| 100 | let p:= Extra.Histories.primary b₀ x |
| 101 | let O:= (W₁) |
| 102 | let c:= E J*(F).coeffSize (vowel F L ((F).core x)) |
| 103 | ∃ Q:Coefficient F n₀, Gig S! (Wk) N n m (hol G) (p.density b₀ S! (K z)) Q Q.x 0 c ∧ |
| 104 | (F).coeffSize (basisCut F ((F).grades i).1 (Q.x-Zx.leads L x)) ≤ Doors.rate L ∧ |
| 105 | (F).coeffSize Q.x ≤ c ∧ |
| 106 | Tale Pa b₀ 0 v0 (p.exponentialEntry b₀ S! (K z)) 0 (profile O.activities Q.forced) 0 (2*load (T!).live) c (duet _ _ _ _ he ht (sandboxK H z)):=by |
| 107 | intro P Z' Y qPrim O c₀; let U:=wood (K z) b₀ i hz h!; let I:= enter (Z) (Z0); let R₁:=Blush.scope Z T! (0:Site n₀); let M':= (r0); let R':=(History.mk A.B.a jV).rep N n m |
| 108 | have hP':d ≤ T:= (Nat.le_add_right d 3).trans hd |
| 109 | have hS:=lively hY hP' (n:=n) |
| 110 | have hx: R'.p=B₁:=by rw [show R'=H.result z from he]; rfl |
| 111 | have hb₃:=RG05_target hm hP hp hc hb hV hC H z hz h! b₀ hb₀ i D' hS |
| 112 | obtain ⟨a,b,c,hA,hR,hT,hsy,hp⟩:= RG05_budgetLoop hm hP hp hc hb hV hC H z hz h! b₀ hb₀ i hi g he ht hd h' hY hκ Tq hv |
| 113 | let x:= Z'.leads L Y; let f:= M'.row 0 R₁ (hol G) t0 |
| 114 | have hZ: M'.Format 0 R₁ R':=hA.1 |
| 115 | have hsI: R₁ I=Yp:=by unfold R₁ Blush.scope I; rw [(enter Z).injective.extend_apply]; exact Mercury.grinchY Z (T!).live Ω rfl _ |
| 116 | have hI:f I = Local.weighted (hol G) F 0 Yp t0 F0:=by unfold f Push.Local.Raw.row; rw [hsI]; change Local.weighted _ _ _ _ _ (stuff (enter Z) _ (enter Z _))= _; rw [stuffed] |
| 117 | have hTg:=(costs_rows (F) ((F).grades i).1 (f I-x) _ D'.later (fun p h hi=> by rw [hI]; exact hb₃.2 p h hi hs hj hJ)) |
| 118 | have hΨ:= hC _ _ (A.B.valid.pays m) _ hb.1|>.1 |
| 119 | obtain ⟨p₁,b₂,y₀,gP,v₀,Y',g₁,C',g',e,uc,hX,hQ,N'',hη⟩:= hΨ.2 _ _ _ _ (Opera.protocol A.B hm B.pledging.conducts.full) _ _ Z |
| 120 | have ho:= Rain.jersey (A:=A) (m:=m) |
| 121 | have hS':0∈ U.live.crest.image (X).ratio.parent:= Finset.mem_image.mpr ⟨b₀,(by unfold U; rw [RG05Cell.place]; exact toe _),hb₀⟩ |
| 122 | have hY': (B₁).supportExponent+2≤(B.expense J T).earn:=by rw [ho.2.2.1]; have h:=B.pledging.agenda _ _ hb.1|>.1; linarith |
| 123 | obtain ⟨hz',hq⟩:= Cub.brimmed Z (T!) 0 f0 f1 v0 F N'' hη hΨ.1 hX rfl rfl ho.1 hY' (ho.2.1.symm ▸ hQ) hS' (i:=Ω) rfl (hol G) hx hZ hS |
| 124 | let V':= (fun j=> if j=I then 0 else f j); have hF:f = V' + fun j=> if j=I then f I else 0 :=by ext j; by_cases hz:j=I<;> simp [hz,V'] |
| 125 | let K1:ℕ→ ((F).Coeff) := fun j=>if j=I then f I else 0 |
| 126 | have hK : HasSum K1 (f I):=hasSum_ite_eq _ _ |
| 127 | have hv: Summable V':=by |
| 128 | have ht: Summable (V' + K1):= congr_arg (fun Zα : ℕ → (F).Coeff => Summable Zα) hF ▸ (show Summable f from hz') -- likely rw all |
| 129 | have hh : Summable ((V'+K1)-K1) := ht.sub hK.summable; rw [add_sub_cancel_right] at hh; exact hh |
| 130 | have hf:∑' j,f j=(∑' j,V' j)+f I:=by |
| 131 | calc ∑' j,f j=∑' j,(V'+K1) j:= tsum_congr (fun i=>congr_fun hF i) |
| 132 | _ = _:= (hv.hasSum.add hK).tsum_eq |
| 133 | let v₀:= marvel (Q:=B.target J T) («L»:=D.L J) (x:=y) U; let u0:=‖v0‖*(v₀+v₀) |
| 134 | let p₀:= Local.testPrice (F)*D'.current+Local.readPrice (hol G) (F)*u0 |
| 135 | obtain ⟨S⟩:=hR |
| 136 | let U0:= Guard.mint S M' (hol G) |
| 137 | have hκ' :0< Push.Local.kappa (Wk) m:= Real.sqrt_pos.mpr (forcedPos ..) |
| 138 | have hS₀ : Local.Readable (hol G) (localSection G d) O.p n₀ yT := (show O.p = B₁ from hx).symm ▸ hS |
| 139 | have h₀ :=Guard.usage S hA.1 Hk.good hS₀ |
| 140 | have hft : U0.density _ (localSection G d) O= blast (Wk) N n m d U.milk:= (value_mint S hA.1 Hk.good hκ' hS₀ hT).trans hA.2 |
| 141 | have hfR: qPrim.density b₀ S! (K z)= U.milk:=by |
| 142 | refine Eq.trans ?_ (Blush.balm (K z) b₀ Xp (toe _) _ _ (RG05Cell.costs (K z) b₀ i hz).1 (RG05Cell.costs (K z) b₀ i hz).2 h!) |
| 143 | funext V; rw [primary_density]; unfold Extra.Histories.salary |
| 144 | change ((K ↑z|>.eval V):ℂ)*(Y 0+masked (K z|>.p).threshold Xp ((S!).places (F|>.scaled (K z|>.p).threshold⁻¹ ((F).core Y)) b₀) V)=_ |
| 145 | unfold Y; rw [Size.core_axis,if_neg hi,show Size.axis F i 0=0 from Pi.single_eq_of_ne hi.symm _,zero_add] |
| 146 | rfl |
| 147 | have hr:= tab_mint S hA.1 Hk.good hκ' hS₀ hT |
| 148 | have hs₁ : 1 ≤ Local.turnCost O.p.order O.p.power := one_le_pow₀ (one_le_mul_of_one_le_of_one_le one_le_two (one_le_pow₀ one_le_two)) |
| 149 | have hrs:= (le_mul_of_one_le_left hr.first hs₁).trans ((le_add_of_nonneg_right hr.second).trans hp) |
| 150 | refine ⟨U0,⟨h₀,hfR.symm ▸ hft,(by rw [sub_self,show (F).coeffSize 0=0 from (by simp [Frame.coeffSize]),mul_zero]),_,_,hr,hp⟩,?_,?_ ,?_⟩ |
| 151 | · change (F).coeffSize (basisCut F ((F).grades i).1 (U0.x-x)) ≤ _ |
| 152 | have heM : U0.x = (∑' j,V' j)+f I := by |
| 153 | change M'.seed+ (∑' i,M'.row 0 _ (hol G) R'.p.threshold i)=_ |
| 154 | rw [hx,show M'.seed=0 from rfl,zero_add] |
| 155 | exact hf |
| 156 | rw [heM,add_sub_assoc,map_add] |
| 157 | have hUX : (F).coeffSize (basisCut F ((F).grades i).1 (∑' j,V' j)) ≤ Local.readPrice (hol G) F*u0 := (cap_rows ..).trans hq |
| 158 | apply (Size.add F _ _).trans ((add_le_add hUX hTg).trans ?_) |
| 159 | have hΞ:=(K z) |
| 160 | let Z₁:=(K z).p.mass U.live.crest U.live.weight |
| 161 | have hB:(K z).p=B₂:=(H.knows _ z.2).1.point |
| 162 | have hr:=hc.buys _ _ hb.1 (first_le A.B.valid m) _ (A.B.valid.pays m) d hj|>.geometry.2 |
| 163 | have hz₀: Z₁ ≤ credibility G (vT).supportExponent (vT).order (vT).power:= (RG05Cell.tally (K z) b₀ i hz h! (show minSide G d ≤(K z).p.B from by rw [hB,(Circlet.shifting (A:=A) (m:=m)).2]; exact hr)).trans_eq (by rw [hB, Rain.jersey (A:=A) (m:=m+1)|>.2.2.1]; rfl) |
| 164 | have h := D'.pricedC _ hz₀ n₁ (K z) U rfl |
| 165 | rw [add_comm] |
| 166 | unfold u0; rw [show ‖v0‖=((L).val:ℝ)^d from by simp,← two_mul]; exact h |
| 167 | · have h:= size_mint S hA.1 hS₀ hT 0 |
| 168 | change (F).coeffSize (U0.x-0) ≤ (F).coeffSize (M'.seed-0)+a at h |
| 169 | rw [show M'.seed=0 from rfl, sub_zero,sub_zero,show (F).coeffSize 0=0 from (by simp [Frame.coeffSize]),zero_add] at h |
| 170 | exact h.trans hrs |
| 171 | · obtain ⟨e,l,hq,h₃⟩:= hsy |
| 172 | have hA' := vigor hq hA.1 hS₀; rw [h₃] at hA' |
| 173 | have hU:= stackFee hA' hrs |
| 174 | have he' := budgetProfile S hT hA.1 hS₀ Hk.good hκ' |
| 175 | apply peels (Wk) N n m he ht (sandboxK H z) _ _ _ _ |
| 176 | _ _ _ _ _ _ |
| 177 | let V₂:= profile (H.result z|>.activities) U0.forced |
| 178 | let X':= coda S! (hol G) 0 R₁ M' R' |
| 179 | apply RG05_expansion g hm hC H z U U.rates b₀ Pa hW _ _ X' |
| 180 | (by unfold U; rw [RG05Cell.place]; exact toe _) _ _ V₂ _ _ |
| 181 | · let F':=RG05Cell.hills (K z) b₀ i; let O':=masked (K z).p.threshold (Xp) F' |
| 182 | have hv: qPrim.exponentialEntry b₀ S! (K z) = O':=by |
| 183 | funext V; unfold qPrim; simp only [Extra.Histories.primary,Coefficient.exponentialEntry]; unfold Y; simp_rw [Size.core_axis (F),if_neg hi,show Size.axis (F) i 0=0 from Pi.single_eq_of_ne hi.symm _,zero_add] |
| 184 | change O' V + ∑' j, qPrim.maskedTerm (K z) j V= O' V |
| 185 | have hh j:qPrim.maskedTerm (K z) j V=0:= congr_fun (map_zero (Push.Local.maskLinear _ _)) V |
| 186 | simp_rw [hh,tsum_zero,add_zero] |
| 187 | rw [hv] |
| 188 | funext j; change _ = (↑(O' j).re:ℂ)+Complex.I*↑(O' j).im; rw [mul_comm Complex.I]; exact (Complex.re_add_im _).symm |
| 189 | · funext m U; change (0:ℂ)=0+Complex.I*0; simp |
| 190 | · change V₂= _ + hook _ _ X'; unfold V₂; rw [← he]; exact he' |
| 191 | rw [← he]; exact hU |
| 192 | end YM.PhysicalNext.Repeat.Cub |