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.TraceExtension.Fock.Paley |
| 2 | import Mathlib.Analysis.Distribution.AEEqOfIntegralContDiff |
| 3 | |
| 4 | /-! Fourier uniqueness on shell waves given just tests on an open neighborhood |
| 5 | (around each probe after additional smearing). -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.TraceExtension.Photons |
| 9 | open Function Set Filter MeasureTheory Measure Metric Complex Mink Boundary Spectral |
| 10 | open scoped Topology NNReal ENNReal BigOperators InnerProductSpace Classical |
| 11 | section |
| 12 | open Paley |
| 13 | variable {V : Type*} [TopologicalSpace V] [MeasurableSpace V] [BorelSpace V] |
| 14 | variable {μ : Measure V} {f : V → ℂ} (u : V → ℝ) (hu : Continuous u) |
| 15 | def lineBeam (μ : Measure V) (v : V → ℝ) (f : V → ℂ) (z : ℂ) := Paley.cell μ v f z |
| 16 | |
| 17 | include hu |
| 18 | lemma air_integrable (h : ∀ i,0≤u i) (hp : Integrable f μ) : Air (lineBeam μ u f) (∫ i, ‖f i‖ ∂μ) := by |
| 19 | have he (z : ℂ) (hz : z∈ high) : ∀ᵐ i∂μ, ‖Paley.weight u f z i‖ ≤ ‖f i‖ := by |
| 20 | filter_upwards with i; unfold Paley.weight; rw [norm_mul,Complex.norm_exp] |
| 21 | apply mul_le_of_le_one_right (norm_nonneg _); simp [mul_nonneg (h i) (show 0≤z.im from hz)] |
| 22 | have hi (z : ℂ) : AEStronglyMeasurable (Paley.weight u f z) μ := hp.1.mul (show Continuous (fun i => Complex.exp (↑(u i)*z*I)) by fun_prop).aestronglyMeasurable |
| 23 | have hk (z) (hz:z∈high) : Integrable (Paley.weight u f z) μ := hp.norm.mono' (hi _) (he _ hz) |
| 24 | constructor |
| 25 | · exact continuousOn_of_dominated (F:=Paley.weight u f) (fun i _=>hi i) he hp.norm (ae_of_all _ fun i=> (by unfold Paley.weight; fun_prop)) |
| 26 | · intro z hz |
| 27 | let g p i := (u i:ℂ)*I * Paley.weight u f p i |
| 28 | let y := z.im/2; have hy : 0<y := half_pos (show 0<z.im from hz) |
| 29 | have hf i p : HasDerivAt (fun z => Paley.weight u f z i) (g p i) p := by |
| 30 | convert ((((hasDerivAt_id' p).const_mul ((u i):ℂ)).mul_const I).cexp.const_mul (f i)) using 1 <;> try rfl |
| 31 | dsimp only [g,Paley.weight]; ring |
| 32 | have hw := hasDerivAt_integral_of_dominated_loc_of_deriv_le (F:=Paley.weight u f) (F':=g) (μ:=μ) |
| 33 | (show {p:ℂ| y<p.im}∈𝓝 z from (isOpen_lt continuous_const Complex.continuous_im).mem_nhds (by change y<z.im; unfold y at *; linarith)) (Eventually.of_forall hi) (hk _ (Paley.subset hz)) |
| 34 | ((show Continuous fun i => (u i:ℂ)*I from by fun_prop).aestronglyMeasurable.mul (hi z)) (bound:=fun i => y⁻¹*‖f i‖) |
| 35 | refine (hw ?_ (hp.norm.const_mul _) (ae_of_all _ fun i p _ => hf i p)).2.differentiableAt.differentiableWithinAt |
| 36 | filter_upwards with i p hh |
| 37 | unfold g Paley.weight; simp only [norm_mul,norm_I, norm_real,Real.norm_of_nonneg (h i),mul_one,Complex.norm_exp] |
| 38 | rw [show (↑(u i)*p*I).re= -(u i * p.im) by simp, mul_comm ‖f i‖,← mul_assoc] |
| 39 | apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) |
| 40 | have ha := Real.add_one_le_exp (u i*p.im) |
| 41 | rw [Real.exp_neg, inv_eq_one_div y, le_div_iff₀ hy, mul_right_comm,← div_eq_mul_inv, div_le_one (Real.exp_pos _)] |
| 42 | nlinarith [show y<p.im from hh, h i] |
| 43 | intro z hz; exact norm_integral_le_of_norm_le hp.norm (he z hz) |
| 44 | end |
| 45 | |
| 46 | lemma integral_null {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 47 | [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] {μ : Measure V} [SigmaFinite μ] {f : V → ℂ} (hf : Integrable f μ) |
| 48 | (ht : ∀ p, (∫ x, Probe.plane p x*f x ∂μ)=0) : f=ᵐ[μ] 0 := by |
| 49 | refine ae_eq_zero_of_integral_contDiff_smul_eq_zero hf.locallyIntegrable (fun g hc hg=>?_) |
| 50 | let u : Probe V := (hg.comp_left Complex.ofReal_zero).toSchwartzMap (Complex.ofRealCLM.contDiff.comp hc) |
| 51 | have hp y : (∫ x, Probe.plane x y * Probe.hat u x) * f y=(Probe.pref V)* (g y • f y) := by rw [Probe.positiveFourier]; change (Probe.pref V • (↑(g y):ℂ)) * _ = _; simp [Complex.real_smul,mul_assoc] |
| 52 | apply mul_left_cancel₀ (show (↑(Probe.pref V):ℂ)≠0 from by exact_mod_cast Probe.prepos.ne') |
| 53 | rw [← integral_const_mul]; |
| 54 | simp_rw [← hp, ← integral_mul_const]; rw [integral_integral_swap] |
| 55 | · have he x : (∫ y, Probe.plane x y*Probe.hat u x*f y ∂μ)=0 := by simp_rw [mul_comm (Probe.plane _ _),mul_assoc]; rw [integral_const_mul, ht x, mul_zero] |
| 56 | simp_rw [he]; simp |
| 57 | let K := fun a : V×V => Probe.plane a.2 a.1*Probe.hat u a.2*f a.1 |
| 58 | apply (hf.norm.mul_prod (Probe.hat u).integrable.norm).mono' |
| 59 | · exact (show AEStronglyMeasurable K _ from ((Probe.plane_cont.comp continuous_swap |>.mul |
| 60 | ((Probe.hat u).continuous.comp continuous_snd)).aestronglyMeasurable.mul hf.1.comp_fst)) |
| 61 | filter_upwards with a; change ‖K a‖ ≤ _; simp [K,mul_comm] |
| 62 | |
| 63 | variable {n : ℕ} |
| 64 | def beam (b : Fin n → E4) (p : Mom n) := ∏ i, Probe.plane (momentum (p i)) (b i) |
| 65 | def rapid (f : Mom n→ℂ) (p : Fin n → E4) := ∫ k,f k*beam p k ∂photons n |
| 66 | lemma beam_norm (b : Fin n→E4) p : ‖beam b p‖=1 := by simp [beam,norm_prod] |
| 67 | def sweep (p : Fin n → E4) := ∀ i,p i ∈ inside |
| 68 | lemma sweep_open : IsOpen {p : Fin n → E4| sweep p} := by |
| 69 | rw [show {p : Fin n → E4| sweep p}= ⋂ i : Fin n, (fun p=>p i) ⁻¹' inside by ext; simp [sweep]]; exact isOpen_iInter_of_finite fun i=> open_inside.preimage (continuous_apply i) |
| 70 | lemma spans {f : Mom n → ℂ} (hf : Integrable f (photons n)) (he : rapid f =ᶠ[𝓝 0] 0) (x : Fin n → E4) : rapid f x=0 := by |
| 71 | have hh a v (ha : rapid f =ᶠ[𝓝 a] 0) (hv : sweep v) (r : ℝ) : rapid f (a+r • v)=0 := by |
| 72 | let u (p : Mom n) := ∑ i, inner ℝ (v i) (momentum (p i)); let g p := f p * beam a p |
| 73 | have hu : Continuous u := by unfold u; fun_prop |
| 74 | have hi (p) : 0 ≤ u p := Finset.sum_nonneg fun i _=> Mink.self_pair ((show ‖spatial _‖<time (v i) from hv i).le) (by simp [Mink.cone]) |
| 75 | have hg : Integrable g (photons n) := by |
| 76 | rw [show g=(fun p=>beam a p*f p) by funext p; unfold g; ring] |
| 77 | exact hf.bdd_mul (show Continuous (beam a) from by unfold beam Probe.plane; fun_prop).aestronglyMeasurable |
| 78 | (ae_of_all _ fun z => (beam_norm a z).le) |
| 79 | have ht := air_integrable u hu hi hg |
| 80 | have hp (t : ℝ) : rapid f (a+t • v)=lineBeam (photons n) u g t := by |
| 81 | unfold rapid lineBeam Paley.cell; apply integral_congr_ae; filter_upwards with p |
| 82 | unfold beam g Paley.weight u beam |
| 83 | simp only [Pi.add_apply, Pi.smul_apply, Probe.plane,inner_add_right,real_inner_smul_right, ofReal_add,ofReal_mul, add_mul,Complex.exp_add,Finset.prod_mul_distrib, Complex.ofReal_sum, Finset.sum_mul, mul_assoc] |
| 84 | congr 2; rw [Complex.exp_sum]; apply Finset.prod_congr rfl; intro i _; rw [real_inner_comm]; ring_nf |
| 85 | rw [hp]; apply bottom_identity ht |
| 86 | have hm : Continuous fun t:ℝ => a+t • v := continuous_const.add (continuous_id.smul continuous_const) |
| 87 | have hw := hm.tendsto 0; rw [zero_smul,add_zero] at hw |
| 88 | filter_upwards [hw.eventually ha] with t ht; rw [← hp]; exact ht |
| 89 | have ht (v) (hv : sweep v) : rapid f v=0 := by simpa using hh 0 v he hv 1 |
| 90 | let w : Fin n → E4 := fun _ => basis timeAxis |
| 91 | have hw : sweep w := fun i=> clock_inside |
| 92 | have hy : Continuous fun t:ℝ => w - t • x := continuous_const.sub (continuous_id.smul continuous_const) |
| 93 | have he := hy.tendsto 0; rw [zero_smul,sub_zero] at he |
| 94 | obtain ⟨i,hi,hj⟩ := (((he.eventually (sweep_open.mem_nhds (x:=w) hw)).filter_mono (nhdsWithin_le_nhds (s:=Ioi 0))).and self_mem_nhdsWithin).exists |
| 95 | have hi : sweep (w-i • x) := hi |
| 96 | have hp : 0 < i := hj |
| 97 | have hR (z : Fin n → E4) (hz : sweep z) : sweep (i⁻¹ • z) := by |
| 98 | intro j; change ‖spatial (i⁻¹ • z j)‖ < time (i⁻¹ • z j); rw [rest_mul,norm_smul,Real.norm_of_nonneg (by positivity),Mink.clock_mul]; exact mul_lt_mul_of_pos_left (hz j) (by positivity) |
| 99 | have hh := hh (i⁻¹ • w) (i⁻¹ • (w-i • x)) ((show ∀ᶠ j in 𝓝 (i⁻¹ • w), sweep j from sweep_open.mem_nhds (x:=i⁻¹ • w) (hR _ hw)).mono fun z hz=> ht _ hz) (hR _ hi) (-1) |
| 100 | simpa [smul_sub,smul_smul,hp.ne'] using hh |
| 101 | |
| 102 | lemma shell_unique (f : Mom n→ℂ) (hf : Integrable f (photons n)) (ht : rapid f=ᶠ[𝓝 0] 0) : f=ᵐ[photons n] 0 := by |
| 103 | let V := PiLp 2 fun _ : Fin n => Space3 |
| 104 | let e : Mom n ≃ₗ[ℝ] V := (WithLp.linearEquiv 2 ℝ (Mom n)).symm |
| 105 | let F := LinearEquiv.toContinuousLinearEquiv e |
| 106 | let g := f ∘ F.symm |
| 107 | let μ := (photons n).map F |
| 108 | have he : MeasurableEmbedding F := F.toHomeomorph.toMeasurableEquiv.measurableEmbedding |
| 109 | haveI : SigmaFinite μ := |
| 110 | he.sigmaFinite_map |
| 111 | have hp p : g (F p)=f p := by simp [g] |
| 112 | have hh : Integrable g μ := he.integrable_map_iff.2 (hf.congr (ae_of_all _ fun x=> (hp x).symm)) |
| 113 | have hx (p : V) : (∫ x, Probe.plane p x*g x ∂μ)=0 := by |
| 114 | let y := F.symm p |
| 115 | let z : Fin n→ E4 := fun i=> position (y i) 0 |
| 116 | rw [show μ=(photons n).map F from rfl,he.integral_map,← spans hf ht z]; unfold rapid; apply integral_congr_ae; filter_upwards with x |
| 117 | have hq : inner ℝ p (F x)=∑ i,inner ℝ (y i) (x i) := by rw [show p= F y by unfold y; simp]; rfl |
| 118 | rw [hp]; unfold Probe.plane beam Probe.plane; rw [hq]; |
| 119 | simp [Mink.pairing,z,Finset.mul_sum,Complex.exp_sum, real_inner_comm,mul_comm] |
| 120 | exact ((he.ae_map_iff).1 (integral_null hh hx)).mono fun i hi=> by change _ = (0:ℂ); rw [← hp]; exact hi |
| 121 | end YM.TraceExtension.Photons |