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.Shell |
| 2 | import YM.UVNext.COMMON_GRADE_ASSEMBLY.Free |
| 3 | |
| 4 | /-! |
| 5 | # No-source divergence from the all-window translation charge |
| 6 | |
| 7 | A quick investigate-the-interface result on the free-current needs. |
| 8 | |
| 9 | With |
| 10 | T.lit actually delivered, the divergence of its J (as vector in the real |
| 11 | H type here under symmetry & conjugation) doesn't require an independent |
| 12 | Maxwell rank/correlation theorem producer (though ONE and erases etc still |
| 13 | do!). |
| 14 | |
| 15 | Don't have T or lit yet. |
| 16 | |
| 17 | No assumption equality of analytic |
| 18 | distributions even ON collisions, only ordinary continuity off them as here. |
| 19 | |
| 20 | Using the common quotient even in the integration direction, thus no |
| 21 | uniqueness of representation of translated lattice currents/contours needed. |
| 22 | -/ |
| 23 | set_option autoImplicit false |
| 24 | noncomputable section |
| 25 | namespace YM.UVNext.Grade |
| 26 | open Set Function Filter MeasureTheory Analysis Extraction Table Ward Climb Org Spec Lattice Wilson Cells |
| 27 | Next.Extract Next.UVStress Work.A01 |
| 28 | open scoped Topology BigOperators ContDiff |
| 29 | variable {G : Gauge} {L : Register G} {T : Table L} {W : DiffPlan T} |
| 30 | |
| 31 | private def readStress (J : T.Stress) {n : ℕ} (x : Points n) (q : Fin n → T.Tag) (i b : Axis) (y : E4) := |
| 32 | T.useAt T (Points.cons y x) (Fin.cons ⟨4,J i b⟩ q) |
| 33 | |
| 34 | /-- A Window at a specified center survives perturbation supported off all |
| 35 | inserts (including that center). Smooth perturbations also preserve genuine |
| 36 | integrability of the shell terms. -/ |
| 37 | private lemma perturb {n : ℕ} {x : Points (n+1)} {χ θ : E4→ℝ} (h : Window x χ) |
| 38 | (hp : ContDiff ℝ ∞ θ) (hv : HasCompactSupport θ) (hh : ∀ i : Fin (n+1), x i ∉ tsupport θ) : Window x (χ+θ) := by |
| 39 | have he i : θ =ᶠ[𝓝 (x i)] 0 := notMem_tsupport_iff_eventuallyEq.mp (hh i) |
| 40 | refine ⟨h.1.add hp,h.2.1.add hv,?_,fun i => ?_⟩ |
| 41 | · filter_upwards [h.2.2.1,he 0] with i hi hh; simp [hi,hh] |
| 42 | apply notMem_tsupport_iff_eventuallyEq.mpr |
| 43 | filter_upwards [notMem_tsupport_iff_eventuallyEq.mp (h.2.2.2 i),he i.succ] with j hj hj'; simp [hj,hj'] |
| 44 | |
| 45 | private lemma local_charge (J : T.Stress) (p : Parts T) (Y : SpinRows T) |
| 46 | (h : T.Hierarchy) (hq : StressLaws T J p Y) {n : ℕ} (x : Points (n+1)) (hx : x∈conf _) (q : Fin (n+1) → T.Tag) |
| 47 | (b : Axis) (θ : E4→ℝ) (hp : ContDiff ℝ ∞ θ) (hv : HasCompactSupport θ) (hh : ∀ i, x i ∉ tsupport θ) : |
| 48 | ∑ a : Axis, ∫ z : E4, D (basis a) θ z • readStress J x q a b z = 0 := by |
| 49 | classical |
| 50 | obtain ⟨χ,hχ⟩ := Work.A01.exists_window x hx |
| 51 | have hu := perturb hχ hp hv hh |
| 52 | let F (a : Axis) (w : E4 → ℝ) (z : E4) := D (basis a) w z • readStress J x q a b z |
| 53 | have hs (a) (f : E4→ℝ) (h₁ : ContDiff ℝ ∞ f) (h₂ : HasCompactSupport f) |
| 54 | (h₃ : ∀ y ∈ tsupport (fderiv ℝ f), Points.cons y x ∈ conf _) : Integrable (F a f) := by |
| 55 | refine cutoff_integrable (h₂.fderiv_apply ℝ (basis a)) ?_ ?_ |
| 56 | · exact continuous_iff_continuousAt.mpr fun y => |
| 57 | (dSmooth (m:=∞) (h₁.contDiffAt (x:=y)) (basis a) (by simp)).continuousAt |
| 58 | exact fun y hy => (smooth_cons T h.smooth ⟨4,J a b⟩ q (h₃ y ((tsupport_comp_subset (g:=fun L : E4 →L[ℝ] ℝ => L (basis a)) rfl (fderiv ℝ f)) hy))).continuousAt |
| 59 | have he : ∀ i, Integrable (F i θ) := by |
| 60 | intro i; apply hs i θ hp hv; intro y hy |
| 61 | apply Work.A01.conf_cons hx; intro i e; exact hh _ (e ▸ (tsupport_fderiv_subset ℝ hy)) |
| 62 | have hr (a) : F a (χ+θ) = fun y => F a χ y + F a θ y := by |
| 63 | funext y |
| 64 | change fderiv ℝ (χ+θ) y _ • _ = _ |
| 65 | rw [fderiv_add (hχ.1.differentiable (by simp) y) (hp.differentiable (by simp) y),_root_.add_apply,add_smul]; rfl |
| 66 | let R a := hq.translation hx (Fin.tail q) (χ:=a) |
| 67 | have hz (f) (hf : Window x f) (j : Axis) y : (↑(D (basis j) f y) : ℂ) * |
| 68 | T.useAt T (Points.cons y x) (Fin.cons ⟨4,J j b⟩ (Fin.cons ⟨(q 0).1,(q 0).2⟩ (Fin.tail q)))=F j f y := by |
| 69 | unfold F readStress; rw [show (⟨(q 0).1,(q 0).2⟩:T.Tag) = q 0 from rfl,Fin.cons_self_tail]; exact Complex.real_smul.symm |
| 70 | have ht := (R (χ+θ) hu b (q 0).1 (q 0).2).trans (R χ hχ b (q 0).1 (q 0).2).symm |
| 71 | unfold shellGrad at ht |
| 72 | simp_rw [hz _ hu,hz _ hχ,hr] at ht |
| 73 | rw [neg_inj] at ht |
| 74 | simp_rw [integral_add (hs _ χ hχ.1 hχ.2.1 (fun _ z => window_separated hx hχ z)) (he _), Finset.sum_add_distrib] at ht |
| 75 | exact add_eq_left.mp ht |
| 76 | |
| 77 | -- IsOpen formulation for application of fundamental lemma: q may be empty |
| 78 | -- in general, but here insert a unit if necessary (see n=0 in source_free). |
| 79 | private theorem external (J : T.Stress) (p : Parts T) (Y : SpinRows T) |
| 80 | (h : T.Hierarchy) (hq : StressLaws T J p Y) {n : ℕ} (x : Points (n+1)) (hx : x∈conf _) (q : Fin (n+1) → T.Tag) |
| 81 | (b : Axis) {y : E4} (hy : Points.cons y x ∈ conf _) : |
| 82 | ∑ a : Axis, D (basis a) (readStress J x q a b) y = 0 := by |
| 83 | let U := {y : E4|Points.cons y x∈conf _} |
| 84 | let F (a : Axis) := readStress J x q a b |
| 85 | let Q y := ∑ a : Axis, D (basis a) (F a) y |
| 86 | have hp : IsOpen U := (conf_open _).preimage (by rw [shifting_head]; exact (headDir _).continuous.add continuous_const) |
| 87 | have hf (a : Axis) z (hz : z∈U) : ContDiffAt ℝ ∞ (F a) z := smooth_cons T h.smooth ⟨4,J a b⟩ q hz |
| 88 | have hh a z (hz : z∈U) : ContinuousAt (D (basis a) (F a)) z := (dSmooth (m:=∞) (hf a z hz) (basis a) (by simp)).continuousAt |
| 89 | have hU : ContinuousOn Q U := continuousOn_finsetSum _ fun a _ z hz => (hh a z hz).continuousWithinAt |
| 90 | suffices ∀ᵐ z : E4 ∂volume.restrict U, Q z=0 from |
| 91 | Measure.eqOn_of_ae_eq (show Q =ᵐ[volume.restrict U] (fun _ => 0) from this) hU continuousOn_const (by rw [hp.interior_eq]; exact subset_closure) hy |
| 92 | have he : ∀ᵐ z : E4 ∂volume,z∈U → Q z=0 := by |
| 93 | refine hp.ae_eq_zero_of_integral_contDiff_smul_eq_zero (hU.locallyIntegrableOn hp.measurableSet) fun θ hθ hχ ht => ?_ |
| 94 | have h₁ (a : Axis) : Integrable (fun z : E4 => D (basis a) θ z • F a z) := by |
| 95 | refine cutoff_integrable (hχ.fderiv_apply ℝ _) (hθ.continuous_fderiv (by simp)|>.clm_apply continuous_const) ?_ |
| 96 | exact fun z hz => (hf a z (ht (tsupport_fderiv_apply_subset ℝ _ hz))).continuousAt |
| 97 | have h₂ (a : Axis) : Integrable (fun z : E4 => θ z • D (basis a) (F a) z) := |
| 98 | cutoff_integrable hχ hθ.continuous fun z hz => hh a z (ht hz) |
| 99 | have he (a : Axis) : (∫ z : E4, θ z • D (basis a) (F a) z) = -(∫ z : E4, D (basis a) θ z • F a z) := |
| 100 | integral_smul_fderiv_eq_neg_fderiv_smul_of_integrable (h₁ a) (h₂ a) |
| 101 | (cutoff_integrable hχ hθ.continuous (fun z hz => (hf a z (ht hz)).continuousAt)) |
| 102 | (fun z _ => hθ.differentiable (by simp) z) (fun z hz => (hf a z (ht hz)).differentiableAt (by simp)) |
| 103 | have hv i : x i∉U := by |
| 104 | intro he; have he := (show Points.cons (x i) x∈conf _ from he) |
| 105 | exact Fin.succ_ne_zero i ((show _ = _ from he (a₁:=i.succ) (a₂:=0) (by simp [Points.cons]))) |
| 106 | unfold Q; simp_rw [Finset.smul_sum]; rw [integral_finsetSum _ (fun a _ => h₂ a)] |
| 107 | simp_rw [he,Finset.sum_neg_distrib] |
| 108 | rw [show (∑ a : Axis, ∫ z : E4,D (basis a) θ z • F a z)=0 from local_charge J p Y h hq x hx q b θ hθ hχ (fun i h => hv i (ht h)),neg_zero] |
| 109 | exact ((ae_restrict_of_ae he).and (ae_restrict_mem hp.measurableSet)).mono fun _ h => h.1 h.2 |
| 110 | |
| 111 | /-- All-spectator quotient calculation. No assumptions that any rotation |
| 112 | response produced the flux (only the stated all-window identities are used), |
| 113 | or support near contact handled on separated Schwartz cutoffs. Includes n=0. -/ |
| 114 | theorem source_free (J : T.Stress) (p : Parts T) (Y : SpinRows T) |
| 115 | (h : T.Hierarchy) (hd : W.Derivatives T) (hp : StressLaws T J p Y) (b : Axis) : |
| 116 | ∑ a, W.deriv 4 a (J a b) = 0 := by |
| 117 | apply T.field_ext h.laws.toSymmetric; intro n q x hx |
| 118 | rw [← front_eval, ← front_eval, map_zero,map_sum] |
| 119 | simp_rw [front_eval] |
| 120 | -- don't actually need unit for n=0 |
| 121 | have hu : x = Points.cons (x 0) (Points.tail x) := by |
| 122 | ext1 i; refine Fin.cases ?_ (fun j => ?_) i <;> simp [Points.cons,Points.tail] |
| 123 | let z := Points.tail x |
| 124 | have hz : Points.cons (x 0) z∈conf _ := hu ▸ hx -- direction maybe |
| 125 | -- avoid rewriting recursively |
| 126 | have he (a : Axis) : |
| 127 | T.useAt T x (Fin.cons ⟨5,W.deriv 4 a (J a b)⟩ q)= D (basis a) (readStress J z q a b) (x 0) := |
| 128 | (congr_arg (fun s => T.useAt T s (Fin.cons ⟨5,W.deriv 4 a (J a b)⟩ q)) hu).trans (D_cons h.smooth W hd (J a b) q hz a).symm |
| 129 | simp_rw [he] |
| 130 | cases n with |
| 131 | | succ n => exact external J p Y h hp z (Points.tail_in hx) q b hz |
| 132 | | zero => |
| 133 | apply Finset.sum_eq_zero |
| 134 | intro i _ |
| 135 | let y := (0 : Points 1) |
| 136 | rw [show readStress J z q i b = fun _ => T.useAt T y (Fin.cons ⟨4,J i b⟩ q) from ?_] |
| 137 | · simp [D] |
| 138 | funext j |
| 139 | have hr : Points.cons j z = Points.across j y := by |
| 140 | ext1 u; fin_cases u; simp [Points.cons,y] |
| 141 | unfold readStress; rw [hr]; exact (show T.useAt T (Points.across j y) (Fin.cons ⟨4,J i b⟩ q) = _ from slide_disc h y _ (fun _ _ _ => Subsingleton.elim _ _) (Fin.cons ⟨4,J i b⟩ q)) -- cast? |
| 142 | |
| 143 | namespace FreeInput |
| 144 | variable {C : Family G} |
| 145 | /-- Reduced remaining FreeDiv prerequisites. Also available at Lit stage |
| 146 | without any physical hierarchy. -/ |
| 147 | theorem sourced (i : FreeInput C) |
| 148 | (h : Surjective (currentDiv i.T.W i.kernels.spin i.lit.hers)) |
| 149 | (hp : Module.finrank ℝ (LinearMap.ker (currentDiv i.T.W i.kernels.spin i.lit.hers))=1) |
| 150 | (ht : i.T.J∈KernelSpace i.kernels.spin) : i.Divergence := |
| 151 | ⟨h,hp,ht,source_free i.T.J _ _ i.kernels i.lit.pales i.lit.delta⟩ |
| 152 | |
| 153 | end FreeInput |
| 154 | end YM.UVNext.Grade |