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.EXTRACTION.Tails |
| 2 | |
| 3 | /-! |
| 4 | # Evaluating complete linear polynomial insertion in the actual nilpotent census |
| 5 | |
| 6 | Coefficient k before ANY limits. No treating nilpotent truncation as an |
| 7 | ordinary exponential at a positive array. Application to initialization of |
| 8 | multi-source `Bands`, not a propagation rule/trajectory. |
| 9 | -/ |
| 10 | noncomputable section |
| 11 | set_option autoImplicit false |
| 12 | namespace YM.WilsonStartup.LinearMarkers |
| 13 | open Function Finset Marker |
| 14 | open scoped Classical BigOperators |
| 15 | variable {V : Type} [Fintype V] [DecidableEq V] {R : Census V} |
| 16 | |
| 17 | def linear (R : Census V) (f : V → ℂ) := ∑ i : V,Poly.send (R.fire i) (f i) |
| 18 | |
| 19 | def monomial (R : Census V) (f : V → ℂ) (i : V) := Poly.send (R.fire i) (f i) |
| 20 | def factor (R : Census V) (f : V → ℂ) (i : V) := 1+monomial R f i |
| 21 | |
| 22 | omit [Fintype V] in |
| 23 | theorem mono_add (f g : V → ℂ) (i : V) : monomial R (f+g) i = monomial R f i + monomial R g i := by |
| 24 | ext v; simp only [monomial,Poly.part_plus,Poly.part_send,Pi.add_apply]; split <;> ring |
| 25 | |
| 26 | omit [Fintype V] in |
| 27 | theorem combine (f g : V → ℂ) (i : V) : factor R f i * factor R g i = factor R (f+g) i := by |
| 28 | suffices monomial R f i * monomial R g i=0 by unfold factor; rw [mono_add]; grind |
| 29 | ext v |
| 30 | have he : ¬ Poly.merges (R.fire i) (R.fire i) v := fun h => |
| 31 | Finset.disjoint_left.mp h.1 (mem_singleton_self _) (mem_singleton_self _) |
| 32 | change (Poly.prod (Poly.send (R.fire i) (f i)) (Poly.send (R.fire i) (g i))).part _ = _ |
| 33 | rw [Poly.cart,if_neg he, Poly.part_nil] |
| 34 | |
| 35 | def erase (R : Census V) (x : R.Mode) (i : V) : R.Mode := ⟨x.val.erase i, R.down x.property _ (Finset.erase_subset ..)⟩ |
| 36 | |
| 37 | omit [Fintype V] in |
| 38 | lemma merges_fire (y x : R.Mode) (i : V) : Poly.merges (R.fire i) y x ↔ i ∈ x.val ∧ y=erase R x i := by |
| 39 | refine ⟨fun ⟨hd,he⟩ => ?_,?_⟩ |
| 40 | · have hy : i ∉ y.val := Finset.disjoint_left.mp hd (Finset.mem_singleton_self i) |
| 41 | refine ⟨he ▸ Finset.mem_union_left _ (Finset.mem_singleton_self i), Subtype.ext (by |
| 42 | change y.val = x.val.erase i; rw [← he,Census.fire]; ext j; simp; exact fun h he => hy (he ▸ h))⟩ |
| 43 | rintro ⟨h,rfl⟩; exact ⟨by simp [Census.fire,erase], by simp [Census.fire,erase,insert_erase h]⟩ |
| 44 | |
| 45 | omit [Fintype V] in |
| 46 | lemma extend (f : V → ℂ) (i : V) (a : Poly R) (x : R.Mode) : (monomial R f i * a).part x = if i∈x.val then |
| 47 | f i * a.part (erase R x i) else 0 := by |
| 48 | rw [Poly.part_mul, sum_eq_single (R.fire i)] |
| 49 | · simp only [monomial,Poly.part_send,merges_fire] |
| 50 | by_cases h : i∈x.val <;> simp [h] |
| 51 | · intro j _ hj; simp [monomial, hj] |
| 52 | simp |
| 53 | |
| 54 | omit [Fintype V] in |
| 55 | lemma product_one (f : V → ℂ) (s : Finset V) (x : R.Mode) : (∏ i ∈ s,monomial R f i).part x = if s=x.val then ∏ i ∈ s,f i else 0 := by |
| 56 | induction s using Finset.induction_on generalizing x with |
| 57 | | empty => by_cases h : x=R.quiet <;> simp [h,Census.quiet,Subtype.ext_iff,eq_comm] at * |
| 58 | | insert i s h ih => |
| 59 | rw [prod_insert h,prod_insert h,extend,ih]; unfold erase |
| 60 | by_cases he : x.val = insert i s |
| 61 | · simp [he,h] |
| 62 | by_cases hx : i ∈ x.val |
| 63 | · have hh : s ≠ x.val.erase i := fun hz => he (by rw [hz,insert_erase hx]) |
| 64 | simp [Ne.symm he,hx,hh] |
| 65 | simp [hx,Ne.symm he] |
| 66 | |
| 67 | theorem across (f : V → ℂ) (x : R.Mode) : (∏ i : V,factor R f i).part x = ∏ i∈x.val,f i := by |
| 68 | unfold factor |
| 69 | rw [Finset.prod_one_add, Poly.part_sum]; simp [product_one] |
| 70 | |
| 71 | theorem linear_add (f g : V → ℂ) : linear R (f+g)=linear R f+linear R g := by |
| 72 | unfold linear; rw [← Finset.sum_add_distrib]; exact sum_congr rfl fun i _ => mono_add f g i |
| 73 | |
| 74 | theorem homogeneous (f : V → ℂ) (k : ℕ) (x : R.Mode) : ((linear R f)^k).part x = if x.val.card=k then |
| 75 | (k.factorial:ℂ) * ∏ i∈x.val,f i else 0 := by |
| 76 | induction k generalizing x with |
| 77 | | zero => by_cases h : x.val=∅ <;> simp [Subtype.ext_iff,Census.quiet,h] |
| 78 | | succ k ih => |
| 79 | rw [pow_succ']; nth_rw 1 [show linear R f = ∑ i,monomial R f i from rfl]; rw [Finset.sum_mul,Poly.part_sum] |
| 80 | simp_rw [extend (a:= (linear R f)^k), ih] |
| 81 | rw [Finset.sum_ite_mem,Finset.univ_inter] |
| 82 | by_cases hx : x.val.card=k+1 |
| 83 | · rw [if_pos hx] |
| 84 | have he (i : V) (hi : i∈x.val) : f i*(if (erase R x i).val.card=k then (k.factorial:ℂ)*∏ v∈(erase R x i).val, f v else 0) = |
| 85 | k.factorial*∏ v∈x.val,f v := by |
| 86 | rw [if_pos (by simp [erase,card_erase_of_mem hi,hx])]; unfold erase; dsimp only; rw [← mul_prod_erase _ _ hi]; ring |
| 87 | rw [Finset.sum_congr rfl he,Finset.sum_const,hx,nsmul_eq_mul,Nat.factorial_succ, Nat.cast_mul,mul_assoc] |
| 88 | rw [if_neg hx]; apply sum_eq_zero; intro i hi |
| 89 | have he := card_erase_add_one hi |
| 90 | rw [if_neg]; · exact mul_zero _ |
| 91 | change (x.val.erase i).card ≠ k; omega |
| 92 | |
| 93 | theorem passing (f : V → ℂ) : Poly.pass (linear R f) = ∏ i : V, factor R f i := by |
| 94 | ext x |
| 95 | simp_rw [across,Poly.pass, Poly.part_sum,Poly.part_smul, homogeneous, mul_ite, mul_zero] |
| 96 | have hx : x.val.card∈range (Fintype.card V+1) := mem_range.mpr (Nat.lt_succ_of_le (Finset.card_le_univ _)) |
| 97 | rw [sum_ite_eq,if_pos hx,inv_mul_cancel_left₀ (by exact_mod_cast (Nat.factorial_ne_zero x.val.card) : (x.val.card.factorial:ℂ)≠0)] |
| 98 | |
| 99 | end YM.WilsonStartup.LinearMarkers |