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.AnalyticNext.QUARTIC_MATCH.Exchange |
| 2 | |
| 3 | /-! |
| 4 | # Comparing critical germs on a product with redundant vertical variables |
| 5 | |
| 6 | Genuine neighborhoods, not just raywise critical points; use also when enlarging periods. |
| 7 | -/ |
| 8 | |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.AnalyticNext.QuarticMatch |
| 12 | open Filter Function Work.F04 Topology |
| 13 | open scoped Topology BigOperators ContDiff |
| 14 | |
| 15 | variable {X Y Z E : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 16 | [NormedAddCommGroup Y] [NormedSpace ℝ Y] [NormedAddCommGroup Z] [NormedSpace ℝ Z] |
| 17 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 18 | |
| 19 | abbrev vMap (p : X × Z → Y) (z : X × Z) := |
| 20 | fderiv ℝ p z ∘L ContinuousLinearMap.inr ℝ X Z |
| 21 | |
| 22 | theorem upright_apply {L : X → Y} {p : X × Z → E} {x : X} {z : Z} (hp : DifferentiableAt ℝ p (x,z)) |
| 23 | (hL : DifferentiableAt ℝ L x) (u : Z) : |
| 24 | fderiv ℝ (fun a : X × Z => (L a.1,p a)) (x,z) (0,u) = (0,vMap p (x,z) u) := by |
| 25 | change (fderiv ℝ (fun a : X × Z => ((L ∘ Prod.fst) a, p a)) (x,z)) (0,u) = _ |
| 26 | rw [(((hL.hasFDerivAt.comp (x,z) hasFDerivAt_fst)).prodMk hp.hasFDerivAt).fderiv] |
| 27 | exact Prod.ext (map_zero (fderiv ℝ L x)) rfl |
| 28 | |
| 29 | /-- If a fiber map has a smooth section germ, its vertical derivative stays |
| 30 | surjective. Only need the section at the base value of `x`. -/ |
| 31 | theorem vMap_surjective [CompleteSpace Y] {p : X × Z → Y} |
| 32 | (hp : ContDiffAt ℝ ω p 0) {T : Y → Z} (hs : DifferentiableAt ℝ T 0) (hT : T 0=0) |
| 33 | (he : (fun y => p (0,T y)) =ᶠ[𝓝 0] id) : |
| 34 | ∀ᶠ z in 𝓝 0, Surjective (vMap p z) := by |
| 35 | let L := fderiv ℝ T 0 |
| 36 | let N (z : X × Z) := vMap p z ∘L L |
| 37 | have hz : N 0=1 := by |
| 38 | let A := fun y => ((0:X),T y) |
| 39 | have ha : HasFDerivAt A (ContinuousLinearMap.inr ℝ X Z ∘L L) 0 := |
| 40 | ((ContinuousLinearMap.inr ℝ X Z).hasFDerivAt).comp 0 hs.hasFDerivAt |
| 41 | have hA : A 0 = 0 := Prod.ext rfl hT |
| 42 | have hP := hp.differentiableAt (by simp) |
| 43 | have hu : HasFDerivAt p (fderiv ℝ p 0) (A 0) := hA.symm ▸ hP.hasFDerivAt |
| 44 | exact (hu.comp (0:Y) ha).unique ((hasFDerivAt_id (𝕜:=ℝ) (0:Y)).congr_of_eventuallyEq he) |
| 45 | have hc : ContinuousAt N 0 := |
| 46 | (((hp.fderiv_right (m:=ω) (by simp)).continuousAt.clm_comp continuousAt_const).clm_comp continuousAt_const) |
| 47 | have hi : ∀ᶠ z in 𝓝 0, IsUnit (N z) := hc (Units.isOpen.mem_nhds (show IsUnit (N 0) by rw [hz]; exact isUnit_one)) |
| 48 | filter_upwards [hi] with z ih y |
| 49 | refine ⟨L (ih.unit.inv y),?_⟩ |
| 50 | change N z (ih.unit.inv y)=y |
| 51 | exact DFunLike.congr_fun (show N z * ih.unit.inv = 1 from (congr_arg (· * ih.unit.inv) ih.unit_spec).symm.trans ih.unit.val_inv) y |
| 52 | |
| 53 | theorem vert_pull {P : X × Y → ℝ} {Q : E × Z → ℝ} {L : X → E} {p : X × Y → Z} |
| 54 | (hp : ContDiffAt ℝ ω p 0) (hL : ContDiffAt ℝ ω L 0) (he : P =ᶠ[𝓝 0] Q ∘ (fun z => (L z.1,p z))) |
| 55 | (hQ : ContDiffAt ℝ ω Q (L 0,p 0)) : |
| 56 | ∀ᶠ w : X × Y in 𝓝 0, vert P w = vert Q (L w.1,p w) ∘L vMap p w := by |
| 57 | let U (w : X × Y) := (L w.1,p w) |
| 58 | have hv : ContDiffAt ℝ ω U 0 := (hL.comp (f:=Prod.fst) 0 contDiffAt_fst).prodMk hp |
| 59 | filter_upwards [he.fderiv (𝕜:=ℝ), hp.eventually (by simp), |
| 60 | (continuous_fst.tendsto (0:X × Y)).eventually (hL.eventually (by simp)), |
| 61 | hv.eventually (by simp), hv.continuousAt.tendsto.eventually (hQ.eventually (by simp))] |
| 62 | with w hw ha hl hb hc |
| 63 | change fderiv ℝ P w=fderiv ℝ (Q ∘ U) w at hw |
| 64 | ext v |
| 65 | change fderiv ℝ P w (0,v)=fderiv ℝ Q _ (0,vMap p w v) |
| 66 | rw [hw, fderiv_comp w (hc.differentiableAt (by simp)) (hb.differentiableAt (by simp))] |
| 67 | change fderiv ℝ Q _ (fderiv ℝ U w (0,v))=_ |
| 68 | exact congr_arg (fderiv ℝ Q _) (upright_apply (ha.differentiableAt (by simp)) |
| 69 | (show DifferentiableAt ℝ L w.1 from (show ContDiffAt ℝ ω L w.1 from hl).differentiableAt (by simp)) v) |
| 70 | |
| 71 | /-- Lift to a zero-based graph. Equality of actual real values on a neighborhood, |
| 72 | not a measure or period claim. -/ |
| 73 | theorem ascend {P : X × Y → ℝ} {Q : X × Z → ℝ} {p : X × Y → Z} |
| 74 | {c : X → Y} {b : X → Z} (hP : ContDiffAt ℝ ω P 0) (hb : OnShell Q b 0) |
| 75 | (h0 : b 0=0) (hp : ContDiffAt ℝ ω p 0) (he : P =ᶠ[𝓝 0] Q ∘ (fun z => (z.1,p z))) |
| 76 | (hc : c 0=0) (hs : ContDiffAt ℝ ω c 0) |
| 77 | (hd : p ∘ arc c =ᶠ[𝓝 0] b) : |
| 78 | OnShell P c 0 ∧ P ∘ arc c =ᶠ[𝓝 0] Q ∘ arc b := by |
| 79 | have hu : arc c 0 = 0 := Prod.ext rfl hc |
| 80 | have hz : p 0 = 0 := (congr_arg p hu).symm.trans (hd.self_of_nhds.trans h0) |
| 81 | have hh := vert_pull (L:=id) hp contDiffAt_id he (show ContDiffAt ℝ ω Q _ from by |
| 82 | simpa only [arc,hz,h0,id_eq] using hb.action) |
| 83 | have ht : Tendsto (arc c) (𝓝 0) (𝓝 0) := by |
| 84 | have h : ContinuousAt (arc c) 0 := continuousAt_id.prodMk hs.continuousAt |
| 85 | rw [← hu]; exact h |
| 86 | refine ⟨⟨?_,hs,hu.symm ▸ hP⟩,?_⟩ |
| 87 | · filter_upwards [ht.eventually hh, hd,hb.station] with x hx hg hw |
| 88 | change p (arc c x) = b x at hg |
| 89 | change vert Q (x,b x)=0 at hw |
| 90 | change vert P (arc c x)=_ |
| 91 | rw [hx,hg,show id (arc c x).1=x from rfl,hw,ContinuousLinearMap.zero_comp] |
| 92 | filter_upwards [ht.eventually he,hd] with x hx hg |
| 93 | exact hx.trans (congr_arg (fun y => Q (x,y)) hg) |
| 94 | |
| 95 | /-- With nonsingular vertical partial derivative of the equation at the |
| 96 | basepoint, ANY nearby root at ANY input agrees with the given graph. -/ |
| 97 | theorem near_root [CompleteSpace X] [CompleteSpace Y] {P : X × Y → ℝ} |
| 98 | {b : X → Y} (hb : OnShell P b 0) (hz : b 0=0) |
| 99 | (hD : (vMap (vert P) 0).IsInvertible) : |
| 100 | ∀ᶠ z : X × Y in 𝓝 0, vert P z=0 → z.2=b z.1 := by |
| 101 | have hp : arc b 0 = 0 := Prod.ext rfl hz |
| 102 | have hh : vert P 0 = 0 := by |
| 103 | have hx : vert P (arc b 0)=0 := hb.station.self_of_nhds |
| 104 | rwa [hp] at hx |
| 105 | have hg : Tendsto (arc b) (𝓝 0) (𝓝 0) := by |
| 106 | have h := hb.arc_smooth.continuousAt.tendsto; rwa [hp] at h |
| 107 | have hP := vert_smooth P 0 (hp ▸ hb.action) |
| 108 | have he := hP.eventually_apply_eq_iff_implicitFunction (by simp) hD |
| 109 | have hv := (continuous_fst.tendsto (0:X × Y)) |
| 110 | filter_upwards [he, hv.eventually (hg.eventually he), hv.eventually hb.station] with z h1 h2 h3 hr |
| 111 | have h4 : vert P (arc b z.1) = 0 := h3 |
| 112 | exact (h1.mp (hr.trans hh.symm)).symm.trans (h2.mp (h4.trans hh.symm)) |
| 113 | end YM.AnalyticNext.QuarticMatch |