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.VacuumLocal |
| 2 | import YM.Shift.Cut |
| 3 | |
| 4 | /-! Finite-order, uniform in probes through other slots, point support |
| 5 | lemma for Cauchy data. Includes the small-set remainder test; no continuity |
| 6 | of the distribution on discontinuous cutoffs. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.TraceExtension.Photons |
| 10 | open Function Set Filter MeasureTheory Metric Complex Mink Boundary Spectral |
| 11 | open scoped Topology NNReal ENNReal BigOperators InnerProductSpace Classical ContDiff |
| 12 | |
| 13 | variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] |
| 14 | |
| 15 | def finiteOrder (f : Probe V) (k : ℕ) := ∀ i ≤ k, iteratedFDeriv ℝ i f 0 = 0 |
| 16 | omit [FiniteDimensional ℝ V] in |
| 17 | lemma fderivs_bound (f : Probe V) (k i j : ℕ) (hk : i+j ≤ k+1) (hv : finiteOrder f k) : |
| 18 | ∃ C : ℝ, 0≤C ∧ ∀ (R : ℝ), 0 < R → ∀ x∈closedBall 0 R, ‖iteratedFDeriv ℝ i f x‖≤ C*R^j := by |
| 19 | induction j generalizing i with |
| 20 | | zero => exact ⟨Probe.size 0 i f,apply_nonneg ..,fun R h x hx => by simpa using SchwartzMap.le_seminorm ℂ 0 i f x⟩ |
| 21 | | succ j ih => |
| 22 | obtain ⟨C,hC,h⟩ := ih (i+1) (by omega) |
| 23 | refine ⟨C,hC,fun R hR x hx=>?_⟩ |
| 24 | have ht := Convex.norm_image_sub_le_of_norm_fderiv_le (f:=iteratedFDeriv ℝ i ⇑f) (𝕜:=ℝ) |
| 25 | (fun u _ => ContDiff.differentiable_iteratedFDeriv (m:=i) (by exact_mod_cast ENat.coe_lt_top i) (f.smooth ⊤) u) |
| 26 | (fun u hu => (by rw [norm_fderiv_iteratedFDeriv]; exact h R hR u hu)) (convex_closedBall (0:V) R) (mem_closedBall_self hR.le) hx |
| 27 | rw [hv i (by omega),sub_zero,sub_zero] at ht; rw [pow_succ,← mul_assoc]; exact ht.trans (mul_le_mul_of_nonneg_left (by simpa using hx) (by positivity)) |
| 28 | |
| 29 | private def squeezeMap (s : ℝ) (hs : 0<s) : V ≃L[ℝ] V := ContinuousLinearEquiv.smulLeft (Units.mk0 s hs.ne') |
| 30 | private def fixed : Probe V := Probe.tint Probe.stall |
| 31 | private def equalizer (s : ℝ) (h : 0<s) : Probe V := Probe.along (squeezeMap s h) fixed |
| 32 | private def covering (f : Probe V) (r : ℝ) := if h : 0<r then Probe.sew (equalizer r h) f else 0 |
| 33 | |
| 34 | private lemma eq_margin {s : ℝ} (h : 0<s) : ((equalizer s h : Probe V):V → ℂ)=ᶠ[𝓝 0] 1 := by |
| 35 | have he : ∀ᶠ i:V in 𝓝 0, squeezeMap s h i ∈ closedBall (0:V) 1 := |
| 36 | (squeezeMap s h).continuous.continuousAt.tendsto.eventually (by rw [map_zero]; exact closedBall_mem_nhds _ zero_lt_one) |
| 37 | filter_upwards [he] with i hi |
| 38 | rw [equalizer,Probe.along_at,fixed,Probe.tinted,Probe.stall.one_of_mem_closedBall hi] |
| 39 | rfl |
| 40 | private lemma eq_range {s : ℝ} (h : 0<s) : tsupport ⇑(equalizer (V:=V) s h) ⊆ closedBall 0 (2/s) := by |
| 41 | apply closure_minimal ?_ isClosed_closedBall; intro p hp; rw [mem_closedBall,dist_zero_right,le_div_iff₀ h] |
| 42 | have he : squeezeMap s h p ∈ tsupport (fixed : Probe V) := subset_tsupport _ hp |
| 43 | rw [fixed, Probe.tint_support, mem_closedBall,dist_zero_right] at he |
| 44 | change ‖s • p‖≤2 at he; rw [norm_smul,Real.norm_of_nonneg h.le,mul_comm] at he; exact he |
| 45 | private lemma eq_deriv (i) {s : ℝ} (h : 0<s) (p : V) : ‖iteratedFDeriv ℝ i (equalizer s h) p‖ ≤ Probe.size 0 i (fixed (V:=V))*s^i := by |
| 46 | let L : V →L[ℝ] V := (squeezeMap s h).toContinuousLinearMap |
| 47 | have hl : ‖L‖ ≤ s := L.opNorm_le_bound h.le (fun v=> (by change ‖s • v‖ ≤ _; rw [norm_smul,Real.norm_of_nonneg h.le])) |
| 48 | have hv := SchwartzMap.le_seminorm ℂ 0 i (fixed (V:=V)) (L p) |
| 49 | rw [pow_zero,one_mul] at hv |
| 50 | rw [show ⇑(equalizer s h)= fixed ∘ L from rfl,L.iteratedFDeriv_comp_right ((fixed (V:=V)).smooth ⊤) p (by exact_mod_cast le_top)] |
| 51 | apply ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _ |>.trans |
| 52 | rw [Finset.prod_const,Finset.card_univ,Fintype.card_fin] |
| 53 | gcongr |
| 54 | private lemma cover_small (f : Probe V) (d k i : ℕ) (hi : i≤k) (hp : finiteOrder f k) (ε : ℝ) (hε : 0<ε) : |
| 55 | ∀ᶠ s : ℝ in atTop, Probe.size d i (covering f s)≤ε := by |
| 56 | choose A hA hv using fun (j : Fin i.succ) => fderivs_bound f k (i-j.val) (j.val+1) (by have := j.isLt; omega) hp |
| 57 | let u (j:ℕ) := if h:j < i+1 then A ⟨j,h⟩ else 0 |
| 58 | have hu j : 0≤u j := by unfold u; split; exact hA _; exact le_rfl |
| 59 | let e := ∑ j∈Finset.range (i+1), (i.choose j:ℝ)*Probe.size 0 j (fixed (V:=V))*(u j*2^(j+1)) |
| 60 | have he : 0≤e := by unfold e; apply Finset.sum_nonneg; intro j _; unfold Probe.size; have := hu j; positivity |
| 61 | filter_upwards [eventually_gt_atTop (2:ℝ),eventually_gt_atTop (e/ε)] with s hs hb |
| 62 | have h : 0<s := by linarith |
| 63 | apply (covering f s).seminorm_le_bound ℂ d i hε.le |
| 64 | intro x |
| 65 | by_cases hx : x∈closedBall 0 (2/s) |
| 66 | · have hz : ‖x‖≤1 := by rw [mem_closedBall,dist_zero_right] at hx; exact hx.trans ((div_le_one h).2 hs.le) |
| 67 | apply le_trans (mul_le_of_le_one_left (norm_nonneg _) (pow_le_one₀ (norm_nonneg _) hz)) |
| 68 | rw [show ⇑(covering f s)=(fun x=>equalizer s h x*f x) by ext1; simp [covering,h]] |
| 69 | refine (norm_iteratedFDeriv_mul_le ((equalizer s h).smooth ⊤) (f.smooth ⊤) x (by exact_mod_cast le_top)).trans (le_trans ?_ (show e/s≤ ε from (div_le_iff₀ h).2 (by linarith [(div_lt_iff₀ hε).1 hb]))) |
| 70 | unfold e; rw [Finset.sum_div]; apply Finset.sum_le_sum; intro j hj |
| 71 | have hh : j < i+1 := Finset.mem_range.mp hj |
| 72 | simp only [u,dif_pos hh] |
| 73 | exact (mul_le_mul (mul_le_mul_of_nonneg_left (eq_deriv j h x) (by positivity : (0:ℝ) ≤ i.choose j)) |
| 74 | (hv ⟨j,hh⟩ _ (by positivity : (0:ℝ)< 2/s) x hx) (norm_nonneg _) (mul_nonneg (by positivity) (mul_nonneg (by unfold Probe.size; positivity) (by positivity)))).trans_eq (by dsimp only; rw [div_pow]; field_simp; ring) |
| 75 | have he : x∉tsupport (covering f s) := fun ht => hx (eq_range h (show x∈tsupport (equalizer s h) from (Probe.shrinks _ _ (by simpa [covering,h] using ht)).1)) |
| 76 | rw [Probe.vanish_j _ _ (notMem_tsupport_iff_eventuallyEq.mp he),norm_zero,mul_zero]; exact hε.le |
| 77 | |
| 78 | lemma jet_support (p : Seminorm ℂ (Probe V)) (h : Continuous ⇑p) : ∃ k : ℕ, ∀ (A : Distn V) (b : ℝ), |
| 79 | 0≤b → (∀ f, ‖A f‖ ≤ b*p f) → (∀ f : Probe V, HasCompactSupport ⇑f → 0∉tsupport f → A f=0) → |
| 80 | ∀ f, finiteOrder f k → A f=0 := by |
| 81 | obtain ⟨s,c,hc,hC⟩ := Seminorm.bound_of_continuous (schwartz_withSeminorms ℂ V ℂ) p h |
| 82 | let k := s.sup Prod.snd |
| 83 | refine ⟨k,fun A b hb hA hx f hf=>?_⟩ |
| 84 | have hs := (Distn.from_compact A (s:={(0:V)}ᶜ)).2 (fun f hs ht=> hx f ht (fun h => hs h rfl)) |
| 85 | have hp (x:ℝ) (h:0<x) : A (covering f x)=A f := by |
| 86 | symm; apply sub_eq_zero.mp; rw [← map_sub]; apply hs |
| 87 | have hh : (0:V)∉tsupport ⇑(f-covering f x) := notMem_tsupport_iff_eventuallyEq.mpr (by |
| 88 | filter_upwards [eq_margin h] with i hi |
| 89 | change _ - covering f x i=0; rw [covering,dif_pos h, Probe.sews, hi]; simp) |
| 90 | rintro y hy hz; exact hh ((show y=0 from hz) ▸ hy) |
| 91 | by_contra hn |
| 92 | let ε := ‖A f‖; have he : 0<ε := norm_pos_iff.mpr hn |
| 93 | let d := (↑c:ℝ)+1; have hd : 0<d := add_pos_of_nonneg_of_pos c.property zero_lt_one |
| 94 | let E : ℝ≥0 := ⟨ε/(2*d*(b+1)),by positivity⟩ |
| 95 | have hv : 0 < (E:ℝ) := div_pos he (by positivity) |
| 96 | obtain ⟨x,hx,hh⟩ := (((eventually_all_finset s).mpr fun i hi => cover_small f i.1 k i.2 (Finset.le_sup hi) hf E hv).and (eventually_gt_atTop (0:ℝ))).exists |
| 97 | have hr := hA (covering f x); rw [hp x hh] at hr |
| 98 | have hy : p (covering f x) ≤ d*E := by |
| 99 | refine (hC _).trans ?_ |
| 100 | rw [_root_.smul_apply, Seminorm.finset_sup_apply]; change (c:ℝ)*_ ≤ _ |
| 101 | apply mul_le_mul (le_add_of_nonneg_right zero_le_one) ?_ _ hd.le |
| 102 | · exact (show s.sup _ ≤ E from Finset.sup_le fun i hi => (show ((⟨Probe.size i.1 i.2 (covering f x),apply_nonneg ..⟩:ℝ≥0) ≤ E) from hx i hi)) |
| 103 | positivity |
| 104 | have hm : ε≤b*(d*E) := hr.trans (mul_le_mul_of_nonneg_left hy hb) |
| 105 | change ε ≤ b*(d*(ε/(2*d*(b+1)))) at hm; field_simp at hm; nlinarith |
| 106 | end YM.TraceExtension.Photons |