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.Euclid.Comparator |
| 2 | import YM.Next.MAXWELL.Paint |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Polynomial observables on the invariant free sector |
| 7 | |
| 8 | Color equivariant projection and a section give the *exact* description |
| 9 | in terms of weight-restricted invariant polynomials; weight and length |
| 10 | projections remain inside. `decompose` uses the two gradings. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Maxwell.Free |
| 15 | open Set Function Filter Tensor Analysis |
| 16 | open MvPolynomial hiding monomial |
| 17 | open scoped ContDiff Topology BigOperators |
| 18 | variable {G : Gauge} {d j l : ℕ} |
| 19 | |
| 20 | def scaleW (v : Slot G) : ℕ := v.1 + 2 |
| 21 | |
| 22 | |
| 23 | |
| 24 | def degree (b : Slot G →₀ ℕ) := Finsupp.weight scaleW b |
| 25 | |
| 26 | def lowerCap (G : Gauge) (d : ℕ) : Submodule ℂ (WickPol G) := restrictSupport ℂ {b | degree b ≤ d} |
| 27 | |
| 28 | lemma bounded_grade {σ τ : Type*} {m : Type*} [AddCommMonoid m] (a : σ → m) (b : τ → m) |
| 29 | (L : MvPolynomial σ ℂ →ₐ[ℂ] MvPolynomial τ ℂ) (H : ∀ i, IsWeightedHomogeneous b (L (X i)) (a i)) |
| 30 | (p : σ →₀ ℕ) (c : ℂ) : IsWeightedHomogeneous b (L (MvPolynomial.monomial p c)) (Finsupp.weight a p) := by |
| 31 | rw [MvPolynomial.monomial_eq]; rw [map_mul,algHom_C]; apply IsWeightedHomogeneous.C_mul |
| 32 | rw [Finsupp.weight_apply]; unfold Finsupp.sum Finsupp.prod; rw [map_prod]; simp_rw [map_pow]; |
| 33 | exact IsWeightedHomogeneous.prod _ _ _ (fun i hi => (H i).pow (p i)) |
| 34 | |
| 35 | lemma transfers {σ τ : Type*} (a : σ → ℕ) (b : τ → ℕ) |
| 36 | (L : MvPolynomial σ ℂ →ₐ[ℂ] MvPolynomial τ ℂ) (H : ∀ i, IsWeightedHomogeneous b (L (X i)) (a i)) |
| 37 | (p : MvPolynomial σ ℂ) (hp : p ∈ MvPolynomial.restrictSupport ℂ {s|Finsupp.weight a s ≤ d}) : |
| 38 | L p ∈ MvPolynomial.restrictSupport ℂ {s|Finsupp.weight b s ≤ d} := by |
| 39 | rw [restrictSupport_eq_span] at hp |
| 40 | refine Submodule.span_induction (p := fun p _ => L p ∈ _) ?_ ?_ ?_ ?_ hp |
| 41 | · rintro f ⟨x,hx,rfl⟩ |
| 42 | rw [mem_restrictSupport_iff] |
| 43 | intro s hs; change Finsupp.weight b s ≤ d |
| 44 | rw [bounded_grade a b L H x 1 (MvPolynomial.mem_support_iff.mp hs)]; exact hx |
| 45 | · rw [map_zero]; exact Submodule.zero_mem _ |
| 46 | · intro x y _ _ h k; rw [map_add]; exact Submodule.add_mem _ h k |
| 47 | intro t y _ k; rw [map_smul]; exact Submodule.smul_mem _ _ k |
| 48 | |
| 49 | lemma symbol_hom {M : Type*} [AddCommMonoid M] (p : Probe G j) (m : ℕ → M) : |
| 50 | IsWeightedHomogeneous (fun k : Slot G => m k.1) (symbol j p) (m j) := by |
| 51 | unfold symbol; apply IsWeightedHomogeneous.sum; intro i hi; apply IsWeightedHomogeneous.C_mul |
| 52 | exact isWeightedHomogeneous_X .. |
| 53 | |
| 54 | lemma reduce_grade {M : Type*} [AddCommMonoid M] (m : ℕ → M) (i : Labels.Key G) : |
| 55 | IsWeightedHomogeneous (fun k : Slot G => m k.1) (reduceEq (X i)) (m i.1) := by |
| 56 | rw [reduceEq,MvPolynomial.aeval_X]; apply IsWeightedHomogeneous.sum |
| 57 | intro j _; apply IsWeightedHomogeneous.C_mul; exact isWeightedHomogeneous_X .. |
| 58 | |
| 59 | lemma reduces {p : Labels.Pol G} (hp : p ∈ Labels.limited G d) : reduceEq p ∈ lowerCap G d := |
| 60 | transfers _ _ reduceEq (reduce_grade (fun i => i+2)) p hp |
| 61 | |
| 62 | /-- Pull color on actual shell jets. -/ |
| 63 | def shade (u : G.El) (A : TaylorTower G) : TaylorTower G := fun i => castFace u i (A i) |
| 64 | |
| 65 | def pigment (u : G.El) : WickPol G →ₐ[ℂ] WickPol G := MvPolynomial.aeval fun i : Slot G => |
| 66 | symbol i.1 ((coordinateLeg i).comp (castFace u i.1)) |
| 67 | |
| 68 | lemma pigment_action (u : G.El) (A : TaylorTower G) (p : WickPol G) : |
| 69 | probe A (pigment u p) = probe (shade u A) p := by |
| 70 | suffices he : (probe A).comp (pigment u) = probe (shade u A) from DFunLike.congr_fun he p |
| 71 | ext i; rw [AlgHom.comp_apply,pigment, MvPolynomial.aeval_X,symbol_test,probe,MvPolynomial.aeval_X]; rfl |
| 72 | |
| 73 | lemma symbol_pigment (u : G.El) (p : Probe G j) : pigment u (symbol j p) = symbol j (p.comp (castFace u j)) := by |
| 74 | apply equalPol; intro A; rw [pigment_action,symbol_test,symbol_test]; rfl |
| 75 | |
| 76 | lemma pivot_observable (v : Labels.Label G d) (u : G.El) : pigment u (observable G d v)=observable G d v := by |
| 77 | apply equalPol |
| 78 | intro A; rw [pigment_action]; change probe _ (reduceEq _) = probe _ (reduceEq _) |
| 79 | rw [jet_value,jet_value]; |
| 80 | simpa only [shade,equiv_curl] using! (show Labels.read (Labels.colored u (fun i => gaugeJet (A i))) v.val = _ from v.property.2 (fun i => gaugeJet (A i)) u) |
| 81 | |
| 82 | /-- A section, capitalizing that `assign` is already color equivariant. |
| 83 | No need to Haar average this section. -/ |
| 84 | def protoLift (G : Gauge) : WickPol G →ₐ[ℂ] Labels.Pol G := MvPolynomial.aeval fun i : Slot G => |
| 85 | ∑ j : Fin (Labels.dim G i.1), C (σ:= Labels.Key G) (coordinateLeg i (assign G i.1 (Labels.axes G i.1 j)) : ℂ) * |
| 86 | X (R:=ℂ) (⟨i.1,j⟩ : Labels.Key G) |
| 87 | |
| 88 | lemma lifts_value (p : WickPol G) (A : Labels.Jet G) : Labels.read A (protoLift G p)=probe (fun i => assign G i (A i)) p := by |
| 89 | suffices H : (Labels.read A).comp (protoLift G)=probe (fun i => assign G i (A i)) from DFunLike.congr_fun H p |
| 90 | ext i |
| 91 | simp only [AlgHom.comp_apply,protoLift, MvPolynomial.aeval_X,map_sum,map_mul,Labels.read, MvPolynomial.aeval_X, |
| 92 | MvPolynomial.aeval_C,Algebra.algebraMap_self,RingHom.id_apply,probe] |
| 93 | rcases i with ⟨j,i⟩ |
| 94 | change ∑ k : Fin (Labels.dim G j), _ * (↑(((Labels.axes G j).repr (A j) k):ℝ):ℂ) = |
| 95 | (↑(coordinateLeg (⟨j,i⟩ : Slot G) (assign G j (A j))) : ℂ) |
| 96 | conv_rhs => rw [← (Labels.axes G j).sum_repr (A j)] |
| 97 | simp only [map_sum,map_smul,smul_eq_mul,Complex.ofReal_sum,Complex.ofReal_mul] |
| 98 | exact Finset.sum_congr rfl fun k _ => mul_comm .. |
| 99 | |
| 100 | lemma section_eq (p : WickPol G) : reduceEq (protoLift G p) = p := by |
| 101 | apply equalPol; intro A; rw [jet_value,lifts_value]; simp only [retrieve] |
| 102 | |
| 103 | lemma lift_lim {p : WickPol G} (hp : p ∈ lowerCap G d) : protoLift G p ∈ Labels.limited G d := by |
| 104 | apply transfers (a:=scaleW) Labels.generation _ ?_ p hp |
| 105 | intro i; rw [protoLift,MvPolynomial.aeval_X]; apply IsWeightedHomogeneous.sum; intro j hj |
| 106 | apply IsWeightedHomogeneous.C_mul; exact isWeightedHomogeneous_X .. |
| 107 | |
| 108 | lemma sector {p : WickPol G} : p ∈ shellSector G d ↔ p ∈ lowerCap G d ∧ ∀ i : G.El, pigment i p=p := by |
| 109 | constructor |
| 110 | · rintro ⟨v,rfl⟩; exact ⟨reduces v.property.1,pivot_observable v⟩ |
| 111 | rintro ⟨hv,h⟩ |
| 112 | refine ⟨⟨protoLift G p,lift_lim hv,?_⟩, section_eq p⟩ |
| 113 | intro A u |
| 114 | rw [lifts_value,lifts_value] |
| 115 | change probe (fun i => assign G i (Labels.Taylor.paint u (A i))) _ = _ |
| 116 | simp_rw [fit_paint]; exact (pigment_action u _ p).symm.trans (congr_arg _ (h u)) |
| 117 | |
| 118 | lemma chain (h : d ≤ l) : shellSector G d ≤ shellSector G l := fun _ hp => sector.mpr |
| 119 | ⟨restrictSupport_mono ℂ (show {b | degree (G:=G) b ≤ d} ⊆ {b| degree b ≤ l} from fun _ ht => le_trans ht h) |
| 120 | (sector.mp hp).1,(sector.mp hp).2⟩ |
| 121 | |
| 122 | /- Convenient homogeneous component results for later Ward tests. -/ |
| 123 | |
| 124 | |
| 125 | lemma commuting {σ τ M : Type*} [AddCommMonoid M] (a : σ → M) (b : τ → M) |
| 126 | (L : MvPolynomial σ ℂ →ₐ[ℂ] MvPolynomial τ ℂ) (H : ∀ i, IsWeightedHomogeneous b (L (X i)) (a i)) |
| 127 | (p : MvPolynomial σ ℂ) (k : M) : weightedHomogeneousComponent b k (L p) = L (weightedHomogeneousComponent a k p) := by |
| 128 | induction p using MvPolynomial.induction_on' with |
| 129 | | add p q hp hq => simp only [map_add,hp,hq] |
| 130 | | monomial s c => |
| 131 | have ht := bounded_grade a b L H s c |
| 132 | have hp := isWeightedHomogeneous_monomial a s c (m := Finsupp.weight a s) rfl |
| 133 | by_cases hx : k=Finsupp.weight a s |
| 134 | · subst k; rw [ht.weightedHomogeneousComponent_same,hp.weightedHomogeneousComponent_same] |
| 135 | rw [ht.weightedHomogeneousComponent_ne k hx,hp.weightedHomogeneousComponent_ne k hx,map_zero] |
| 136 | |
| 137 | |
| 138 | end YM.Maxwell.Free |