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.Calculus.ParametricIntegral |
| 2 | import YM.Next.MAXWELL.Regulator |
| 3 | |
| 4 | /-! |
| 5 | # Two contractions with the same enclosed field |
| 6 | |
| 7 | Outward flux vanishes even though poles here have very high order. Don't |
| 8 | appeal to extensions of their products. Also utilities on the Welch |
| 9 | collars (only ordinary compact supports). |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Maxwell.Free |
| 14 | open Set Function Filter Tensor Analysis MeasureTheory |
| 15 | open scoped ContDiff Topology BigOperators InnerProductSpace |
| 16 | |
| 17 | variable {G : Gauge} {j l : ℕ} |
| 18 | variable {F : Type*} [NormedAddCommGroup F] [InnerProductSpace ℝ F] |
| 19 | |
| 20 | lemma collars_equal {U : Set E4} (hU : IsOpen U) {x : E4} {f g : Field F} |
| 21 | (H : WaveOn (U \ {x}) f) (K : WaveOn (U \ {x}) g) |
| 22 | {χ ψ : E4 → ℝ} (hχ : ContDiff ℝ ∞ χ) (hψ : ContDiff ℝ ∞ ψ) |
| 23 | (Hχ : HasCompactSupport χ) (Hψ : HasCompactSupport ψ) |
| 24 | (hx : χ =ᶠ[𝓝 x] fun _ => 1) (hp : ψ =ᶠ[𝓝 x] fun _ => 1) (hc : tsupport χ ⊆ U) (hd : tsupport ψ ⊆ U) |
| 25 | {v : Drive} (hv : Killing v) : singleFlux v χ f g = singleFlux v ψ f g := by |
| 26 | have he : tsupport (χ-ψ) ⊆ U \ {x} := by |
| 27 | have hw : tsupport (χ-ψ) ⊆ U := (tsupport_sub χ ψ).trans (union_subset hc hd) |
| 28 | have ht : (χ-ψ) =ᶠ[𝓝 x] 0 := by filter_upwards [hx,hp] with y hy hy'; simp [hy,hy'] |
| 29 | have hq : x ∉ tsupport (χ-ψ) := notMem_tsupport_iff_eventuallyEq.mpr ht |
| 30 | exact fun y hy => ⟨hw hy, fun h : y=x => hq (h ▸ hy)⟩ |
| 31 | have hy := sourcefree_flux hv (hχ.sub hψ) (Hχ.sub Hψ) he H K (hU.sdiff isClosed_singleton) |
| 32 | have ht {χ : E4 → ℝ} (hχ : ContDiff ℝ ∞ χ) (Hχ : HasCompactSupport χ) |
| 33 | (hx : χ =ᶠ[𝓝 x] fun _ => 1) (hc : tsupport χ ⊆ U) (a : Axis) : |
| 34 | Integrable fun y => grad a χ y • current v f g a y := by |
| 35 | refine shell_cost hχ Hχ ?_ a; intro y hy |
| 36 | have he : y ∈ U \ {x} := ⟨hc (tsupport_fderiv_subset ℝ hy),fun he : y=x => collar hx (he ▸ hy)⟩ |
| 37 | exact (current_diff hv a (fun i l => H.smooth i l y he) (fun i l => K.smooth i l y he)).continuousAt |
| 38 | have hf (a : Axis) (y) : grad a (χ-ψ) y = grad a χ y - grad a ψ y := grad_dif |
| 39 | (hχ.differentiable (by simp) y) (hψ.differentiable (by simp) y) _ |
| 40 | unfold singleFlux exportFlux at hy |
| 41 | have hl (a : Axis) (y : E4) : grad a (χ-ψ) y • current v f g a y = |
| 42 | grad a χ y • current v f g a y - grad a ψ y • current v f g a y := by rw [hf,sub_smul] |
| 43 | change -(∑ a : Axis, ∫ y : E4, grad a (χ-ψ) y • current v f g a y)=0 at hy |
| 44 | simp_rw [hl] at hy |
| 45 | simp_rw [integral_sub (ht hχ Hχ hx hc _) (ht hψ Hψ hp hd _), Finset.sum_sub_distrib, |
| 46 | neg_eq_zero,sub_eq_zero] at hy |
| 47 | unfold singleFlux exportFlux |
| 48 | rw [hy] |
| 49 | |
| 50 | lemma pulse_hom (p : Probe G j) (a b : Axis) (x y : E4) {t : ℝ} (ht : 0 < t) (hy : y ≠ 0) : |
| 51 | pulse p x a b (x+t • y) = t⁻¹^(4+j) • pulse p x a b (x+y) := by |
| 52 | have he : x ≠ x + t • y := by |
| 53 | have ht' := smul_ne_zero ht.ne' hy; simp [ht'] |
| 54 | have hw : x ≠ x+y := by simp [hy] |
| 55 | ext1 c |
| 56 | calc |
| 57 | _ = K p (omegaLeg c a b) x (x+t • y) := (K_observe p _ _ _ he).symm |
| 58 | _ = _ := by |
| 59 | rw [K, show x-(x+t • y) = t • (-y) by rw [smul_neg]; abel, |
| 60 | (kernel_pole p (omegaLeg c a b)).degree t ht _ (neg_ne_zero.mpr hy),add_zero] |
| 61 | rw [PiLp.smul_apply,← K_observe p _ _ _ hw,K,show x-(x+y) = -y by abel] |
| 62 | |
| 63 | lemma two_flux_zero {x : E4} {χ : E4 → ℝ} (hχ : ContDiff ℝ ∞ χ) (Hχ : HasCompactSupport χ) |
| 64 | (hx : χ =ᶠ[𝓝 x] fun _ => 1) {v : Drive} (h : Killing v) |
| 65 | (e : ℕ) (he : e ≤ 1) (H : ∀ t : ℝ, 0 < t → ∀ i : Axis, ∀ z : E4, v i (x+t • z)=t^e*v i (x+z)) |
| 66 | (p : Probe G j) (q : Probe G l) : singleFlux v χ (pulse p x) (pulse q x) = 0 := by |
| 67 | -- Compare to one dilated smooth cut-off. No coincident-point evaluation. |
| 68 | let f := pulse p x |
| 69 | let g := pulse q x |
| 70 | let w := current v f g |
| 71 | let t := (2:ℝ) |
| 72 | have ht : 0 < t := by norm_num [t] |
| 73 | let u := Units.mk0 t ht.ne' |
| 74 | let s := ((Homeomorph.addRight (-x)).trans (Homeomorph.smul u⁻¹)).trans (Homeomorph.addLeft x) |
| 75 | have hs (z : E4) : s z = x+t⁻¹ • (z-x) := by simp [s,u,sub_eq_add_neg]; rfl |
| 76 | let ψ := χ ∘ s |
| 77 | have hp : ContDiff ℝ ∞ ψ := by |
| 78 | have hc : ContDiff ℝ ∞ (s : E4 → E4) := by rw [funext hs]; fun_prop |
| 79 | exact hχ.comp hc |
| 80 | have hψ : ψ =ᶠ[𝓝 x] fun _ => 1 := by |
| 81 | have ha := s.continuous.continuousAt (x := x) |>.tendsto |
| 82 | rw [hs,sub_self,smul_zero,add_zero] at ha |
| 83 | exact ha hx |
| 84 | have hc : singleFlux v χ f g = singleFlux v ψ f g := collars_equal isOpen_univ |
| 85 | (f := f) (g := g) (by rw [← compl_eq_univ_sdiff]; exact pulse_wave p x) |
| 86 | (by rw [← compl_eq_univ_sdiff]; exact pulse_wave q x) hχ hp Hχ |
| 87 | (Hχ.comp_homeomorph s) hx hψ (subset_univ _) (subset_univ _) h |
| 88 | let Dp := t⁻¹^(4+j) |
| 89 | let Dq := t⁻¹^(4+l) |
| 90 | let C := t^3*t^e*(Dp*Dq) |
| 91 | have heq (a : Axis) (z : E4) : |
| 92 | t^4 * (grad a ψ (x+t • z) • w a (x+t • z)) = C * (grad a χ (x+z) • w a (x+z)) := by |
| 93 | by_cases h0 : z=0 |
| 94 | · subst z |
| 95 | rw [smul_zero,add_zero,image_eq_zero_of_notMem_tsupport |
| 96 | (f := grad a ψ) (x:=x) (fun he => collar hψ (gradient_part ψ a he)), |
| 97 | image_eq_zero_of_notMem_tsupport (f := grad a χ) (x:=x) (fun he => collar hx (gradient_part χ a he))]; simp |
| 98 | have hh (a : Axis) : grad a ψ (x+t • z) = t⁻¹ * grad a χ (x+z) := by |
| 99 | have hj : s (x+t • z) = x+z := by simp [hs,inv_smul_smul₀ ht.ne'] |
| 100 | have hg : HasFDerivAt (s : E4 → E4) (t⁻¹ • ContinuousLinearMap.id ℝ E4) (x+t • z) := by |
| 101 | rw [funext hs]; exact (((hasFDerivAt_id _).sub_const x).const_smul t⁻¹).const_add x |
| 102 | unfold grad D ψ; rw [fderiv_comp _ (hχ.differentiable (by simp) _) hg.differentiableAt,hg.fderiv,hj] |
| 103 | exact map_smul (fderiv ℝ χ _) t⁻¹ _ |
| 104 | have hi (a b : Axis) : cross f g a b (x+t • z) = Dp * Dq * cross f g a b (x+z) := by |
| 105 | unfold f g cross |
| 106 | simp only [Dp,Dq,pulse_hom _ _ _ _ z ht h0, real_inner_smul_left, real_inner_smul_right, |
| 107 | ← mul_add, ← Finset.mul_sum]; ring |
| 108 | rw [hh a]; simp_rw [w,current,H t ht,hi] |
| 109 | unfold C; simp only [smul_eq_mul]; simp_rw [Finset.mul_sum] |
| 110 | apply Finset.sum_congr rfl; intro a _; field_simp |
| 111 | have hh (a : Axis) : (∫ y : E4, grad a ψ y • w a y) = C * ∫ y : E4, grad a χ y • w a y := by |
| 112 | rw [dilate_integral (fun y : E4 => grad a ψ y • w a y) x t ht, ← integral_smul] |
| 113 | rw [show (fun y : E4 => (t^4) • (grad a ψ (x+t • y) • w a (x+t • y))) = |
| 114 | (fun y => C * (grad a χ (x+y) • w a (x+y))) from funext (heq a), integral_const_mul, |
| 115 | integral_add_left_eq_self (fun y => grad a χ y • w a y) x] |
| 116 | let Z := singleFlux v χ f g |
| 117 | have hz : Z = C*Z := hc.trans (show singleFlux v ψ f g = C*Z by |
| 118 | change -(∑ a : Axis, ∫ y : E4, grad a ψ y • w a y) = _ |
| 119 | simp_rw [hh,← Finset.mul_sum]; rw [← mul_neg]; rfl) |
| 120 | have hlt : C < 1 := by |
| 121 | have hj : Dp ≤ t⁻¹^4 := pow_le_pow_of_le_one (by positivity) (by norm_num [t]) (by omega) |
| 122 | have hl : Dq ≤ t⁻¹^4 := pow_le_pow_of_le_one (by positivity) (by norm_num [t]) (by omega) |
| 123 | have hg : t^e ≤ t := by simpa only [pow_one] using (pow_le_pow_right₀ (by norm_num [t] : 1 ≤ t) he) |
| 124 | unfold C; calc |
| 125 | _ ≤ t^3*t*(t⁻¹^4 * t⁻¹^4) := by gcongr |
| 126 | _ < 1 := by norm_num [t] |
| 127 | change Z=0 |
| 128 | exact (mul_eq_zero.mp (show (1-C)*Z=0 from by linarith only [hz])).resolve_left (by linarith only [hlt]) |
| 129 | |
| 130 | end YM.Maxwell.Free |