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.Trace.Schwartz |
| 2 | import Mathlib.Analysis.SpecificLimits.Basic |
| 3 | |
| 4 | noncomputable section |
| 5 | namespace YM.Trace |
| 6 | open Boundary Function Filter MeasureTheory Set Complex |
| 7 | open scoped Topology BigOperators ENNReal NNReal InnerProductSpace |
| 8 | set_option linter.unusedSectionVars false |
| 9 | variable {V : Type*} [NormedAddCommGroup V] [MeasurableSpace V] [BorelSpace V] |
| 10 | |
| 11 | /-- A uniform locally finite mass estimate, in ennreal to retain finiteness. -/ |
| 12 | def Growth (μ : Measure V) (A : ℝ≥0∞) (n : ℕ) : Prop := ∀ r : ℝ, 1 ≤ r → |
| 13 | μ (Metric.closedBall 0 r) ≤ A*(ENNReal.ofReal r)^n |
| 14 | |
| 15 | def coverBand (i : ℕ) : Set V := {p | (2:ℝ)^i ≤ 1+‖p‖ ∧ 1+‖p‖ ≤ (2:ℝ)^(i+1)} |
| 16 | lemma bands_open_closed (i : ℕ) : MeasurableSet (coverBand (V:=V) i) := by |
| 17 | change MeasurableSet ({p:V | _ ≤ (1+‖p‖)} ∩ {p:V | 1+‖p‖ ≤ _}) |
| 18 | refine MeasurableSet.inter (measurableSet_le (by fun_prop) (by fun_prop)) (measurableSet_le (by fun_prop) (by fun_prop)) |
| 19 | lemma cover_bands : (⋃ i, coverBand (V:=V) i) = univ := Subset.antisymm (subset_univ _) (fun p _ => by |
| 20 | obtain ⟨i,hi,hK⟩ := exists_nat_pow_near (x:=1+‖p‖) (y:=2) (by linarith [norm_nonneg p]) (by norm_num) |
| 21 | exact mem_iUnion.mpr ⟨i,hi,hK.le⟩) |
| 22 | |
| 23 | def weight (k : ℕ) (x : V) := (1+‖x‖)^k |
| 24 | lemma weight_pos (k : ℕ) (x : V) : 0<weight k x := pow_pos (by linarith [norm_nonneg x]) _ |
| 25 | |
| 26 | set_option maxHeartbeats 1500000 |
| 27 | lemma Growth.band (μ : Measure V) (A : ℝ≥0∞) (n : ℕ) (hg : Growth μ A n) (i : ℕ) : |
| 28 | (∫⁻ x in coverBand i, ENNReal.ofReal ((weight (n+1) x)⁻¹) ∂μ) ≤ (A*2^n) * (2⁻¹)^i := by |
| 29 | let c := (2:ℝ)^i; let c' := (2:ℝ≥0∞)^i |
| 30 | have hc : 1 ≤ c := one_le_pow₀ (by norm_num) |
| 31 | have hv : μ (coverBand i) ≤ A*(2*c')^n := by |
| 32 | rw [show (2:ℝ≥0∞)*c'=ENNReal.ofReal (2*c) by norm_num [c,c',ENNReal.ofReal_mul,ENNReal.ofReal_pow]] |
| 33 | refine (measure_mono (t:=Metric.closedBall 0 (2*c)) ?_).trans (hg (2*c) (by linarith)) |
| 34 | intro x hx |
| 35 | have hy := hx.2; rw [pow_succ] at hy; exact Metric.mem_closedBall.mpr (by rw [dist_zero_right]; linarith) |
| 36 | calc |
| 37 | _ ≤ ∫⁻ _ in coverBand i, ENNReal.ofReal ((c^(n+1))⁻¹) ∂μ := lintegral_mono_ae ?_ |
| 38 | _ ≤ _ := ?_ |
| 39 | · filter_upwards [ae_restrict_mem (bands_open_closed (V:=V) i)] with x hx |
| 40 | apply ENNReal.ofReal_le_ofReal |
| 41 | have hy : c ≤ 1+‖x‖ := hx.1 |
| 42 | exact (inv_le_inv₀ (weight_pos _ _) (by positivity)).2 (pow_le_pow_left₀ (by positivity) hy _) |
| 43 | calc |
| 44 | _ = (c'^(n+1))⁻¹ * μ (coverBand i) := by |
| 45 | rw [setLIntegral_const] |
| 46 | rw [ENNReal.ofReal_inv_of_pos (by positivity), ENNReal.ofReal_pow (show 0≤c by positivity)] |
| 47 | norm_num [c',c,ENNReal.ofReal_pow] |
| 48 | _ ≤ (c'^(n+1))⁻¹ * (A*(2*c')^n) := by gcongr |
| 49 | _ = _ := by |
| 50 | rw [pow_succ, ENNReal.mul_inv (Or.inr (by simp [c'])) (Or.inl (by simp [c'])), |
| 51 | show (c'^n)⁻¹*(c')⁻¹*(A*(2*c')^n) = A*2^n*((c'^n)⁻¹ * c'^n) * (c')⁻¹ by ring, |
| 52 | ENNReal.inv_mul_cancel (by simp [c']) (by simp [c'])] |
| 53 | rw [mul_one]; exact congr_arg _ ENNReal.inv_pow |
| 54 | lemma Growth.total_weight (μ : Measure V) (A : ℝ≥0∞) (n : ℕ) (hg : Growth μ A n) : |
| 55 | (∫⁻ x, ENNReal.ofReal ((weight (n+1) x)⁻¹) ∂μ) ≤ 2^(n+1)*A := by |
| 56 | have he := lintegral_iUnion_le (μ:=μ) coverBand (fun x => ENNReal.ofReal ((weight (n+1) x)⁻¹)) |
| 57 | rw [cover_bands, Measure.restrict_univ] at he |
| 58 | refine (he.trans (ENNReal.tsum_le_tsum (hg.band μ A n))).trans_eq ?_ |
| 59 | rw [ENNReal.tsum_mul_left,ENNReal.tsum_geometric_two,pow_succ]; ring |
| 60 | |
| 61 | lemma Growth.integrable_weight (μ : Measure V) {A : ℝ≥0∞} {n : ℕ} (hg : Growth μ A n) (ha : A < ∞) : |
| 62 | Integrable (fun p:V => (weight (n+1) p)⁻¹) μ := by |
| 63 | refine ⟨by unfold weight; fun_prop, hasFiniteIntegral_iff_norm .. |>.mpr ?_⟩ |
| 64 | have hx (x : V) := Real.norm_of_nonneg (show 0 ≤ (weight (n+1) x)⁻¹ from inv_nonneg.mpr (weight_pos _ _).le) |
| 65 | simp_rw [hx] |
| 66 | exact (hg.total_weight μ _ _).trans_lt (ENNReal.mul_lt_top (by finiteness) ha) |
| 67 | |
| 68 | variable [InnerProductSpace ℝ V] |
| 69 | |
| 70 | def orderCost (f : Probe V) (j : ℕ) := (Probe.size 0 0 f + Probe.size j 0 f) |
| 71 | lemma orderCost_nonneg (f : Probe V) (j : ℕ) : 0≤orderCost f j := add_nonneg (apply_nonneg ..) (apply_nonneg ..) |
| 72 | lemma continuous_orderCost (j) : Continuous (fun f : Probe V => orderCost f j) := by |
| 73 | exact (Probe.cont_size ..).add (Probe.cont_size ..) |
| 74 | lemma weighted_test (f : Probe V) (j : ℕ) (x : V) : ‖f x‖ ≤ orderCost f j * 2^j * (weight j x)⁻¹ := by |
| 75 | have h (i) : ‖x‖^i * ‖f x‖ ≤ Probe.size i 0 f := by |
| 76 | simpa only [norm_iteratedFDeriv_zero] using SchwartzMap.le_seminorm ℂ i 0 f x |
| 77 | rw [← div_eq_mul_inv, le_div_iff₀ (weight_pos _ _),mul_comm ‖f x‖] |
| 78 | by_cases hr : ‖x‖≤1 |
| 79 | · refine (mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (a:=1+‖x‖) (by positivity) (b:=2) (by linarith) j) |
| 80 | (norm_nonneg _)).trans ?_ |
| 81 | rw [mul_comm] |
| 82 | gcongr |
| 83 | exact (show ‖f x‖≤ Probe.size 0 0 _ by simpa using h 0).trans (le_add_of_nonneg_right (apply_nonneg ..)) |
| 84 | have hr' (i k) : 0 ≤ Probe.size i k f := apply_nonneg .. |
| 85 | calc |
| 86 | _ ≤ (‖x‖*2)^j * ‖f x‖ := mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (a:=1+‖x‖) (by positivity) |
| 87 | (by linarith) j) (norm_nonneg _) |
| 88 | _ = (‖x‖^j * ‖f x‖) * 2^j := by ring |
| 89 | _ ≤ _ := by unfold orderCost; gcongr; have := h j; linarith [hr' 0 0] |
| 90 | |
| 91 | lemma Growth.integrable_schwartz {A : ℝ≥0∞} {n : ℕ} {μ : Measure V} (hg : Growth μ A n) (ha : A < ∞) |
| 92 | (f : Probe V) : Integrable f μ := |
| 93 | ((hg.integrable_weight μ ha).const_mul _).mono' f.continuous.aestronglyMeasurable (ae_of_all _ (weighted_test _ _)) |
| 94 | |
| 95 | lemma Growth.integrable_prod {A : ℝ≥0∞} {n : ℕ} {μ : Measure V} (hg : Growth μ A n) (ha : A < ∞) |
| 96 | (f g : Probe V) {F : Type*} [NormedAddCommGroup F] (k : V → F) (hk : AEStronglyMeasurable k μ) |
| 97 | (c : ℝ) (hc : ∀ x, ‖k x‖ ≤ c * ‖f x‖ * ‖g x‖) : Integrable k μ := by |
| 98 | have hu : Integrable (fun x => ‖f x‖ * (max 0 c * Probe.size 0 0 g)) μ := |
| 99 | (hg.integrable_schwartz ha f).norm.mul_const .. |
| 100 | refine hu.mono' hk (.of_forall fun x => (hc x).trans ?_) |
| 101 | calc _ = ‖f x‖ * (c * ‖g x‖) := by ring |
| 102 | _ ≤ _ := by gcongr <;> first | exact le_max_right .. | apply SchwartzMap.norm_le_seminorm |
| 103 | |
| 104 | def Tempered (μ : Measure V) := ∃ n A, Growth μ (ENNReal.ofReal A) n |
| 105 | lemma Tempered.integrable (μ : Measure V) (ht : Tempered μ) (f : Probe V) : Integrable f μ := by |
| 106 | obtain ⟨n,A,hA⟩ := ht; exact hA.integrable_schwartz (by finiteness) _ |
| 107 | end YM.Trace |