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.Labels.Action |
| 2 | |
| 3 | /-! |
| 4 | Bigrading through engineering bound, even after G-invariance. |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Labels |
| 9 | open Function Set Submodule |
| 10 | open scoped BigOperators |
| 11 | |
| 12 | variable {G : Gauge} {d : ℕ} |
| 13 | |
| 14 | abbrev piece (m : ℕ × ℕ) : Pol G →ₗ[ℂ] Pol G := |
| 15 | MvPolynomial.weightedHomogeneousComponent bidegree m |
| 16 | |
| 17 | def Grade (m : ℕ × ℕ) : Submodule ℂ (Label G d) := |
| 18 | (MvPolynomial.weightedHomogeneousSubmodule ℂ bidegree m).comap (localFields G d).subtype |
| 19 | |
| 20 | theorem pure_grade (m : ℕ × ℕ) (v : Label G d) : v ∈ Grade m ↔ pureDegree v.val m.1 m.2 := Iff.rfl |
| 21 | |
| 22 | theorem component_change (e : (i : ℕ) → Module.End ℝ (Taylor G i)) (p : Pol G) |
| 23 | (m : ℕ × ℕ) : changed e (piece m p) = piece m (changed e p) := by |
| 24 | induction p using MvPolynomial.induction_on' with |
| 25 | | monomial u a => |
| 26 | have hp := MvPolynomial.isWeightedHomogeneous_monomial bidegree u a (m := Finsupp.weight bidegree u) rfl |
| 27 | have hq : MvPolynomial.IsWeightedHomogeneous bidegree (changed e (MvPolynomial.monomial u a)) |
| 28 | (Finsupp.weight bidegree u) := pure_moved (fun i => (i+2,1)) e u a |
| 29 | rcases eq_or_ne m (Finsupp.weight bidegree u) with hm|hm |
| 30 | · subst m; rw [piece, hp.weightedHomogeneousComponent_same, hq.weightedHomogeneousComponent_same] |
| 31 | · rw [piece, hp.weightedHomogeneousComponent_ne _ hm, map_zero, |
| 32 | hq.weightedHomogeneousComponent_ne _ hm] |
| 33 | | add u v hu hv => simp only [map_add,hu,hv] |
| 34 | |
| 35 | theorem component_mem (m : ℕ × ℕ) (v : Label G d) : piece m v.val ∈ localFields G d := by |
| 36 | constructor |
| 37 | · have he := (MvPolynomial.mem_restrictSupport_iff ℂ).mp (show v.val ∈ limited G d from v.property.1) |
| 38 | change piece m v.val ∈ limited G d |
| 39 | apply (MvPolynomial.mem_restrictSupport_iff ℂ).mpr |
| 40 | intro a ha; classical |
| 41 | change a ∈ (MvPolynomial.weightedHomogeneousComponent bidegree m v.val).support at ha |
| 42 | rw [MvPolynomial.support_weightedHomogeneousComponent] at ha |
| 43 | exact he (Finset.mem_filter.mp ha).1 |
| 44 | intro J u |
| 45 | have H : changed (fun _ => Taylor.paint u) v.val = v.val := by |
| 46 | apply eval_ext; intro A; rw [eval_changed]; exact v.property.2 A u |
| 47 | change read (changedJet _ J) (piece m v.val) = read J (piece m v.val) |
| 48 | rw [← eval_changed, component_change, H] |
| 49 | |
| 50 | def gradePart (m : ℕ × ℕ) : Label G d →ₗ[ℂ] Label G d where |
| 51 | toFun v := ⟨_,component_mem m v⟩ |
| 52 | map_add' u v := Subtype.ext ((piece m).map_add u.val v.val) |
| 53 | map_smul' z v := Subtype.ext ((piece m).map_smul z v.val) |
| 54 | |
| 55 | theorem gradePart_self (v : Label G d) (m) (h : v ∈ Grade m) : gradePart m v = v := |
| 56 | Subtype.ext (MvPolynomial.IsWeightedHomogeneous.weightedHomogeneousComponent_same (show |
| 57 | MvPolynomial.IsWeightedHomogeneous _ _ m from (pure_grade m v).1 h)) |
| 58 | |
| 59 | theorem gradePart_zero (v : Label G d) (m m') (hne : m ≠ m') (h : v ∈ Grade m') : |
| 60 | gradePart m v = 0 := Subtype.ext (MvPolynomial.IsWeightedHomogeneous.weightedHomogeneousComponent_ne m |
| 61 | (show MvPolynomial.IsWeightedHomogeneous _ _ m' from (pure_grade m' v).1 h) hne) |
| 62 | |
| 63 | theorem gradePart_mem (m) (v : Label G d) : gradePart m v ∈ Grade m := |
| 64 | MvPolynomial.weightedHomogeneousComponent_mem bidegree v.val m |
| 65 | |
| 66 | theorem gradePart_bar (m) (v : Label G d) : gradePart m (realBar v) = realBar (gradePart m v) := by |
| 67 | classical |
| 68 | apply Subtype.ext |
| 69 | change piece m (conjPol v.val) = conjPol (piece m v.val) |
| 70 | ext b |
| 71 | simp only [conjPol, MvPolynomial.coeff_map,piece,MvPolynomial.coeff_weightedHomogeneousComponent]; split <;> simp |
| 72 | |
| 73 | theorem gradePart_turn (m) (s : Ortho) (v : Label G d) : gradePart m (tensor s v) = tensor s (gradePart m v) := |
| 74 | Subtype.ext (component_change _ _ _).symm |
| 75 | |
| 76 | theorem weight_slot (v : Key G →₀ ℕ) : |
| 77 | Finsupp.weight bidegree v = (height v, v.sum fun _ n => n) := by |
| 78 | classical |
| 79 | ext <;> simp [Finsupp.weight_apply,height,Finsupp.sum,bidegree, Prod.fst_sum, Prod.snd_sum] |
| 80 | |
| 81 | theorem power_le (v : Key G →₀ ℕ) : (Finsupp.weight bidegree v).2 ≤ height v := by |
| 82 | rw [weight_slot]; unfold height; rw [Finsupp.weight_apply]; unfold Finsupp.sum |
| 83 | apply Finset.sum_le_sum |
| 84 | intro i _ |
| 85 | exact le_mul_of_one_le_right (Nat.zero_le (v i)) (show 1 ≤ generation i by unfold generation; omega) |
| 86 | |
| 87 | theorem decompose (v : Label G d) : ∑ i ∈ Finset.range (d+1), ∑ j ∈ Finset.range (d+1), |
| 88 | gradePart (i,j) v = v := by |
| 89 | classical |
| 90 | apply Subtype.ext |
| 91 | simp only [AddSubmonoidClass.coe_finsetSum] |
| 92 | ext a |
| 93 | by_cases ha : MvPolynomial.coeff a v.val = 0 |
| 94 | · simp [gradePart,piece,MvPolynomial.coeff_weightedHomogeneousComponent, MvPolynomial.coeff_sum, ha] |
| 95 | · have hw := (MvPolynomial.mem_restrictSupport_iff ℂ).mp (show v.val ∈ limited G d from v.property.1) |
| 96 | (MvPolynomial.mem_support_iff.mpr ha) |
| 97 | let h := height a |
| 98 | let t := a.sum fun _ n => n |
| 99 | have hi : h < d+1 := Nat.lt_succ_of_le hw |
| 100 | have hj : t < d+1 := by |
| 101 | apply lt_of_le_of_lt _ hi |
| 102 | have hx := power_le a; rw [weight_slot] at hx; exact hx |
| 103 | simp [gradePart,piece,MvPolynomial.coeff_weightedHomogeneousComponent, MvPolynomial.coeff_sum, weight_slot, ite_and] |
| 104 | change (if h ≤ d then if t ≤ d then _ else _ else _) = _ |
| 105 | rw [if_pos (by omega), if_pos (by omega)] |
| 106 | |
| 107 | |
| 108 | theorem scalar_grade {v : Label G d} (m) (h : v ∈ Grade (m,0)) : |
| 109 | ∃ k : ℂ, v = k • unit G d := by |
| 110 | classical |
| 111 | let k := MvPolynomial.coeff 0 v.val |
| 112 | refine ⟨k, ?_⟩ |
| 113 | apply Subtype.ext |
| 114 | change v.val = k • (1 : Pol G) |
| 115 | ext a |
| 116 | rcases eq_or_ne a 0 with ha|ha |
| 117 | · subst a; simp [k] |
| 118 | simp only [MvPolynomial.coeff_smul, MvPolynomial.coeff_one, if_neg (Ne.symm ha), smul_zero] |
| 119 | by_contra! H |
| 120 | have he := (pure_grade _ v).1 h H |
| 121 | rw [weight_slot] at he |
| 122 | obtain ⟨i, hi⟩ : a.support.Nonempty := by simpa using ha |
| 123 | have hv : 0 < a i := Nat.pos_of_ne_zero (Finsupp.mem_support_iff.mp hi) |
| 124 | have hl : a i ≤ a.sum fun _ n => n := Finset.single_le_sum (f := a) (by simp) hi |
| 125 | have hg := congr_arg Prod.snd he |
| 126 | dsimp at hg |
| 127 | omega |
| 128 | |
| 129 | end YM.Labels |