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 Mathlib.Analysis.Distribution.TemperedDistribution |
| 2 | import Mathlib.Analysis.InnerProductSpace.Completion |
| 3 | import Mathlib.MeasureTheory.Measure.CharacteristicFunction.Basic |
| 4 | import Mathlib.MeasureTheory.Measure.Support |
| 5 | import YM.Analysis.Nonnegative |
| 6 | |
| 7 | |
| 8 | /-! |
| 9 | # Paley Gaussian strip |
| 10 | |
| 11 | Real `b` frequency: T(t) orbit +ib, shift imaginary positive ⇒ estimates |
| 12 | exp(b t), kill *negative*. Scalar version. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Paley |
| 17 | open Function Set Filter MeasureTheory Measure Complex Topology |
| 18 | open scoped Topology NNReal ENNReal InnerProductSpace ComplexOrder BigOperators Real |
| 19 | |
| 20 | def high := {z : ℂ | 0 ≤ z.im} |
| 21 | def loft := {z : ℂ | 0 < z.im} |
| 22 | |
| 23 | lemma open_loft : IsOpen loft := isOpen_lt continuous_const continuous_im |
| 24 | lemma subset : loft ⊆ high := fun z h => le_of_lt (show 0<z.im from h) |
| 25 | |
| 26 | def Z (s t : ℝ) := (t:ℂ)+(s:ℂ)*I |
| 27 | @[simp] lemma level (s t) : (Z s t).im=s := by simp [Z] |
| 28 | @[simp] lemma time (s t) : (Z s t).re=t := by simp [Z] |
| 29 | @[simp] lemma gap_zero (t) : Z 0 t=(t:ℂ) := by simp [Z] |
| 30 | |
| 31 | structure Air (F : ℂ → ℂ) (C : ℝ) : Prop where |
| 32 | connects : ContinuousOn F high |
| 33 | straight : DifferentiableOn ℂ F loft |
| 34 | bounded z (h : z ∈ high) : ‖F z‖ ≤ C |
| 35 | |
| 36 | variable {F : ℂ → ℂ} {C : ℝ} (h : Air F C) |
| 37 | namespace Air |
| 38 | include h |
| 39 | lemma rate : 0 ≤ C := le_trans (norm_nonneg _) (h.bounded 0 (by simp [high])) |
| 40 | lemma cont (s : ℝ) (hs : 0 ≤ s) : Continuous (F ∘ Z s) := h.connects.comp_continuous |
| 41 | (by unfold Z; fun_prop) (fun x => show 0 ≤ (Z _ _).im from by simpa using hs) |
| 42 | end Air |
| 43 | |
| 44 | def probe (b ε : ℝ) (z : ℂ) := Complex.exp (-(b:ℂ)*z*I-(ε:ℂ)*z^2) |
| 45 | lemma probed (b ε s t : ℝ) : ‖probe b ε (Z s t)‖= Real.exp (-ε*t^2)*Real.exp (b*s+ε*s^2) := by |
| 46 | rw [probe,Complex.norm_exp,← Real.exp_add]; congr 1 |
| 47 | simp [pow_two,mul_re,mul_im];ring |
| 48 | lemma monitors (b ε s : ℝ) : Continuous fun t => probe b ε (Z s t) := by unfold probe Z;fun_prop |
| 49 | |
| 50 | include h |
| 51 | lemma finite (s b ε : ℝ) (hs : 0 ≤ s) (he : 0 < ε) : Integrable (fun t => F (Z s t)*probe b ε (Z s t)) := by |
| 52 | let f (t : ℝ) := C * (Real.exp (-ε*t^2)*Real.exp (b*s+ε*s^2)) |
| 53 | have hf : Integrable f volume := ((integrable_exp_neg_mul_sq he).mul_const _).const_mul C |
| 54 | apply hf.mono |
| 55 | (((Air.cont h s hs).mul (monitors ..)).aestronglyMeasurable : AEStronglyMeasurable (fun t => F (Z s t)*probe b ε (Z s t)) volume) |
| 56 | apply ae_of_all; intro t |
| 57 | change ‖F (Z s t)*probe b ε (Z s t)‖ ≤ ‖f t‖; rw [norm_mul]; apply le_trans (mul_le_mul_of_nonneg_right |
| 58 | (h.bounded _ (by simp [high,hs])) (norm_nonneg _)) |
| 59 | rw [probed]; exact Real.le_norm_self _ |
| 60 | |
| 61 | lemma wings (s b ε : ℝ) (hs : 0 ≤ s) (he : 0 < ε) : |
| 62 | let v (t : ℝ) := ∫ i : ℝ in 0..s, F (Z i t)*probe b ε (Z i t) |
| 63 | Tendsto v atTop (𝓝 0) ∧ Tendsto (fun t => v (-t)) atTop (𝓝 0) := by |
| 64 | let U (t : ℝ) := C*(Real.exp (-ε*t^2) * Real.exp (|b| *s+ε*s^2))*s |
| 65 | have hz : Tendsto U atTop (𝓝 0) := by |
| 66 | have hp : Tendsto (fun t : ℝ => -ε*t^2) atTop atBot := (tendsto_const_mul_atBot_of_neg (neg_lt_zero.mpr he)).mpr |
| 67 | (tendsto_pow_atTop (by decide)) |
| 68 | simpa [U] using (((Real.tendsto_exp_atBot.comp hp).mul_const (Real.exp (|b| *s+ε*s^2))).const_mul C |>.mul_const s) |
| 69 | intro v |
| 70 | have ht (t : ℝ) : ‖v t‖ ≤ U t := by |
| 71 | unfold v; unfold U |
| 72 | have hz i (hi : i∈Set.uIoc 0 s) : ‖F (Z i t)*probe b ε (Z i t)‖ ≤ C*(Real.exp (-ε*t^2)* Real.exp (|b| *s+ε*s^2)) := by |
| 73 | have hh := uIoc_subset_uIcc hi; rw [uIcc_of_le hs] at hh |
| 74 | obtain ⟨h1,h2⟩ := hh |
| 75 | rw [norm_mul, probed] |
| 76 | apply mul_le_mul (h.bounded _ (show Z i t∈high from by simp [high,h1])) _ (by positivity) h.rate |
| 77 | have hx := le_trans (mul_le_mul_of_nonneg_right (le_abs_self b) h1) (mul_le_mul_of_nonneg_left h2 (abs_nonneg _)) |
| 78 | apply mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr (add_le_add hx ?_)) (by positivity); gcongr |
| 79 | simpa only [sub_zero,abs_of_nonneg hs] using intervalIntegral.norm_integral_le_of_norm_le_const hz |
| 80 | exact ⟨tendsto_zero_iff_norm_tendsto_zero.mpr (squeeze_zero (fun _ => norm_nonneg _) ht hz), |
| 81 | tendsto_zero_iff_norm_tendsto_zero.mpr (squeeze_zero (fun _ => norm_nonneg _) (fun i => show _ ≤ U i by |
| 82 | simpa [U] using ht (-i)) hz)⟩ |
| 83 | |
| 84 | lemma same (s b ε : ℝ) (hs : 0 ≤ s) (he : 0 < ε) : |
| 85 | (∫ t : ℝ, F (Z 0 t)*probe b ε (Z 0 t))=(∫ t : ℝ, F (Z s t)*probe b ε (Z s t)) := by |
| 86 | let f (z : ℂ) := F z*probe b ε z |
| 87 | have hh W T : (∫ x in W..T, f (Z 0 x)) - (∫ x in W..T, f (Z s x)) + |
| 88 | I • (∫ t in 0..s, f (Z t T))-I • (∫ t in 0..s, f (Z t W))=0 := by |
| 89 | have hC : ContinuousOn f high := h.connects.mul (Continuous.continuousOn (by unfold probe;fun_prop)) |
| 90 | have hF : DifferentiableOn ℂ f loft := h.straight.mul (Differentiable.differentiableOn (by unfold probe;fun_prop)) |
| 91 | have hp := integral_boundary_rect_eq_zero_of_continuousOn_of_differentiableOn f (Z 0 W) (Z s T) |
| 92 | (hC.mono (fun z hz => by |
| 93 | change 0 ≤ z.im; exact (show z.im∈ Icc 0 s from by simpa only [mem_preimage, level, uIcc_of_le hs] using hz.2).1)) |
| 94 | (hF.mono (fun z hz => by |
| 95 | change 0 < z.im; exact (show z.im∈ Ioo 0 s from by simpa only [mem_preimage, level,min_eq_left hs,max_eq_right hs] using hz.2).1)) |
| 96 | simp_rw [level,time] at hp; exact hp |
| 97 | let g (i : ℝ) := ∫ y in 0..s,f (Z y i) |
| 98 | obtain ⟨hx, hy⟩ := wings h s b ε hs he |
| 99 | have hx : Tendsto (fun i : ℝ => I • g i) atTop (𝓝 0) := by simpa only [smul_zero] using Tendsto.const_smul hx I |
| 100 | have hy : Tendsto (fun i : ℝ => I • g (-i)) atTop (𝓝 0) := by simpa only [smul_zero] using Tendsto.const_smul hy I |
| 101 | have h1 := intervalIntegral_tendsto_integral (finite h 0 b ε le_rfl he) tendsto_neg_atTop_atBot tendsto_id |
| 102 | have h2 := intervalIntegral_tendsto_integral (finite h s b ε hs he) tendsto_neg_atTop_atBot tendsto_id |
| 103 | apply sub_eq_zero.mp |
| 104 | have hp := tendsto_nhds_unique (((h1.sub h2).add hx).sub hy) (tendsto_const_nhds.congr |
| 105 | (fun i : ℝ => (hh (-i) i).symm)) |
| 106 | simpa only [add_zero,sub_zero] using hp |
| 107 | |
| 108 | lemma bound (s b ε : ℝ) (hs : 0 ≤ s) (he : 0 < ε) : |
| 109 | ‖∫ t : ℝ, F ↑t * probe b ε t‖ ≤ C * (√(Real.pi/ε)*Real.exp (b*s+ε*s^2)) := by |
| 110 | have hv := same h s b ε hs he; simp_rw [gap_zero] at hv; rw [hv]; apply le_trans |
| 111 | (norm_integral_le_integral_norm _) _ |
| 112 | rw [← integral_gaussian,← integral_mul_const,← integral_const_mul] |
| 113 | apply integral_mono (finite h s b ε hs he).norm |
| 114 | (((integrable_exp_neg_mul_sq he).mul_const _).const_mul _) |
| 115 | intro x; dsimp only; rw [norm_mul]; conv_rhs => rw [← probed] |
| 116 | gcongr; exact h.bounded _ (by simp [high,hs]) |
| 117 | end YM.Paley |