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.Skein |
| 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} |
| 11 | variable {C:Family G} {N m p d:ℕ}{δ:E4} |
| 12 | set_option quotPrecheck false |
| 13 | local notation "Z"=>C.path.levels.clock.op m p |
| 14 | local notation "R"=> C.path.rep N p m |
| 15 | local notation "M"=> C.path.rep N p (m+1) |
| 16 | local notation "F"=>C.labels.level |
| 17 | local notation "Y"=> C.params |
| 18 | local notation "S"=> C.localSection |
| 19 | local notation "κ"=> kappa C.path |
| 20 | local notation "L"=> C.path.S.block m |
| 21 | local notation "v"=> ((L).val:ℂ)^d |
| 22 | local notation "ℓ"=> (((L).val:ℝ)⁻¹) |
| 23 | 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) |
| 24 | /-! |
| 25 | # Composing all charges on a physical snapshot |
| 26 | -/ |
| 27 | /-! |
| 28 | # Snapshot recurrence per-child |
| 29 | |
| 30 | This costs in threshold field column convention, including script letters on |
| 31 | root test. Each inequality holds for the ONE same represented history. Underlying |
| 32 | valuation paths pay separate addressed root counts in the outer application. |
| 33 | -/ |
| 34 | variable (o:Site (C.side (m+1) p)) (ho:(C.path.levels.clock.op m p).ratio.parent o=0) |
| 35 | variable {T:∀ i:Letter d,Heading (C.labels.level (kept i))}(hw:Plot D s K c α β T) (he:MapsTo (fun x=>δ+(((C.path.S.block m).val:ℝ)⁻¹) • x) Native.box Native.box) |
| 36 | local notation "r"=> Native.pull δ ℓ |
| 37 | local notation "Pr"=> Printed C d R 0 (κ m) |
| 38 | local notation "acc"=> aCost d K |
| 39 | local notation "sta"=> stCost d K |
| 40 | |
| 41 | def Slide {A:Type*} [AddCommGroup A] [Module ℂ A] (x:Palette C d)(z:Mark C d→A):A:=∑ i:Mark C d,val x i • z i -- remove out |
| 42 | lemma slide_linear {A:Type*} [AddCommGroup A][Module ℂ A] (s:Mark C d→A): IsLinearMap ℂ fun x:Palette C d=> Slide x s:=by |
| 43 | constructor |
| 44 | · intro x y; unfold Slide val;simp only [Pi.add_apply,add_smul,Finset.sum_add_distrib] |
| 45 | intro a x; unfold Slide val; simp only [Pi.smul_apply,smul_assoc,Finset.smul_sum] |
| 46 | |
| 47 | def decay (d:ℕ)(P:Side)(K c α:ℝ):ℝ:= (stCost d K+aCost d K)*α+ (↑P.val:ℝ)⁻¹*(2*(c+α)) |
| 48 | def margin (d:ℕ)(c K:ℝ):= (stCost d K + aCost d K)*c |
| 49 | -- trivial estimates high |
| 50 | lemma aCpos (hp:0 ≤ K):0 ≤ aCost d K:= by unfold aCost; positivity |
| 51 | lemma sCpos (hp:0 ≤ K):0 ≤ stCost d K:= by unfold stCost; positivity |
| 52 | lemma decays (P:Side)(hp:0 ≤ K)(hc:0 ≤ c)(hα:0 ≤ α): 0 ≤ decay d P K c α:=by unfold decay; have hu:=aCpos (d:=d) hp; have he:=sCpos (d:=d) hp; positivity |
| 53 | |
| 54 | def tollV (d:ℕ)(L':Side)(K c α β:ℝ):= aCost d K*((2+α)+K*α)+(↑L'.val:ℝ)⁻¹*((1+c+β)+(2+α)) |
| 55 | def tollP (d:ℕ)(K c β:ℝ) := aCost d K*(1+c+β+K*c) |
| 56 | -- ONE primary letter inventory prices with that common T. choose per stamp witnesses first. In addition Φ shift |
| 57 | structure Swells (o:Site (C.side (m+1) p)) (z:Mark C d→Tape G (C.side m p))(x y:Mark C d→Palette C d) :Prop where |
| 58 | current i : Course (D:=D) o ((micro C i o M).comp (Native.pull δ ℓ)) (z i) (x i) (y i) (margin d c K*chargeN L i) (tollP d K c β*chargeN L i) |
| 59 | age i: size (x i) ≤ margin d c K*chargeN L i |
| 60 | debits i: size (Address.clear C d (weights i) (x i - leadScale C L i (T i.1)))≤ oldCost d K*α |
| 61 | -- Stage orientation. only anchor iteration below. |
| 62 | include hw he h hm ho |
| 63 | lemma slip : ∃ z x y, Swells (δ:=δ) (T:=T) (K:=K) (D:=D) (c:=c) (α:=α) (β:=β) o z x y:=by |
| 64 | have hB(i:Mark C d): ∃ z x y, Course (d:=d) (D:=D) o ((micro C i o M).comp (Native.pull δ ℓ)) z x y (margin d c K*chargeN L i) (tollP d K c β*chargeN L i)∧ size x ≤ margin d c K*chargeN L i∧ size (Address.clear C d (weights i) (x - leadScale C L i (T i.1))) ≤ oldCost d K*α:=by |
| 65 | have hδ:δ∈Native.box:= by simpa using he Native.box0 |
| 66 | obtain ⟨k,hk⟩:=hw.star i.1 |
| 67 | obtain ⟨V,x,z,hC,hV,hy⟩:=primary_curve hw.cursor h hm hδ i.1 o i.2 ho hk.1 hw.posp hw.a_pos hw.b_pos |
| 68 | let F':=(micro C i o M); let Q:=chargeN L i; have h1 :1 ≤ Q:=charge_one _ _; have hu:=zero_le_one.trans hw.cursor.fits; have hc:= zero_le_one.trans hw.posp; refine ⟨V,x,z,Course.rise hC ?_ ?_,?_,hy⟩ |
| 69 | · unfold margin; rw [mul_assoc]; exact mul_le_mul_of_nonneg_right (le_add_of_nonneg_right (aCpos hu)) (mul_nonneg hc (zero_le_one.trans h1)) |
| 70 | · change aCost d K * (1+c*Q+β+K*(c*Q))≤ tollP d K c β*Q |
| 71 | unfold tollP; rw [mul_assoc]; apply mul_le_mul_of_nonneg_left _ (aCpos hu); nlinarith only [mul_le_mul_of_nonneg_left h1 hw.b_pos,h1] |
| 72 | apply hV.trans; unfold margin; rw [mul_assoc]; exact mul_le_mul_of_nonneg_right (le_add_of_nonneg_left (sCpos hu)) (mul_nonneg hc (zero_le_one.trans h1)) |
| 73 | choose z x y hC hV hW using hB; exact ⟨z,x,y,hC,hV,hW⟩ |
| 74 | -- assembled Travel estimates. Cancellation needs simultaneous log/k partner snapshots; priced at root after stencil placement. |
| 75 | omit he ho |
| 76 | lemma all_sheet (x:Palette C d) {z:Mark C d→Tape G (C.side m p)}{w g:Mark C d→Palette C d} (hs : Swells (δ:=δ) (T:=T) (K:=K) (D:=D) (c:=c) (α:=α) (β:=β) o z w g): -- z variable? update |
| 77 | Course (D:=D) o ((Slide x (fun i=>micro C i o M)).comp r) (Slide x z) (Slide x w) (Slide x g) (margin d c K *size (amplify d C L x)) (tollP d K c β*size (amplify d C L x))∧ size (Slide x w) ≤ margin d c K*size (amplify d C L x):=by |
| 78 | have hz':= hs.current |
| 79 | have hx (i:Mark C d):= (hz' i).rescale hw.cursor (val x i); have hw'(e:ℝ) : (∑ i:Mark C d,‖val x i‖ * (e*chargeN L i))=e*size (amplify d C L x):=by rw [← charge_sum L x,Finset.mul_sum]; exact Finset.sum_congr rfl fun i _=>mul_left_comm .. |
| 80 | have hk:= Course.faith hw.cursor h hm hw.door Finset.univ (fun i _=>hx i) |
| 81 | rw [hw',hw'] at hk |
| 82 | refine ⟨?_,?_⟩ |
| 83 | · rw [Slide]; rw [show ((∑ i:Mark C d,val x i • micro C i o M):Tape G (C.side (m+1) p)).comp (Native.pull δ ℓ)=∑ i:Mark C d,val x i • (micro C i o M).comp (Native.pull δ ℓ) from ?_] |
| 84 | · exact hk |
| 85 | ext1 u; simp only [LinearMap.comp_apply,LinearMap.smul_apply,LinearMap.sum_apply] |
| 86 | rw [← hw']; apply (size_sum ..).trans; apply Finset.sum_le_sum; intro i _; rw [size_smul]; exact mul_le_mul_of_nonneg_left (hs.age _) (norm_nonneg _) |
| 87 | end YM.RG05Readout.Address |