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.Address.Bend |
| 2 | import YM.RG05Readout.Address.Lit |
| 3 | /-! |
| 4 | # Stencil heading -- each low test-native slot |
| 5 | |
| 6 | Include field-only upward rows with no PPX smallness request. Diagonal model |
| 7 | here refers only to those on/above its cost curve; does not claim prediction |
| 8 | on the rest. Prices certified before selecting the stencil v on each step. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.RG05Readout.Address |
| 13 | open Function Filter Set MeasureTheory Lattice Wilson Labels RG Source Bid |
| 14 | open Extra.Histories Push Local Planned.GuardedAtom Guard MergeProof Extra.Histories.Relay Native |
| 15 | open PhysicalNext.Repeat Lotus Motion Trace.Physical Offsets |
| 16 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius Classical |
| 17 | |
| 18 | variable {G:Gauge} |
| 19 | variable {C:Family G} {N m p d:ℕ}{δ:E4} |
| 20 | set_option quotPrecheck false |
| 21 | local notation "Z"=>C.path.levels.clock.op m p |
| 22 | local notation "R"=> C.path.rep N p m |
| 23 | local notation "M"=> C.path.rep N p (m+1) |
| 24 | local notation "F"=>C.labels.level |
| 25 | local notation "Y"=> C.params |
| 26 | local notation "S"=> C.localSection |
| 27 | local notation "κ"=> kappa C.path |
| 28 | local notation "L"=> C.path.S.block m |
| 29 | local notation "v"=> ((L).val:ℂ)^d |
| 30 | local notation "ℓ"=> (((L).val:ℝ)⁻¹) |
| 31 | variable {s t K u τ α c β a:ℝ}{D:GaugeDoor (C.path.rep N p (m+1)) (C.path.rep N p m)} (hp:Cursor C N m p d s K) (h:C.Makes)(hm:m<N)(hx:SoundDoor (C.path.levels.clock.op m p) D)(hδ: δ∈Native.box) |
| 32 | variable (k:Letter d)(o:Site (C.side (m+1) p)) (j:(C.labels.level (kept k)).Index) {T:Heading (C.labels.level (kept k))} |
| 33 | local notation "W"=> F (kept k) |
| 34 | variable (ho:(C.path.levels.clock.op m p).ratio.parent o=0) (hw: Pricing (C.localSection (kept k)) C.path N p m C.params D T a c α β) |
| 35 | -- factors totaled in signed schedule |
| 36 | |
| 37 | def stCost (d:ℕ)(K:ℝ):ℝ:=K*(K+(2*K+1))+(Fintype.card (Letter d):ℝ)*K^2*(2*K+1) |
| 38 | def aCost (d:ℕ)(K:ℝ):ℝ:=K+(Fintype.card (Letter d):ℝ)*K^3 |
| 39 | local notation "Ct"=> (Fintype.card (Letter d):ℝ) |
| 40 | def oldCost (d:ℕ)(K:ℝ):ℝ:= 1+(Fintype.card (Letter d):ℝ)*K^3 |
| 41 | |
| 42 | def leadScale (C:Family G) (O:Side) {d:ℕ}(i:Mark C d)(T:Heading (C.labels.level (kept i.1))):Palette C d:= |
| 43 | chunk i.1 (T.leads O (Size.axis (C.labels.level (kept i.1)) i.2)) |
| 44 | def micro (C:Family G) {d:ℕ} {n:Side} (b:Mark C d) (o:Site n)(J:Rep G n):=glyph (readJ b.1 0) (invoice (Extra.Histories.primary o (Size.axis (C.labels.level (kept b.1)) b.2)) o (C.localSection (kept b.1)) J) |
| 45 | include hp h hm hδ ho hw |
| 46 | lemma primary_curve (hc:1≤c)(hα:0≤α)(hβ:0≤β) : let b:Mark C d:=⟨k,j⟩; let u:= c*chargeN L b |
| 47 | let H:= (micro C b o M).comp (Native.pull δ ℓ) |
| 48 | ∃ V:Tape G (C.side m p),∃ x z:Palette C d, Course (D:=D) o H V x z (stCost d K*u) (aCost d K*(1+u+β+K*u)) ∧ size x≤aCost d K*u ∧ size (Address.clear C d (weights b) (x-leadScale C L b T)) ≤ oldCost d K*α:=by |
| 49 | intro b u H; let X':= Size.axis W j; let P:=(Extra.Histories.primary o X'); let y:=invoice P o (S (kept k)) M; have ht:0≤K:=(zero_le_one.trans hp.fits) |
| 50 | obtain ⟨Q,hP,hR,hY,hU,hV⟩:= primary_grant C N m p (kept k) o D h hm ho hw j hα hc hβ -- i infer? |
| 51 | let r:=((W).grades j).1 |
| 52 | have hz(v': (W).Coeff)(hk:ℕ)(hf:hk≤r): basisCut W hk v'=basisCut W hk ((basisCut W r) v'):=funext fun i=>by |
| 53 | by_cases hZ:((W).grades i).1≤hk |
| 54 | · simp [basisCut,hZ,hZ.trans hf] |
| 55 | simp [basisCut,hZ] |
| 56 | have hF : (W).coeffSize (vowel W L (Size.axis W j))=chargeN L b:=by |
| 57 | rw [scale_n]; unfold chargeN b weights; simp only [kept,Nat.sub_sub] |
| 58 | rw [hF] at hU hR hY |
| 59 | let T':= T.leads L X' |
| 60 | have hx(h₁:ℕ)(h₂:h₁<r): basisCut W h₁ T'=0:=by |
| 61 | let w:ℂ:= ↑(chargeN L b) |
| 62 | have he : vowel W L X'=w • X':=by |
| 63 | funext i; by_cases hj:i=j |
| 64 | · subst i; unfold X' vowel w chargeN b Size.axis weights kept; rw [Nat.sub_sub];push_cast;rfl |
| 65 | unfold X' vowel Size.axis; simp [hj] |
| 66 | have hA:= congr_arg T.map he; rw [map_smul] at hA; change T'=_ at hA; rw [hA,map_smul]; suffices hQ : basisCut W h₁ (T.map X')=0 by rw [hQ,smul_zero] |
| 67 | funext i; unfold basisCut; dsimp only [LinearMap.coe_mk,AddHom.coe_mk] |
| 68 | by_cases hh: ((W).grades i).1≤h₁ |
| 69 | · rw [if_pos hh]; by_contra hv |
| 70 | have htV:= hw.lower.triangular i j (by rintro hX; subst i; exact (not_le_of_gt h₂) hh) hv; exact (Nat.not_le_of_gt htV) (hh.trans h₂.le) |
| 71 | rw [if_neg hh];rfl |
| 72 | have hh(k':ℕ)(hk:k'<r) : (W).coeffSize (basisCut W k' Q.x)≤α:=by |
| 73 | have ho : basisCut W k' (Q.x-T')=basisCut W k' Q.x:=by rw [map_sub,hx k' hk,sub_zero] |
| 74 | rw [← ho,hz (Q.x-T') k' hk.le]; exact (cap_rows ..).trans hV |
| 75 | obtain ⟨V,x,z,hC,hA,hz'⟩:= primitive hp h hm hw.soundD hδ k r Q y o hP hR hY hh hα |
| 76 | let e:=(W).coeffSize Q.x; refine ⟨V,x,z,⟨hC.paid.grow ?_,hC.ready.extend ?_⟩,?_,?_⟩ |
| 77 | · calc K*(K*e+(2*K*e+u))+Ct*K^2*(2*K*e+u) ≤ K*(K*u+(2*K*u+u))+Ct*K^2*(2*K*u+u):=by gcongr |
| 78 | _=_:=by unfold stCost;ring |
| 79 | · change (aCost d K)*(1+u+β+K*e) ≤ _; unfold aCost; gcongr |
| 80 | · have hu:0 ≤ u:=by unfold u; exact mul_nonneg (zero_le_one.trans hc) (zero_le_one.trans (charge_one ..)) |
| 81 | exact (hA.trans (mul_le_mul_of_nonneg_left hU (by positivity))).trans (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left ht) hu) |
| 82 | let n:=depth k+r; let D':=Address.clear C d n |
| 83 | have ht : D' (chunk k Q.x-leadScale C L b T)=chunk k (basisCut W r (Q.x-T')):=by |
| 84 | have hw : chunk k Q.x-chunk k T'=chunk k (Q.x-T'):=by |
| 85 | ext1 i; by_cases hi:i=k |
| 86 | · subst i; simp |
| 87 | simp [hi] |
| 88 | change D' (chunk k Q.x-chunk k T')=_; rw [hw,cpart]; unfold n; rw [if_pos (Nat.le_add_right ..),Nat.add_sub_cancel_left] |
| 89 | change size (D' _) ≤ _; rw [show x-leadScale C L b T=(x-chunk k Q.x)+(chunk k Q.x-leadScale C L b T) from by abel,map_add,ht] |
| 90 | apply (size_add ..).trans; rw [size_chunk] |
| 91 | exact (add_le_add hz' hV).trans_eq (by unfold oldCost;ring) |
| 92 | end YM.RG05Readout.Address |