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.Light |
| 2 | import Mathlib.Analysis.SpecialFunctions.Gamma.Basic |
| 3 | |
| 4 | /-! |
| 5 | # Heat decay and continuity |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.EveryPhase |
| 10 | open Function Filter Set Spec Boundary Next.BOUNDARY Spectral Mink Probe MeasureTheory Measure |
| 11 | open scoped Topology NNReal ENNReal InnerProductSpace ComplexOrder |
| 12 | |
| 13 | section decay |
| 14 | private lemma density_power (r : ℝ) (hr : 0 < r) : |
| 15 | ∫ t : ℝ in Ioi 0, t^2 * Real.exp (-r*t) = r⁻¹ ^ 3 * Real.Gamma 3 := by |
| 16 | convert Real.integral_rpow_mul_exp_neg_mul_Ioi (a:=3) (by norm_num) hr using 1 |
| 17 | · norm_num [Real.rpow_two] |
| 18 | rw [one_div,show (3:ℝ)= (↑(3:ℕ):ℝ) by norm_num,Real.rpow_natCast] |
| 19 | |
| 20 | /-- Tail integration of the shell bound. Parameters outside the unit |
| 21 | interval can already be included at the same price using total mass. -/ |
| 22 | theorem decay (μ : Measure E4) [IsFiniteMeasure μ] (C : ℝ) (_ : 0≤C) |
| 23 | (h : ∀ u > (0:ℝ), μ.real (lowE u) ≤ C*u^2) (s : ℝ≥0) (hs : 0<s) : |
| 24 | (∫ p in aboveE, boltz s p ∂μ) ≤ (C*Real.Gamma 3)*(s:ℝ)⁻¹^2 := by |
| 25 | classical |
| 26 | let r : ℝ := s |
| 27 | have hr : 0 < r := hs |
| 28 | let f (t : ℝ) := r * Real.exp (-r*t) |
| 29 | let g (p : E4) := (Ici (time p)).indicator f |
| 30 | let V := μ.restrict aboveE |
| 31 | let T := volume.restrict (Ioi (0:ℝ)) |
| 32 | have hf : Integrable f T := (integrableOn_exp_mul_Ioi (neg_lt_zero.mpr hr) 0).const_mul _ |
| 33 | have hg : Integrable (uncurry g) (V.prod T) := by |
| 34 | let S := {x : E4 × ℝ | time x.1 ≤ x.2} |
| 35 | have hv : MeasurableSet S := (isClosed_le (clock_cont.comp continuous_fst) continuous_snd).measurableSet |
| 36 | have he : uncurry g=S.indicator (f ∘ Prod.snd) := by |
| 37 | funext x; by_cases h : x ∈ S |
| 38 | · exact (indicator_of_mem h (f:=f ∘ Prod.snd)).symm ▸ (indicator_of_mem h (s:=Ici (time x.1)) (f:=f)) |
| 39 | rw [indicator_of_notMem h]; exact indicator_of_notMem (s:=Ici (time x.1)) (a:=x.2) h f |
| 40 | haveI : IsFiniteMeasure V := by unfold V; infer_instance |
| 41 | rw [he]; exact (hf.comp_snd (μ:=V)).indicator hv |
| 42 | haveI : SigmaFinite T := by unfold T; infer_instance |
| 43 | haveI : SigmaFinite V := by unfold V; infer_instance |
| 44 | calc |
| 45 | _ = ∫ p, (∫ t, g p t ∂T) ∂V := by |
| 46 | apply setIntegral_congr_fun aboveE_m; intro p (hp : p∈aboveE) |
| 47 | have hk : Ici (time p) ⊆ Ioi 0 := fun t ht => show 0 < t from lt_of_lt_of_le (show 0<time p from hp) ht |
| 48 | dsimp only [T,g]; rw [integral_indicator measurableSet_Ici,Measure.restrict_restrict_of_subset hk, integral_Ici_eq_integral_Ioi] |
| 49 | unfold f; rw [integral_const_mul, integral_exp_mul_Ioi (neg_lt_zero.mpr hr)] |
| 50 | change Real.exp (-r*time p) = _; field_simp |
| 51 | _ = ∫ t, (∫ p, g p t ∂V) ∂T := integral_integral_swap hg |
| 52 | _ ≤ ∫ t, (C*r)*(t^2 * Real.exp (-r*t)) ∂T := by |
| 53 | have hb : Integrable (fun t => t^2 * Real.exp (-r*t)) T := by |
| 54 | by_contra! hh |
| 55 | have ht := integral_undef hh; dsimp only [T] at ht; rw [density_power r hr] at ht |
| 56 | exact (ne_of_gt (by positivity)) ht |
| 57 | apply integral_mono_ae hg.integral_prod_right (hb.const_mul _) |
| 58 | filter_upwards [ae_restrict_mem (μ:=volume) measurableSet_Ioi] with t ht |
| 59 | have he : 0≤ f t := mul_nonneg hr.le (Real.exp_pos _).le |
| 60 | let s' := {p | time p ≤ t} |
| 61 | have hh : (g · t) = s'.indicator (fun _ => f t) := by |
| 62 | ext p; by_cases h : p ∈ s' |
| 63 | · rw [indicator_of_mem h]; exact indicator_of_mem (s:=Ici (time p)) (a:=t) h _ |
| 64 | rw [indicator_of_notMem h]; exact indicator_of_notMem (s:=Ici (time p)) (a:=t) h _ |
| 65 | have ht' : s' ∩ aboveE=lowE t := by ext p; exact and_comm |
| 66 | change (∫ x : E4, g x t ∂V) ≤ _ |
| 67 | dsimp only [V] |
| 68 | rw [hh,integral_indicator (measurableSet_le clock_cont.measurable measurable_const), |
| 69 | Measure.restrict_restrict (measurableSet_le clock_cont.measurable measurable_const), ht', setIntegral_const, |
| 70 | smul_eq_mul] |
| 71 | apply (mul_le_mul_of_nonneg_right (h t ht) he).trans_eq |
| 72 | unfold f; ring |
| 73 | _ = _ := by |
| 74 | rw [integral_const_mul]; dsimp only [T]; rw [density_power _ hr]; change _ = _ * r⁻¹^2 |
| 75 | field_simp |
| 76 | end decay |
| 77 | |
| 78 | section continuity |
| 79 | variable {G : Gauge} {C : Family G} {S : Table C.book} {f : Extraction.Order} |
| 80 | {F : Final C f S} (L : Almanac F) (w : SumOfWords S) |
| 81 | |
| 82 | theorem char_cont (p : E4) : Continuous fun i => charFun (νletter L i w) p := by |
| 83 | let b := Poincare.translation p |
| 84 | let u := acted F.action.spin b w |
| 85 | apply (sum_pair L w u).congr |
| 86 | intro i; rw [νletter,(L.cores i).spectral] |
| 87 | have hv : u=acted (L.actors i).spin b w := by rw [L.spins i] |
| 88 | rw [hv,cov_operator_vac (L.cores i)]; rfl |
| 89 | |
| 90 | /-- For continuity of heat use the scalar spectral measure on spacetime frequencies. |
| 91 | Approximate the exponential on the positive cone uniformly by compact bumps |
| 92 | times the exponential. Fourier test against the translation functions. -/ |
| 93 | lemma test_cont (g : Probe E4) : Continuous fun i => ∫ p, g p ∂νletter L i w := by |
| 94 | let c i := charFun (νletter L i w) |
| 95 | obtain ⟨M,hM,hm⟩ := word_bound L w |
| 96 | have he i : (∫ p, c i p * hat g p)=pref E4 • ∫ p, g p ∂νletter L i w := wave_integral _ _ |
| 97 | let V i := ∫ p, g p ∂νletter L i w |
| 98 | have hp : Continuous fun i => pref E4 • V i := by |
| 99 | apply continuous_iff_continuousAt.mpr; intro i |
| 100 | have hx (q : F.α.space.X) : pref E4 • V q= ∫ p, c q p*hat g p := (he q).symm |
| 101 | dsimp only [ContinuousAt]; simp_rw [hx] |
| 102 | apply tendsto_integral_filter_of_dominated_convergence (fun q => M * ‖hat g q‖) |
| 103 | · refine Eventually.of_forall fun a => ?_ |
| 104 | exact (stronglyMeasurable_charFun (μ:=νletter L a w)).aestronglyMeasurable.mul |
| 105 | (SchwartzMap.continuous _).aestronglyMeasurable |
| 106 | · exact Eventually.of_forall fun i => ae_of_all _ fun p => |
| 107 | (norm_mul _ _).le.trans (mul_le_mul_of_nonneg_right ((norm_charFun_le p).trans (hm i)) (norm_nonneg _)) |
| 108 | · exact (hat g).integrable.norm.const_mul M |
| 109 | exact ae_of_all _ fun p => ((char_cont L w p).tendsto i).mul tendsto_const_nhds |
| 110 | apply (continuous_const (y:=(pref E4)⁻¹)).smul hp |>.congr |
| 111 | intro i; change (pref E4)⁻¹ • (pref E4 • V i)=V i; rw [smul_smul, inv_mul_cancel₀ Probe.prepos.ne', one_smul] |
| 112 | |
| 113 | theorem uniform_heat (s : ℝ≥0) (hs : 0<s) : Continuous fun i => |
| 114 | inner ℂ (stands (L.actors i).operators w) (bHeat (L.J i) s (stands (L.actors i).operators w)) := by |
| 115 | have hr : 0<(s:ℝ) := hs |
| 116 | simp_rw [fun i => bHeat_pair (L.links i) (L.cores i) s (stands (L.actors i).operators w)] |
| 117 | let g i := ∫ p, boltz s p ∂νletter L i w |
| 118 | suffices H : Continuous g from Complex.continuous_ofReal.comp H |
| 119 | obtain ⟨M,hM,hm⟩ := word_bound L w |
| 120 | -- use a bump in ALL E4 momenta, cone support makes Euclidean norm ≤ 2 p(timeAxis) |
| 121 | have he (ε : ℝ) (hε : 0 < ε) : ∃ f : F.α.space.X → ℝ, Continuous f ∧ ∀ i, dist (g i) (f i) < ε := by |
| 122 | have hp : Tendsto (fun x : ℝ => M * Real.exp (-(s:ℝ) * x)) atTop (𝓝 0) := by |
| 123 | have hx := Real.tendsto_exp_atBot.comp (tendsto_id.const_mul_atTop_of_neg (neg_lt_zero.mpr hr)) |
| 124 | simpa using! hx.const_mul M |
| 125 | obtain ⟨N,hN,hx⟩ := ((hp.eventually (gt_mem_nhds hε)).and (eventually_gt_atTop (0:ℝ))).exists |
| 126 | have hn : 0 < N := hx |
| 127 | let B : ContDiffBump (0:E4) := ⟨2*N,3*N,by positivity,by linarith⟩ |
| 128 | let F (p) := B p * boltz s p |
| 129 | have hF : HasCompactSupport F := B.hasCompactSupport.mul_right |
| 130 | let f : Probe E4 := (hF.comp_left (show Complex.ofReal 0=0 by simp)).toSchwartzMap |
| 131 | (Complex.ofRealCLM.contDiff.comp (B.contDiff.mul ((Real.contDiff_exp).comp (by fun_prop)))) |
| 132 | have hB : Continuous F := by unfold F; exact B.continuous.mul (by unfold boltz; fun_prop) |
| 133 | have hw (i) : (∫ p, f p ∂νletter L i w).re=∫ p, F p ∂νletter L i w := by |
| 134 | change (∫ p, (↑(F p):ℂ) ∂νletter L i w).re=_ |
| 135 | rw [integral_complex_ofReal, Complex.ofReal_re] |
| 136 | refine ⟨fun i => ∫ p, F p ∂νletter L i w, |
| 137 | (Complex.continuous_re.comp (test_cont L w f)).congr hw, fun i => ?_⟩ |
| 138 | let μ := νletter L i w |
| 139 | have hh : ∀ᵐ p ∂μ, p ∈ cone := cave (L.cores i) _ |
| 140 | have hv : ∀ᵐ p ∂μ, 0 ≤ time p := hh.mono fun p hp => (cone_self p|>.mp hp).1 |
| 141 | let Q := Real.exp (-(s:ℝ)*N) |
| 142 | have hu : ∀ᵐ p ∂μ, ‖boltz s p-F p‖ ≤ Q := by |
| 143 | filter_upwards [hh] with p hp |
| 144 | have hw : 0 ≤ boltz s p := Real.exp_pos _ |>.le |
| 145 | by_cases H : p∈ Metric.closedBall (0:E4) (2*N) |
| 146 | · change ‖_ - (B p * boltz s p)‖ ≤ _ |
| 147 | rw [B.one_of_mem_closedBall H,one_mul,sub_self,norm_zero]; exact (Real.exp_pos _).le |
| 148 | have hA : N ≤ time p := by |
| 149 | simp only [mem_closedBall_zero_iff, not_le] at H |
| 150 | have hc : ‖spatial p‖ ≤ time p := hp |
| 151 | have hg := Mink.squares p |
| 152 | by_contra! hf |
| 153 | nlinarith [norm_nonneg (spatial p)] |
| 154 | unfold F; rw [Real.norm_eq_abs] |
| 155 | apply le_trans (abs_of_nonneg (sub_nonneg.mpr (mul_le_of_le_one_left hw B.le_one))).le |
| 156 | apply (sub_le_self _ (mul_nonneg B.nonneg hw)).trans |
| 157 | exact Real.exp_le_exp.mpr (mul_le_mul_of_nonpos_left hA (neg_nonpos.mpr hr.le)) |
| 158 | change dist (∫ p, boltz s p ∂μ) (∫ p, F p ∂μ)<ε |
| 159 | rw [dist_eq_norm, ← integral_sub (boltz_int μ hv s) (hB.integrable_of_hasCompactSupport hF)] |
| 160 | apply lt_of_le_of_lt (norm_integral_le_of_norm_le (integrable_const _) hu) |
| 161 | rw [integral_const,smul_eq_mul]; exact lt_of_le_of_lt (mul_le_mul_of_nonneg_right (hm i) |
| 162 | (Real.exp_pos _).le) hN |
| 163 | apply continuous_iff_continuousAt.mpr |
| 164 | intro i |
| 165 | apply Metric.tendsto_nhds.mpr; intro ε hε |
| 166 | obtain ⟨f,hf,h⟩ := he (ε/4) (by positivity) |
| 167 | filter_upwards [Metric.tendsto_nhds.mp (hf.tendsto i) (ε/4) (by positivity)] with x hx |
| 168 | have hu := h x; have hv := h i; rw [dist_comm] at hv |
| 169 | apply (dist_triangle _ (f x) _).trans_lt |
| 170 | linarith [dist_triangle (f x) (f i) (g i)] |
| 171 | |
| 172 | /-- Subtraction of the FULL zero-energy projection. -/ |
| 173 | theorem inverse_square (h : finite w) : ∃ M : ℝ, 0≤M ∧ ∀ i, ∀ s ≥ (1:ℝ≥0), |
| 174 | let A := stands (L.actors i).operators w |
| 175 | let P := (L.actors i).momentum.region zeroE |
| 176 | let r := inner ℂ A ((bHeat (L.J i) s - P) A) |
| 177 | 0 ≤ r ∧ r ≤ ↑(M*(s:ℝ)⁻¹^2) := by |
| 178 | obtain ⟨B,hB,hW⟩ := word_bound L w |
| 179 | obtain ⟨C,hC,hL⟩ := light_bound L w h |
| 180 | let D := max B C |
| 181 | have hD : 0≤ D := le_trans hC (le_max_right ..) |
| 182 | have hI i (x : ℝ) (hx : 0 < x) : (νletter L i w).real (lowE x) ≤ D*x^2 := by |
| 183 | by_cases H : x ≤ 1 |
| 184 | · exact (hL i x ⟨hx,H⟩).trans (mul_le_mul_of_nonneg_right (le_max_right ..) (sq_nonneg _)) |
| 185 | refine le_trans (measureReal_mono (μ:=νletter L i w) (subset_univ _)) ((hW i).trans |
| 186 | ((le_max_left B C).trans (le_mul_of_one_le_right hD (one_le_pow₀ (le_of_lt (lt_of_not_ge H)))))) |
| 187 | refine ⟨D*Real.Gamma 3, by positivity, fun i s hs => ?_⟩ |
| 188 | have hh := zero_lt_one.trans_le hs |
| 189 | dsimp only |
| 190 | rw [residual_pair (L.links i) (L.cores i) s] |
| 191 | exact ⟨Complex.zero_le_real.mpr (integral_nonneg fun p => (Real.exp_pos _).le), |
| 192 | Complex.real_le_real.mpr (decay _ _ hD (hI i) _ hh)⟩ |
| 193 | end continuity |
| 194 | end YM.EveryPhase |