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.SpectrumLocal |
| 2 | |
| 3 | /-! Open-patch uniqueness removes the spacelike restriction on the other |
| 4 | marks in v-v⁺, giving an independent-leg frequency scaling identity. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.TraceExtension.Photons |
| 8 | open Function Set Filter MeasureTheory Measure Metric Complex Mink Boundary Spectral |
| 9 | open scoped Topology NNReal ENNReal BigOperators InnerProductSpace Classical ContDiff |
| 10 | variable {m n d : ℕ} |
| 11 | |
| 12 | def Away (f : Probe Space3) := HasCompactSupport ⇑f ∧ 0∉tsupport f |
| 13 | lemma times_cut (f : Probe Space3) (h : Away f) (g : Space3 → ℂ) (hg : ∀ x≠0,ContDiffAt ℝ ⊤ g x) : |
| 14 | ∃ p : Probe Space3, Away p ∧ ∀ x,p x=f x*g x := by |
| 15 | have hv : ContDiff ℝ ∞ (⇑f * g) := contDiff_iff_contDiffAt.mpr fun x => by |
| 16 | by_cases hp : x=0 |
| 17 | · subst x; refine contDiffAt_const (c:=(0:ℂ)) |>.congr_of_eventuallyEq ?_; filter_upwards [notMem_tsupport_iff_eventuallyEq.mp h.2] with i hi; simp [hi] |
| 18 | exact (f.smooth _).contDiffAt.mul ((hg x hp).of_le le_top) |
| 19 | let p := h.1.mul_right.toSchwartzMap hv |
| 20 | have ht : tsupport p ⊆ tsupport f := tsupport_mul_subset_left (f:=⇑f) (g:=g) |
| 21 | exact ⟨p,⟨h.1.mul_right,fun e => h.2 (ht e)⟩,fun _=>rfl⟩ |
| 22 | |
| 23 | lemma branch (q : Wave n) (g : Fin n→ Probe E4) (i : Fin n) (h : ∀ f, data 0 q g i f=0 ∧ data 1 q g i f=0) |
| 24 | (w : Probe Space3) (hw : Away w) : |
| 25 | (∫ k,q k*sink 1 (Probe.hat ∘ g) i w k ∂photons n)=0 := by |
| 26 | obtain ⟨f,hf,hu⟩ := times_cut w hw (fun x=> (↑‖x‖:ℂ)) (fun x hx=> by exact (ofRealCLM.contDiff.contDiffAt).comp _ (contDiffAt_norm ℝ hx)) |
| 27 | have he := (h (Probe.port f)).1 |
| 28 | have hv := (h (Probe.port w)).2 |
| 29 | have ha : dataM 0 q g i (Probe.port f)=dataM 1 q g i (Probe.port w) := by |
| 30 | unfold dataM sink; rw [Probe.travels,Probe.travels]; simp_rw [hu]; congr! 1; ext a; ring |
| 31 | have hp : dataP 0 q g i (Probe.port f)=dataP 1 q g i (Probe.port w) := by |
| 32 | have hi (f : Probe Space3) x : testPlus (Probe.port f) x=f (-x) := by |
| 33 | have ht := plus_minus (Probe.port f) (-x); rw [neg_neg, Probe.travels] at ht; exact ht.symm |
| 34 | unfold dataP sink; simp_rw [hi,hu]; congr! 1; ext a; rw [norm_neg]; ring |
| 35 | unfold data at he hv |
| 36 | rw [ha,hp,pow_zero,one_mul] at he |
| 37 | rw [pow_one,neg_one_mul] at hv |
| 38 | have hy : dataM 1 q g i (Probe.port w)=0 := by linear_combination he / 2 + hv / 2 |
| 39 | rwa [dataM, Probe.travels] at hy |
| 40 | |
| 41 | def ahead (b : E4) (f : Probe E4) := Joint.push (Poincare.translation b) f |
| 42 | lemma support_ahead (b : E4) (f : Probe E4) : |
| 43 | tsupport (ahead b f)=(fun x:E4=>x+(-b)) ⁻¹' tsupport f := by |
| 44 | let g:= Homeomorph.addRight (-b) |
| 45 | rw [show ⇑(ahead b f)=f ∘ g from funext (fun x=> by change ahead b f x=f (x+-b); unfold ahead; rw [Joint.push_at]; congr 1),tsupport_comp_eq_preimage _ g]; rfl |
| 46 | lemma compact_ahead (b : E4) (f : Probe E4) (h : HasCompactSupport ⇑f) : HasCompactSupport ⇑(ahead b f) := by |
| 47 | change IsCompact (tsupport _); rw [support_ahead]; exact (Homeomorph.isCompact_preimage (Homeomorph.addRight (-b))).2 h |
| 48 | lemma ahead_hat (b : E4) (f : Probe E4) (v : E4) : Probe.hat (ahead (-b) f) v=Probe.plane v b* Probe.hat f v := by |
| 49 | unfold ahead; rw [plus_minus, plus_minus (p:=v),test_trans]; congr 1; simp [Probe.plane] |
| 50 | lemma place_ample (f : Probe E4) (hf : Remote f) : ∀ᶠ b:E4 in 𝓝 0, Remote (ahead (-b) f) := by |
| 51 | let D := tsupport f; let V := {x : E4×E4 | x.2+ -x.1∈spacelike} |
| 52 | have he : IsOpen V := open_spacelike.preimage (continuous_snd.add continuous_fst.neg) |
| 53 | have hm : ({0}: Set E4) ×ˢ D ⊆ V := by rintro ⟨a,b⟩ ⟨rfl,h⟩; simpa only [V,neg_zero, mem_setOf_eq,add_zero] using (hf.2 h) |
| 54 | obtain ⟨u,v,hu,hv,ha,hb,h⟩ := generalized_tube_lemma isCompact_singleton (show IsCompact D from hf.1) he hm |
| 55 | filter_upwards [hu.mem_nhds (ha (mem_singleton _))] with b he |
| 56 | refine ⟨compact_ahead _ _ hf.1, fun x ht=>?_⟩ |
| 57 | rw [support_ahead] at ht |
| 58 | have hw : x+b∈tsupport f := by simpa using ht |
| 59 | have hc := h (show (b,x+b) ∈ u ×ˢ v from ⟨he,hb hw⟩); simpa [V] using hc |
| 60 | |
| 61 | lemma liftAway (x : Probe Space3) (hx : Away x) (b : E4) : |
| 62 | ∃ y : Probe Space3, Away y ∧ ∀ p, y p=x p*Probe.plane (momentum p) b := by |
| 63 | refine times_cut x hx _ fun v h=>?_ |
| 64 | have hv : ContDiffAt ℝ ⊤ momentum v := Mink.divide.symm.contDiff.contDiffAt.comp v |
| 65 | (contDiffAt_id.prodMk (contDiffAt_norm ℝ h)) |
| 66 | have he : ContDiffAt ℝ ⊤ (fun p : Space3=> ofRealCLM (inner ℝ (momentum p) b)) v := ofRealCLM.contDiff.contDiffAt.comp v (((innerSL ℝ (E:=E4)).flip b).contDiff.contDiffAt.comp v hv) |
| 67 | exact (he.mul (contDiffAt_const (c:=I))).cexp |
| 68 | lemma supported (q : Wave n) (hp : tempered q d) (i : Fin n) |
| 69 | (hq : ∀ g : Fin n→Probe E4,(∀ i, Remote (g i)) → ∀ f, data 0 q g i f=0 ∧ data 1 q g i f=0) |
| 70 | (g : Fin n→ Probe E4) (h : ∀ i, Remote (g i)) (w : Probe Space3) (hw : Away w) : |
| 71 | (fun k=>q k * sink 1 (Probe.hat ∘ g) i w k) =ᵐ[photons n] 0 := by |
| 72 | let W (k : Mom n) := q k*sink 1 (Probe.hat ∘ g) i w k |
| 73 | apply shell_unique W (sink_int _ _ hp ..|>.1) |
| 74 | have he : ∀ᶠ b : Fin n→E4 in 𝓝 0, ∀ i, Remote (ahead (-b i) (g i)) := eventually_all.mpr fun j=> (show Tendsto (fun x : Fin n→E4=>x j) (𝓝 0) (𝓝 0) from (continuous_apply j).tendsto _).eventually (place_ample _ (h j)) |
| 75 | filter_upwards [he] with b hb |
| 76 | obtain ⟨v,hv,hV⟩ := liftAway w hw (b i) |
| 77 | let G j := ahead (-b j) (g j) |
| 78 | have ht := branch q G i (hq G hb) v hv |
| 79 | change rapid W b=0; rw [← ht]; unfold rapid |
| 80 | congr! 1; ext k; unfold W sink beam; |
| 81 | rw [← Finset.mul_prod_erase _ _ (Finset.mem_univ i),hV] |
| 82 | have ht : slot (Probe.hat ∘ G) i k=slot (Probe.hat ∘ g) i k * ∏ j∈Finset.univ.erase i, Probe.plane (momentum (k j)) (b j) := by |
| 83 | unfold slot; rw [← Finset.prod_mul_distrib]; apply Finset.prod_congr rfl; intro j hj |
| 84 | simp only [G, comp_apply,front, ahead_hat]; ring |
| 85 | rw [ht]; ring |
| 86 | |
| 87 | private lemma witnesses : ∃ g : ℕ→Probe E4, (∀ i,Remote (g i)) ∧ ∀ p:E4, ∀ᶠ i:ℕ in atTop, Probe.hat (g i) p≠0 := by |
| 88 | let b : E4 := position (Ray.fromAxis 0).val 0 |
| 89 | have he : b∈spacelike := by |
| 90 | apply (lateral _).2; rw [show spatial b= (Ray.fromAxis 0).val from spatial_position ..,(Ray.fromAxis 0).property,show time b=0 from time_position ..]; norm_num |
| 91 | obtain ⟨r,hr,hp⟩ := Metric.mem_nhds_iff.mp (open_spacelike.mem_nhds he) |
| 92 | obtain ⟨N,hN⟩ := eventually_atTop.mp (tendsto_natCast_atTop_atTop.eventually (atom_small E4 hr)) |
| 93 | let g (n:ℕ) := ahead (- -b) (atom E4 ↑(n+N)) |
| 94 | refine ⟨g,fun i=> ?_,fun p=>?_⟩ |
| 95 | · have hx := hN (i+N) (Nat.le_add_left ..); refine ⟨compact_ahead _ _ hx.2,fun x he=>?_⟩ |
| 96 | apply hp; rw [support_ahead] at he; have hu := hx.1 he |
| 97 | rw [Metric.mem_ball,dist_zero_right] at hu; rw [Metric.mem_ball,dist_eq_norm]; simpa [sub_eq_add_neg] using hu |
| 98 | have he := (atom_negative p).comp (tendsto_natCast_atTop_atTop (R:=ℝ) |>.comp |
| 99 | (show Tendsto (fun i:ℕ => i+N) atTop atTop from (strictMono_nat_of_lt_succ (f:=fun i=>i+N) (by intro; omega)).tendsto_atTop)) |
| 100 | filter_upwards [he.eventually_ne one_ne_zero] with i hi; unfold g; rw [ahead_hat]; exact mul_ne_zero (Complex.exp_ne_zero _) hi |
| 101 | |
| 102 | private def testAway (i:ℕ) : Probe Space3 := |
| 103 | let v := Probe.keeper i |
| 104 | let b := Probe.tint (Probe.bud (0:Space3) (i+1:ℝ)⁻¹ (by positivity)) |
| 105 | v-Probe.sew b v |
| 106 | private lemma meansAway (i:ℕ) : Away (testAway i) := by |
| 107 | have he := (Distn.trim_support (X:=Space3) 0 ((i+1:ℝ)⁻¹) (by positivity) (Probe.keeper i)) |
| 108 | have hp : HasCompactSupport ⇑(Probe.keeper (X:=Space3) i) := by |
| 109 | have ht : HasCompactSupport ⇑(Probe.tint (Probe.stall (X:=Space3))) := by simp only [HasCompactSupport,Probe.tint_support]; apply isCompact_closedBall |
| 110 | exact ht.comp_homeomorph (Probe.compress i).toHomeomorph |
| 111 | exact ⟨hp.of_isClosed_subset (isClosed_tsupport _) (he.trans inter_subset_left), fun h=> (he h).2 (Metric.mem_ball_self (by positivity))⟩ |
| 112 | private lemma testsAway (x : Space3) (hp : 0< ‖x‖) : ∀ᶠ k:ℕ in atTop,testAway k x≠0 := by |
| 113 | have he : Tendsto (fun k:ℕ => (k:ℝ)+1) atTop atTop := tendsto_atTop_add_const_right _ _ tendsto_natCast_atTop_atTop |
| 114 | filter_upwards [he.eventually_ge_atTop ‖x‖,((tendsto_inv_atTop_zero.comp he).add (tendsto_inv_atTop_zero.comp he)).eventually (gt_mem_nhds (by rw [zero_add]; exact hp))] with k hk hb |
| 115 | unfold testAway; let B:= Probe.bud (0:Space3) ((k+1:ℝ)⁻¹) (by positivity) |
| 116 | have hv : x∉tsupport (Probe.tint B) := by rw [Probe.tint_support,Metric.mem_closedBall,dist_zero_right]; exact not_le_of_gt hb |
| 117 | change (Probe.keeper k-Probe.sew (Probe.tint B) (Probe.keeper k):Probe Space3) x≠0 |
| 118 | rw [_root_.sub_apply, Probe.sews,image_eq_zero_of_notMem_tsupport hv,Probe.keeper_one _ hk]; simp |
| 119 | |
| 120 | lemma annihilator (q : Wave n) (hp : tempered q d) (i : Fin n) |
| 121 | (he : ∀ g : Fin n → Probe E4,(∀ j,Remote (g j)) → ∀ f,data 0 q g i f=0 ∧ data 1 q g i f=0) : q=0 := by |
| 122 | obtain ⟨g,hg,h⟩ := witnesses |
| 123 | apply AEEqFun.ext |
| 124 | filter_upwards [ae_all_iff.mpr (fun t : ℕ=> supported q hp i he (fun _ => g t) (fun _ => hg t) (testAway t) (meansAway t)), photons_nonzero n,AEEqFun.coeFn_zero (μ:=photons n) (β:=ℂ)] with x hx hp hh |
| 125 | obtain ⟨k,hk,hp'⟩ := ((testsAway (x i) (hp i)).and (eventually_all.mpr fun j:Fin n=>h (momentum (x j)))).exists |
| 126 | rw [hh]; apply (mul_eq_zero.mp (hx k)).resolve_right |
| 127 | unfold sink; refine mul_ne_zero (mul_ne_zero ?_ hk) ?_ |
| 128 | · exact pow_ne_zero _ (ofReal_ne_zero.mpr (hp i).ne') |
| 129 | apply Finset.prod_ne_zero_iff.mpr; intro j hj |
| 130 | exact mul_ne_zero (ofReal_ne_zero.mpr (hp j).ne') (hp' j) |
| 131 | |
| 132 | /-- The necessary dilation identities, in every momentum slot. -/ |
| 133 | theorem binds (q : Wave n) (hp : tempered q d) (h : ∀ g, (∀ i,Remote (g i)) → paired_at q g=adjoint_at q g) : |
| 134 | ∃ k, ∀ i, signalPoly i q k=0 := by |
| 135 | obtain ⟨k,hk⟩ := dyadic_order q hp h |
| 136 | exact ⟨k,fun i=> annihilator _ (signal_tempered i q hp _) i (hk i)⟩ |
| 137 | end YM.TraceExtension.Photons |