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.TraceExtension.Verse.Pears |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Verse |
| 5 | open Function Filter Set Extraction Cells OS OS.Ground Lattice Spec MeasureTheory Wilson |
| 6 | open RG Terrace MergeProof.East Next.Rank Next.Rank.East Next.UVStress Further.CorrectedLift Climb |
| 7 | open Glyph Next.Rank.Station Next.Rank.Tapes.West Analysis Marker Edition |
| 8 | open scoped Topology BigOperators InnerProductSpace Classical ContDiff |
| 9 | variable {G: Gauge} {C: Family G}{𝓛: Ultrafilter (ℕ × ℕ)} {f:Extraction.Order} {S:Table C.book} {V:Chamber S timeAxis}{A:Spread V}{p:A.Resolution}{k b i n d: ℕ} |
| 10 | variable {H:(Cells.standard C).Hierarchy}{J:Scaling S}{W:∀ i,Vane C i}{Y:∀ d _:ℕ,(Cells.standard C).Field d→L[ℂ] C.label d}(hq:Gondola f H J 𝓛 W Y) |
| 11 | local notation "S'"=> Cells.standard C |
| 12 | local notation "A'"=> C.path.levels |
| 13 | local notation "U'"=> (𝓛:Filter (ℕ×ℕ)) |
| 14 | |
| 15 | include hq |
| 16 | lemma rounds (h:G.Simple)(x:Points n) : Tendsto (fun i => fad (W i) x) atTop (𝓝 x):=by |
| 17 | let u(i):=mag (A') (W i).b (W i).k |
| 18 | have he:= (mag_rate (A') h (by norm_num:(0:ℝ)<5)).comp hq.growth |
| 19 | have hu:Tendsto u atTop atTop:= tendsto_atTop_mono (fun i=> Real.rpow_le_rpow_of_exponent_le (show 1 ≤ (A').clock.monitor (W i|>.k) from Real.one_le_exp (sq_nonneg _)) (hq.season i|>.1.high.1.le)) he |
| 20 | have hp:= tendsto_inv_atTop_zero.comp hu |
| 21 | apply tendsto_iff_dist_tendsto_zero.mpr |
| 22 | refine squeeze_zero (fun _=> dist_nonneg) (fun i => Eq.trans_le (congr_arg (fun y=> dist y x) (Next.Rank.Station.reading (A') (W i).b (W i).k x)) (Extraction.approximate (inv_pos.mpr (mag_pos ..)) x)) ?_ |
| 23 | simpa only [mul_zero] using! hp.const_mul (4*n:ℝ) |
| 24 | lemma mixed (x:Points 2)(i:ℕ)(hh:fad (W i) x ∈ generic 2) (ht:‖fad (W i) x‖ ≤ 100):FitSky (A') (W i).b (W i).k x:=by |
| 25 | let U:= W i;let a:=mag (A') U.b U.k; let y:= fad U x; let t:= Verse.flat U x |
| 26 | have he:y=tag a⁻¹ t:= Next.Rank.Station.reading _ _ _ _ |
| 27 | have hx : Next.Rank.Station.choose (A') U.b U.k y=t:=by rw[he]; exact (authentic (V:=A') t).1 |
| 28 | have hv :FitSky (A') U.b U.k y:=by |
| 29 | rw [he]; exact (hq.season i).1.plate.width t (he ▸ hh) (he ▸ ht) |
| 30 | have hw : Next.Rank.Station.key (A') U.b U.k y=rum U x:=by unfold Next.Rank.Station.key; rw [hx];rfl |
| 31 | exact ⟨show rum U x∈generic _ from hw ▸ hv.usable,fun i j=> show |rum U x i j|≤ _ from hw ▸ hv.deep i j⟩ |
| 32 | variable (w:Seed C f S)(hf:(𝓛:Filter _) ≤ f.fuse) (R:p.Out)(hv:Steady V){K:p.X→Table C.book}(hs:∀ i,(K i).Hierarchy)(hy:∀ i,p.receives (K i) i) |
| 33 | (x':p.X)(hr:(K x').respects S)(h:G.Simple){x:Points 2}(hh:x∈generic 2)(ht:Scaling.window 100 2 ∈ 𝓝 x) |
| 34 | include w hf R hv hs hy hr h hh ht |
| 35 | lemma greens (t:Fin 2→PegC C d): |
| 36 | let T:= fun j:Fin 2=> PoleC C d (t j) |
| 37 | Tendsto (fun i=> S.classMoment (K x') (fun _=>d) (rum (W i) x) (fun j=> J.U i d (T j))) atTop (𝓝 ((S').classMoment (S') (fun _=>d) x T)):=by |
| 38 | intro T |
| 39 | let Q(i):= fad (W i) x; let Y' z:= (S').classMoment (S') (fun _=>d) z T; let v(i):= S.classMoment (K x') (fun _=>d) (rum (W i) x) (fun j=> J.U i d (T j)); let m(z:Points 2):=Read.maxProfile C z (fun j=>⟨d,T j⟩); let M(z):= ‖(m z).part (Glyph.slot 0)‖+‖(m z).part (Glyph.slot 1)‖; let o:=costHint |
| 40 | have hu:x∈conf 2:=generic_conf _ hh |
| 41 | have hQ:= rounds hq h x |
| 42 | have hY:Tendsto (Y' ∘ Q) atTop (𝓝 (Y' x)):= (((S').class_smooth (S') H.smooth (fun i=>⟨d,T i⟩)).continuousOn.continuousAt ((conf_open 2).mem_nhds hu)).tendsto.comp hQ |
| 43 | have he:Tendsto (M ∘ Q) atTop (𝓝 (M x)):= (((Read.profile_part_cont (S') H.smooth _ _).norm.add (Read.profile_part_cont (S') H.smooth _ _).norm).continuousAt ((conf_open 2).mem_nhds hu)).tendsto.comp hQ |
| 44 | have hl:Tendsto (fun i=> v i-Y' (Q i)) atTop (𝓝 0):= by |
| 45 | apply tendsto_zero_iff_norm_tendsto_zero.mpr |
| 46 | apply squeeze_zero' (Eventually.of_forall fun _=> norm_nonneg _) (g:=fun i=>o i+M (Q i)*o i) |
| 47 | · filter_upwards [hQ.eventually ht,hQ.eventually ((genericOpen 2).mem_nhds hh),seat hq w hf R hv hs hy t x' hr] with i hi hk hL; exact hL x (mixed hq x i hk hi.2) hi |
| 48 | simpa using cost_clears.add (he.mul cost_clears) |
| 49 | convert hl.add hY using 1; swap; · simp [Y'] |
| 50 | simp only [Function.comp_apply,sub_add_cancel,v] |
| 51 | lemma rainbow (t:ℕ→Fin 2→(S').Field d) (z:Fin 2→(S').Field d) (hb:∀ j, Tendsto (fun i=> t i j) atTop (𝓝 (z j))) : Tendsto (fun i=> S.classMoment (K x') (fun _=>d) (rum (W i) x) (fun j=> J.U i d (t i j))) atTop (𝓝 ((S').classMoment (S') _ x z)):=by |
| 52 | let P:= (fun _ : Fin 2=>d) |
| 53 | let U:= PoleC C d; let B (i):= (S.classMoment (K x') P (rum (W i) x)).compLinearMap (fun _=> (J.U i d).toLinearMap) |
| 54 | let Q(z: Fin 2→ (S').Field d)(j:Fin 2→ PegC C d):= ∏ a: Fin 2, U.repr (z a) (j a); |
| 55 | have he (A:MultilinearMap ℂ (fun _ : Fin 2=> (S').Field d) ℂ) (z:Fin 2→ (S').Field d): A z=∑ j:Fin 2→ PegC C d,Q z j * A (fun i=> U (j i)):=by |
| 56 | have hx : z= fun i=> ∑ k, U.repr (z i) k • U k:= funext fun i=> (U.sum_repr _).symm |
| 57 | conv_lhs=>rw[hx]; |
| 58 | rw[MultilinearMap.map_sum]; exact Finset.sum_congr rfl fun i _=> A.map_smul_univ _ _ |
| 59 | change Tendsto (fun i=> B i (t i)) atTop (𝓝 ((S').classMoment (S') P x z)) |
| 60 | conv=> arg 1; intro i; rw[he] |
| 61 | rw [he _ z]; apply tendsto_finsetSum _; intro j hj |
| 62 | refine Tendsto.mul ?_ (greens hq w hf R hv hs hy x' hr h hh ht j) |
| 63 | apply tendsto_finsetProd _; intro i hi; exact (((U.coord (j i)).continuous_of_finiteDimensional).continuousAt.tendsto).comp (hb i) |
| 64 | end YM.Trace.Verse |