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.Bid.Tar |
| 2 | import YM.Org.Twist |
| 3 | |
| 4 | /-! |
| 5 | # Local realization of both partial boundaries |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Work.C21 |
| 10 | open Function Set Filter MeasureTheory Metric Boundary Boundary.Surface Probe |
| 11 | open scoped Topology |
| 12 | |
| 13 | /-- Identify a germ with a given weak limit of interior slices. All the real arguments |
| 14 | (including spectators) are integrated at once. -/ |
| 15 | lemma realize {n : ℕ} {E : Full n → ℂ} {U : Set (Full n)} {V : Set (Points n)} |
| 16 | (hU : ∀ p, p ∈ U ↔ shade p ∈ V) {x y : Points n} (h : glow x y ∈ closure U) |
| 17 | (A : Pane E U (glow x y)) (hc : ∀ z ∈ V, Continuous fun i => E (glow i z)) |
| 18 | {Q : Distn (Points n)} (hq : ∀ f : Joint n, Tendsto (fun z => ∫ i, E (glow i z) * f i) |
| 19 | (𝓝[V] y) (𝓝 (Q f))) : |
| 20 | ∃ r>0, ∀ f : Joint n, HasCompactSupport ⇑f → tsupport f ⊆ ball x r → |
| 21 | Q f = ∫ i, A.extendF (glow i y) * f i := by |
| 22 | have H : MapsTo shade U V := fun p hp => (hU p).1 hp |
| 23 | haveI : (𝓝[V] y).NeBot := mem_closure_iff_nhdsWithin_neBot.mp (by simpa using H.closure (cont_sh n) h) |
| 24 | obtain ⟨d,hd,hA,hE⟩ := A.revive |
| 25 | let C := ‖A.extendF (glow x y)‖ + 1 |
| 26 | have hev : ∀ᶠ q in 𝓝 (glow x y), ‖A.extendF q‖ < C := |
| 27 | A.doc.continuousAt.norm.tendsto.eventually (gt_mem_nhds (by dsimp [C]; linarith)) |
| 28 | obtain ⟨r,hr,hR⟩ := Metric.mem_nhds_iff.mp (((home n).tendsto (x,y)).eventually |
| 29 | ((show ∀ᶠ q in 𝓝 (glow x y), q ∈ ball (glow x y) d from ball_mem_nhds _ hd).and hev)) |
| 30 | have hh {i z : Points n} (hi : i ∈ ball x r) (hz : z ∈ ball y r) : |
| 31 | glow i z ∈ ball (glow x y) d ∧ ‖A.extendF (glow i z)‖ < C := |
| 32 | @hR (i,z) ((ball_prod_same x y r).le (show (i,z) ∈ ball x r ×ˢ ball y r from ⟨hi,hz⟩)) |
| 33 | have hk : ∀ᶠ z in 𝓝[V] y, z ∈ ball y r := Eventually.filter_mono nhdsWithin_le_nhds (ball_mem_nhds _ hr) |
| 34 | have he {i z : Points n} (hi : i ∈ ball x r) (hz : z ∈ ball y r) (hv : z ∈ V) : |
| 35 | A.extendF (glow i z) = E (glow i z) := hE ⟨(hh hi hz).1,(hU _).2 (by simpa using hv)⟩ |
| 36 | refine ⟨r, hr, fun f _ hf => tendsto_nhds_unique (hq f) ?_⟩ |
| 37 | apply tendsto_integral_filter_of_dominated_convergence (fun i => C * ‖f i‖) |
| 38 | · filter_upwards [self_mem_nhdsWithin] with z hz using |
| 39 | ((hc z hz).mul f.continuous).aestronglyMeasurable |
| 40 | · filter_upwards [hk,self_mem_nhdsWithin] with z hz hv |
| 41 | refine Eventually.of_forall fun i => ?_ |
| 42 | by_cases hp : f i = 0 |
| 43 | · simp [hp] |
| 44 | have hi := hf (subset_tsupport _ hp) |
| 45 | rw [← he hi hz hv,norm_mul] |
| 46 | exact mul_le_mul_of_nonneg_right (hh hi hz).2.le (norm_nonneg _) |
| 47 | · exact f.integrable.norm.const_mul C |
| 48 | refine Eventually.of_forall fun i => ?_ |
| 49 | by_cases hp : f i = 0 |
| 50 | · simp [hp] |
| 51 | have hi := hf (subset_tsupport _ hp) |
| 52 | have hw := (hA _ (hh hi (mem_ball_self hr)).1).continuousAt |
| 53 | have ht : Tendsto (fun z => A.extendF (glow i z)) (𝓝[V] y) (𝓝 (A.extendF (glow i y))) := |
| 54 | (hw.comp ((home n).comp (continuous_const.prodMk continuous_id)).continuousAt).continuousWithinAt |
| 55 | exact (ht.mul tendsto_const_nhds).congr' ((hk.and self_mem_nhdsWithin).mono fun z hz => |
| 56 | show A.extendF (glow i z) * f i = E (glow i z) * f i by rw [he hi hz.1 hz.2]) |
| 57 | |
| 58 | lemma reindex {n : ℕ} (E : Full n → ℂ) (P : NearPair n) (f : Joint n) (z : Points n) : |
| 59 | ∫ i, E (glow i (P.switch z)) * (along P.switch.toContinuousLinearEquiv f) i = |
| 60 | ∫ i, (E ∘ P.name) (glow i z) * f i := by |
| 61 | rw [← P.switch.measurePreserving.integral_comp P.switch.toHomeomorph.measurableEmbedding] |
| 62 | have h i : P.switch (P.switch i)=i := P.switch.symm_apply_apply i |
| 63 | simp only [along_at,LinearIsometryEquiv.coe_toContinuousLinearEquiv,h,comp_apply,NearPair.name, |
| 64 | re_glow,im_glow] |
| 65 | |
| 66 | theorem answer : YM.Bid.C21 := by |
| 67 | intro G L S F Y D Z hD hF n v y P A |
| 68 | constructor |
| 69 | · intro x hx |
| 70 | refine realize (V := fields n) (fun _ => Iff.rfl) (A.permitted.first x) (A.original x hx) (fun z hz => ?_) |
| 71 | (Z.sees hF v _ A.permitted.here (hD n)) |
| 72 | exact (hF.hol n v).continuousOn.comp_continuous ((home n).comp (continuous_id.prodMk continuous_const)) |
| 73 | (fun _ => show shade (glow _ z) ∈ fields n by simpa using hz) |
| 74 | intro x hx |
| 75 | let V := P.switch ⁻¹' fields n |
| 76 | have hV p : p ∈ P.name ⁻¹' tube n ↔ shade p ∈ V := by |
| 77 | change shade (P.name p) ∈ fields n ↔ P.switch (shade p) ∈ fields n |
| 78 | simp [NearPair.name] |
| 79 | refine realize hV (A.permitted.second x) (A.tilted x hx) (fun z hz => ?_) (fun f => ?_) |
| 80 | · have he : Continuous P.name := (home n).comp ((P.switch.continuous.comp (cont_Re n)).prodMk |
| 81 | (P.switch.continuous.comp (cont_sh n))) |
| 82 | exact (hF.hol n _).continuousOn.comp_continuous (he.comp ((home n).comp (continuous_id.prodMk continuous_const))) |
| 83 | (fun _ => (hV _).2 (show shade (glow _ z) ∈ V by simpa using hz)) |
| 84 | have ht := Z.sees hF (v ∘ P.s) _ A.permitted.there (hD n) (along P.switch.toContinuousLinearEquiv f) |
| 85 | have hP : Tendsto P.switch (𝓝[V] dawn y) (𝓝[fields n] P.switch (dawn y)) := |
| 86 | P.switch.continuous.continuousWithinAt.tendsto_nhdsWithin fun _ h => h |
| 87 | exact (ht.comp hP).congr' (Eventually.of_forall (reindex (Z.emit (v ∘ P.s)) P f)) |
| 88 | end YM.Work.C21 |