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.MAXWELL.Algebra |
| 2 | import YM.Next.MAXWELL.Simple |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Color Reynolds operator on free labels |
| 7 | |
| 8 | Averages are finite polynomials; Haar from the Gauge itself. Use for |
| 9 | obtaining invariant testers and classifying low weights. Do not assume |
| 10 | connectedness of G.El. No norm instance choice needed on the polynomial |
| 11 | algebra. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Maxwell.Free |
| 16 | open Set Function Filter Tensor Analysis MeasureTheory |
| 17 | open scoped ContDiff Topology BigOperators InnerProductSpace ComplexOrder |
| 18 | |
| 19 | variable {G : Gauge} {j : ℕ} |
| 20 | |
| 21 | lemma orient_shade (u v : G.El) (A : TaylorTower G) : shade u (shade v A)=shade (u*v) A := by |
| 22 | funext i; apply Subtype.ext; funext a b; ext1 x |
| 23 | exact (G.adjoint_mul u v _).symm |
| 24 | |
| 25 | lemma paints_comp (u v : G.El) (p : WickPol G) : pigment v (pigment u p)=pigment (u*v) p := by |
| 26 | apply equalPol; intro A; rw [pigment_action,pigment_action, pigment_action,orient_shade] |
| 27 | |
| 28 | lemma continuous_paint (A : Shell G j) (p : Probe G j) : Continuous fun u => p (castFace u j A) := by |
| 29 | induction p using leg_probe_induction with |
| 30 | | vars v c i l => exact (EuclideanSpace.proj c : G.Color →L[ℝ] ℝ).continuous.comp (adj_cont (G:=G) _) |
| 31 | | zero => exact continuous_const |
| 32 | | add p q hp hq => exact hp.add hq |
| 33 | | smul t p hp => exact hp.const_mul _ |
| 34 | |
| 35 | section Orbit |
| 36 | private def Orbit (u : G.El → WickPol G) := ∃ (ι : Type) (_ : Fintype ι) (p : ι → WickPol G) (c : ι → G.El → ℂ), |
| 37 | (∀ i, Continuous (c i)) ∧ ∀ x, u x=∑ i, c i x • p i |
| 38 | |
| 39 | private lemma orbit_const (p : WickPol G) : Orbit (fun _ => p) := ⟨Unit,inferInstance,fun _ => p, fun _ _ => 1, |
| 40 | fun _ => continuous_const, fun _ => by simp⟩ |
| 41 | private lemma orbit_add {u v : G.El→ WickPol G} (H : Orbit u) (K : Orbit v) : Orbit (u+v) := by |
| 42 | classical |
| 43 | obtain ⟨ι,I,p,c,h,ht⟩ := H |
| 44 | obtain ⟨σ,S,q,d,w,hv⟩ := K |
| 45 | refine ⟨ι⊕σ,inferInstance,Sum.elim p q,Sum.elim c d,fun i => ?_,fun x => ?_⟩ |
| 46 | · cases i <;> simp [h,w] |
| 47 | rw [Fintype.sum_sum_type]; exact congr_arg₂ (·+·) (ht x) (hv x) |
| 48 | private lemma orbit_mul {u v : G.El→ WickPol G} (H : Orbit u) (K : Orbit v) : Orbit (u*v) := by |
| 49 | classical |
| 50 | obtain ⟨ι,I,p,c,h,ht⟩ := H |
| 51 | obtain ⟨σ,S,q,d,w,hv⟩ := K |
| 52 | refine ⟨ι×σ,inferInstance,fun i => p i.1*q i.2, fun i => c i.1 * d i.2,fun i => (h _).mul (w _),fun x => ?_⟩ |
| 53 | rw [Fintype.sum_prod_type]; simp_rw [Pi.mul_apply,ht,hv,Finset.sum_mul,Finset.mul_sum,smul_mul_assoc,mul_smul_comm, smul_smul] |
| 54 | |
| 55 | private theorem orbit (p : WickPol G) : Orbit fun u : G.El => pigment u p := by |
| 56 | induction p using MvPolynomial.induction_on with |
| 57 | | C a => simp_rw [pigment,MvPolynomial.aeval_C,MvPolynomial.algebraMap_eq]; exact orbit_const _ |
| 58 | | add p q hp hq => simp_rw [map_add]; exact orbit_add hp hq |
| 59 | | mul_X p i hp => |
| 60 | simp_rw [map_mul]; apply orbit_mul hp |
| 61 | let e (j : Fin (legDim G i.1)) : Slot G := ⟨i.1,j⟩ |
| 62 | refine ⟨Fin _,inferInstance,fun j => MvPolynomial.X (e j),fun j u => (coordinateLeg i (castFace u _ (frame G _ j)) : ℂ), |
| 63 | fun i => Complex.continuous_ofReal.comp (continuous_paint _ _),fun x => ?_⟩ |
| 64 | dsimp only; rw [pigment,MvPolynomial.aeval_X,symbol]; refine Finset.sum_congr rfl fun j _ => MvPolynomial.C_mul' .. |
| 65 | |
| 66 | lemma hue_continuous (p : WickPol G) (f : WickPol G →ₗ[ℂ] ℂ) : Continuous fun u => f (pigment u p) := by |
| 67 | obtain ⟨ι,I,q,g,hg,ht⟩ := orbit p |
| 68 | simp_rw [ht, map_sum,map_smul]; exact continuous_finsetSum _ fun i _ => (hg i).mul continuous_const |
| 69 | |
| 70 | lemma tone_integrable (p : WickPol G) (f : WickPol G →ₗ[ℂ] ℂ) : |
| 71 | Integrable (fun u => f (pigment u p)) G.probHaar := (hue_continuous p f).integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _) |
| 72 | |
| 73 | lemma blend (p : WickPol G) : ∃ q, ∀ f : WickPol G →ₗ[ℂ] ℂ, f q=∫ u, f (pigment u p) ∂G.probHaar := by |
| 74 | obtain ⟨ι,I,q,c,hc,ht⟩ := orbit p |
| 75 | refine ⟨∑ i,(∫ u,c i u ∂G.probHaar) • q i,fun f => ?_⟩ |
| 76 | simp_rw [ht,map_sum,map_smul,smul_eq_mul]; |
| 77 | rw [integral_finsetSum _]; simp_rw [integral_mul_const] |
| 78 | exact fun i _ => ((hc i).mul continuous_const).integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _) |
| 79 | |
| 80 | def moyenne (G : Gauge) : Module.End ℂ (WickPol G) where |
| 81 | toFun p := (blend p).choose |
| 82 | map_add' p q := by |
| 83 | apply equalPol; intro A; rw [map_add] |
| 84 | let f := (probe A).toLinearMap |
| 85 | change f _=f _ + f _ |
| 86 | simp_rw [(blend _).choose_spec f,map_add]; rw [integral_add (tone_integrable p f) (tone_integrable q f)] |
| 87 | map_smul' c p := by |
| 88 | apply equalPol; intro A; rw [map_smul] |
| 89 | let f := (probe A).toLinearMap |
| 90 | change f _=c • f _ |
| 91 | simp_rw [(blend _).choose_spec f,map_smul,integral_smul] |
| 92 | |
| 93 | lemma blended (p : WickPol G) (f : WickPol G →ₗ[ℂ] ℂ) : |
| 94 | f (moyenne G p) = ∫ u, f (pigment u p) ∂G.probHaar := (blend p).choose_spec _ |
| 95 | |
| 96 | def Painted (p : WickPol G) := ∀ u : G.El, pigment u p=p |
| 97 | |
| 98 | theorem paints_self {p : WickPol G} (H : Painted p) : moyenne G p=p := by |
| 99 | apply equalPol; intro A |
| 100 | let f := (probe A).toLinearMap |
| 101 | change f _ = f _; rw [blended]; simp_rw [show ∀ u, pigment u p=p from H]; simp |
| 102 | |
| 103 | theorem painted_moy (p : WickPol G) : Painted (moyenne G p) := by |
| 104 | intro v; apply equalPol; intro A |
| 105 | rw [pigment_action] |
| 106 | let f := (probe A).toLinearMap |
| 107 | let L := (probe (shade v A)).toLinearMap |
| 108 | change L _=f _; rw [blended,blended] |
| 109 | simp_rw [show ∀ u, L (pigment u p) = f (pigment (u*v) p) from fun u => |
| 110 | (pigment_action v _ _).symm.trans (congr_arg _ (paints_comp ..))] |
| 111 | exact integral_mul_right_eq_self (μ:=G.probHaar) (fun u => f (pigment u p)) v |
| 112 | |
| 113 | theorem paints_fact {p : WickPol G} (H : Painted p) (q : WickPol G) : moyenne G (q*p) = moyenne G q*p := by |
| 114 | apply equalPol; intro A; rw [map_mul (probe A)] |
| 115 | let f := (probe A).toLinearMap |
| 116 | change f _=f _ * f _; rw [blended,blended] |
| 117 | simp_rw [map_mul,show ∀ u, pigment u p=p from H,show ∀ p q, f (p*q)=f p*f q from fun p q => map_mul (probe A) p q, integral_mul_const] |
| 118 | end Orbit |
| 119 | end YM.Maxwell.Free |