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.Support |
| 2 | import YM.Distribution.Product |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Compact testing and support assembly (in Probe convention) |
| 7 | |
| 8 | Important when taking *intersections* of cone, half-space and Ward-transports. |
| 9 | Uses an explicit equalizing cutoff; does not silently use density without |
| 10 | support condition. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Boundary.Probe |
| 15 | open MeasureTheory Filter Set Function Distribution Metric |
| 16 | open scoped Topology BigOperators InnerProductSpace ContDiff |
| 17 | variable {X : Type*} [NormedAddCommGroup X] [InnerProductSpace ℝ X] [FiniteDimensional ℝ X] |
| 18 | {f : Probe X} |
| 19 | |
| 20 | def stall : ContDiffBump (0 : X) := ⟨1,2,by norm_num,by norm_num⟩ |
| 21 | |
| 22 | def bud (x : X) (r : ℝ) (h : 0 < r) : ContDiffBump x := ⟨r,r+r,h,by linarith⟩ |
| 23 | def tint {x : X} (B : ContDiffBump x) : Probe X := (B.hasCompactSupport.comp_left (show Complex.ofReal 0=0 by simp)).toSchwartzMap |
| 24 | (Complex.ofRealCLM.contDiff.comp B.contDiff) |
| 25 | @[simp] theorem tinted {x : X} (B : ContDiffBump x) (p : X) : tint B p=(B p : ℂ) := rfl |
| 26 | @[simp] theorem tint_support {x : X} (B : ContDiffBump x) : tsupport (tint B)=closedBall x B.rOut := by |
| 27 | have he : Function.support (tint B) = Function.support B := by ext y;simp |
| 28 | rw [tsupport,he,← tsupport,B.tsupport_eq] |
| 29 | |
| 30 | def compress (k : ℕ) : X ≃L[ℝ] X := ContinuousLinearEquiv.smulLeft (Units.mk0 (k+1:ℝ)⁻¹ (by positivity)) |
| 31 | def keeper (k : ℕ) : Probe X := along (compress k) (tint stall) |
| 32 | |
| 33 | def sew {A : Type*} [NormedAddCommGroup A] [NormedSpace ℝ A] |
| 34 | (g : Probe A) := (SchwartzMap.smulLeftCLM ℂ ⇑g : Probe A →L[ℂ] Probe A) |
| 35 | @[simp] theorem sews {A : Type*} [NormedAddCommGroup A] [NormedSpace ℝ A] |
| 36 | (g w : Probe A) (x : A) : sew g w x=g x*w x := SchwartzMap.smulLeftCLM_apply_apply g.hasTemperateGrowth w x |
| 37 | lemma shrinks {A : Type*} [NormedAddCommGroup A] [NormedSpace ℝ A] |
| 38 | (g w : Probe A) : tsupport (sew g w) ⊆ tsupport g ∩ tsupport w := by |
| 39 | apply closure_minimal _ ((isClosed_tsupport _).inter (isClosed_tsupport _)) |
| 40 | intro x hx; rw [Function.mem_support,sews] at hx |
| 41 | exact ⟨subset_tsupport _ (left_ne_zero_of_mul hx),subset_tsupport _ (right_ne_zero_of_mul hx)⟩ |
| 42 | |
| 43 | def cap (k : ℕ) := @sew X _ _ (keeper k) |
| 44 | lemma cap_support (k : ℕ) : tsupport (cap k f) ⊆ tsupport f := (shrinks _ f).trans inter_subset_right |
| 45 | lemma finite_cap (k : ℕ) : HasCompactSupport (cap k f : X→ℂ) := by |
| 46 | have he : HasCompactSupport ((keeper k : Probe X) : X→ℂ) := by |
| 47 | have hB : HasCompactSupport (tint (stall (X:=X)) : X→ℂ) := by rw [HasCompactSupport,tint_support]; exact isCompact_closedBall .. |
| 48 | exact hB.comp_homeomorph (compress k).toHomeomorph |
| 49 | exact he.of_isClosed_subset (isClosed_tsupport _) ((shrinks _ _).trans inter_subset_left) |
| 50 | @[simp] lemma compression {A : Type*} [NormedAddCommGroup A] [InnerProductSpace ℝ A] [FiniteDimensional ℝ A] |
| 51 | (k : ℕ) (x : A) : compress k x=(k+1:ℝ)⁻¹ • x := rfl |
| 52 | |
| 53 | lemma keeper_one (k : ℕ) {x : X} (hk : ‖x‖ ≤ k+1) : keeper k x=1 := by |
| 54 | simp only [keeper, along_at,tinted] |
| 55 | have he : compress k x ∈ Metric.closedBall 0 (stall (X:=X)).rIn := by |
| 56 | rw [Metric.mem_closedBall,dist_zero_right,compression,norm_smul,Real.norm_eq_abs,abs_of_pos (by positivity)] |
| 57 | change _ ≤ 1; exact (mul_le_mul_of_nonneg_left hk (by positivity)).trans (by rw [inv_mul_cancel₀ (by positivity)]) |
| 58 | rw [stall.one_of_mem_closedBall he];norm_num |
| 59 | lemma even_keeper (k n : ℕ) (x : X) : ‖iteratedFDeriv ℝ n (keeper k) x‖ ≤ size 0 n (tint (stall (X:=X))) := by |
| 60 | let L := (compress (X:=X) k).toContinuousLinearMap |
| 61 | have he : ‖L‖ ≤ 1 := L.opNorm_le_bound zero_le_one (fun u => by |
| 62 | change ‖compress k u‖ ≤ _ |
| 63 | rw [compression,norm_smul,Real.norm_eq_abs,abs_of_pos (by positivity)] |
| 64 | exact mul_le_mul_of_nonneg_right (inv_le_one_of_one_le₀ (by simp)) (norm_nonneg _)) |
| 65 | rw [show ⇑(keeper k) = tint stall ∘ L from rfl] |
| 66 | simpa only [pow_zero,one_mul] using via L he (tint stall) x 0 n |
| 67 | |
| 68 | /-- uniform cap bound. -/ |
| 69 | lemma cap_cost (v : Probe X) (i j k) : size i j (cap k v) ≤ |
| 70 | ∑ l ∈ Finset.range (j+1), (j.choose l:ℝ)*size 0 l (tint (stall (X:=X)))*size i (j-l) v := by |
| 71 | refine (cap k v).seminorm_le_bound ℂ i j (by unfold size; positivity) fun x => ?_ |
| 72 | rw [show ⇑(cap k v)=(fun x => keeper k x*v x) from funext fun _ => sews ..] |
| 73 | apply le_trans (mul_le_mul_of_nonneg_left (norm_iteratedFDeriv_mul_le |
| 74 | ((keeper k).smooth ⊤) (v.smooth ⊤) x (n := j) (by exact_mod_cast le_top)) (by positivity)) |
| 75 | rw [Finset.mul_sum]; apply Finset.sum_le_sum; intro l _ |
| 76 | rw [mul_left_comm] |
| 77 | exact mul_le_mul (mul_le_mul_of_nonneg_left (even_keeper k l x) (by positivity)) (SchwartzMap.le_seminorm ℂ i _ v x) (by positivity) (by unfold size; positivity) |
| 78 | |
| 79 | omit [FiniteDimensional ℝ X] in |
| 80 | lemma vanish_j {x : X} (t : Probe X) (j : ℕ) (h : (⇑t) =ᶠ[𝓝 x] 0) : iteratedFDeriv ℝ j t x = 0 := by |
| 81 | rw [(h.iteratedFDeriv ℝ j).self_of_nhds]; simp |
| 82 | |
| 83 | theorem persistent (v : Probe X) : Tendsto (fun k => cap k v) atTop (𝓝 v) := by |
| 84 | apply (tendN atTop _ _).2 |
| 85 | intro i j ε he |
| 86 | let C := size (i+1) j v+∑ l ∈ Finset.range (j+1), (j.choose l:ℝ)*size 0 l (tint (stall (X:=X)))*size (i+1) (j-l) v |
| 87 | obtain ⟨K,hK⟩ := exists_nat_gt (C/(ε/2)) |
| 88 | filter_upwards [eventually_ge_atTop K] with k hk |
| 89 | have ht : C<(ε/2)*((k:ℝ)+1) := (div_lt_iff₀ (by positivity)).1 (hK.trans (show (K:ℝ)<k+1 by exact_mod_cast Nat.lt_succ_of_le hk)) |>.trans_eq (by ring) |
| 90 | refine lt_of_le_of_lt ((cap k v - v).seminorm_le_bound ℂ i j (M := ε/2) (by positivity) ?_) (by linarith) |
| 91 | intro x; let z := cap k v - v |
| 92 | have hv : ‖x‖^(i+1)*‖iteratedFDeriv ℝ j z x‖ ≤ C := (SchwartzMap.le_seminorm ℂ _ _ _ _).trans |
| 93 | ((map_sub_le_add (SchwartzMap.seminorm ℂ (i+1) j) (cap k v) v).trans ((add_le_add_left (cap_cost v (i+1) j k) (size (i+1) j v)).trans_eq (add_comm ..))) |
| 94 | by_cases h : ‖x‖ < (k:ℝ)+1 |
| 95 | · have hEq : (z : X → ℂ) =ᶠ[𝓝 x] 0 := by |
| 96 | filter_upwards [((continuous_norm.tendsto x).eventually (gt_mem_nhds h))] with u hu |
| 97 | change cap k v u - v u = (0:ℂ); simp [cap,keeper_one k (show ‖u‖<(k:ℝ)+1 from hu).le] |
| 98 | rw [show _-_ = z from rfl, vanish_j _ _ hEq,norm_zero,mul_zero]; positivity |
| 99 | apply le_of_mul_le_mul_right (a := ‖x‖) _ (lt_of_lt_of_le (by positivity) (le_of_not_gt h)) |
| 100 | refine le_trans (b:=C) ?_ ?_ |
| 101 | · change ‖x‖^i*‖iteratedFDeriv ℝ j z x‖ * ‖x‖ ≤ _; rw [mul_right_comm,←pow_succ]; exact hv |
| 102 | exact ht.le.trans (mul_le_mul_of_nonneg_left (le_of_not_gt h) (by positivity)) |
| 103 | end YM.Boundary.Probe |
| 104 | |
| 105 | namespace YM.Boundary.Distn |
| 106 | open MeasureTheory Filter Set Function Distribution Metric Probe |
| 107 | open scoped Topology BigOperators InnerProductSpace ContDiff |
| 108 | variable {X : Type*} [NormedAddCommGroup X] [InnerProductSpace ℝ X] [FiniteDimensional ℝ X] |
| 109 | variable (F : Distn X) {s : Set X} |
| 110 | |
| 111 | theorem from_compact : IsVanishingOn F s ↔ ∀ f : Probe X, tsupport f ⊆ s → HasCompactSupport ⇑f → F f=0 := by |
| 112 | refine ⟨fun h f hf _ => h f hf,fun h f hf => tendsto_nhds_unique ((F.continuous.tendsto f).comp (persistent f)) ?_⟩ |
| 113 | have he (k : ℕ) : F (cap k f)=0 := h _ ((cap_support k).trans hf) (finite_cap k) |
| 114 | simpa only [Function.comp_def,he] using! (show Tendsto (fun _ : ℕ => (0:ℂ)) atTop (𝓝 0) from tendsto_const_nhds) |
| 115 | |
| 116 | lemma trim_support (x : X) (r : ℝ) (h : 0 < r) (v : Probe X) : |
| 117 | tsupport (v-sew (tint (bud x r h)) v) ⊆ tsupport v ∩ (ball x r)ᶜ := by |
| 118 | apply closure_minimal _ ((isClosed_tsupport _).inter isOpen_ball.isClosed_compl) |
| 119 | intro p hp |
| 120 | change (v p- (sew _ v) p ≠ 0) at hp |
| 121 | rw [sews] at hp |
| 122 | refine ⟨?_,fun he => ?_⟩ |
| 123 | · refine subset_tsupport _ (fun H => hp ?_); change v p=0 at H; rw [H,mul_zero,sub_self] |
| 124 | apply hp |
| 125 | rw [tinted, (bud x r h).one_of_mem_closedBall (ball_subset_closedBall he)]; simp |
| 126 | |
| 127 | theorem over_balls (u : Finset X) (r : X → ℝ) (h : ∀ x∈u, 0 < r x) (t : Probe X) (ht : HasCompactSupport ⇑t) |
| 128 | (he : tsupport t ⊆ ⋃ x∈(u : Set X), Metric.ball x (r x)) |
| 129 | (hh : ∀ x∈u, IsVanishingOn F (closedBall x (r x+r x))) : F t=0 := by |
| 130 | classical |
| 131 | induction u using Finset.induction_on generalizing t with |
| 132 | | empty => |
| 133 | replace he : tsupport t ⊆ ∅ := by simpa using he |
| 134 | have hx : t=0 := by |
| 135 | ext1 i; exact image_eq_zero_of_notMem_tsupport fun H => he H |
| 136 | rw [hx,map_zero] |
| 137 | | @insert x u hx IH => |
| 138 | let B := bud x (r x) (h x (Finset.mem_insert_self ..)) |
| 139 | let v := sew (tint B) t |
| 140 | have hz : tsupport v ⊆ closedBall x B.rOut := (shrinks _ t).trans (inter_subset_left.trans (by rw [tint_support])) |
| 141 | have hv := hh x (Finset.mem_insert_self ..) v hz |
| 142 | let y := t-v |
| 143 | have hy := trim_support x (r x) (h x (Finset.mem_insert_self ..)) t |
| 144 | have hq : tsupport y ⊆ tsupport t := hy.trans inter_subset_left |
| 145 | have hg : F y=0 := by |
| 146 | refine IH (fun j hj => h j (Finset.mem_insert_of_mem hj)) y |
| 147 | (ht.of_isClosed_subset (isClosed_tsupport _) hq) ?_ (fun j H => hh j (Finset.mem_insert_of_mem H)) |
| 148 | intro i hI |
| 149 | obtain ⟨j,hj,H⟩ := Set.mem_iUnion₂.mp (he (hq hI)) |
| 150 | by_cases hw : j=x |
| 151 | · rw [hw] at H; exact False.elim ((hy hI).2 H) |
| 152 | exact Set.mem_iUnion₂.mpr ⟨_,Finset.mem_of_mem_insert_of_ne hj hw,H⟩ |
| 153 | change F (t-v)=0 at hg |
| 154 | simpa [hv] using hg |
| 155 | |
| 156 | lemma general_open (hs : IsOpen s) : IsVanishingOn F s ↔ Disjoint s (dsupport F) := by |
| 157 | classical |
| 158 | refine ⟨fun h => h.disjoint_dsupport hs,fun hx => ?_⟩ |
| 159 | rw [from_compact]; intro t ht he |
| 160 | have hh (x : X) : ∃ r> (0:ℝ), x∈tsupport t → IsVanishingOn F (closedBall x (r+r)) := by |
| 161 | by_cases h : x∈tsupport t |
| 162 | · obtain ⟨w,hw,hW,H⟩ := (notMem_dsupport_iff x).1 (Set.disjoint_left.1 hx (ht h)) |
| 163 | obtain ⟨r,hr,hR⟩ := Metric.mem_nhds_iff.mp (hW.mem_nhds H) |
| 164 | refine ⟨r/4,by positivity,fun _ => IsVanishingOn.mono (subset_trans ?_ hR) hw⟩ |
| 165 | exact closedBall_subset_ball (by linarith) |
| 166 | exact ⟨1,by norm_num,fun H => False.elim (h H)⟩ |
| 167 | choose r hr hR using hh |
| 168 | obtain ⟨p,hp,hFin,hq⟩ := he.elim_finite_subcover_image (b := tsupport t) (c := fun x => ball x (r x)) (fun _ _ => isOpen_ball) |
| 169 | (fun x h => Set.mem_iUnion₂.mpr ⟨x,h,mem_ball_self (hr _)⟩) |
| 170 | exact over_balls F hFin.toFinset r (fun i _ => hr i) t he (by rwa [Set.Finite.coe_toFinset]) (fun i hI => hR i (hp (by simpa using hI))) |
| 171 | |
| 172 | /-- multiple intersecting carriers can be used DIRECTLY on Schwartz probes. -/ |
| 173 | theorem due (M : Set X) (hm : IsClosed M) : dsupport F ⊆ M ↔ IsVanishingOn F Mᶜ := by |
| 174 | rw [general_open F hm.isOpen_compl, disjoint_comm,← Set.subset_compl_iff_disjoint_right,compl_compl] |
| 175 | end YM.Boundary.Distn |