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.OPE.Orbits.Rent |
| 2 | |
| 3 | /-! Test of the calibrated direct error at every averaged fixed readout of |
| 4 | our new Reader. Constants/extraction order remain the actual construction's; |
| 5 | only manipulating weights and detector kernels. -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.OPE.Orbits |
| 9 | open Function Set Filter MeasureTheory Extraction Table |
| 10 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 11 | attribute [local instance] measO borelO hμ |
| 12 | |
| 13 | variable {G:Gauge} {C:Family G}{S:Table C.book}{F:Order} |
| 14 | (U:Spec.Final C F S) (R:Reader U.sector.derivatives U.sector.turns U.room.kernel.spin)(h:Services C F S) |
| 15 | {I J L:Type} [Fintype I] [Fintype J] {A:L→ℝ}{φ:Filter L}(hA:Tendsto A φ atTop) [φ.NeBot] |
| 16 | {d:I→ℕ}{e:J→ℕ}{a b c:ℝ} {x:L→ I→ E4}{y:L→ J→ E4}{o:L→E4} |
| 17 | variable (v:Labels S d)(hx:enveloped φ A a x o)(hk:Kept φ A a x)(ha:0<a) |
| 18 | {w:L→Labels S e} (hy:Kept φ A 0 y)(hp:Intervals φ A 0 (fun l=>sole (o l)) y)(hw:∀ j, RateLE φ A (fun l=>w l j) 0) |
| 19 | |
| 20 | def singleError (U:Spec.Final C F S)(R:Reader U.sector.derivatives U.sector.turns U.room.kernel.spin)(m:ℕ) |
| 21 | (x:L→I→E4)(o:L→E4)(v:Labels S d)(l:L) (e:Exterior C.book)(k:Ortho):ℂ:= |
| 22 | discrepancy S m (x l) (o l) v (shadowOld R.port m (x l) (o l) v) (swung e k (o l)) (turnsPort U.sector.turns k e) |
| 23 | |
| 24 | def errorColor (U:Spec.Final C F S) (R:Reader U.sector.derivatives U.sector.turns U.room.kernel.spin)(m:ℕ)(x:L→I→E4)(o:L→E4)(v:Labels S d)(l:L) |
| 25 | (e:Exterior C.book)(k:Ortho):ℂ:=discrepancy S m (x l) (o l) (bar U.room.kernel.spin v) (S.conj U.room.kernel.spin m (shadowOld R.port m (x l) (o l) v)) (swung e k (o l)) (turnsPort U.sector.turns k e) |
| 26 | |
| 27 | include U R h hA hx hk ha hy hp hw |
| 28 | private lemma old_at (m:ℕ): RateLE φ A (fun l=>discrepancy S m (x l) (o l) v (shadowOld R.port m (x l) (o l) v) (y l) (w l)) ((weight d-m-1)*a) := by |
| 29 | apply old_moving U hA (r:=fun _=>none) v hx hk hp hy ha (le_refl 0) ?_ w hw |
| 30 | intro w; refine (discrepancy_rate_old U R h hA (fun _=>none) v w hx hk hp hy ha le_rfl ha le_rfl m).mono ?_; ring_nf; rfl |
| 31 | |
| 32 | omit hy U R h hA hx hk hp hw ha |
| 33 | lemma whole_bar {x:I→E4}{v:Labels S d}{y:J→ E4}{w:Labels S e}(v':S.RealSpin)(h:S.Hierarchy)(hx:Injective (beside x y)) : whole S x (bar v' v) y (bar v' w)=star (whole S x v y w) :=by |
| 34 | unfold whole; apply Eq.trans ?_ (bar_observes v' h (fun _=>le_rfl) (y:=beside x y) hx); apply congr_arg; funext i; cases i <;> rfl |
| 35 | |
| 36 | include U R h hA hx hk ha hy hp hw |
| 37 | private lemma tintCost (m:ℕ) : RateLE φ A (fun l=>discrepancy S m (x l) (o l) (bar U.room.kernel.spin v) (S.conj U.room.kernel.spin m (shadowOld R.port m (x l) (o l) v)) (y l) (w l)) ((weight d-m-1)*a):=by |
| 38 | have hh:∀ j:J,RateLE φ A (fun l=>(bar U.room.kernel.spin (w l)) j) 0:=fun j=>pay_fixed hA (conjugateR _ _) (hw j) |
| 39 | let f l:=discrepancy S m (x l) (o l) v (shadowOld R.port m (x l) (o l) v) (y l) (bar U.room.kernel.spin (w l)) |
| 40 | have hd := old_at U R h hA v hx hk ha hy hp hh m; refine hd.transfer (G:=fun l=> discrepancy S m (x l) (o l) (bar U.room.kernel.spin v) (S.conj U.room.kernel.spin m (shadowOld R.port m (x l) (o l) v)) (y l) (w l)) ?_ |
| 41 | obtain ⟨h₁,h₂⟩:=clearance_both hA hx hk hp hy ha le_rfl; filter_upwards [h₁,h₂] with l ho hz |
| 42 | refine le_of_eq (Eq.trans (b:=‖star (f l)‖) ?_ (norm_star _)); apply congr_arg norm; unfold f; rw [discrepancy,discrepancy,star_sub]; change _ - (whole S (sole _) _ (y l) (w l))=_ -(star (whole S (sole _) _ _ (bar _ (w l)))) |
| 43 | have hw:= whole_bar (v:=v) (w:=bar U.room.kernel.spin (w l)) U.room.kernel.spin U.room.kernel hz |
| 44 | have ht:= whole_bar (v:=fun _=>shadowOld R.port m (x l) (o l) v) (w:=bar U.room.kernel.spin (w l)) U.room.kernel.spin U.room.kernel ho |
| 45 | rw [bar_bar] at ht; rw [← hw,bar_bar]; exact congr_arg (_-·) (show _=_ from ht) |
| 46 | omit hw hy hp |
| 47 | section |
| 48 | local notation "P" => R.port |
| 49 | local notation "X" => U.sector.turns |
| 50 | local notation "ρ" => U.room.kernel.spin |
| 51 | variable (m n:ℕ) |
| 52 | private lemma spin_old (k:L→Ortho)(y:Exterior C.book)(i:Mode U.sector.derivatives): RateLE φ A (fun s=> ((R.port.sheet i) y * singleError U R m x o v s y (k s)) • U.sector.turns.act _ (k s) (R.port.loaded i n)) ((weight d-m-1)*a):=by |
| 53 | obtain ⟨ht,hs⟩:= shrinking_port (o:=o) hA y k; have hc:=old_at (C:=C) U R h hA v hx hk ha ht hs (turn_port_rate hA R.law y k) m |
| 54 | refine (((RateLE.const _ hA).mul hc).smul (loaded_rate hA P R.law n i k)).mono ?_; ring_nf; rfl |
| 55 | |
| 56 | private lemma spin_tint (k:L→Ortho)(y:Exterior C.book)(i:Mode U.sector.derivatives): RateLE φ A (fun s=> ((R.port.sheet i) y * errorColor U R m x o v s y (k s)) • U.sector.turns.act _ (k s) (R.port.loaded i n)) ((weight d-m-1)*a):=by |
| 57 | obtain ⟨ht,hs⟩:= shrinking_port (o:=o) hA y k; have hc:=tintCost U R h hA v hx hk ha ht hs (turn_port_rate hA R.law y k) m |
| 58 | refine (((RateLE.const _ hA).mul hc).smul (loaded_rate hA P R.law n i k)).mono ?_; ring_nf; rfl |
| 59 | omit h in |
| 60 | lemma margins : ∀ᶠ l in φ, orbitMargin P n (x l) (o l):= eventually_dock _ (hx.tends (neg_neg_of_pos ha) hA) hk.inject n |
| 61 | |
| 62 | lemma fit_old (k:L→Ortho): RateLE φ A (fun s=> spinning P X n (x s) (o s) (k s) v - spinning P X n (sole (o s)) (o s) (k s) (sole (shadowOld P m (x s) (o s) v): Labels S (fun _:Unit=>m))) ((weight d-m-1)*a):=by |
| 63 | let f (i:Mode U.sector.derivatives)(l:L) : S.Field n :=∑ y∈(R.port.sheet i).support, ((R.port.sheet i) y * singleError U R m x o v l y (k l)) • U.sector.turns.act n (k l) (R.port.loaded i n) |
| 64 | refine (RateLE.sum (f:=f) (S:=bands _ n) hA (fun i hi=>RateLE.sum hA (fun j _=>spin_old U R h hA v hx hk ha m n k j i))).congr ?_ |
| 65 | filter_upwards [margins U R hA hx hk ha n] with s hs; symm; rw [discrepancy_spin P R.law R.continuum U.phase.transport.motion _ _ hs]; exact Finset.sum_congr rfl (fun i hi=> Finset.sum_smul) |
| 66 | lemma fit_tint (k:L→Ortho): RateLE φ A (fun s=> spinning P X n (x s) (o s) (k s) (bar ρ v) - spinning P X n (sole (o s)) (o s) (k s) (sole (S.conj ρ m (shadowOld P m (x s) (o s) v)): Labels S (fun _:Unit=>m))) ((weight d-m-1)*a):=by |
| 67 | let f (i:Mode U.sector.derivatives)(l:L) : S.Field n :=∑ y∈(R.port.sheet i).support, ((R.port.sheet i) y * errorColor U R m x o v l y (k l)) • U.sector.turns.act n (k l) (R.port.loaded i n) |
| 68 | refine (RateLE.sum (f:=f) (S:=bands _ n) hA (fun i hi=>RateLE.sum hA (fun j _=>spin_tint U R h hA v hx hk ha m n k j i))).congr ?_ |
| 69 | filter_upwards [margins U R hA hx hk ha n] with s hs; symm; rw [discrepancy_spin P R.law R.continuum U.phase.transport.motion _ _ hs]; exact Finset.sum_congr rfl (fun i hi=> Finset.sum_smul) |
| 70 | end |
| 71 | end YM.OPE.Orbits |