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.Analysis.Distribution.TemperedDistribution |
| 2 | import Mathlib.MeasureTheory.Measure.Haar.NormedSpace |
| 3 | |
| 4 | /-! |
| 5 | # Joint tempered testing & signs |
| 6 | |
| 7 | Use ℂ-linear tempered distributions as CLMs. Test `f`, no conj, on full |
| 8 | positions and on relatives. Lebesgue. Signs/2π constants are PROVED for |
| 9 | radian coordinate pairing. Generic over position vector spaces, instantiate |
| 10 | E4 and Points with indicated volumes. (If using weak/pt topology, use the |
| 11 | Mathlib Pt alias with same underlying CLMs; we don't claim convergence in |
| 12 | strong dual topology.) |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Boundary |
| 17 | open MeasureTheory Measure Filter Complex Function |
| 18 | open scoped Topology BigOperators FourierTransform InnerProductSpace |
| 19 | |
| 20 | abbrev Probe (X : Type*) [NormedAddCommGroup X] [NormedSpace ℝ X] := SchwartzMap X ℂ |
| 21 | abbrev Distn (X : Type*) [NormedAddCommGroup X] [NormedSpace ℝ X] := Probe X →L[ℂ] ℂ |
| 22 | |
| 23 | namespace Probe |
| 24 | variable {V X : Type*} [NormedAddCommGroup V] |
| 25 | section |
| 26 | variable [NormedSpace ℝ V] [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 27 | |
| 28 | /-- Linear and used on the **test argument**. -/ |
| 29 | def along (e : V ≃L[ℝ] X) : Probe X →L[ℂ] Probe V := SchwartzMap.compCLMOfContinuousLinearEquiv ℂ e |
| 30 | @[simp] theorem along_at (e : V ≃L[ℝ] X) (x : Probe X) (v) : along e x v = x (e v) := rfl |
| 31 | @[simp] theorem along_inv (e : V ≃L[ℝ] X) (x : Probe X) : along e.symm (along e x)=x := by ext1; simp |
| 32 | @[simp] theorem along_for (e : V ≃L[ℝ] X) (x : Probe V) : along e (along e.symm x)=x := by ext1;simp |
| 33 | |
| 34 | def ahead (u : V) : Probe V →L[ℂ] Probe V := SchwartzMap.compSubConstCLM ℂ u |
| 35 | @[simp] theorem ahead_at (u : V) (x : Probe V) (v) : ahead u x v = x (v-u) := rfl |
| 36 | |
| 37 | def bar : Probe V →L[ℝ] Probe V := SchwartzMap.postcompCLM (Complex.conjCLE : ℂ →L[ℝ] ℂ) |
| 38 | @[simp] theorem bar_at (x : Probe V) (v) : bar x v=star (x v) := rfl |
| 39 | @[simp] theorem bar_twice (x : Probe V) : bar (bar x)=x := by ext1; simp |
| 40 | @[simp] theorem bar_scal (x : Probe V) (a : ℂ) : bar (a • x)=star a • bar x := by ext1;simp |
| 41 | @[simp] theorem bar_along (x : Probe X) (e : V ≃L[ℝ] X) : bar (along e x)=along e (bar x) := by ext1;simp |
| 42 | @[simp] theorem bar_ahead (x : Probe V) (u : V) : bar (ahead u x)=ahead u (bar x) := by ext1; simp |
| 43 | end |
| 44 | |
| 45 | variable [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] |
| 46 | |
| 47 | def q : ℝ := 2 * Real.pi |
| 48 | def pref (V : Type*) [AddCommGroup V] [Module ℝ V] := q ^ Module.finrank ℝ V |
| 49 | lemma qpos : 0<q := by unfold q; positivity |
| 50 | omit [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] in |
| 51 | lemma prepos : 0 < pref V := pow_pos qpos _ |
| 52 | |
| 53 | def collapse {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] : V ≃L[ℝ] V := |
| 54 | ContinuousLinearEquiv.smulLeft (Units.mk0 q⁻¹ (inv_ne_zero qpos.ne')) |
| 55 | |
| 56 | def plane {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] (x k : V) := |
| 57 | Complex.exp (↑(inner ℝ x k) * I) |
| 58 | |
| 59 | section |
| 60 | omit [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] |
| 61 | @[simp] lemma plane_norm (x k : V) : ‖plane x k‖=1 := by simp [plane] |
| 62 | @[simp] lemma plane_zero (x : V) : plane x 0=1 := by simp [plane] |
| 63 | lemma plane_dot (x k : V) : plane x k=plane k x := by rw [plane,plane,real_inner_comm] |
| 64 | lemma plane_inverse (x k : V) : plane x (-k)=star (plane x k) := by |
| 65 | rw [plane,plane]; simp [← Complex.exp_conj] |
| 66 | lemma plane_add (x u k : V) : plane x (u+k)=plane x u * plane x k := by simp [plane,inner_add_right,add_mul,Complex.exp_add] |
| 67 | @[fun_prop] lemma plane_cont : Continuous (fun p : V × V => plane p.1 p.2) := by unfold plane;fun_prop |
| 68 | @[simp] lemma shrinking (x : V) : collapse x=q⁻¹ • x := rfl |
| 69 | @[simp] lemma expanding (x : V) : collapse.symm x=q • x := by |
| 70 | apply collapse.injective; simp only [ContinuousLinearEquiv.apply_symm_apply,shrinking,smul_smul,inv_mul_cancel₀ qpos.ne',one_smul] |
| 71 | end |
| 72 | |
| 73 | def hat : Probe V →L[ℂ] Probe V := (along collapse).comp (FourierTransform.fourierCLM ..) |
| 74 | def port : Probe V →L[ℂ] Probe V := (FourierTransform.fourierInvCLM ..).comp (along collapse.symm) |
| 75 | |
| 76 | @[simp] theorem comes (f : Probe V) : port (hat f)=f := by |
| 77 | change 𝓕⁻ (along collapse.symm (along collapse (𝓕 f))) = _ |
| 78 | rw [along_inv, FourierTransform.fourierInv_fourier_eq] |
| 79 | @[simp] theorem travels (f : Probe V) : hat (port f)=f := by |
| 80 | change along collapse (𝓕 (𝓕⁻ (along collapse.symm f))) = _ |
| 81 | rw [FourierTransform.fourier_fourierInv_eq, along_for] |
| 82 | |
| 83 | /-- Tests transform with signs as indicated. -/ |
| 84 | theorem hat_eq (f : Probe V) (p : V) : hat f p = ∫ b, plane b (-p) * f b := by |
| 85 | change (𝓕 (⇑f)) (collapse p) = _ |
| 86 | rw [Real.fourier_eq'] |
| 87 | simp only [plane,shrinking, inner_neg_right, real_inner_smul_right,smul_eq_mul] |
| 88 | congr! 6 |
| 89 | field_simp [qpos.ne',Real.pi_ne_zero] |
| 90 | rfl |
| 91 | |
| 92 | theorem port_eq (f : Probe V) (x : V) : port f x = ((pref V)⁻¹:ℝ) • (∫ p, plane p x * f p) := by |
| 93 | change ⇑(𝓕⁻ (along collapse.symm f) : Probe V) _ = _ |
| 94 | rw [SchwartzMap.fourierInv_coe,Real.fourierInv_eq'] |
| 95 | rw [pref,show _ • _ = _ from (Measure.integral_comp_smul_of_nonneg (hR := qpos.le) volume (fun p => plane p x * f p) q).symm] |
| 96 | simp only [plane, along_at, expanding,real_inner_smul_left, q,smul_eq_mul] |
| 97 | |
| 98 | lemma positiveFourier (f : Probe V) (x : V) : (∫ b, plane b x * hat f b) = pref V • f x := by |
| 99 | conv_rhs => rw [← comes f] |
| 100 | rw [port_eq,smul_smul,mul_inv_cancel₀ prepos.ne',one_smul] |
| 101 | |
| 102 | end Probe |
| 103 | namespace Distn |
| 104 | variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] |
| 105 | [MeasurableSpace V] [BorelSpace V] |
| 106 | |
| 107 | /-- Distribution Fourier convention (test by same hat). -/ |
| 108 | def fourier (F : Distn V) := F.comp Probe.hat |
| 109 | def inverse (F : Distn V) := F.comp Probe.port |
| 110 | @[simp] lemma fourier_at (F : Distn V) (f) : fourier F f=F (Probe.hat f) := rfl |
| 111 | @[simp] lemma inverse_at (F : Distn V) (f) : inverse F f=F (Probe.port f) := rfl |
| 112 | @[simp] theorem same (F : Distn V) : fourier (inverse F)=F := by ext1; simp |
| 113 | @[simp] theorem one (F : Distn V) : inverse (fourier F)=F := by ext1; simp |
| 114 | end Distn |
| 115 | |
| 116 | end YM.Boundary |