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.Distribution.Tests |
| 2 | import YM.Hilbert.Kolmogorov |
| 3 | import YM.Paley.Line |
| 4 | |
| 5 | /-! |
| 6 | # Positive finite coefficient must vanish on negative frequency lane |
| 7 | |
| 8 | Shift by -b/(2ε), explicit exponent. No infinities in toReal; |
| 9 | diagonal positive. `measure.support` topology. This works for any bounded |
| 10 | analytic. Doesn't discover cone across all maps. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Paley |
| 15 | open Function Set Filter MeasureTheory Measure Complex Topology |
| 16 | open scoped Topology NNReal ENNReal InnerProductSpace ComplexOrder BigOperators Real |
| 17 | variable {C : ℝ} {F : ℂ → ℂ} |
| 18 | variable {X : Type*} [TopologicalSpace X] [MeasurableSpace X] [BorelSpace X] [SecondCountableTopology X] |
| 19 | variable (μ : Measure X) [IsFiniteMeasure μ] (x : X → ℝ) |
| 20 | |
| 21 | def seed (ε : ℝ) := √(Real.pi/ε) |
| 22 | def shrink (q ε : ℝ) := Real.exp (-q^2/(4*ε)) |
| 23 | lemma basis (p b ε : ℝ) (h : 0<ε) : |
| 24 | (∫ t : ℝ, Complex.exp ((↑(p*t):ℂ)*I) * probe b ε t)=(↑(seed ε*shrink (p-b) ε):ℂ) := by |
| 25 | let g (T : ℂ) := (Real.pi / (ε:ℂ))^(1/2:ℂ) * Complex.exp (-T^2/(4*(ε:ℂ))) |
| 26 | have he (p b : ℝ) : (∫ t : ℝ, Complex.exp ((↑(p*t):ℂ)*I) * probe b ε t)=g (↑(p-b)) := by |
| 27 | unfold probe |
| 28 | have ht t : Complex.exp ((↑(p*t):ℂ)*I)*probe b ε t= |
| 29 | Complex.exp (I*(↑(p-b):ℂ)*t)*Complex.exp (-(ε:ℂ)*t^2) := by |
| 30 | -- t real cast RHS `t^2` ℝ? |
| 31 | rw [probe, ← Complex.exp_add,← Complex.exp_add]; congr 1; push_cast;ring |
| 32 | unfold probe at ht |
| 33 | simp_rw [ht]; exact fourierIntegral_gaussian (b := (ε:ℂ)) (by simpa using h) (↑(p-b)) |
| 34 | rw [he] |
| 35 | have hx := he 0 0 |
| 36 | have hv : (Real.pi/(ε:ℂ))^(1/2:ℂ)=↑(seed ε) := by |
| 37 | suffices he : g 0= ↑(seed ε) by simpa [g] using he |
| 38 | have ht (t : ℝ) : probe 0 ε t=(↑(Real.exp (-ε*t^2)):ℂ) := by |
| 39 | unfold probe; rw [Complex.ofReal_exp]; congr 1; push_cast;ring |
| 40 | simp_rw [zero_mul, ofReal_zero,zero_mul,Complex.exp_zero,one_mul, ht,integral_complex_ofReal, |
| 41 | integral_gaussian] at hx |
| 42 | simpa only [sub_zero,ofReal_zero,seed] using hx.symm |
| 43 | unfold g shrink |
| 44 | rw [hv]; push_cast |
| 45 | rfl |
| 46 | |
| 47 | /-- Real* test equality. -/ |
| 48 | lemma smoothed (hx : Continuous x) (H : ∀ p : ℝ, F p=(∫ y, Complex.exp (↑(x y*p)*I) ∂μ)) (ε b : ℝ) (h : 0 < ε) : |
| 49 | (∫ t : ℝ, F t * probe b ε t)=(seed ε:ℂ) * ↑(∫ y, shrink (x y-b) ε ∂μ) := by |
| 50 | simp_rw [H,← integral_mul_const] |
| 51 | let f := fun (t : ℝ) y => Complex.exp ((↑(x y*t):ℂ)*I) * probe b ε t |
| 52 | change (∫ t, ∫ y, f t y ∂μ) = _ |
| 53 | rw [integral_integral_swap] |
| 54 | · unfold f; simp_rw [basis _ _ ε h, ofReal_mul,integral_const_mul, integral_complex_ofReal] |
| 55 | have hc : Continuous (uncurry f) := continuous_iff_continuousAt.mpr fun p => by unfold f uncurry probe; fun_prop |
| 56 | -- `R1×μ` integrability on gaussian majorant ν; arbitrary μ finite |
| 57 | apply ((integrable_exp_neg_mul_sq h).comp_fst (ν := μ)).mono hc.aestronglyMeasurable |
| 58 | apply ae_of_all; intro i |
| 59 | change ‖Complex.exp (_*I)*probe b ε ↑(i.1)‖ ≤ ‖Real.exp _‖ |
| 60 | rw [norm_mul, show ‖Complex.exp _‖=(1 : ℝ) from by simp [Complex.norm_exp], ← gap_zero, probed] |
| 61 | simp |
| 62 | |
| 63 | theorem supports (hx : Continuous x) (h : Air F C) (H : ∀ p : ℝ, F p=(∫ y, Complex.exp (↑(x y*p)*I) ∂μ)) : |
| 64 | μ.support ⊆ {p : X| 0 ≤ x p} := by |
| 65 | intro p hp |
| 66 | let b := x p |
| 67 | by_contra hb'; replace hb := lt_of_not_ge (show ¬0 ≤ b from hb') |
| 68 | let T := {y : X | (x y-b)^2 < b^2/4} |
| 69 | have ho : IsOpen T := isOpen_lt ((hx.sub continuous_const).pow _) continuous_const |
| 70 | have hk : T∈ 𝓝 p := ho.mem_nhds (show (b-b)^2 < _ by nlinarith) |
| 71 | have he : 0<μ T := (Measure.mem_support_iff_forall p).1 hp _ hk |
| 72 | let A := μ.real T |
| 73 | have hr : 0<A := ENNReal.toReal_pos he.ne' (measure_ne_top _ _) |
| 74 | have hu (ε : ℝ) (hy : 0 < ε) : A ≤ C*Real.exp (-3*b^2/(16*ε)) := by |
| 75 | let t := -b/(2*ε) |
| 76 | have ht : 0 ≤ t := (div_pos (neg_pos.mpr hb) (by positivity)).le |
| 77 | have hg := bound h t b ε ht hy |
| 78 | let m (y) := shrink (x y-b) ε |
| 79 | let d := ∫ i, m i ∂μ |
| 80 | have hr_ := smoothed μ x hx H ε b hy |
| 81 | rw [hr_,norm_mul] at hg |
| 82 | have hZ : 0 ≤ d := integral_nonneg fun _ => Real.exp_nonneg _ -- name |
| 83 | have hv : 0 < seed ε := by unfold seed; positivity |
| 84 | change ‖(seed ε:ℂ)‖ * ‖(d:ℂ)‖ ≤ _ at hg |
| 85 | rw [Complex.norm_real,Real.norm_eq_abs, abs_of_pos hv, Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg hZ] at hg |
| 86 | have hC : d ≤ C*shrink b ε := by |
| 87 | apply le_of_mul_le_mul_left _ hv |
| 88 | rw [mul_left_comm (seed ε)] -- adjust |
| 89 | have hq : b*t+ε*t^2= -b^2/(4*ε) := by unfold t; field_simp;ring |
| 90 | rw [hq] at hg; exact hg |
| 91 | let D := Real.exp (-b^2/(16*ε)) |
| 92 | have hD : Integrable m μ := by |
| 93 | have ht : Continuous m := by unfold m shrink; fun_prop |
| 94 | apply (integrable_const (μ := μ) (1:ℝ)).mono ht.aestronglyMeasurable |
| 95 | exact ae_of_all _ fun p => by |
| 96 | change ‖Real.exp _‖ ≤ ‖(1:ℝ)‖ |
| 97 | rw [Real.norm_eq_abs,abs_of_pos (Real.exp_pos _),norm_one,Real.exp_le_one_iff] |
| 98 | exact div_nonpos_of_nonpos_of_nonneg (by nlinarith [sq_nonneg (x p-b)]) (by positivity) |
| 99 | have hm : A * D ≤ d := calc |
| 100 | _ = ∫ x in T, D ∂μ := by simp [A] |
| 101 | _ ≤ ∫ x in T,m x ∂μ := setIntegral_mono_on (integrable_const _) hD.integrableOn ho.measurableSet fun j hj => by |
| 102 | apply Real.exp_le_exp.mpr |
| 103 | apply (div_le_div_iff₀ (by positivity) (by positivity)).mpr |
| 104 | nlinarith [show (x j-b)^2 < _ from hj] |
| 105 | _ ≤ _ := (setIntegral_le_integral hD (ae_of_all _ fun p => Real.exp_nonneg _)) |
| 106 | apply le_of_mul_le_mul_right _ (Real.exp_pos _ : 0<D); apply hm.trans (hC.trans (le_of_eq ?_)) |
| 107 | unfold shrink; rw [mul_assoc, ← Real.exp_add]; congr 2; ring |
| 108 | have ht : Tendsto (fun ε => C* Real.exp (-3*b^2/(16*ε))) (𝓝[>] (0:ℝ)) (𝓝 0) := by |
| 109 | suffices he : Tendsto (fun ε => -3*b^2/(16*ε)) (𝓝[>] 0) atBot from by simpa using (Real.tendsto_exp_atBot.comp he).const_mul C |
| 110 | have h' : -3*b^2/16 < 0 := by nlinarith |
| 111 | refine ((tendsto_const_mul_atBot_of_neg h').mpr tendsto_inv_nhdsGT_zero).congr ?_ |
| 112 | intro x; ring |
| 113 | exact hr.not_ge (ge_of_tendsto ht ((show ∀ᶠ i : ℝ in 𝓝[>] (0:ℝ), 0 < i from self_mem_nhdsWithin).mono fun i hi => hu i hi)) |
| 114 | end YM.Paley |