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.Spectral.Projection |
| 2 | import YM.Distribution.Tests |
| 3 | import Mathlib.Analysis.Calculus.BumpFunction.InnerProduct |
| 4 | import Mathlib.MeasureTheory.Measure.CharacteristicFunction.Basic |
| 5 | |
| 6 | /-! |
| 7 | # Tested support actually gives the projection answer |
| 8 | |
| 9 | Spectrum criterion diagonal tests on dense range with signs/constants of E. |
| 10 | Don't conflate existence of the projections with the criterion. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Spectral |
| 15 | open MeasureTheory Measure Filter Set Function Boundary Probe |
| 16 | open scoped Topology NNReal ENNReal InnerProductSpace |
| 17 | |
| 18 | variable {X : Type*} [NormedAddCommGroup X] [InnerProductSpace ℝ X] [FiniteDimensional ℝ X] |
| 19 | [MeasurableSpace X] [BorelSpace X] |
| 20 | |
| 21 | lemma picker (μ : Measure X) [IsFiniteMeasure μ] {s : Set X} (h : IsOpen s) : μ s=0 ↔ |
| 22 | ∀ f : Probe X, HasCompactSupport ⇑f → tsupport f ⊆ s → (∫ x, f x ∂μ)=0 := by |
| 23 | constructor |
| 24 | · intro hh f _ hf |
| 25 | refine setIntegral_eq_integral_of_forall_compl_eq_zero (μ := μ) (s := s) ?_ |>.symm.trans ?_ |
| 26 | · exact fun x hx => image_eq_zero_of_notMem_tsupport fun w => hx (hf w) |
| 27 | simp [Measure.restrict_eq_zero.mpr hh] |
| 28 | intro H |
| 29 | suffices he : s ⊆ μ.supportᶜ from measure_mono_null he Measure.measure_compl_support |
| 30 | intro x hx hμ |
| 31 | obtain ⟨r,hr,hR⟩ := Metric.mem_nhds_iff.mp (h.mem_nhds hx) |
| 32 | let B : ContDiffBump x := ⟨r/4,r/2,by positivity,by linarith⟩ |
| 33 | let f : Probe X := (B.hasCompactSupport.comp_left (show Complex.ofReal 0=0 by norm_cast)).toSchwartzMap |
| 34 | (Complex.ofRealCLM.contDiff.comp B.contDiff) |
| 35 | have hb : ⇑f=Complex.ofReal ∘ B := rfl |
| 36 | have ht : Function.support f = Function.support B := by rw [hb]; ext y; simp |
| 37 | have hh := H f (hb ▸ B.hasCompactSupport.comp_left Complex.ofReal_zero) (by |
| 38 | rw [tsupport,ht,← tsupport,B.tsupport_eq]; apply subset_trans _ hR |
| 39 | exact Metric.closedBall_subset_ball (by change r/2<r; linarith)) |
| 40 | have hI : (∫ x, B x ∂μ)=0 := by |
| 41 | apply Complex.ofReal_injective; rw [← integral_complex_ofReal, Complex.ofReal_zero]; exact hh |
| 42 | have hp : 0 < ∫ x, B x ∂μ := (integral_pos_iff_support_of_nonneg (μ := μ) (f := B) (fun _ => B.nonneg) |
| 43 | (B.continuous.integrable_of_hasCompactSupport B.hasCompactSupport)).2 ((Measure.mem_support_iff_forall x).1 hμ _ (by |
| 44 | rw [B.support_eq]; exact Metric.ball_mem_nhds _ B.rOut_pos)) |
| 45 | linarith |
| 46 | |
| 47 | lemma wave_integral (μ : Measure X) [IsFiniteMeasure μ] (f : Probe X) : |
| 48 | (∫ x, charFun μ x * Probe.hat f x) = Probe.pref X • ∫ x, f x ∂μ := by |
| 49 | simp_rw [charFun_apply, ← integral_mul_const] |
| 50 | rw [integral_integral_swap]; swap |
| 51 | · let F := fun p : X × X => plane p.2 p.1 * Probe.hat f p.1 |
| 52 | exact ((Probe.hat f).integrable.norm.comp_fst (ν := μ)).mono |
| 53 | (show AEStronglyMeasurable F _ from (plane_cont.comp continuous_swap |>.mul |
| 54 | ((Probe.hat f).continuous.comp continuous_fst)).aestronglyMeasurable) |
| 55 | (show ∀ᵐ p ∂volume.prod μ, ‖F p‖ ≤ abs ‖Probe.hat f p.1‖ from ae_of_all _ fun _ => by simp [F]) |
| 56 | change (∫ y, (∫ x, plane y x * hat f x) ∂μ)=_ |
| 57 | have hf (y : X) : (∫ x, plane y x * hat f x) = pref X • f y := by |
| 58 | simp_rw [plane_dot y]; rw [positiveFourier] |
| 59 | simp_rw [hf]; rw [integral_smul] |
| 60 | |
| 61 | variable {H : Hilbert} |
| 62 | namespace Orbit |
| 63 | variable (T : Orbit H X) |
| 64 | |
| 65 | /-- P is the projection-valued momentum measure in THE radian convention. |
| 66 | Diagonal identity suffices, by polarization. -/ |
| 67 | def Spectrum (P : PVM H X) : Prop := ∀ x : H, ∀ b : X, |
| 68 | charFun (P.diagonal x) b = inner ℂ x (T.translation b x) |
| 69 | |
| 70 | /-- Tested diagonal matrix elements. -/ |
| 71 | def tests (C : Set X) (v : H) := |
| 72 | ∀ f : Probe X, HasCompactSupport ⇑f → tsupport f ⊆ Cᶜ → |
| 73 | (∫ b, inner ℂ v (T.translation b v) * Probe.hat f b)=0 |
| 74 | |
| 75 | theorem suffices_tests (P : PVM H X) (h : T.Spectrum P) (s : Set X) (hs : IsClosed s) (v : H) : |
| 76 | P.region sᶜ v=0 ↔ T.tests s v := by |
| 77 | unfold tests |
| 78 | unfold Spectrum at h |
| 79 | simp_rw [← h, wave_integral,← P.null_pair hs.isOpen_compl.measurableSet, picker _ hs.isOpen_compl, |
| 80 | smul_eq_zero_iff_right Probe.prepos.ne'] |
| 81 | |
| 82 | theorem carrier (P : PVM H X) (h : T.Spectrum P) (s : Set X) (hs : IsClosed s) |
| 83 | (D : Set H) (hh : Dense D) : P.region sᶜ=0 ↔ ∀ x ∈ D, T.tests s x := by |
| 84 | simp_rw [← suffices_tests T P h s hs] |
| 85 | constructor |
| 86 | · intro hp; simp [hp] |
| 87 | intro hp |
| 88 | ext1 x |
| 89 | exact show x ∈ {x : H| P.region sᶜ x=0} from |
| 90 | closure_minimal hp (isClosed_eq (P.region _).continuous continuous_const) (hh x) |
| 91 | |
| 92 | end Orbit |
| 93 | end YM.Spectral |