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.Next.RANK.Matrices |
| 2 | import YM.Next.RANK.Rim |
| 3 | |
| 4 | |
| 5 | /-! Use readout in exact weights. Distinguished vertex transforms on k lattice |
| 6 | may not append arbitrary normalized limits of selected fields. Calibration comparison |
| 7 | needed as ACTUAL linear map and operator estimate (not supplied here). -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Next.Rank.Perch |
| 11 | open Lattice Wilson RG Labels Price Normal Function Configuration Beamer Rise MvPolynomial Finset Filter |
| 12 | open scoped Topology BigOperators Classical |
| 13 | |
| 14 | variable {G : Gauge} {C : Family G} {d : ℕ} {V Z : Type*} |
| 15 | |
| 16 | def jets (w : V → ℕ) (ρ : ℂ) : poly V →ₐ[ℂ] poly V := MvPolynomial.aeval (fun i => MvPolynomial.C (ρ^w i)*MvPolynomial.X i : V→ poly V) |
| 17 | |
| 18 | lemma jets_as (w : V → ℕ) (ρ : ℂ) (i : V →₀ ℕ) (b : ℂ) : jets w ρ (monomial i b) = ρ^(Finsupp.weight w i) • monomial i b := by |
| 19 | rw [← MvPolynomial.C_mul',monomial_eq] |
| 20 | unfold jets; rw [map_mul,aeval_C]; unfold Finsupp.prod |
| 21 | simp only [map_prod,map_pow,aeval_X,mul_pow,prod_mul_distrib, MvPolynomial.algebraMap_eq]; simp only [← map_pow,← map_prod] |
| 22 | rw [show ∏ j∈i.support,(ρ ^ w j) ^ (i j)= ρ^(Finsupp.weight w i) by |
| 23 | simp_rw [← pow_mul, prod_pow_eq_pow_sum, Finsupp.weight_apply,Finsupp.sum, nsmul_eq_mul,Nat.cast_id]; simp_rw [mul_comm]]; ring |
| 24 | |
| 25 | lemma jets_coeff (p : poly V) (w : V → ℕ) (ρ : ℂ) (i : V →₀ ℕ) : coeff i (jets w ρ p)=ρ^(Finsupp.weight w i)*coeff i p := by |
| 26 | induction p using MvPolynomial.induction_on' with |
| 27 | | monomial u x => rw [jets_as,coeff_smul]; by_cases he : u=i |
| 28 | · rw [he]; rfl |
| 29 | simp [he, smul_eq_mul, coeff_monomial] |
| 30 | | add p q hp hq => simp [hp,hq,mul_add] |
| 31 | lemma jets_keep (p : poly V) (w : V → ℕ) (ρ : ℂ) (d : ℕ) : trim (jets w ρ p) w d = jets w ρ (trim p w d) := by |
| 32 | ext i; simp only [trim_coeff,jets_coeff]; split_ifs <;> simp |
| 33 | |
| 34 | -- compatibility with thaw before embedding in enlarged coords |
| 35 | lemma peel (ρ : ℂ) (v : poly (Key G)) : jets (V:=KeyIn G d⊕V) bear ρ (rename Sum.inl (boundKey G d v))= rename Sum.inl (boundKey G d (jets Labels.generation ρ v)) := by |
| 36 | let r := rename (Sum.inl : KeyIn G d → KeyIn G d⊕V) (R:=ℂ) |
| 37 | let B := r.comp (boundKey G d) |
| 38 | apply DFunLike.congr_fun (f:=(jets bear ρ).comp B) (g:=B.comp (jets Labels.generation ρ)) |
| 39 | ext1 i; simp only [jets,B,r,AlgHom.comp_apply,aeval_X,map_mul,boundKey,aeval_C,MvPolynomial.algebraMap_eq,rename_C] |
| 40 | split_ifs <;> simp [bear] |
| 41 | |
| 42 | lemma pure_weight (ρ : ℝ) (F : C.label d) : |
| 43 | ((C.labels.level d).coords.symm (weightTag C d ρ F)).val=jets Labels.generation (ρ:ℂ) ((C.labels.level d).coords.symm F).val := by |
| 44 | let P:= C.labels.level d |
| 45 | let s := P.coords.symm |
| 46 | let M:=weightTag C d ρ |
| 47 | let T := Labels.localFields G d |
| 48 | have hv (i) : M (P.coords (P.basis i)) = ((ρ:ℂ)^(P.grades i).1) • P.coords (P.basis i) := by |
| 49 | rw [P.coords_basis]; ext1 j |
| 50 | by_cases h : i=j |
| 51 | · rw [h]; rfl |
| 52 | simp [M,P,weightTag,Pi.single_eq_of_ne (Ne.symm h)] |
| 53 | have ht (i : P.Index) : jets Labels.generation (ρ:ℂ) (P.basis i).val=((ρ:ℂ)^(P.grades i).1) • (P.basis i).val := by |
| 54 | ext j; rw [jets_coeff, coeff_smul]; by_cases h : coeff j (P.basis i).val=0 |
| 55 | · simp [h] |
| 56 | have he := (pure_grade _ _).1 (P.pure i) h; rw [Labels.weight_slot] at he |
| 57 | rw [show Finsupp.weight Labels.generation j=(P.grades i).1 from congr_arg Prod.fst he]; rfl |
| 58 | have he : T.subtype.comp (s.toLinearMap.comp M) = (jets Labels.generation (ρ:ℂ)).toLinearMap.comp (T.subtype.comp s.toLinearMap) := by |
| 59 | apply (P.basis.map P.coords).ext; intro i; simp only [Module.Basis.map_apply, LinearMap.comp_apply, LinearEquiv.coe_coe] |
| 60 | rw [hv, map_smul]; change Submodule.subtype _ _=jets Labels.generation (ρ:ℂ) _; simp only [s, LinearEquiv.symm_apply_apply]; exact (ht _).symm |
| 61 | exact LinearMap.congr_fun he F |
| 62 | |
| 63 | lemma cycles {V : Type*} (w : V → ℕ) (ρ : ℂ) (h : ρ≠0) (p : poly V) : jets w ρ⁻¹ (jets w ρ p)=p := by |
| 64 | ext i; rw [jets_coeff,jets_coeff,inv_pow,← mul_assoc,inv_mul_cancel₀ (by exact pow_ne_zero _ h),one_mul] |
| 65 | |
| 66 | lemma spaced (d : ℕ) (f : V → Address G) (ρ : ℝ) (P : Normal.poly V) : |
| 67 | exchange (features d f ρ) P=jets Configuration.bear ((ρ:ℂ)⁻¹) (exchange (features d f 1) P) := by |
| 68 | let M := jets (V:=KeyIn G d⊕V) Configuration.bear ((ρ:ℂ)⁻¹) |
| 69 | have he : exchange (features d f ρ)= M.comp (exchange (features d f 1)) := by |
| 70 | ext1 i; rw [AlgHom.comp_apply, exchange_x,exchange_x]; unfold features |
| 71 | simp only [_root_.map_add, _root_.map_sum, Normal.glyph, Finsupp.linearCombination_single, M, jets,map_smul, aeval_X] |
| 72 | congr 1 |
| 73 | · refine sum_congr rfl fun j _ => ?_ |
| 74 | simp only [MvPolynomial.C_mul', Beamer.fixedKey, Beamer.arbor,Pi.smul_apply,smul_eq_mul,one_pow, inv_one,one_mul, |
| 75 | Complex.ofReal_mul, Complex.ofReal_inv, Complex.ofReal_pow,smul_smul, Configuration.bear,Sum.elim_inl, inv_pow]; rw [mul_comm] |
| 76 | simp [MvPolynomial.C_mul',Configuration.bear] |
| 77 | exact DFunLike.congr_fun he P |
| 78 | |
| 79 | -- At scale 1 these are unweighted (kpc) cell tests after removing t and g. |
| 80 | -- residual V variables never on a low jet. Tests leave correction mask unaffected |
| 81 | -- and are imposed before varying radii/dealing with failed mask. |
| 82 | def Verdict (f : V → Address G) (d : ℕ) (P : Normal.poly V) (F : Label G d) : Prop := |
| 83 | Rise.trim (exchange (features d f 1) P) Configuration.bear d=rename Sum.inl (thawKey F) |
| 84 | |
| 85 | lemma aligned (f : V → Address G) (ρ : ℝ) (hp : 0<ρ) {k N p : ℕ} {v u : C.label d} {read : C.label d →ₗ[ℂ] C.label d} (h : Solves C ρ d k N p read v u) |
| 86 | (P : Normal.poly V) (he : Verdict f d P ((C.labels.level d).coords.symm ((C.labels.level d).scaled (shrink C k N p) (read u)))) : |
| 87 | Rise.trim (exchange (features d f ρ) P) Configuration.bear d=rename Sum.inl (thawKey ((C.labels.level d).coords.symm v)) := by |
| 88 | unfold Solves at h |
| 89 | rw [spaced d _ ρ,jets_keep,he,h,thawKey,pure_weight,← peel, cycles]; rfl |
| 90 | exact Complex.ofReal_ne_zero.mpr hp.ne' |
| 91 | end YM.Next.Rank.Perch |