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.Tidal |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.RG05Readout.Address |
| 5 | open Function Filter Set MeasureTheory Lattice Wilson Labels RG Source Bid |
| 6 | open Extra.Histories Push Local Planned.GuardedAtom Guard MergeProof Extra.Histories.Relay Native |
| 7 | open PhysicalNext.Repeat Lotus Motion Trace.Physical Offsets |
| 8 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius Classical |
| 9 | |
| 10 | variable {G:Gauge} {C:Family G} {N m p d:ℕ}{δ:E4} |
| 11 | set_option quotPrecheck false |
| 12 | local notation "Z"=>C.path.levels.clock.op m p |
| 13 | local notation "R"=> C.path.rep N p m |
| 14 | local notation "M"=> C.path.rep N p (m+1) |
| 15 | local notation "F"=>C.labels.level |
| 16 | local notation "Y"=> C.params |
| 17 | local notation "S"=> C.localSection |
| 18 | local notation "κ"=> kappa C.path |
| 19 | local notation "L"=> C.path.S.block m |
| 20 | local notation "v"=> ((L).val:ℂ)^d |
| 21 | local notation "ℓ"=> (((L).val:ℝ)⁻¹) |
| 22 | variable {s t K u τ α C' :ℝ}{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) |
| 23 | local notation "K0"=>K^3 |
| 24 | include hp h hm hx hδ |
| 25 | variable (k:Letter d)(a:ℕ) (Q:Coefficient (C.labels.level (kept k)) (C.side m p)) (y:Three G (C.side (m+1) p)) (o:Site (C.side (m+1) p)) |
| 26 | local notation "W"=> F (kept k) |
| 27 | local notation "Si"=> invoice Q 0 (S (kept k)) R |
| 28 | local notation "q"=> Q.x |
| 29 | local notation "ϵ"=> (W).coeffSize q |
| 30 | local notation "χ"=> (((L).val:ℂ)^(kept k)) |
| 31 | local notation "Rt"=> (↑(ℓ^depth k):ℂ) |
| 32 | local notation "ε"=> Native.readJ k δ |
| 33 | local notation "P₀"=> Travel C N m p d o D |
| 34 | variable (hZ: Q.Format 0 C.params (C.path.rep N p m))(hP: Q.remBound 0 (C.path.rep N p m) (kappa C.path m) t) |
| 35 | (ht: Ride (C.path.levels.clock.op m p) o 0 D (((C.path.S.block m).val:ℂ)^(kept k)) y (invoice Q 0 (C.localSection (kept k)) (C.path.rep N p m)) u) |
| 36 | include hP hZ ht |
| 37 | lemma surplus : |
| 38 | let I':= (Rt) • glyph (recollect d (ε)) y |
| 39 | ∃ V:Tape G (C.side m p), Course (d:=d) (D:=D) o I' V 0 0 (K*(K*ϵ+(2*K*ϵ+t))) (K*(u+K*ϵ)):=by |
| 40 | intro P; let f:= recollect d (ε) |
| 41 | obtain ⟨T,hB,hC,hR,hX,hI⟩:= Cursor.reshape (D:=D) h hm hp Q (Nat.zero_le _) (Nat.sub_le ..) hx hZ hP ht |
| 42 | let V:= glyph f (invoice T 0 (S 0) R) |
| 43 | have he : Priced d f K:=fun b t hx=> (recall_read d hδ k b t hx).trans (mul_le_mul_of_nonneg_right hp.earns hx.nonneg) -- likely arg |
| 44 | have hz:= printed_high (d:=d) (φ:=f) (tail_rec d _) he T hB (rem_mono hC (show _ ≤ 2*K*ϵ+t from (le_of_eq (by ring)))) -- f0 |
| 45 | refine ⟨V,hz.grow (mul_le_mul_of_nonneg_left (add_le_add_left hX _) (zero_le_one.trans hp.fits)),Travel.scaleTo y _ f he k hR⟩ |
| 46 | |
| 47 | local notation "Ct"=> (Fintype.card (Letter d):ℝ) |
| 48 | def extra (d:ℕ)(K:ℝ):= (Fintype.card (Letter d):ℝ)+K |
| 49 | -- scale D' |
| 50 | lemma primitive (H:∀ j:ℕ,j<a → (W).coeffSize (basisCut W j q)≤α) (hα: 0≤ α): |
| 51 | let I':= (glyph (readJ k 0) y).comp (Native.pull δ ℓ) |
| 52 | let t':=K*(K*ϵ+(2*K*ϵ+t))+Ct*K^2*(2*K*ϵ+t) |
| 53 | ∃ V':Tape G (C.side m p), ∃ x z:Palette C d,Course (D:=D) o I' V' x z t' ((K+Ct*K^3)*(u+K*ϵ)) ∧ size x≤Ct*K^3*ϵ ∧ size (Address.clear C d (depth k+a) (x-chunk k q)) ≤ Ct *K^3*α:=by |
| 54 | intro I J; let A:=K^2*(2*K*ϵ+t); let g:=readJ k δ; let f(i:Letter d):=(Rt • glyph (g (line i) • readJ i 0) y); let c:=K^3*(u+K*ϵ) |
| 55 | choose V x z hC hs hD using fun i=>raising hp h hm hx hδ k a Q y o hZ hP ht i H hα |
| 56 | obtain ⟨T,hT⟩:=surplus hp h hm hx hδ k Q y o hZ hP ht; let L':= (∑ i:Letter d,V i); let h':=(∑ i,x i); let t'':=(∑ i,z i) |
| 57 | have he(i:Letter d):Travel C N m p d o D (f i) (V i) c:=(hC i).ready |
| 58 | have hv : Travel C N m p d o D (∑ i,f i) L' (Ct*c):=by simpa only [Finset.sum_const,Finset.card_univ,nsmul_eq_mul] using Travel.list Finset.univ h hm hx (fun i _=> he i) |
| 59 | have hF: Printed C d R 0 (κ m) L' h' t'' (Ct*A):=by |
| 60 | have ha:= hp.sense d le_rfl |
| 61 | simpa only [Finset.sum_const,Finset.card_univ,nsmul_eq_mul] using Printed.all (Real.sqrt_pos.mpr (forcedPos C.path.levels m)) (h.wilson.represents N p m hm.le).good Finset.univ ha.order ha.power (fun i _=>(hC i).paid) |
| 62 | refine ⟨T+L',0+h',0+t'',⟨(hT.paid.addP hF (h.wilson.represents N p m hm.le).good (hp.sense d le_rfl).order (hp.sense d le_rfl).power).grow (le_of_eq (by unfold J A;ring)),?_⟩,?_,?_⟩ |
| 63 | · have hi : I=(Rt) • (glyph (recollect d (ε)) y)+∑ i,f i:=by |
| 64 | ext1 u'; let Xk:= expands d g u'; unfold I f |
| 65 | simp only [LinearMap.comp_apply,glyph_apply,LinearMap.add_apply, LinearMap.smul_apply,LinearMap.sum_apply] |
| 66 | have ht : readJ k 0 (Native.pull δ ℓ u')=Rt • g u':=by |
| 67 | refine (rate_consider k.2 δ 0 ℓ u').trans ?_ |
| 68 | rw [smul_zero,add_zero]; rfl |
| 69 | rw [ht, Xk, smul_assoc,add_smul,Finset.sum_smul,smul_add,Finset.smul_sum]; exact add_comm .. |
| 70 | rw [hi]; refine (hT.ready.add hv h hm hx).extend (le_of_eq ?_); unfold c; ring |
| 71 | · rw [zero_add, mul_assoc]; apply (size_sum ..).trans; exact (Finset.sum_le_sum (fun i _=> hs i)).trans_eq (by rw [Finset.sum_const, Finset.card_univ,nsmul_eq_mul]) |
| 72 | rw [zero_add] |
| 73 | have hz:x k=chunk k q:=by simpa using hD k |
| 74 | let I0:=(Finset.univ:Finset (Letter d)).erase k |
| 75 | have hj(i: Letter d) (hr:i∈I0) : size (Address.clear C d (depth k+a) (x i)) ≤ K^3 * α:=by |
| 76 | have h':=hD i; rw [if_neg (Finset.ne_of_mem_erase hr)] at h'; exact h' |
| 77 | rw [show h'=(∑ i∈ I0,x i)+chunk k q from ?_, add_sub_cancel_right, map_sum, mul_assoc] |
| 78 | · apply (size_sum ..).trans |
| 79 | apply le_trans (Finset.sum_le_sum hj) |
| 80 | rw [Finset.sum_const, nsmul_eq_mul] |
| 81 | exact mul_le_mul_of_nonneg_right (Nat.cast_le.mpr (Finset.card_le_univ _)) (mul_nonneg (pow_nonneg (zero_le_one.trans hp.fits) _) hα) |
| 82 | rw [← hz]; exact (Finset.sum_erase_add _ x (Finset.mem_univ _)).symm |
| 83 | end YM.RG05Readout.Address |