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.Distribution.Tests |
| 2 | import YM.Mink.Poincare |
| 3 | import Mathlib.Analysis.Normed.Operator.Prod |
| 4 | |
| 5 | /-! |
| 6 | # Smearing products AND joint Schwartz topology |
| 7 | |
| 8 | Type adapts the spacelike pair support convention, not ordered Euclidean tests. |
| 9 | Product words suffice at common invariant domain, but their correlation functionals |
| 10 | are *joint* distributions. No tensor density assumption used here. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Boundary |
| 15 | open MeasureTheory Filter Complex Function Set |
| 16 | open scoped Topology BigOperators ContDiff InnerProductSpace |
| 17 | |
| 18 | namespace Probe |
| 19 | variable {U V : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 20 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 21 | |
| 22 | abbrev size (n k : ℕ) (f : Probe U) := SchwartzMap.seminorm ℂ n k f |
| 23 | |
| 24 | def term (n k : ℕ) (f : Probe U) (g : Probe V) := |
| 25 | ∑ i ∈ Finset.range (k+1), (k.choose i:ℝ) * (size n i f * size 0 (k-i) g + size 0 i f * size n (k-i) g) |
| 26 | |
| 27 | @[fun_prop] lemma cont_size (k n : ℕ) : Continuous (fun f : Probe U => size k n f) := |
| 28 | (schwartz_withSeminorms ℂ U ℂ).continuous_seminorm (k,n) |
| 29 | |
| 30 | lemma term_nonneg (n k : ℕ) (f : Probe U) (g : Probe V) : 0 ≤ term n k f g := by unfold term size; positivity |
| 31 | lemma term_zero (n k : ℕ) (f : Probe U) : term n k f (0 : Probe V) = 0 := by simp [term,size] |
| 32 | lemma zero_term (n k : ℕ) (g : Probe V) : term n k (0 : Probe U) g = 0 := by simp [term,size] |
| 33 | lemma term_cont (n k : ℕ) : Continuous fun p : Probe U × Probe V => term n k p.1 p.2 := by |
| 34 | unfold term |
| 35 | apply continuous_finsetSum; intro i _ |
| 36 | apply continuous_const.mul; apply Continuous.add |
| 37 | · exact ((cont_size ..).comp continuous_fst).mul ((cont_size ..).comp continuous_snd) |
| 38 | exact ((cont_size ..).comp continuous_fst).mul ((cont_size ..).comp continuous_snd) |
| 39 | |
| 40 | theorem via (L : V →L[ℝ] U) (h : ‖L‖ ≤ 1) (f : Probe U) (x : V) (n k : ℕ) : |
| 41 | ‖L x‖^n * ‖iteratedFDeriv ℝ k (f ∘ L) x‖ ≤ size n k f := by |
| 42 | rw [L.iteratedFDeriv_comp_right (f.smooth ⊤) x (i := k) (by exact_mod_cast le_top)] |
| 43 | refine le_trans (mul_le_mul_of_nonneg_left ?_ (by positivity)) (SchwartzMap.le_seminorm ℂ n k f (L x)) |
| 44 | apply (ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _).trans |
| 45 | refine mul_le_of_le_one_right (norm_nonneg _) ?_ |
| 46 | simp only [Finset.prod_const, Finset.card_univ,Fintype.card_fin]; exact pow_le_one₀ (norm_nonneg _) h |
| 47 | |
| 48 | lemma extent_bound (f : Probe U) (g : Probe V) (n k : ℕ) (x : U × V) : |
| 49 | ‖x‖^n * ‖iteratedFDeriv ℝ k (fun a : U × V => f a.1 * g a.2) x‖ ≤ term n k f g := by |
| 50 | let F := f ∘ (↑(ContinuousLinearMap.fst ℝ U V) : U × V → U) |
| 51 | let G := g ∘ (↑(ContinuousLinearMap.snd ℝ U V) : U × V → V) |
| 52 | have hf : ContDiff ℝ ∞ F := (f.smooth ⊤).comp (ContinuousLinearMap.fst ℝ U V).contDiff |
| 53 | have hg : ContDiff ℝ ∞ G := (g.smooth ⊤).comp (ContinuousLinearMap.snd ℝ U V).contDiff |
| 54 | apply le_trans (mul_le_mul_of_nonneg_left (norm_iteratedFDeriv_mul_le hf hg x (n := k) (by exact_mod_cast le_top)) (by positivity)) |
| 55 | rw [Finset.mul_sum] |
| 56 | refine Finset.sum_le_sum fun i hi => ?_ |
| 57 | let A := ‖iteratedFDeriv ℝ i F x‖ |
| 58 | let B := ‖iteratedFDeriv ℝ (k-i) G x‖ |
| 59 | have ht (y) : ‖x.1‖ ^ y*A ≤ size y i f := via _ (ContinuousLinearMap.norm_fst_le ℝ U V) f x y i |
| 60 | have hs (y) : ‖x.2‖ ^ y*B ≤ size y (k-i) g := via _ (ContinuousLinearMap.norm_snd_le ℝ U V) g x y _ |
| 61 | change ‖x‖ ^ n * (_ * A * B) ≤ _ |
| 62 | rw [show ‖x‖ ^ n*((k.choose i:ℝ)*A*B)= (k.choose i:ℝ)*(‖x‖^n*A*B) by ring,Prod.norm_def] |
| 63 | apply mul_le_mul_of_nonneg_left _ (Nat.cast_nonneg _) |
| 64 | rcases le_total ‖x.2‖ ‖x.1‖ with e | e |
| 65 | · rw [max_eq_left e] |
| 66 | have he : B ≤ size 0 (k-i) g := by simpa using hs 0 |
| 67 | apply le_add_of_le_of_nonneg (mul_le_mul (ht n) he (norm_nonneg _) (apply_nonneg ..)) (by unfold size; positivity) |
| 68 | rw [max_eq_right e, mul_right_comm, mul_comm _ A] |
| 69 | have he : A ≤ size 0 i f := by simpa using ht 0 |
| 70 | exact le_add_of_nonneg_of_le (by unfold size; positivity) (mul_le_mul he (hs n) |
| 71 | (by dsimp only [B]; positivity) (apply_nonneg ..)) |
| 72 | |
| 73 | def combine (f : Probe U) (g : Probe V) : Probe (U × V) where |
| 74 | toFun x := f x.1*g x.2 |
| 75 | smooth' := ((f.smooth ⊤).comp contDiff_fst).mul ((g.smooth ⊤).comp contDiff_snd) |
| 76 | decay' i j := ⟨_,extent_bound f g i j⟩ |
| 77 | |
| 78 | @[simp] theorem combine_at (f : Probe U) (g : Probe V) (p) : combine f g p=f p.1*g p.2 := rfl |
| 79 | lemma size_bound (f : Probe U) (g : Probe V) (n k) : size n k (combine f g) ≤ term n k f g := |
| 80 | (combine f g).seminorm_le_bound ℂ n k (term_nonneg ..) (extent_bound f g n k) |
| 81 | |
| 82 | lemma compact_combine {f : Probe U} {g : Probe V} (h : HasCompactSupport ⇑f) (k : HasCompactSupport ⇑g) : |
| 83 | HasCompactSupport (combine f g : U × V → ℂ) := by |
| 84 | apply HasCompactSupport.intro (h.prod k); intro p hp |
| 85 | classical |
| 86 | rw [Set.mem_prod] at hp; push Not at hp |
| 87 | rw [combine_at]; by_cases he : p.1 ∈ tsupport f |
| 88 | · rw [image_eq_zero_of_notMem_tsupport (hp he),mul_zero] |
| 89 | rw [image_eq_zero_of_notMem_tsupport he,zero_mul] |
| 90 | |
| 91 | private def tsumx (i j : ℕ) (p q : Probe U × Probe V) := term i j (q.1-p.1) p.2 + term i j q.1 (q.2-p.2) |
| 92 | |
| 93 | private lemma viaeq (i j : ℕ) (p q : Probe U × Probe V) : size i j (combine q.1 q.2 - combine p.1 p.2) ≤ tsumx i j p q := by |
| 94 | unfold tsumx |
| 95 | rw [show combine q.1 q.2 - combine p.1 p.2 = combine (q.1-p.1) p.2 + combine q.1 (q.2-p.2) by ext1; simp;ring] |
| 96 | unfold size; refine le_trans (map_add_le_add (SchwartzMap.seminorm ℂ i j) _ _) (add_le_add (size_bound (q.1-p.1) p.2 i j) (size_bound q.1 (q.2-p.2) i j)) |
| 97 | |
| 98 | private lemma viact (i j : ℕ) (p : Probe U × Probe V) : Continuous (tsumx i j p) := by |
| 99 | let F : Probe U × Probe V → Probe U × Probe V := fun q => (q.1-p.1,p.2) |
| 100 | let G : Probe U × Probe V → Probe U × Probe V := fun q => (q.1,q.2-p.2) |
| 101 | have ht : Continuous F := (continuous_fst.sub continuous_const).prodMk continuous_const |
| 102 | have hs : Continuous G := continuous_fst.prodMk (continuous_snd.sub continuous_const) |
| 103 | exact ((term_cont i j).comp ht).add ((term_cont i j).comp hs) |
| 104 | |
| 105 | lemma tendN {R : Type*} (L : Filter R) (F : R → Probe U) (w : Probe U) : |
| 106 | Tendsto F L (𝓝 w) ↔ ∀ (i j : ℕ) (ε : ℝ), 0 < ε → ∀ᶠ k in L, size i j (F k-w) < ε := by |
| 107 | rw [(schwartz_withSeminorms ℂ U ℂ).tendsto_nhds F w] |
| 108 | simp only [Prod.forall] |
| 109 | rfl |
| 110 | |
| 111 | lemma normCont : Continuous (fun p : Probe U × Probe V => combine p.1 p.2) := by |
| 112 | refine continuous_iff_continuousAt.mpr ?_ |
| 113 | intro p |
| 114 | apply (tendN (𝓝 p) (fun q : Probe U × Probe V => combine q.1 q.2) (combine p.1 p.2)).mpr |
| 115 | intro i j ε hε |
| 116 | have hh := (viact i j p).continuousAt (x := p) |>.tendsto |
| 117 | rw [show tsumx i j p p=0 by simp [tsumx,term_zero,zero_term]] at hh |
| 118 | exact (hh.eventually (gt_mem_nhds hε)).mono (fun q hq => lt_of_le_of_lt (viaeq ..) (show tsumx i j p q < ε from hq)) |
| 119 | |
| 120 | end Probe |
| 121 | |
| 122 | abbrev Test4 := Probe E4 |
| 123 | abbrev Joint (n : ℕ) := Probe (Points n) |
| 124 | |
| 125 | namespace Joint |
| 126 | variable {n : ℕ} |
| 127 | |
| 128 | def trivial : Joint 0 := (HasCompactSupport.of_compactSpace (f := fun _ : Points 0 => (1:ℂ))).toSchwartzMap contDiff_const |
| 129 | @[simp] theorem trivial_at (x : Points 0) : trivial x=1 := rfl |
| 130 | |
| 131 | def breakAt : Points (n+1) ≃L[ℝ] E4 × Points n := Points.peel.toContinuousLinearEquiv.trans |
| 132 | (WithLp.prodContinuousLinearEquiv 2 ℝ E4 (Points n)) |
| 133 | |
| 134 | def combine (f : Test4) (g : Joint n) := Probe.along breakAt (Probe.combine f g) |
| 135 | @[simp] theorem combine_at (x : Test4) (f : Joint n) (v) : combine x f v=x (v 0) * f (Points.tail v) := rfl |
| 136 | lemma contCombine : Continuous (fun p : Test4 × Joint n => combine p.1 p.2) := |
| 137 | ((Probe.along breakAt).continuous).comp Probe.normCont |
| 138 | |
| 139 | def materialize : (n : ℕ) → (Fin n → Test4) → Joint n |
| 140 | | 0,_ => trivial |
| 141 | | n+1,v => combine (v 0) (materialize n (Fin.tail v)) |
| 142 | |
| 143 | @[simp] theorem material_at (f : Fin n → Test4) (p : Points n) : materialize n f p = ∏ i, f i (p i) := by |
| 144 | induction n with |
| 145 | | zero => simp [materialize] |
| 146 | | succ n ih => rw [materialize,combine_at,ih, Fin.prod_univ_succ];rfl |
| 147 | |
| 148 | @[fun_prop] theorem jointCont (n) : Continuous (materialize n) := by |
| 149 | induction n with |
| 150 | | zero => exact continuous_const |
| 151 | | succ n ih => |
| 152 | have he : Continuous (fun v : Fin (n+1) → Test4 => Fin.tail v) := continuous_pi (fun i => continuous_apply i.succ) |
| 153 | exact contCombine.comp ((continuous_apply 0).prodMk (ih.comp he)) |
| 154 | |
| 155 | variable (n) (p : Mink.Poincare) |
| 156 | def gpush : Joint n →L[ℂ] Joint n := (Probe.ahead (points fun _ => p.b)).comp (Probe.along (Mink.Poincare.togetherL p.Λ n).symm) |
| 157 | def push : Test4 →L[ℂ] Test4 := (Probe.ahead p.b).comp (Probe.along p.Λ.sends.symm) |
| 158 | |
| 159 | @[simp] lemma gpush_at (f x) : gpush n p f x=f (p⁻¹.zusammen n x) := by |
| 160 | simp only [gpush,ContinuousLinearMap.comp_apply,Probe.ahead_at,Probe.along_at] |
| 161 | congr 1; ext1 i; simp [Mink.Poincare.zusammen] |
| 162 | |
| 163 | @[simp] lemma push_at (f x) : push p f x=f (p⁻¹.sends x) := by simp [push] |
| 164 | lemma tests (v : Fin n → Test4) : gpush n p (materialize n v)=materialize n fun i => push p (v i) := by |
| 165 | ext1; simp [Mink.Poincare.zusammen] |
| 166 | |
| 167 | end Joint |
| 168 | end YM.Boundary |