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.EveryPhase.Polynomials |
| 2 | import YM.EveryPhase.Projection |
| 3 | import Mathlib.Analysis.SpecialFunctions.Trigonometric.Bounds |
| 4 | |
| 5 | /-! |
| 6 | # Time average of vacuum commutator |
| 7 | |
| 8 | Saves differentiating spectral integrals (and works without uniform bounds |
| 9 | on generator domain norms). The one-sided unit-interval average of the |
| 10 | antisymmetrization in time still detects low positive frequencies, at |
| 11 | first order in E. Crucial is that its weight can't be negative even at |
| 12 | *high* energies. Thus D(x) a spatial Fourier transform of positive measure. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.EveryPhase |
| 17 | open Function Filter Set Spec Boundary Spectral Mink Probe MeasureTheory Measure |
| 18 | open scoped Topology NNReal ENNReal InnerProductSpace ComplexConjugate Interval |
| 19 | |
| 20 | def pulse (t : ℝ) := ∫ x in (0:ℝ)..1, Real.sin (t*x) |
| 21 | |
| 22 | lemma pulse_bounded (t) : |pulse t| ≤ 1 := by |
| 23 | unfold pulse |
| 24 | rw [intervalIntegral.integral_of_le zero_le_one,← Real.norm_eq_abs] |
| 25 | have hp := norm_integral_le_of_norm_le (μ:=volume.restrict (Ioc (0:ℝ) 1)) (f:=fun x : ℝ => Real.sin (t*x)) |
| 26 | (g:=fun _ => (1:ℝ)) (integrable_const _) (ae_of_all _ fun x => Real.abs_sin_le_one _) |
| 27 | simpa using hp |
| 28 | |
| 29 | lemma pulse_measurable : Measurable pulse := by |
| 30 | have h : Measurable (fun p : ℝ × ℝ => Real.sin (p.1*p.2)) := by fun_prop |
| 31 | have he : pulse = fun t => ∫ x in Ioc (0:ℝ) 1, Real.sin (t*x) := by |
| 32 | funext; unfold pulse; rw [intervalIntegral.integral_of_le zero_le_one] |
| 33 | rw [he]; exact (h.stronglyMeasurable.integral_prod_right (ν:=volume.restrict (Ioc (0:ℝ) 1))).measurable |
| 34 | |
| 35 | lemma pulse_positive {t : ℝ} (h : 0≤t) : 0≤pulse t := by |
| 36 | rcases h.eq_or_lt with h|h |
| 37 | · simp [pulse,←h] |
| 38 | have he (x) : HasDerivAt (fun x => - Real.cos (t*x)/t) (Real.sin (t*x)) x := by |
| 39 | convert! (((hasDerivAt_id' x).const_mul t).cos.neg.div_const t) using 1 |
| 40 | field_simp |
| 41 | unfold pulse; rw [intervalIntegral.integral_eq_sub_of_hasDerivAt (fun x _ => he x) |
| 42 | ((show Continuous fun x => Real.sin (t*x) from by fun_prop).intervalIntegrable _ _)] |
| 43 | rw [sub_nonneg] |
| 44 | gcongr; simp [Real.cos_le_one] |
| 45 | |
| 46 | lemma pulse_lower {t : ℝ} (hx : t∈Icc (0:ℝ) 1) : t/Real.pi ≤ pulse t := by |
| 47 | have ht := hx.2 |
| 48 | have hp := hx.1 |
| 49 | calc |
| 50 | _ = ∫ x in (0:ℝ)..1, (2/Real.pi*t)*x := by |
| 51 | rw [intervalIntegral.integral_const_mul, integral_id]; ring |
| 52 | _ ≤ _ := by |
| 53 | apply intervalIntegral.integral_mono_on (by norm_num : (0:ℝ)≤1) |
| 54 | ((show Continuous (fun x : ℝ => (2/Real.pi*t)*x) from by fun_prop).intervalIntegrable ..) |
| 55 | ((show Continuous (fun u => Real.sin (t*u)) from by fun_prop).intervalIntegrable ..) |
| 56 | intro x h |
| 57 | have he := h.1 |
| 58 | have hh : t*x ≤ Real.pi/2 := (mul_le_one₀ ht he h.2).trans (by linarith [Real.two_le_pi]) |
| 59 | rw [mul_assoc]; exact Real.mul_le_sin (mul_nonneg hp he) hh |
| 60 | |
| 61 | variable (μ ν : Measure E4) |
| 62 | |
| 63 | def up (p : E4) : ℝ≥0 := (pulse (time p)).toNNReal |
| 64 | |
| 65 | theorem up_limit (p) : (up p:ℝ) ≤ 1 := by |
| 66 | unfold up |
| 67 | rw [Real.coe_toNNReal']; exact max_le ((le_abs_self _).trans (pulse_bounded _)) zero_le_one |
| 68 | |
| 69 | lemma up_measurable : Measurable up := |
| 70 | continuous_real_toNNReal.measurable.comp (pulse_measurable.comp clock_cont.measurable) |
| 71 | |
| 72 | def weighted : Measure E4 := μ.withDensity fun p => ↑(up p) |
| 73 | |
| 74 | variable [IsFiniteMeasure μ] [IsFiniteMeasure ν] |
| 75 | instance : IsFiniteMeasure (weighted μ) := by |
| 76 | refine ⟨?_⟩; unfold weighted; rw [withDensity_apply _ MeasurableSet.univ] |
| 77 | apply lt_of_le_of_lt _ (measure_lt_top μ univ) |
| 78 | rw [← setLIntegral_one]; apply lintegral_mono; intro x |
| 79 | exact ENNReal.coe_le_one_iff.mpr (up_limit x) |
| 80 | |
| 81 | /-! `two`: formula before spatial Fourier testing. Second spectral |
| 82 | measure also contributes with + sign at the opposite spatial frequency. -/ |
| 83 | |
| 84 | local notation "I" => Complex.I |
| 85 | |
| 86 | def oddTest (g : ℝ → ℂ) (t : ℝ) := (g t - g (-t)) / (2*I) |
| 87 | |
| 88 | def averaged (g : E4 → ℂ) (x : Space3) := ∫ t in Ioc (0:ℝ) 1, |
| 89 | oddTest (fun s => g (position x s)) t |
| 90 | |
| 91 | lemma intervalChar (μ : Measure E4) [IsFiniteMeasure μ] (x : Space3) : |
| 92 | Integrable (oddTest (fun t => charFun μ (position x t))) (volume.restrict (Ioc (0:ℝ) 1)) := by |
| 93 | let f (t : ℝ) := charFun μ (position x t) |
| 94 | have hx : IntegrableOn f (Ioc (0:ℝ) 1) := |
| 95 | (integrable_const (μ:=volume.restrict (Ioc (0:ℝ) 1)) (μ.real univ)).mono' |
| 96 | (show Measurable f from by unfold f position; fun_prop).aestronglyMeasurable |
| 97 | (ae_of_all _ fun i => norm_charFun_le _) |
| 98 | have hk : IntegrableOn (fun t => f (-t)) (Ioc (0:ℝ) 1) := |
| 99 | (integrable_const (μ:=volume.restrict (Ioc (0:ℝ) 1)) (μ.real univ)).mono' |
| 100 | (show Measurable (fun t => f (-t)) from by unfold f position; fun_prop).aestronglyMeasurable |
| 101 | (ae_of_all _ fun i => norm_charFun_le _) |
| 102 | exact (hx.sub hk).div_const _ |
| 103 | |
| 104 | lemma plane_odd (p : E4) (x : Space3) (t : ℝ) : |
| 105 | oddTest (fun s => plane p (position x s)) t = plane (spatial p) x * ↑(Real.sin (time p*t)) := by |
| 106 | have he (s : ℝ) : plane p (position x s)= plane (spatial p) x * Complex.exp (↑(time p*s)*I) := by |
| 107 | unfold plane; rw [Mink.pairing]; simp only [spatial_position,time_position,Complex.ofReal_add, |
| 108 | add_mul,Complex.exp_add] |
| 109 | simp only [oddTest]; rw [he,he,Complex.exp_mul_I,Complex.exp_mul_I] |
| 110 | simp only [mul_neg,Complex.ofReal_neg,Complex.cos_neg,Complex.sin_neg,Complex.ofReal_sin] |
| 111 | field_simp; ring |
| 112 | |
| 113 | lemma one_average (x : Space3) (h : ∀ᵐ p ∂μ, 0≤p timeAxis) : |
| 114 | averaged (charFun μ) x= charFun ((weighted μ).map spatial) x := by |
| 115 | let f (s : ℝ) (p : E4) := plane p (position x s) |
| 116 | let g (s : ℝ) (p : E4) := oddTest (fun t => f t p) s |
| 117 | have hi (s) : Integrable (f s) μ := |
| 118 | (integrable_const (μ:=μ) (1:ℝ)).mono' |
| 119 | ((show Continuous (f s) from plane_cont.comp (continuous_id.prodMk (continuous_const (y:=position x s)))).aestronglyMeasurable) |
| 120 | (ae_of_all _ fun p => (plane_norm ..).le) |
| 121 | have he (p : E4) (s : ℝ) : g s p= plane (spatial p) x*↑(Real.sin (time p*s)) := plane_odd p x s |
| 122 | let η := volume.restrict (Ioc (0:ℝ) 1) |
| 123 | haveI : IsFiniteMeasure η := by unfold η; infer_instance |
| 124 | have hh : Integrable (uncurry g) (η.prod μ) := by |
| 125 | apply (integrable_const (μ:=η.prod μ) (1:ℝ)).mono' |
| 126 | · apply Continuous.aestronglyMeasurable; rw [show uncurry g = fun p => plane (spatial p.2) x * |
| 127 | (↑(Real.sin (time p.2*p.1)):ℂ) from funext fun p => he ..] |
| 128 | unfold plane; fun_prop |
| 129 | refine ae_of_all _ fun p => ?_ |
| 130 | change ‖g p.1 p.2‖ ≤ 1; rw [he, norm_mul, Complex.norm_real, plane_norm, one_mul]; exact Real.abs_sin_le_one _ |
| 131 | have hg s : oddTest (fun t => charFun μ (position x t)) s = ∫ p, g s p ∂μ := by |
| 132 | change ((∫ p, f s p ∂μ)-(∫ p, f (-s) p ∂μ))/(2*I)=_ |
| 133 | rw [← integral_sub (hi _) (hi _),← integral_div]; rfl |
| 134 | calc |
| 135 | _ = ∫ s in Ioc (0:ℝ) 1, (∫ p, g s p ∂μ) := by simp_rw [averaged,hg] |
| 136 | _ = ∫ p, (∫ s in Ioc (0:ℝ) 1, g s p) ∂μ := integral_integral_swap hh |
| 137 | _ = ∫ p, plane (spatial p) x * (↑(pulse (time p)):ℂ) ∂μ := by |
| 138 | refine integral_congr_ae (ae_of_all _ fun p => ?_) |
| 139 | simp_rw [he, integral_const_mul, pulse, intervalIntegral.integral_of_le zero_le_one, integral_complex_ofReal] |
| 140 | _ = _ := by |
| 141 | rw [charFun_apply, integral_map rest_cont.measurable.aemeasurable (by fun_prop), weighted, |
| 142 | integral_withDensity_eq_integral_smul up_measurable] |
| 143 | apply integral_congr_ae |
| 144 | filter_upwards [h] with p hp |
| 145 | change _ = (Real.toNNReal _ : ℝ≥0) • plane _ _ |
| 146 | change _ = ((Real.toNNReal (pulse (time p)) : ℝ≥0):ℝ) • plane _ _ |
| 147 | rw [Real.coe_toNNReal _ (pulse_positive (t:=time p) hp), Complex.real_smul,mul_comm] |
| 148 | |
| 149 | lemma two_average (x : Space3) (h : ∀ᵐ p ∂μ, 0 ≤ p timeAxis) (hp : ∀ᵐ p ∂ν, 0 ≤ p timeAxis) : |
| 150 | averaged (fun p => charFun μ p - charFun ν (-p)) x = |
| 151 | charFun ((weighted μ).map spatial) x + charFun ((weighted ν).map (fun p => -spatial p)) x := by |
| 152 | have he : charFun ((weighted ν).map (fun p => -spatial p)) x = charFun ((weighted ν).map spatial) (-x) := by |
| 153 | rw [charFun_apply,charFun_apply,integral_map (by fun_prop) (by fun_prop), |
| 154 | integral_map rest_cont.measurable.aemeasurable (by fun_prop)]; simp |
| 155 | rw [he,← one_average μ x h,← one_average ν (-x) hp] |
| 156 | unfold averaged |
| 157 | rw [← integral_add (intervalChar μ x) (intervalChar ν (-x))] |
| 158 | refine integral_congr_ae (ae_of_all _ fun p => ?_) |
| 159 | have hh (t) : -(position x t)=position (-x) (-t) := by apply Mink.ext_by <;> simp |
| 160 | simp only [oddTest]; rw [hh,hh,neg_neg]; ring |
| 161 | end YM.EveryPhase |