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.Fee |
| 2 | /-! Genuine positive-layer estimates transferred to `Reader` score and homogeneous |
| 3 | physical vectors. Same exterior law throughout, uniform wrt all viewers paths. |
| 4 | Raw-to-old and exact-reader differences are both priced before insertion. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.OPE.Orbits |
| 8 | open Filter Function Set MeasureTheory Extraction Table Word |
| 9 | open scoped Topology BigOperators ContDiff Classical Matrix.Norms.Frobenius |
| 10 | variable {G:Gauge} {C:Family G}{S:Table C.book}{F:Order} |
| 11 | (U:Spec.Final C F S) (R:Reader U.sector.derivatives U.sector.turns U.room.kernel.spin) |
| 12 | (h:Services C F S) {I J L:Type}[Fintype I][Fintype J]{A:L→ℝ}{φ:Filter L}(hA:Tendsto A φ atTop) [φ.NeBot] |
| 13 | {d:I→ℕ}{e:J→ℕ}{a b c:ℝ}{x:L→I→E4}{y:L→J→E4}{o:L→E4}(v:Labels S d) |
| 14 | local notation "ρ" => U.room.kernel.spin |
| 15 | local notation "Q" => U.sector.derivatives |
| 16 | local notation "P" => R.port |
| 17 | local notation "X" => U.sector.turns |
| 18 | open Reader |
| 19 | variable (hx:enveloped φ A a x o)(hk:Kept φ A a x)(ha:0 < a) |
| 20 | include R h hA hx hk ha |
| 21 | lemma fresh_price (m:ℕ): RateLE φ A (fun i=>R.fresh m (x i) (o i) v) ((weight d-m)*a):=by |
| 22 | let f (j:Mode Q)(i:L) := ((R.port).ope j (x i) (names v) (o i)) • R.cutTest m m ((R.port).loaded j m) |
| 23 | let y i:=R.fresh m (x i) (o i) v; let V:=fun i=>∑ j∈bands Q m, f j i |
| 24 | have h_legacy (i:L):R.cutTest m m (shadowOld P m (x i) (o i) v)= V i:=by simp only [shadowOld,shadow,V,f,map_sum,map_smul] |
| 25 | have hV: RateLE φ A V ((weight d-m)*a):=RateLE.sum hA (fun j hj=> by |
| 26 | have hz: j.fst ≤ m:=(full_bands ..).mp hj; rcases lt_or_eq_of_le hz with he|he |
| 27 | · apply RateLE.congr (F:=fun _:L=>(0:S.Field m)) (RateLE.zero φ A _); refine Eventually.of_forall fun i=>?_ ; unfold f; rw [(R.port).cost j hj,cut_rise R m j.fst m hz, kills_lower R m j.fst he,smul_zero] |
| 28 | have ha:=available_cost (O:=o) U P (names v) hA h R.spans hx hk ha j; unfold f; rw [weighting v]; exact (ha.smul (RateLE.const (R.cutTest m m (R.port.loaded j m)) hA)).mono (by rw [he,add_zero])) |
| 29 | have hf:= fresh_bridge (o:=o) (v:=v) U R h hA hx hk ha m m |
| 30 | refine ((hf.mono (b:=(weight d-m)*a) (by linarith only [ha])).add hV hA).congr (Eventually.of_forall (fun i=>?_)); change y i - R.cutTest m m _+V i=y i; rw [h_legacy,sub_add_cancel] |
| 31 | |
| 32 | variable (z:L→Viewers U)(w:Labels S e) |
| 33 | variable (hp:Intervals φ A b (fun l=>sole (o l)) y)(hy:Kept φ A c y)(hb:0≤ b)(hc: b ≤ c) |
| 34 | omit R hx hk ha in |
| 35 | include hy hp hb hc in |
| 36 | lemma upon_cost (j:ℕ)(u:S.Field j): RateLE φ A (fun i=>upon (spectator U (z i)) j (o i) (y i) w u) (j*b+weight e*c):=by |
| 37 | simp only [upon]; show RateLE φ A (fun i=>whole _ _ _ _ _) _ |
| 38 | simp_rw [whole_observed,weighting w]; rw [show (j:ℝ)=(sigma (names (d:=fun _:Unit=> j) (sole u)):ℝ) from by simp [sigma,Fintype.sum_unique,names]]; apply viewer_cost U h.schedule _ _ hA _ (Kept.sole φ A o b) hy hp hb hc |
| 39 | omit R hx hk ha in |
| 40 | include hy hp hb hc in |
| 41 | lemma upon_field_cost (j:ℕ)(u:L→S.Field j)(t)(hu:RateLE φ A u t): RateLE φ A (fun i=>upon (spectator U (z i)) j (o i) (y i) w (u i)) (t + (j*b+weight e*c)):=by |
| 42 | let f(i:L):MultilinearMap ℂ (fun _:Unit=> S.Field j) ℂ:=sectionLabels w (moment (spectator U (z i)) (d:=Sum.elim (fun _:Unit=>j) e) (beside (sole (o i)) (y i))) |
| 43 | have hf(i:L)(q:S.Field j):upon (spectator U (z i)) j (o i) (y i) w q=f i (sole q):=(sectionLabels_apply w (m:=moment (spectator U (z i)) (d:=Sum.elim (fun _:Unit=>j) e) (beside (sole (o i)) (y i))) (sole q)).symm |
| 44 | apply RateLE.congr (F:=fun i=>f i (sole (u i))) ?_ <| Eventually.of_forall (fun i=>(hf ..).symm); rw [add_comm,show t=∑ _:Unit,t from by simp]; |
| 45 | refine contract (φ:=φ) hA f (fun q=> (upon_cost U h hA z w (o:=o) hp hy hb hc j (q ())).congr ?_) _ _ (fun ()=>hu) |
| 46 | exact Eventually.of_forall fun i=> Eq.trans (hf i (q ())) (congr_arg (f i) (funext (fun j=>by cases j; rfl))) |
| 47 | |
| 48 | omit h hA hx hk ha [φ.NeBot] in |
| 49 | lemma upon_rise {m j:ℕ}(he:j≤ m)(q:S.Field j)(r:Viewers U) (o:E4)(y:J→E4)(w:Labels S e)(hp:Injective (beside (sole o) y)):upon (spectator U r) m o y w ((Q|>.rise he q))=upon (spectator U r) j o y w q:=by |
| 50 | rw [upon_observe m w (spectate U r) (spectate_respects U r) hp,lowerOne ..,← upon_observe j w (spectate U r) (spectate_respects U r) hp]; exacts [spectate_ready U r,(spectate U r).laws.toSymmetric,hp,spectate_respects U r] -- inspect lowerOne |
| 51 | |
| 52 | /-- Scalar tested full difference; includes centered placement of each fresh-vector output. -/ |
| 53 | def balance (T:Table C.book)(R:Reader Q X ρ)(m:ℕ)(x:I→E4)(o:E4)(v:Labels S d)(y:J→E4)(w:Labels S e):=whole T x v y w - ∑ j:Fin (m+1), upon T _ o y w (R.fresh j.val x o v) |
| 54 | -- maybe Q X ρ not bound because notation. fix manually |
| 55 | |
| 56 | include hy hp hb hc |
| 57 | lemma balance_rate (m:ℕ)(hba:b < a):RateLE φ A (fun i=>balance U (spectator U (z i)) R m (x i) (o i) v (y i) w) (weight d*a-(m+1:ℝ)*(a-b)+weight e*c) :=by |
| 58 | let q i:= shadowOld P m (x i) (o i) v; let W i:=discrepancy (spectator U (z i)) m (x i) (o i) v (q i) (y i) w |
| 59 | let L'(j:ℕ)(i:L):S.Field j→ₗ[ℂ] ℂ:=upon (spectator U (z i)) j (o i) (y i) w |
| 60 | let f (j:Fin (m+1))(i:L):=R.fresh j.val (x i) (o i) v |
| 61 | let E (j:Fin (m+1)) i:= L' (j.val:ℕ) i (R.cutTest j.val m (q i)- f j i) |
| 62 | have hid i(hi:Injective (beside (sole (o i)) (y i))): W i+ (∑ j:Fin (m+1), E j i)=balance U (spectator U (z i)) R m (x i) (o i) v (y i) w:=by |
| 63 | have he: W i=whole (spectator U (z i)) (x i) v (y i) w- L' m i (q i):=rfl |
| 64 | have hz:L' m i (q i) = ∑ j:Fin (m+1), L' _ i (R.cutTest j.val m (q i)):=by |
| 65 | have hu:= R.reconstruct m m (le_refl m) (q i); rw [(Q|>.arrival R.continuum.laws.toSymmetric R.lifts)] at hu; apply Eq.trans (congr_arg (L' m i) hu.symm) (by rw [map_sum]; unfold L'; exact Finset.sum_congr rfl (fun j hj=>upon_rise U R _ _ _ _ _ _ hi)) -- rw fails |
| 66 | rw [he,hz]; unfold balance E; simp_rw [map_sub,Finset.sum_sub_distrib]; change _ = whole _ _ _ _ _ - ∑ j,L' _ i (f j i); abel |
| 67 | let ξ:= weight d*a-(m+1:ℝ)*(a-b)+weight e*c |
| 68 | have hx2:= (clearance_both hA hx hk hp hy hba hc).1 |
| 69 | have hf:=discrepancy_rate_old U R h hA z v w hx hk hp hy ha hb hba hc m |
| 70 | refine (hf.add (RateLE.sum hA (f:=E) (fun j hj=>?_)) hA).congr <| hx2.mono hid |
| 71 | have h':=(fresh_bridge (v:=v) U R h hA hx hk ha m j.val).neg.congr (Eventually.of_forall fun i=> (neg_sub (f j i) (R.cutTest _ m (q i)))) -- orientation rate neg.congr expects Eq? |
| 72 | exact (upon_field_cost U h hA z w hp hy hb hc j.val _ _ h').mono (by have hi : (j.val:ℝ) ≤ m+1:=(by exact_mod_cast j.isLt.le); linarith only [mul_le_mul_of_nonneg_right hi hb]) |
| 73 | end YM.OPE.Orbits |