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.PertExtension.Exponent |
| 2 | import Mathlib.Analysis.Distribution.TemperateGrowth |
| 3 | import Mathlib.Analysis.SpecialFunctions.Gaussian.GaussianIntegral |
| 4 | |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.PertExtension.Series.Radial |
| 8 | open Filter Set Metric MeasureTheory Asymptotics |
| 9 | open scoped BigOperators Topology Real ContDiff Classical |
| 10 | open Zone |
| 11 | variable {E : Type*} [NormedAddCommGroup E][NormedSpace ℝ E][FiniteDimensional ℝ E] |
| 12 | |
| 13 | lemma bounded_exp {c:ℝ}(hc : 0<c)(k : ℕ) : ∃ C,0≤C ∧ ∀ x : ℝ, 0≤ x → (1+x)^k * Real.exp (-c*x^2)≤ C := by |
| 14 | have ht := (rpow_mul_exp_neg_mul_sq_isLittleO_exp_neg hc (↑k)).bound zero_lt_one |
| 15 | obtain ⟨M,hM⟩:=eventually_atTop.1 ht |
| 16 | let D:= max 1 M |
| 17 | have h₁ : 1≤D := le_max_left .. |
| 18 | have h₂ : M≤D:= le_max_right .. |
| 19 | refine ⟨(1+D)^k+2^k,by have hL : 0≤D:=zero_le_one.trans h₁; positivity,fun x hx=>?_⟩ |
| 20 | by_cases h : x ≤ D |
| 21 | · calc |
| 22 | _ ≤ (1+D)^k * Real.exp 0 := by gcongr; exact mul_nonpos_of_nonpos_of_nonneg (neg_nonpos.mpr hc.le) (sq_nonneg _) |
| 23 | _ ≤ _ := by rw [Real.exp_zero,mul_one]; exact le_add_of_nonneg_right (by positivity) |
| 24 | have hmx : M≤x:=h₂.trans (not_le.mp h).le; have hx1 := h₁.trans (not_le.mp h).le |
| 25 | have he:= hM x hmx |
| 26 | have hx' := pow_nonneg hx k |
| 27 | simp only [Real.rpow_natCast, Real.norm_eq_abs, abs_of_nonneg (mul_nonneg hx' (Real.exp_pos _).le), abs_of_nonneg (Real.exp_pos _).le,one_mul] at he |
| 28 | have hxt : 1+x ≤ 2*x:=by linarith |
| 29 | calc |
| 30 | _ ≤ 2^k*(x^k*Real.exp (-c*x^2)) := by rw [← mul_assoc,← mul_pow];gcongr |
| 31 | _ ≤ 2^k*1 := by gcongr;exact he.trans <| Real.exp_le_one_iff.mpr (by nlinarith) |
| 32 | _ ≤ _ := by have hL : 0≤D:=zero_le_one.trans h₁; simp;positivity |
| 33 | |
| 34 | local notation "Z" => Radial.zone (E:=E) |
| 35 | |
| 36 | def bill (k : ℕ)(c : ℝ) (u : E) := (Z).w u ^ k * Real.exp (-c*‖u‖^2) |
| 37 | lemma bill_nonneg (k : ℕ)(c : ℝ)(u : E) : 0≤bill k c u:= by have: 0≤(Z).w u:=zero_le_one.trans ((Z).high u); unfold bill; positivity |
| 38 | variable [MeasurableSpace E][BorelSpace E] |
| 39 | theorem bill_integrable (μ : Measure E)[μ.HasTemperateGrowth] (k : ℕ){c : ℝ}(hc : 0<c) : Integrable (bill (E:=E) k c) μ:= by |
| 40 | obtain ⟨n,hn⟩:=Measure.HasTemperateGrowth.exists_integrable (μ:=μ) |
| 41 | obtain ⟨C,hC,h⟩:=bounded_exp hc (k+n) |
| 42 | refine (hn.const_mul C).mono' ?_ (Eventually.of_forall fun u=>?_) |
| 43 | · apply Continuous.aestronglyMeasurable; unfold bill Radial.zone;dsimp only;fun_prop |
| 44 | have hp: 0<(1+‖u‖):=by have:= norm_nonneg u;linarith |
| 45 | rw [Real.norm_eq_abs, abs_of_nonneg (bill_nonneg ..)]; change (1+‖u‖)^k * Real.exp (-c*‖u‖^2) ≤ _ |
| 46 | rw [Real.rpow_neg (by positivity),Real.rpow_natCast]; refine le_of_mul_le_mul_right (a:=(1+‖u‖)^n) ?_ (pow_pos hp _) |
| 47 | have ht := h ‖u‖ (norm_nonneg _); calc |
| 48 | _ = (1+‖u‖)^(k+n) * Real.exp (-c*‖u‖^2) := by rw [pow_add];ring |
| 49 | _ ≤ C:=ht |
| 50 | _ ≤ _ := by field_simp;exact le_rfl |
| 51 | |
| 52 | def normTerm (K f : E→ℝ)(k : ℕ)(u : E) := integrandSeries f K k u*kernel f u |
| 53 | |
| 54 | namespace Smooth |
| 55 | omit [BorelSpace E] [FiniteDimensional ℝ E] in |
| 56 | lemma continuousJet (K : E→ℝ)(j : ℕ) : Continuous (jet K j):= by |
| 57 | unfold jet; apply continuous_const.mul |
| 58 | exact Continuous.comp (iteratedFDeriv ℝ j K 0).cont (continuous_pi fun _=>continuous_id) |
| 59 | |
| 60 | lemma continuousCoeff (K f : E→ℝ)(j : ℕ) : Continuous (integrandSeries f K j):= by |
| 61 | unfold integrandSeries Zone.mul |
| 62 | apply continuous_finsetSum; intro i hi; apply (continuousJet K _).mul; apply continuous_finsetSum;intro k hk |
| 63 | have h (k : ℕ) : ∀ j, Continuous (TaylorPow (layers f) k j):=by |
| 64 | induction k with |
| 65 | | zero=> intro h;simp only [TaylorPow];split<;>exact continuous_const |
| 66 | | succ k ih=> |
| 67 | intro j; simp only [TaylorPow, Zone.mul]; apply continuous_finsetSum;intro i _ |
| 68 | refine (ih i.1).mul <| (continuousJet ..).neg.add ?_ |
| 69 | by_cases hi : i.2=0 |
| 70 | · simpa [hi] using! continuousJet f 2 |
| 71 | simpa [hi] using! (continuous_const (X:=E) (y:= (0:ℝ))) |
| 72 | exact continuous_const.mul (h ..) |
| 73 | |
| 74 | lemma continuousTerms (K f : E→ℝ)(j : ℕ) : Continuous (normTerm K f j):=(continuousCoeff ..).mul (Real.continuous_exp.comp (continuous_neg.comp (continuousJet ..))) |
| 75 | end Smooth |
| 76 | |
| 77 | variable (μ : Measure E)[μ.HasTemperateGrowth] |
| 78 | variable {K : E→ℝ}{f : E→ℝ} |
| 79 | local notation "Term" => normTerm K f |
| 80 | |
| 81 | def moment (K f : E→ℝ)(k : ℕ) := ∫ u, normTerm K f k u ∂μ |
| 82 | def poly (K f : E→ℝ) (n : ℕ)(t : ℝ)(u : E) := eval (integrandSeries f K) n t u * kernel f u |
| 83 | |
| 84 | theorem kernel_pos {u} : 0<kernel f u:= by unfold kernel; exact Real.exp_pos _ |
| 85 | theorem kernel_bound {u c r}(h : (c+r)*‖u‖^2 ≤ jet f 2 u) : shade r u*(kernel f u) ≤ Real.exp (-c*‖u‖^2) := by |
| 86 | rw [shade,kernel,← Real.exp_add]; apply Real.exp_le_exp.mpr; linarith |
| 87 | |
| 88 | lemma boundedPrice {u : E→ℝ} (hu : (Z).Invoice u) {c : ℝ} (hf : ∀ u : E,c*‖u‖^2 ≤ jet f 2 u) : ∃ C k, 0≤C ∧ ∀ x,‖u x * kernel f x‖ ≤ C*bill k c x := by |
| 89 | obtain ⟨C,k,hC,h⟩:=hu |
| 90 | refine ⟨C,k,hC,fun x=>?_⟩ |
| 91 | unfold bill; rw [norm_mul,Real.norm_eq_abs (kernel ..),abs_of_nonneg kernel_pos.le,←mul_assoc] |
| 92 | exact mul_le_mul (h _) (Real.exp_le_exp.mpr (by specialize hf x;linarith)) kernel_pos.le (by have h := (Z).high x; positivity) |
| 93 | |
| 94 | namespace Stationary |
| 95 | variable (F : Stationary f)(hf : ContDiffAt ℝ ∞ K 0) |
| 96 | include μ |
| 97 | include F hf |
| 98 | local notation "poly'" => poly K f |
| 99 | local notation "moment'" => moment μ K f |
| 100 | |
| 101 | protected theorem integrableTerm {k : ℕ} (H : ∃ c>0,∀ u : E,c*‖u‖^2≤jet f 2 u) : Integrable (Term k) μ := by |
| 102 | obtain ⟨c,hc,h⟩:=H |
| 103 | obtain ⟨C,j,hj,hb⟩:= boundedPrice ((integrand hf F hc).invoice k) (f:=f) h |
| 104 | exact ((bill_integrable μ j hc).const_mul C).mono' (Smooth.continuousTerms .. |>.aestronglyMeasurable) (Eventually.of_forall hb) |
| 105 | |
| 106 | protected lemma integral_eval (H : ∃ c>0,∀ u : E,c*‖u‖^2≤jet f 2 u)(n : ℕ)(t : ℝ) : ∫ u,poly' n t u ∂μ = ∑ i∈Finset.range (n+1), t^i*moment' i := by |
| 107 | let S:= Finset.range (n+1) |
| 108 | have he : poly' n t=∑ i∈S, (fun u=>t^i*Term i u) := by funext u; unfold poly Zone.eval normTerm;rw [Finset.sum_mul];simp [Finset.sum_apply, mul_assoc,S] |
| 109 | rw [he]; unfold moment |
| 110 | simp_rw [Finset.sum_apply,integral_finsetSum _ (fun i _=>(F.integrableTerm μ hf H).const_mul (t^i)),integral_const_mul] |
| 111 | rfl |
| 112 | |
| 113 | omit μ in |
| 114 | protected lemma coeffBound (n : ℕ) : ∃ C e,0≤C ∧ ∀ u (t:ℝ),0≤t → t≤1 → |
| 115 | ‖eval (integrandSeries f K) n t u‖≤ C*(Z).w u^e := by |
| 116 | let a:= fun i u=>‖integrandSeries f K i u‖ |
| 117 | obtain ⟨C,e,hC,h⟩:=Invoice.fin_sum (Finset.range (n+1)) a (fun i _=> (integrand hf F (show (0:ℝ)<1 from by positivity)).invoice i |>.norm) |
| 118 | refine ⟨C,e,hC,fun u t ht hh=>le_trans (b:=∑ i∈Finset.range (n+1), a i u) ?_ (by simpa only [Finset.sum_apply,Real.norm_eq_abs,abs_of_nonneg (show 0≤∑ i∈Finset.range (n+1), a i u from by apply Finset.sum_nonneg;intro i hi; apply norm_nonneg)] using h u)⟩ |
| 119 | refine le_trans (norm_sum_le ..) <| Finset.sum_le_sum fun i _=>?_ |
| 120 | rw [norm_smul,Real.norm_eq_abs (t^i),abs_of_nonneg (pow_nonneg ht _)]; exact mul_le_of_le_one_left (norm_nonneg _) (pow_le_one₀ ht hh) |
| 121 | |
| 122 | end Stationary |
| 123 | end YM.PertExtension.Series.Radial |