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.CharacteristicFunction.Basic |
| 2 | import YM.Distribution.Tests |
| 3 | import YM.Spectral.Projection |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Star algebra ops by integrating VOICE vectors, no assumptions on ‖U t - U s‖ |
| 8 | |
| 9 | radian normalize once, x index all finite-dimensional inner product spaces. |
| 10 | No Bochner slippage. Schwartz product asserted through explicit equals (no |
| 11 | need complete Schwartz algebra). Large algebra ticket separate. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.SNAG |
| 16 | open Function Set Filter Spectral Boundary Probe MeasureTheory Measure Complex |
| 17 | open scoped Topology NNReal ENNReal InnerProductSpace ComplexOrder BigOperators ContDiff |
| 18 | variable {H : Hilbert} {X : Type*} [NormedAddCommGroup X] [InnerProductSpace ℝ X] |
| 19 | [FiniteDimensional ℝ X] [MeasurableSpace X] [BorelSpace X] (S : Orbit H X) |
| 20 | |
| 21 | abbrev normer (X : Type*) [AddCommGroup X] [Module ℝ X] := ((pref X)⁻¹ : ℝ) |
| 22 | def cut : Probe X →L[ℂ] Probe X := (↑(normer X):ℂ) • Probe.hat |
| 23 | lemma cutting (v : Probe X) (b : X) : cut v b= (normer X:ℂ)*∫ y, plane y (-b)*v y := by |
| 24 | simp [cut,hat_eq] |
| 25 | lemma light (f : Probe X) (x : X) : (∫ p, plane x p * cut f p)=f x := by |
| 26 | simp_rw [plane_dot x,cut,_root_.smul_apply,smul_eq_mul,mul_left_comm (plane _ _)] |
| 27 | rw [integral_const_mul,positiveFourier,Complex.real_smul,← mul_assoc,← ofReal_mul] |
| 28 | simp only [normer, inv_mul_cancel₀ prepos.ne', ofReal_one,one_mul] |
| 29 | |
| 30 | lemma over (f : Probe X) (v : H) : Integrable (fun b => cut f b • S.translation b v) := by |
| 31 | have hf := ((cut f).continuous.smul (S.moves v)).aestronglyMeasurable (μ := volume) |
| 32 | apply ((cut f).integrable.norm.mul_const ‖v‖).mono hf |
| 33 | apply ae_of_all; intro i |
| 34 | simp [norm_smul,S.unitary] |
| 35 | |
| 36 | def listen (f : Probe X) : H.Op := LinearMap.mkContinuous (σ := RingHom.id ℂ) { |
| 37 | toFun v := ∫ b, cut f b • S.translation b v |
| 38 | map_add' v w := by simp only [map_add,smul_add]; rw [integral_add (over ..) (over ..)] |
| 39 | map_smul' c x := by |
| 40 | simp_rw [map_smul,smul_comm _ c]; rw [integral_smul];rfl |
| 41 | } (∫ b, ‖cut f b‖) (fun v => show ‖∫ b, cut f b • S.translation b v‖ ≤ _ by |
| 42 | apply (norm_integral_le_integral_norm _).trans |
| 43 | simp_rw [norm_smul,S.unitary,integral_mul_const,le_refl]) |
| 44 | |
| 45 | /-- Integrates Schwartz frequency probes. -/ |
| 46 | def send : Probe X →ₗ[ℂ] H.Op where |
| 47 | toFun := listen S |
| 48 | map_add' u v := by |
| 49 | ext1 x |
| 50 | change (∫ b, _ • S.translation b x)= (∫ b, cut u b • S.translation b x)+(∫ b, cut v b • S.translation b x) |
| 51 | simp_rw [map_add,_root_.add_apply,add_smul,integral_add (over ..) (over ..)] |
| 52 | map_smul' c v := by |
| 53 | ext1 x |
| 54 | change (∫ b, _ • S.translation b x)=c • ∫ b, cut v b • S.translation b x |
| 55 | simp_rw [map_smul,_root_.smul_apply,smul_eq_mul,mul_smul, integral_smul] |
| 56 | lemma sending (f : Probe X) (v : H) : send S f v=∫ b, cut f b • S.translation b v := rfl |
| 57 | |
| 58 | lemma reversals (f : Probe X) (b : X) : cut (bar f) b=star (cut f (-b)) := by |
| 59 | rw [cutting,cutting,neg_neg,star_mul'] |
| 60 | congr 1 |
| 61 | · exact (conj_ofReal _).symm |
| 62 | change _=starRingEnd ℂ _ |
| 63 | rw [← integral_conj]; refine integral_congr_ae (ae_of_all _ fun x => ?_) |
| 64 | dsimp only; rw [map_mul,bar_at,plane_inverse];rfl |
| 65 | |
| 66 | lemma both (f : Probe X) (u v : H) : inner ℂ u (send S (bar f) v)=inner ℂ (send S f u) v := by |
| 67 | rw [sending, ← inner_conj_symm (send S f u),sending,← integral_inner (over ..), ← integral_inner (over ..),← integral_conj] |
| 68 | rw [← integral_neg_eq_self (fun b => inner ℂ u (cut (bar f) b • S.translation b v)) volume] |
| 69 | refine integral_congr_ae (ae_of_all _ fun x => ?_) |
| 70 | have he : inner ℂ u (S.translation (-x) v)=inner ℂ (S.translation x u) v := by |
| 71 | rw [← LinearIsometry.inner_map_map (show _ from { (S.translation x).toLinearMap with norm_map' := S.unitary x })] |
| 72 | change inner ℂ _ (S.translation x (S.translation (-x) v))=_ |
| 73 | rw [← ContinuousLinearMap.comp_apply,S.sends,add_neg_cancel,S.origin];rfl |
| 74 | dsimp only; rw [inner_smul_right,inner_smul_right,map_mul,reversals,neg_neg,he,inner_conj_symm];rfl |
| 75 | lemma starify (f : Probe X) : send S (bar f)=star (send S f) := by |
| 76 | ext1 v; apply ext_inner_left ℂ |
| 77 | intro u; rw [both]; exact (ContinuousLinearMap.adjoint_inner_right ..).symm |
| 78 | |
| 79 | lemma feed (p : X) (u v : Probe X) : |
| 80 | Integrable (uncurry fun y z : X => plane z (y-p) * v z * cut u y) (volume.prod volume) := by |
| 81 | let f := fun x : X × X => plane x.2 (x.1-p) * v x.2 * cut u x.1 |
| 82 | have he : Continuous f := by unfold f plane; fun_prop |
| 83 | apply ((cut u).integrable.norm.mul_prod (v.integrable.norm)).mono he.aestronglyMeasurable |
| 84 | exact ae_of_all _ fun i => by simp [f, mul_comm] |
| 85 | |
| 86 | lemma rolled (u v w : Probe X) (h : ∀ x, w x = u x*v x) (p : X) : |
| 87 | (∫ y, cut u y * cut v (p-y)) = cut w p := by |
| 88 | -- use inverse cut identity; signs |
| 89 | simp_rw [cutting v,cutting w,mul_left_comm (cut u _),integral_const_mul] |
| 90 | congr 1; simp_rw [← integral_const_mul] |
| 91 | have he z y : cut u y * (plane z (-(p-y))* v z)=plane z (y-p) * v z * cut u y := by rw [neg_sub,mul_comm] |
| 92 | simp_rw [he] |
| 93 | rw [integral_integral_swap (feed p u v)] |
| 94 | refine integral_congr_ae (ae_of_all _ fun z => ?_) |
| 95 | have hw y : plane z (y-p)* v z * cut u y= (plane z (-p)*v z)*(plane z y*cut u y) := by |
| 96 | rw [sub_eq_add_neg,plane_add]; ring |
| 97 | simp_rw [hw]; rw [integral_const_mul,light,h];ring |
| 98 | |
| 99 | /-! |
| 100 | Integrate links nested. f,g are Schwartz so absolutely conv. |
| 101 | -/ |
| 102 | lemma compose {u v w : Probe X} (hw : ∀ x, w x = u x*v x) : (send S u).comp (send S v)=send S w := by |
| 103 | ext1 x |
| 104 | rw [ContinuousLinearMap.comp_apply, sending, sending, sending] |
| 105 | have hf i : cut u i • S.translation i (∫ b, cut v b • S.translation b x) = |
| 106 | ∫ p : X, (cut u i * cut v (p-i)) • S.translation p x := by |
| 107 | rw [← ContinuousLinearMap.integral_comp_comm (S.translation i) (over ..),← integral_smul] |
| 108 | rw [← integral_add_left_eq_self (fun p => (cut u i * cut v (p-i)) • S.translation p x) i] |
| 109 | refine integral_congr_ae (ae_of_all _ fun j => ?_) |
| 110 | dsimp only; rw [map_smul,smul_smul,← ContinuousLinearMap.comp_apply,S.sends,add_sub_cancel_left] |
| 111 | let F := fun (i p : X) => (cut u i * cut v (p-i)) • S.translation p x |
| 112 | have he : Integrable (uncurry F) (volume.prod volume) := by |
| 113 | have hf : Continuous (uncurry F) := by |
| 114 | exact (((cut u).continuous.comp continuous_fst).mul ((cut v).continuous.comp |
| 115 | (continuous_snd.sub continuous_fst))).smul ((S.moves x).comp continuous_snd) |
| 116 | apply (integrable_prod_iff hf.aestronglyMeasurable).mpr |
| 117 | constructor |
| 118 | · apply ae_of_all |
| 119 | intro i |
| 120 | have ht := (hf.comp ((continuous_const (y := i)).prodMk continuous_id)).aestronglyMeasurable (μ := volume) |
| 121 | have hv := (Probe.ahead i (cut v)).integrable (μ := volume) |
| 122 | apply (((hv.norm).const_mul ‖cut u i‖).mul_const ‖x‖).mono ht |
| 123 | exact ae_of_all _ fun j => by simp [F,norm_smul,uncurry,S.unitary] |
| 124 | simp_rw [F,uncurry, norm_smul,norm_mul,S.unitary,integral_mul_const,integral_const_mul, integral_sub_right_eq_self (fun b => ‖cut v b‖)] |
| 125 | exact (((cut u).integrable.norm.mul_const _).mul_const _) |
| 126 | simp_rw [hf]; rw [integral_integral_swap he] |
| 127 | dsimp only [F] |
| 128 | simp_rw [integral_smul_const, rolled u v w hw] |
| 129 | end YM.SNAG |