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.Next.UV_STRESS.Value |
| 2 | import YM.Work.A01.Conserve |
| 3 | |
| 4 | |
| 5 | /-! Integrate on the shell without radial/spherical delta kernels. -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Next.UVStress |
| 9 | open Filter Function Set MeasureTheory Analysis Extraction Table Ward Climb Work.A01 Work.A05 |
| 10 | open scoped Topology ContDiff BigOperators |
| 11 | variable {G : Gauge} {L : Register G} {S : Table L} {W : DiffPlan S} {d n : ℕ} |
| 12 | |
| 13 | -- Conservation on the difference of two windows |
| 14 | lemma unchanged_flux (H : S.Hierarchy) (h : W.Derivatives S) {J : S.Stress} (hc : Conserved W H.spin J) |
| 15 | (v : S.Field d) {χ χ' : E4 → ℝ} (V : E4 → E4) (hv : ∀ b : Axis,ContDiff ℝ ∞ (fun y => V y b)) |
| 16 | (hk : killing V) (x : Points (n+1)) (hx : x∈ conf _) (hw : Window x χ) (hw' : Window x χ') |
| 17 | (q : Fin n → S.Tag) : flux J χ V x q v= flux J χ' V x q v := by |
| 18 | let P := Fin.cons (α:=fun _ => S.Tag) ⟨d,v⟩ q |
| 19 | have hs i y : Analysis.D (basis i) (χ-χ') y= Analysis.D (basis i) χ y - Analysis.D (basis i) χ' y := by |
| 20 | unfold Analysis.D; rw [fderiv_sub (hw.1.differentiable (by simp) _) (hw'.1.differentiable (by simp) _)]; rfl |
| 21 | have hh (w : E4→ℝ) i y : Analysis.D (basis i) w y • current J V x P i y = ∑ j, term J w V x q v i j y := by |
| 22 | unfold current; rw [Finset.smul_sum]; apply Finset.sum_congr rfl; intro j _ |
| 23 | unfold P term; rw [smul_smul]; exact Complex.real_smul |
| 24 | let F := χ-χ' |
| 25 | have hF (i : Axis) : (∫ y, Analysis.D (basis i) F y • current J V x P i y) = |
| 26 | (∑ j, (∫ y, term J χ V x q v i j y))-(∑ j, (∫ y, term J χ' V x q v i j y)) := by |
| 27 | simp_rw [F,hs,sub_smul,hh]; rw [integral_sub] |
| 28 | · rw [integral_finsetSum _ (fun j _ => term_integrable J χ V x q v H.smooth hx hw i j (hv j).continuous), |
| 29 | integral_finsetSum _ (fun j _ => term_integrable J χ' V x q v H.smooth hx hw' i j (hv j).continuous)] |
| 30 | exacts [integrable_finsetSum _ fun j _ => term_integrable J χ V x q v H.smooth hx hw i j (hv j).continuous, |
| 31 | integrable_finsetSum _ fun j _ => term_integrable J χ' V x q v H.smooth hx hw' i j (hv j).continuous] |
| 32 | have hz (i : Fin (n+1)) : x i ∉ tsupport F := by |
| 33 | rw [notMem_tsupport_iff_eventuallyEq] |
| 34 | refine Fin.cases ?_ (fun j => ?_) i |
| 35 | · filter_upwards [hw.2.2.1,hw'.2.2.1] with k hk he |
| 36 | rw [show F k = _ from (Pi.sub_apply _ _ _), show χ k=1 from hk, show χ' k=1 from he, sub_self]; rfl |
| 37 | simpa using (notMem_tsupport_iff_eventuallyEq.mp (hw.2.2.2 j)).sub (notMem_tsupport_iff_eventuallyEq.mp (hw'.2.2.2 j)) |
| 38 | have he := cutoff_zero H.smooth W h J hc V hv hk x P F (hw.1.sub hw'.1) (hw.2.1.sub hw'.2.1) |
| 39 | (fun y hy => conf_cons hx fun i hh => hz i (hh ▸ hy)) |
| 40 | simp_rw [hF, Finset.sum_sub_distrib,neg_eq_zero,sub_eq_zero] at he |
| 41 | unfold flux; rw [he] |
| 42 | |
| 43 | lemma conversion_shell (J : S.Stress) (V : E4 → E4) (p : ℕ) |
| 44 | (hg : ∀ y (r : ℝ), 0 < r → V (r • y)=r^p • V y) {w : E4 → ℝ} (hw : ContDiff ℝ ∞ w) |
| 45 | (x : Points (n+1)) (q : Fin n → S.Tag) (v : S.Field d) {r : ℝ} (hr : 0 < r) (i j : Axis) (y : E4) : |
| 46 | term J (stretch r w) V x q v i j (r • y) = ((r:ℂ)^4)⁻¹ * (weight w i (fun z => V z j) y * |
| 47 | ((r:ℂ)^(3+p)*disc (Fin.cons ⟨4,J i j⟩ (Fin.cons ⟨d,v⟩ q)) (Points.cons (r • y) x))) := by |
| 48 | unfold term weight; rw [D_stretch hr hw, hg y _ hr] |
| 49 | unfold disc; change (((r⁻¹ * Analysis.D (basis i) w y) * (r^p * V y j):ℝ):ℂ)*_= _ |
| 50 | have h : (↑r:ℂ) ≠ 0 := by exact_mod_cast hr.ne' |
| 51 | push_cast; rw [pow_add]; field_simp |
| 52 | |
| 53 | /-- Component in Euler homogeneity h=3+b, with degree b of weight V. -/ |
| 54 | lemma graded_integral (J : S.Stress) (V : E4 → E4) (p : ℕ) |
| 55 | (hg : ∀ y (r : ℝ), 0 < r → V (r • y)=r^p • V y) {w : E4 → ℝ} (hw : ContDiff ℝ ∞ w) |
| 56 | (x : Points (n+1)) (q : Fin n → S.Tag) (v : S.Field d) {r : ℝ} (hr : 0 < r) (i j : Axis) : |
| 57 | (∫ y, term J (stretch r w) V x q v i j y) = ∫ y, weight w i (fun z => V z j) y * |
| 58 | ((r:ℂ)^(3+p)*disc (Fin.cons ⟨4,J i j⟩ (Fin.cons ⟨d,v⟩ q)) (Points.cons (r • y) x)) := by |
| 59 | let F (y : E4) := disc (Fin.cons ⟨4,J i j⟩ (Fin.cons ⟨d,v⟩ q)) (Points.cons (r • y) x) |
| 60 | let M (y : E4) := weight w i (fun z => V z j) y * ((r:ℂ)^(3+p)*F y) |
| 61 | let H := term J (stretch r w) V x q v i j |
| 62 | have h : (↑r:ℂ) ≠ 0 := by exact_mod_cast hr.ne' |
| 63 | have he (y) : H (r • y) = ((r:ℂ)^4)⁻¹ * M y := conversion_shell _ _ _ hg hw _ _ _ hr _ _ _ |
| 64 | change (∫ y,H y)=(∫ y,M y) |
| 65 | have ht := Measure.integral_comp_smul_of_nonneg volume H r (hR:=hr.le) |
| 66 | simp_rw [he] at ht; rw [integral_const_mul,show Module.finrank ℝ E4=4 from finrank_euclideanSpace_fin, |
| 67 | Complex.real_smul,Complex.ofReal_inv,Complex.ofReal_pow] at ht |
| 68 | exact mul_left_cancel₀ (inv_ne_zero (pow_ne_zero _ h)) ht.symm |
| 69 | |
| 70 | private def capB : ContDiffBump (0 : E4) := ⟨(1:ℝ)/2,1,by norm_num,by norm_num⟩ |
| 71 | private lemma stretch_window (x : Points (n+1)) (he : x 0=0) (r : ℝ) (hr : 0 < r) (hp : ∀ i : Fin n, r < ‖x i.succ‖) : |
| 72 | Window x (stretch r capB) := by |
| 73 | have hh : Window (r⁻¹ • x) capB := by |
| 74 | refine ⟨capB.contDiff,capB.hasCompactSupport,?_,?_⟩ |
| 75 | · rw [PiLp.smul_apply,he,smul_zero]; exact capB.eventuallyEq_one |
| 76 | intro i hx; rw [capB.tsupport_eq,Metric.mem_closedBall,dist_zero_right, PiLp.smul_apply,norm_smul, |
| 77 | Real.norm_of_nonneg (inv_pos.mpr hr).le] at hx |
| 78 | have ht : ‖x i.succ‖ ≤ r := calc |
| 79 | _ = r * (r⁻¹ * ‖x i.succ‖) := (mul_inv_cancel_left₀ hr.ne' _).symm |
| 80 | _ ≤ r * 1 := mul_le_mul_of_nonneg_left hx hr.le |
| 81 | _ = _ := mul_one _ |
| 82 | exact not_lt_of_ge ht (hp i) |
| 83 | simpa only [smul_inv_smul₀ hr.ne'] using window_stretch hr hh |
| 84 | |
| 85 | private theorem within_cap (i : Axis) (r : ℝ) (hr : 0 < r) (y : E4) (hp : Analysis.D (basis i) capB y ≠ 0) : |
| 86 | r • y ∈ annulus r := by |
| 87 | have he : y∈tsupport capB := tsupport_fderiv_apply_subset ℝ _ (subset_closure hp) |
| 88 | have hY : 1/2 ≤ ‖y‖ := by |
| 89 | by_contra! hh |
| 90 | have hv : capB =ᶠ[𝓝 y] (fun _ => 1) := by |
| 91 | filter_upwards [Metric.isOpen_ball.mem_nhds (show y∈ Metric.ball 0 capB.rIn by |
| 92 | rw [Metric.mem_ball,dist_zero_right]; exact hh)] with x hx |
| 93 | exact capB.one_of_mem_closedBall (Metric.ball_subset_closedBall hx) |
| 94 | exact hp (by rw [Analysis.D,hv.fderiv_eq]; simp) |
| 95 | rw [capB.tsupport_eq,Metric.mem_closedBall,dist_zero_right] at he; change ‖y‖ ≤ 1 at he |
| 96 | change r/4<‖r • y‖ ∧ ‖r • y‖ < 2*r |
| 97 | rw [norm_smul,Real.norm_of_nonneg hr.le]; constructor <;> nlinarith |
| 98 | |
| 99 | section pay |
| 100 | variable {G : Gauge} {C : Family G} {S : Table C.book} {V : DiffPlan S} {F : Extraction.Order} |
| 101 | variable {ι : Type*} [Fintype ι] |
| 102 | |
| 103 | /-- Exact finite-geometry annihilation. All choices can depend on the finite |
| 104 | family I, but must include the same rooted estimate at every test of the chosen |
| 105 | fields. -/ |
| 106 | theorem physical_value (hC : C.Makes) (hq : Cells.CellHyp C F) (ho : F.PointLimits C S) |
| 107 | (H : S.Hierarchy) (h : V.Derivatives S) {J : S.Stress} (hc : Conserved V H.spin J) (v : S.Field d) |
| 108 | (U : E4→E4) (hw : ∀ i : Axis,ContDiff ℝ ∞ (fun y => U y i)) (hl : killing U) (p : ℕ) |
| 109 | (hg : ∀ y (r : ℝ),0<r → U (r • y)=r^p • U y) |
| 110 | (D : ℕ) (hh : ShellBound F D (3+p) v J) (I : ι→Watch C) (g : ι→ℂ) |
| 111 | (ht : ∀ z : S.Field D, (∑ i : ι, g i * (I i).tester S D z)=0) |
| 112 | (W : ι→E4→ℝ) (hy : ∀ i, Window (I i).held (W i)) : |
| 113 | (∑ i : ι, g i * flux J (W i) U (I i).held (S.classTokens ∘ (I i).q) v)=0 := by |
| 114 | classical |
| 115 | obtain ⟨B,T,B1,T1,hh⟩ := hh |
| 116 | obtain ⟨k,hk,HH⟩ := hh (Finset.univ.sup (fun i => (I i).t)) |
| 117 | obtain ⟨A,hA,hb⟩ := pays_current I hC hq ho H k (fun i => (Finset.le_sup (s:=Finset.univ) |
| 118 | (f:=fun i => (I i).t) (Finset.mem_univ i)).trans hk) D g ht |
| 119 | choose r hr hs Hz using fun k => HH _ (cost_pos k) _ (cost_pos k) |
| 120 | have hwg : Tendsto r atTop (𝓝 0) := squeeze_zero (fun i => (hr i).le) hs cost_clears |
| 121 | let E (i j : Axis) (a : ι) l y := (r l:ℂ)^(3+p) * (I a).asked (J i j) v (r l • y) |
| 122 | let M (i j : Axis) := weight capB i (fun y => U y j) |
| 123 | let F (i j : Axis) l := ∫ y, ∑ a, g a*(M i j y * E i j a l y) |
| 124 | have hf : ∀ᶠ l in atTop,∀ (i : ι) (j : Fin (I i).n), r l < ‖(I i).held j.succ‖ := by |
| 125 | refine eventually_all.mpr (fun i => eventually_all.mpr (fun j => hwg.eventually (gt_mem_nhds (norm_pos_iff.mpr ?_)))) |
| 126 | intro he |
| 127 | exact Fin.succ_ne_zero j ((I i).distinct (he.trans (I i).origin.symm)) |
| 128 | have hM (i j : Axis) : Integrable (fun y => ‖M i j y‖) := (integrable_weight capB.contDiff capB.hasCompactSupport i |
| 129 | (hw j).continuous).norm |
| 130 | have he (i j : Axis) : Tendsto (F i j) atTop (𝓝 0) := by |
| 131 | apply Metric.tendsto_nhds.mpr; intro ε hε |
| 132 | have ht := cost_clears.mul_const A |>.const_mul (∫ y, ‖M i j y‖) |
| 133 | rw [zero_mul,mul_zero] at ht |
| 134 | filter_upwards [hf,ht.eventually (gt_mem_nhds hε)] with l hh hx |
| 135 | rw [dist_zero_right] |
| 136 | calc |
| 137 | _ ≤ ∫ y, ‖M i j y‖ * (costHint l*A) := norm_integral_le_of_norm_le ((hM i j).mul_const _) (by |
| 138 | filter_upwards with y |
| 139 | change ‖∑ a, g a*(M i j y* E i j a l y)‖ ≤ _ |
| 140 | by_cases ht : Analysis.D (basis i) capB y = 0 |
| 141 | · have h : M i j y=0 := by simp [M,weight,ht] |
| 142 | simp [h] |
| 143 | have hP a : Points.cons (r l • y) (I a).held∈conf _ := separated_of_D (I a).distinct |
| 144 | (stretch_window _ (I a).origin _ (hr l) (hh a)) (show Analysis.D (basis i) (stretch (r l) capB) _≠0 from by |
| 145 | rw [D_stretch (hr l) capB.contDiff]; exact mul_ne_zero (inv_pos.mpr (hr l)).ne' ht) |
| 146 | have he := hb (3+p) d B T _ _ (Hz l) (cost_pos l) i j _ (within_cap i _ (hr l) y ht) hP |
| 147 | rw [B1,T1] at he |
| 148 | simp_rw [mul_left_comm (g _) (M i j y), ← Finset.mul_sum]; rw [norm_mul] |
| 149 | exact mul_le_mul_of_nonneg_left he (norm_nonneg _)) |
| 150 | _ = _ := integral_mul_const .. |
| 151 | _ < ε := hx |
| 152 | have hv := Tendsto.neg (tendsto_finsetSum Finset.univ (fun i _ => tendsto_finsetSum Finset.univ (fun j _ => he i j))) |
| 153 | -- all expressions are genuine integrals before distributing |
| 154 | let f (i : ι) := flux J (W i) U (I i).held (S.classTokens ∘ (I i).q) v |
| 155 | have hz : Tendsto (fun k : ℕ => -(∑ i : Axis, ∑ j : Axis,F i j k)) atTop (𝓝 0) := |
| 156 | (by simpa only [Finset.sum_const_zero,neg_zero] using hv) |
| 157 | refine tendsto_nhds_unique_of_eventuallyEq (f:=fun _ : ℕ => ∑ i : ι,g i * f i) tendsto_const_nhds hz ?_ |
| 158 | filter_upwards [hf] with k hk |
| 159 | let G (a : ι) (i j : Axis) y := M i j y * E i j a k y |
| 160 | let c := stretch (r k) capB |
| 161 | have hC a := stretch_window _ (I a).origin _ (hr k) (hk a) |
| 162 | have hint (i j : Axis) (a : ι) : Integrable (G a i j) := by |
| 163 | let T := term J c U (I a).held (S.classTokens ∘ (I a).q) v i j |
| 164 | have ht (y : E4) : T (r k • y)= ((r k:ℂ)^4)⁻¹ * G a i j y := conversion_shell J U p hg capB.contDiff _ _ _ (hr k) _ _ y |
| 165 | have hu : Integrable T := term_integrable J _ _ _ _ _ H.smooth (I a).distinct (hC a) _ _ (hw j).continuous |
| 166 | have hz : G a i j=fun y => (r k:ℂ)^4 * T (r k • y) := by |
| 167 | funext y |
| 168 | rw [ht,mul_inv_cancel_left₀ (pow_ne_zero _ (by exact_mod_cast (hr k).ne'))] |
| 169 | rw [hz]; exact (hu.comp_smul (hr k).ne').const_mul _ |
| 170 | have hF i j : F i j k=∑ a : ι,g a*(∫ y,G a i j y) := by |
| 171 | unfold F; rw [integral_finsetSum _ (fun a _ => (hint i j a).const_mul _)] |
| 172 | exact Finset.sum_congr rfl fun a _ => integral_const_mul (g a) (G a i j) |
| 173 | have ht (a : ι) : f a= -(∑ i : Axis,∑ j : Axis,(∫ y,G a i j y)) := by |
| 174 | unfold f; rw [unchanged_flux H h hc v U hw hl _ (I a).distinct (hy a) (hC a), flux] |
| 175 | simp_rw [graded_integral J U p hg capB.contDiff _ _ _ (hr k)]; rfl |
| 176 | simp_rw [ht,hF,mul_neg,Finset.mul_sum,Finset.sum_neg_distrib] |
| 177 | refine congr_arg Neg.neg (Eq.trans (Finset.sum_comm) ?_) |
| 178 | exact Finset.sum_congr rfl fun i _ => Finset.sum_comm |
| 179 | end pay |
| 180 | end YM.Next.UVStress |