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 Mathlib.Analysis.ODE.ExistUnique |
| 2 | import YM.Next.RANK.Beamers |
| 3 | import YM.Next.RANK.GaussTags |
| 4 | |
| 5 | /-! |
| 6 | # Support rules for Wick propagation in finite arrays |
| 7 | |
| 8 | No hand casts on covariance. Even negative displacements must supply full |
| 9 | comparison here on stored (periodized) rows. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Next.Rank.Tapes |
| 14 | open Function Set Lattice Wilson RG Marker Normal MvPolynomial |
| 15 | open scoped BigOperators Classical Topology Matrix.Norms.Frobenius |
| 16 | |
| 17 | variable {S T U V Z : Type*} |
| 18 | |
| 19 | lemma trim_sigma (q : Finset S) (P : poly S) (h : P.vars ⊆ q) : ∃ v : poly (↥q), rename (fun i:↥q=>i.val) v=P := |
| 20 | exists_rename_eq_of_vars_subset_range P _ Subtype.val_injective fun i hi=>⟨⟨_,h (show i∈P.vars from hi)⟩,rfl⟩ |
| 21 | lemma milk_vars (Q : Normal.Symmetric S) (P : poly S) : (milk Q P).vars ⊆ P.vars:= by |
| 22 | obtain ⟨H,hH⟩:=trim_sigma P.vars P le_rfl |
| 23 | conv_lhs=>rw [← hH] |
| 24 | rw [Normal.labelled,Normal.prepared, ← Normal.labelled]; intro i hi; obtain ⟨j,hj,h⟩:= MvPolynomial.mem_vars_rename _ _ hi; exact h ▸ j.property |
| 25 | lemma vars_scale (z : ℂ) (P : poly S) : (z • P).vars ⊆ P.vars:= by |
| 26 | rw [← C_mul']; exact Finset.Subset.trans (vars_mul _ _) (by rw [MvPolynomial.vars_C]; simp) |
| 27 | lemma vars_minus [DecidableEq S] (P R : poly S) : (P-R).vars ⊆ P.vars ∪ R.vars:= by |
| 28 | rw [sub_eq_add_neg]; apply Finset.Subset.trans (vars_add_subset ..); apply Finset.union_subset_union_right; rw [show -R=(-1:ℂ) • R by simp]; exact vars_scale _ _ |
| 29 | lemma glyph_vars (i : T→₀ℂ) : (glyph i).vars ⊆ i.support:= by |
| 30 | unfold glyph; rw [Finsupp.linearCombination_apply,Finsupp.sum]; intro j hj |
| 31 | obtain ⟨k,hk,hh⟩:= Finset.mem_biUnion.mp (vars_sum_subset _ _ hj); have ht:= vars_scale _ (X k) hh |
| 32 | rw [MvPolynomial.vars_X] at ht; exact (Finset.mem_singleton.mp ht) ▸ hk |
| 33 | lemma exchange_vars (x : S → T →₀ ℂ) (P : poly S) (A : Finset T) (h : ∀ i∈P.vars,(x i).support⊆ A) : (exchange x P).vars⊆A:= by |
| 34 | obtain ⟨v,hv⟩:=trim_sigma P.vars P le_rfl |
| 35 | suffices ∀ v : poly (↥P.vars),(exchange x (rename (fun i:↥P.vars=>i.val) v)).vars ⊆ A from hv ▸ this v |
| 36 | intro p; induction p using MvPolynomial.induction_on with |
| 37 | | C a=> simp only [rename_C,Normal.exchange_c,vars_C]; exact Finset.empty_subset _ |
| 38 | | add p q hp hq=> rw [_root_.map_add,_root_.map_add]; exact Finset.Subset.trans (vars_add_subset ..) (Finset.union_subset hp hq) |
| 39 | | mul_X p i H => rw [_root_.map_mul,_root_.map_mul,rename_X,exchange_x]; exact Finset.Subset.trans (vars_mul ..) (Finset.union_subset H (Finset.Subset.trans (glyph_vars _) (h i.val i.property))) |
| 40 | lemma pipe_vars (x : S→T→₀ℂ) (Q : Normal.Symmetric S) (P : poly S) (A : Finset T) (h : ∀ i∈P.vars,(x i).support⊆A) : (pipe x Q P).vars⊆A := exchange_vars x (milk Q P) A fun i hi=> h i (milk_vars Q _ hi) |
| 41 | |
| 42 | private lemma divide (M : Normal.Symmetric S) (P R : poly S) (h : ∀ i∈P.vars, ∀ j∈R.vars, M.cov i j=0) : |
| 43 | milk M (P*R)=milk M P*milk M R:= by |
| 44 | obtain ⟨q,hq⟩:=trim_sigma P.vars P le_rfl |
| 45 | let Y:= (rename (fun i : P.vars=> i.val) (R:=ℂ)) |
| 46 | have hv (i : P.vars): slit (M.cov i.val) (milk M R)=0:= by |
| 47 | obtain ⟨v,hv⟩:=trim_sigma R.vars (milk M R) (milk_vars ..) |
| 48 | rw [← hv,Normal.labelled,exchange_slit] |
| 49 | let f:= fun j:↥R.vars=>Finsupp.single j.val (1:ℂ) |
| 50 | rw [show reads f (M.cov i.val)=0 from ?_, Normal.slit_zero,map_zero _]; funext k; rw [reads]; simp only [f,Finsupp.linearCombination_single,one_smul]; exact h _ i.property _ k.property |
| 51 | have he (v : poly (↥P.vars)): milk M (Y v * R)=milk M (Y v)*milk M R:= by |
| 52 | induction v using MvPolynomial.induction_on with |
| 53 | | C a=> unfold Y; rw [rename_C,drink,fine] |
| 54 | | add p q hp hq=> simp only [_root_.map_add,add_mul,hp,hq] |
| 55 | | mul_X p i hp=> |
| 56 | rw [mul_comm p,_root_.map_mul (f:=Y), show Y (X i)= X _ from rename_X ..,mul_assoc, Normal.feeds, Normal.feeds,hp] |
| 57 | rw [Derivation.leibniz,hv i,smul_zero,zero_add,smul_eq_mul]; ring |
| 58 | rw [show P=Y q from hq.symm]; exact he q |
| 59 | lemma bridge (M : Normal.Symmetric S) (H : S→T→₀ℂ) (P R : poly S) (h : ∀ i∈P.vars,∀ j∈R.vars,M.cov i j=0) : pipe H M (P*R) = pipe H M P*pipe H M R:= by rw [pipes,divide M P R h,map_mul];rfl |
| 60 | end YM.Next.Rank.Tapes |