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.MeasureTheory.Measure.Lebesgue.VolumeOfBalls |
| 2 | import YM.Next.MAXWELL.Pole |
| 3 | |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Positive smooth regulator for the free potential |
| 8 | |
| 9 | On genuine 4D Lebesgue volume. Its **minus** Laplacian is a unit |
| 10 | approximate delta. A tool for keeping the normalization of the stress |
| 11 | flux, not an assertion of contacts in any continuum hierarchy. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Maxwell.Free |
| 16 | open Set Function Filter Tensor Analysis MeasureTheory |
| 17 | open scoped ContDiff Topology BigOperators InnerProductSpace |
| 18 | |
| 19 | /-- t>0. At 0 we'll only use the germ at nonzero x. -/ |
| 20 | def soften (t : ℝ) (x : E4) : ℝ := normal * (t^2 + ‖x‖^2)⁻¹ |
| 21 | |
| 22 | def source (t : ℝ) (x : E4) : ℝ := 8 * normal * t^2 * (t^2 + ‖x‖^2)⁻¹^3 |
| 23 | |
| 24 | lemma soften_zero : soften 0 = Green := funext fun x => by simp [soften,Green] |
| 25 | |
| 26 | lemma soften_diff {t : ℝ} (ht : 0 < t) : ContDiff ℝ ω (soften t) := |
| 27 | contDiff_const.mul ((contDiff_const.add (contDiff_norm_sq ℝ)).inv (show ∀ x : E4, t^2 + ‖x‖^2 ≠ 0 from fun x => by positivity)) |
| 28 | |
| 29 | lemma source_diff {t : ℝ} (ht : 0 < t) : ContDiff ℝ ω (source t) := |
| 30 | contDiff_const.mul (((contDiff_const.add (contDiff_norm_sq ℝ)).inv (show ∀ x : E4, t^2 + ‖x‖^2 ≠ 0 from fun x => by positivity)).pow _) |
| 31 | |
| 32 | lemma soften_first {t : ℝ} {x : E4} (ht : t^2+‖x‖^2 ≠ 0) (i : Axis) : |
| 33 | grad i (soften t) x = -2 * normal * x i * (t^2+‖x‖^2)⁻¹^2 := by |
| 34 | have h := ((hasFDerivAt_inv ht).comp x |
| 35 | ((hasStrictFDerivAt_norm_sq x).hasFDerivAt.const_add (t^2))).const_mul normal |
| 36 | have he := h.fderiv; change fderiv ℝ (soften t) x = _ at he |
| 37 | unfold grad D; rw [he]; simp [← real_inner_comm x]; ring |
| 38 | |
| 39 | lemma soften_second {t : ℝ} {x : E4} (ht : t^2+‖x‖^2 ≠ 0) (i j : Axis) : |
| 40 | grad i (grad j (soften t)) x = -2 * normal * basis i j * (t^2+‖x‖^2)⁻¹^2 + |
| 41 | 8 * normal * x i * x j * (t^2+‖x‖^2)⁻¹^3 := by |
| 42 | have he : grad j (soften t) =ᶠ[𝓝 x] fun y => -2 * normal * y j * (t^2+‖y‖^2)⁻¹^2 := by |
| 43 | have hc : Continuous fun y : E4 => t^2 + ‖y‖^2 := by fun_prop |
| 44 | filter_upwards [hc.continuousAt.eventually_ne ht] with y hy; exact soften_first hy j |
| 45 | change D (basis i) _ _ = _ |
| 46 | rw [GermD _ he] |
| 47 | have h := (((compAxis j).hasFDerivAt (x := x)).const_mul (-2 * normal)).mul |
| 48 | (((hasFDerivAt_inv ht).comp x ((hasStrictFDerivAt_norm_sq x).hasFDerivAt.const_add (t^2))).pow 2) |
| 49 | have hw := h.fderiv; change fderiv ℝ (fun y : E4 => -2 * normal * y j * (t^2+‖y‖^2)⁻¹^2) x = _ at hw |
| 50 | rw [D, hw]; simp [-basis_eq, compAxis, ← real_inner_comm x]; field_simp |
| 51 | ring |
| 52 | |
| 53 | lemma minus_lap {t : ℝ} (h : 0 < t) : lap (soften t) = -source t := by |
| 54 | funext x |
| 55 | have ht : 0 < t^2+‖x‖^2 := by positivity |
| 56 | simp only [lap,soften_second (t:=t) (x:=x) ht.ne',basis_eq,↓reduceIte,mul_one,Finset.sum_add_distrib,Finset.sum_const,Finset.card_univ,Fintype.card_fin, |
| 57 | nsmul_eq_mul, Nat.cast_ofNat] |
| 58 | rw [← Finset.sum_mul] |
| 59 | simp_rw [mul_assoc (8*normal),← sq, ← Finset.mul_sum] |
| 60 | rw [← EuclideanSpace.real_norm_sq_eq,Pi.neg_apply,source] |
| 61 | field_simp; ring |
| 62 | |
| 63 | |
| 64 | |
| 65 | lemma source_scale {t : ℝ} (h : 0 < t) (x : E4) : t^4 * source t (t • x) = source 1 x := by |
| 66 | unfold source; rw [norm_smul,Real.norm_eq_abs, abs_of_pos h] |
| 67 | field_simp |
| 68 | |
| 69 | private theorem profile_bill : IntegrableOn (fun r : ℝ => r^3*(1+r^2)⁻¹^3) (Ioi 0) ∧ |
| 70 | (∫ r in Ioi (0:ℝ), r^3*(1+r^2)⁻¹^3) = 1/4 := by |
| 71 | let g := fun x : ℝ => (1-(1+x^2)⁻¹)^2/4 |
| 72 | have hn (x : ℝ) : 0 < 1+x^2 := by positivity |
| 73 | have hp (x : ℝ) : HasDerivAt g (x^3*(1+x^2)⁻¹^3) x := by |
| 74 | unfold g |
| 75 | refine ((((hasDerivAt_id' x).pow 2).const_add 1 |>.inv (hn x).ne').const_sub 1 |>.pow 2 |>.div_const 4).congr_deriv ?_ |
| 76 | simp only [Pi.inv_apply,Pi.pow_apply] |
| 77 | field_simp |
| 78 | ring_nf |
| 79 | field_simp |
| 80 | have hw (x : ℝ) (hx : x ∈ Ioi (0:ℝ)) : 0 ≤ x^3*(1+x^2)⁻¹^3 := by have : 0 < x := hx; positivity |
| 81 | have he : Tendsto g atTop (𝓝 (1/4)) := by |
| 82 | have h₁ : Tendsto (fun x : ℝ => (1+x^2)⁻¹) atTop (𝓝 0) := |
| 83 | tendsto_inv_atTop_zero.comp (tendsto_atTop_mono (show (fun x : ℝ => x^2) ≤ fun x => 1+x^2 from |
| 84 | fun x => le_add_of_nonneg_left zero_le_one) (tendsto_pow_atTop (by omega))) |
| 85 | simpa [g] using (((h₁.const_sub 1).pow 2).div_const (4:ℝ)) |
| 86 | refine ⟨integrableOn_Ioi_deriv_of_nonneg' (fun x _ => hp x) hw he,?_⟩ |
| 87 | rw [integral_Ioi_of_hasDerivAt_of_nonneg' (fun x _ => hp x) hw he]; simp [g] |
| 88 | |
| 89 | theorem source_profile : Integrable (source 1) ∧ (∫ x : E4, source 1 x) = 1 := by |
| 90 | let f := fun r : ℝ => 8 * normal * (1:ℝ)^2 * (1^2+r^2)⁻¹^3 |
| 91 | have he := profile_bill |
| 92 | have hd : Module.finrank ℝ E4 = 4 := by simp |
| 93 | have h (r : ℝ) : r^(Module.finrank ℝ E4-1) • f r = (8*normal)*(r^3*(1+r^2)⁻¹^3) := by |
| 94 | rw [hd]; dsimp only [f]; simp; ring |
| 95 | change Integrable (fun (x:E4) => f ‖x‖) ∧ _ |
| 96 | refine ⟨(integrable_fun_norm_addHaar volume).mpr ?_, ?_⟩ |
| 97 | · simp_rw [h]; exact he.1.const_mul _ |
| 98 | have ht : volume.real (Metric.ball (0:E4) 1) = Real.pi^2/2 := by |
| 99 | rw [measureReal_def, InnerProductSpace.volume_ball_of_dim_even (k:=2) (by simp [hd]),ENNReal.ofReal_one,one_pow,one_mul, |
| 100 | ENNReal.toReal_ofReal (by positivity)]; norm_num |
| 101 | change (∫ x : E4, f ‖x‖) = 1 |
| 102 | rw [integral_fun_norm_addHaar]; simp_rw [h]; rw [integral_const_mul,he.2,ht,hd] |
| 103 | simp only [normal, nsmul_eq_mul,smul_eq_mul,Nat.cast_ofNat]; field_simp |
| 104 | ring |
| 105 | |
| 106 | /-- Useful affine change of variable on volume (does not assume integrability). -/ |
| 107 | lemma dilate_integral {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] (F₀ : E4 → F) (x : E4) (t : ℝ) |
| 108 | (h : 0 < t) : (∫ y, F₀ y) = t^4 • ∫ y : E4, F₀ (x+t • y) := by |
| 109 | calc |
| 110 | _ = ∫ y, F₀ (x+y) := (integral_add_left_eq_self F₀ x).symm |
| 111 | _ = _ := by |
| 112 | rw [show (fun y => F₀ (x+t • y)) = (fun y => (fun z => F₀ (x+z)) (t • y)) from rfl] |
| 113 | rw [MeasureTheory.Measure.integral_comp_smul_of_nonneg volume (fun z => F₀ (x+z)) t (hR := h.le)] |
| 114 | rw [show Module.finrank ℝ E4=4 by simp, smul_inv_smul₀ (by positivity : t^4 ≠ 0)] |
| 115 | |
| 116 | lemma testing_source {f : E4 → ℝ} (hf : Continuous f) (hc : HasCompactSupport f) (x : E4) : |
| 117 | Tendsto (fun t => ∫ y : E4, source t (y-x) * f y) (𝓝[>] (0:ℝ)) (𝓝 (f x)) := by |
| 118 | have he t (ht : 0 < t) : (∫ y : E4, source t (y-x) * f y) = ∫ y : E4, source 1 y * f (x+t • y) := by |
| 119 | rw [dilate_integral (fun y => source t (y-x) * f y) x t ht, ← integral_smul] |
| 120 | refine integral_congr_ae (Eventually.of_forall fun y => ?_); simp only [add_sub_cancel_left,smul_eq_mul, ← mul_assoc,source_scale ht] |
| 121 | obtain ⟨C,hC⟩ := hf.bounded_above_of_compact_support hc |
| 122 | have hv : (∫ y : E4, source 1 y * f x) = f x := by rw [integral_mul_const, source_profile.2,one_mul] |
| 123 | refine Tendsto.congr' ?_ (show Tendsto (fun t : ℝ => ∫ y : E4, source 1 y * f (x+t • y)) _ _ from ?_) |
| 124 | · filter_upwards [self_mem_nhdsWithin] with t ht; exact (he t ht).symm |
| 125 | rw [← hv] |
| 126 | apply tendsto_integral_filter_of_dominated_convergence (fun y => ‖source 1 y‖ * C) _ _ |
| 127 | (source_profile.1.norm.mul_const C) |
| 128 | · refine Eventually.of_forall fun y => ?_ |
| 129 | have hg : Continuous (fun t : ℝ => source 1 y * f (x+t • y)) := by fun_prop |
| 130 | simpa using (hg.continuousAt (x := 0)).tendsto.mono_left (nhdsWithin_le_nhds (s := Ioi 0)) |
| 131 | · exact Eventually.of_forall fun t => ((source_diff (by norm_num : (0:ℝ)<1)).continuous.mul |
| 132 | (hf.comp (show Continuous fun y : E4 => x+t • y by fun_prop))).aestronglyMeasurable |
| 133 | refine Eventually.of_forall fun t => Eventually.of_forall fun y => ?_ |
| 134 | change ‖source 1 y * f (x+t • y)‖ ≤ ‖_‖ * _ |
| 135 | rw [norm_mul]; gcongr; exact hC _ |
| 136 | |
| 137 | end YM.Maxwell.Free |