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.Rephase |
| 2 | |
| 3 | /-! |
| 4 | # Coarse gauge and color invariance. Ward closure only at first unmatched jet |
| 5 | |
| 6 | Literal transformations near identity. Closure on real coefficient tensors including |
| 7 | ALL directions; not obtaining an analytic strip claim from one mesh. Cf. . |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.AnalyticNext.QuarticMatch |
| 12 | open Filter Function Matrix Precision RG Lattice Exterior Tree Bid Wilson |
| 13 | open Work.F03 Work.F04 Work.F05 Topology |
| 14 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff |
| 15 | |
| 16 | variable {G : Gauge} |
| 17 | namespace Joint |
| 18 | variable {n c f : Side} {S : StepData c f} |
| 19 | |
| 20 | lemma rec_zero : records (1 : Config G c)=0 := by funext i; simp [records] |
| 21 | |
| 22 | def adjust (z : Dir G c × LieSpin G c) := records (Lattice.gauge (power z.2) (represent z.1)) |
| 23 | |
| 24 | lemma adjust_zero : adjust (0:Dir G c × LieSpin G c)=0 := by rw [adjust,Prod.snd_zero,Prod.fst_zero,power_zero,trivial,link_one,rec_zero] |
| 25 | |
| 26 | lemma traced (i : Edge (Site c)) : Smooth (0 : Dir G c × LieSpin G c) fun z => Lattice.gauge (power z.2) (represent z.1) i := by |
| 27 | have he (i : Site c) : Smooth (0 : Dir G c × LieSpin G c) fun z => power z.2 i := |
| 28 | Smooth.power ((contDiffAt_apply ℝ G.Color i _).comp _ contDiffAt_snd) |
| 29 | exact ((he _).mul (show Smooth (0 : Dir G c × LieSpin G c) (fun z => represent z.1 i) from |
| 30 | (represent_smooth (G:=G) i).contDiffAt.comp _ contDiffAt_fst)).mul (he _).inv |
| 31 | |
| 32 | lemma adjust_analytic : ContDiffAt ℝ ω (adjust (G:=G) (c:=c)) 0 := by |
| 33 | apply contDiffAt_pi.mpr |
| 34 | intro i |
| 35 | exact (traced (G:=G) (i.1,axisEquiv.symm i.2)).plog (by rw [Prod.snd_zero, Prod.fst_zero, power_zero,trivial,link_one]; rfl) |
| 36 | |
| 37 | lemma adjusted : ∀ᶠ z : Dir G c × LieSpin G c in 𝓝 0, |
| 38 | represent (adjust z)=Lattice.gauge (power z.2) (represent z.1) := by |
| 39 | have he (i : Edge (Site c)) : ∀ᶠ z : Dir G c × LieSpin G c in 𝓝 0, |
| 40 | G.lieExp (adjust z (i.1,coord i.2))=Lattice.gauge (power z.2) (represent z.1) i := by |
| 41 | have ht := (traced (G:=G) i).tendsto |
| 42 | dsimp only [Prod.snd_zero, Prod.fst_zero] at ht |
| 43 | rw [power_zero,trivial,link_one] at ht |
| 44 | simp only [adjust,records,show axisEquiv.symm (coord i.2)=i.2 from axisEquiv.symm_apply_apply _, Prod.eta] |
| 45 | exact ht.eventually G.plog_right |
| 46 | filter_upwards [eventually_all.mpr he] with z hz |
| 47 | funext i; rw [represent_link,hz] |
| 48 | |
| 49 | /-- Positive-link color differential. -/ |
| 50 | def gradient (u : LieSpin G c) : Dir G c := fun i => u (i.1+step (axisEquiv.symm i.2)) - u i.1 |
| 51 | |
| 52 | lemma adjust_rate (a : Dir G c × LieSpin G c) : fderiv ℝ adjust 0 a = a.1 - gradient a.2 := by |
| 53 | funext i; rcases i with ⟨i,j⟩; obtain ⟨j,rfl⟩ := axisEquiv.surjective j |
| 54 | apply G.colorMat_injective |
| 55 | let e : Edge (Site c) := (i,j) |
| 56 | let T := fun t : ℝ => adjust (t • a) |
| 57 | let Q (t : ℝ) := power (t • a.2) |
| 58 | let b := fderiv ℝ adjust 0 a |
| 59 | have hd : HasDerivAt T b 0 := Push.side _ (adjust_analytic.differentiableAt (by simp)) _ |
| 60 | have he : ∀ᶠ t : ℝ in 𝓝 0, represent (T t) = Lattice.gauge (Q t) (represent (t • a.1)) := by |
| 61 | have ht : Tendsto (fun t : ℝ => t • a) (𝓝 0) (𝓝 0) := by simpa using! (show Continuous (fun t : ℝ => t • a) by fun_prop).tendsto 0 |
| 62 | exact ht.eventually adjusted |
| 63 | have hv : T 0=0 := by unfold T; rw [zero_smul,adjust_zero] |
| 64 | have hE : HasDerivAt (fun t : ℝ => G.mat (represent (T t) e)) (G.colorMat (b (i,coord j))) 0 := by |
| 65 | simp_rw [represent_link] |
| 66 | have hA : T 0 (i,coord j) = 0 := by rw [hv]; rfl |
| 67 | exact (hA.symm ▸ G.expDiff_zero : HasFDerivAt _ _ (T 0 (i,coord j))).comp_hasDerivAt (f:=fun t => T t (i,coord j)) (0:ℝ) (hasDerivAt_pi.mp hd (i,coord j)) |
| 68 | have hy (i) : HasDerivAt (fun t : ℝ => G.mat (Q t i)) (G.colorMat (a.2 i)) 0 := by |
| 69 | have hB : (0:ℝ) • a.2 i = 0 := zero_smul .. |
| 70 | have h : HasDerivAt (fun t : ℝ => t • a.2 i) (a.2 i) 0 := by |
| 71 | simpa using! (hasDerivAt_id' (0:ℝ)).smul_const (a.2 i) |
| 72 | exact (hB.symm ▸ G.expDiff_zero : HasFDerivAt _ _ ((0:ℝ) • a.2 i)).comp_hasDerivAt 0 h |
| 73 | have hz : HasDerivAt (fun t : ℝ => G.mat (Lattice.gauge (Q t) (represent (t • a.1)) e)) |
| 74 | (G.colorMat ((a.1-gradient a.2) (i,axisEquiv j))) 0 := by |
| 75 | simp_rw [Lattice.gauge,G.mat_mul, G.mat_inv] |
| 76 | convert! ((hy i).mul (represent_rate a.1 e)).mul (hy (i+step j)).star using 1 |
| 77 | simp only [Pi.mul_apply] |
| 78 | simp only [show Q 0=1 by unfold Q; rw [zero_smul, power_zero]] |
| 79 | simp only [e,Pi.sub_apply,gradient,zero_smul,link_one,show axisEquiv.symm (coord j)=j from axisEquiv.symm_apply_apply _,Pi.one_apply,G.mat_one, |
| 80 | G.colorMat_skew,one_mul,mul_one,star_one,map_sub, show axisEquiv j=coord j from rfl] |
| 81 | abel |
| 82 | exact (hE.congr_of_eventuallyEq (he.mono fun t ht => congr_arg (fun V => G.mat (V e)) ht.symm)).unique hz |
| 83 | |
| 84 | lemma lieExp_color (t : G.El) (v : G.Color) : G.lieExp (G.adjoint t v)=t*G.lieExp v*t⁻¹ := by |
| 85 | apply G.mat_injective |
| 86 | simp only [G.mat_mul,G.mat_lieExp,G.mat_inv,G.mat_adjoint] |
| 87 | exact G.exp_conjugate .. |
| 88 | |
| 89 | /-- All-orientation/fiber color equivariance useful for the path labels. -/ |
| 90 | def colors (t : G.El) {ι : Type*} [Fintype ι] : (ι → G.Color) →L[ℝ] ι → G.Color := |
| 91 | ContinuousLinearMap.pi fun i => (G.adjoint t).toContinuousLinearMap ∘L ContinuousLinearMap.proj i |
| 92 | lemma colors_onto (t : G.El) {ι : Type*} [Fintype ι] : Surjective (colors t (ι:=ι)) := by |
| 93 | intro x |
| 94 | refine ⟨colors t⁻¹ x, funext fun i => ?_⟩ |
| 95 | change G.adjoint t (G.adjoint t⁻¹ (x i))=_ |
| 96 | rw [← G.adjoint_mul,mul_inv_cancel,G.adjoint_one] |
| 97 | lemma rep_colors (t : G.El) (a : Dir G n) : represent (colors t a)=Lattice.gauge (fun _ => t) (represent a) := by |
| 98 | funext i; rw [Lattice.gauge, represent_link, represent_link]; exact lieExp_color .. |
| 99 | |
| 100 | def turn (z : LieSpin G c × LieSpin G c) : LieSpin G c := fun i => G.plog (G.mat ((power z.1 * power z.2) i)) |
| 101 | |
| 102 | lemma turn_zero : turn (0:LieSpin G c × LieSpin G c)=0 := by funext i; simp [turn,power_zero] |
| 103 | lemma turned (i : Site c) : Smooth (0:LieSpin G c × LieSpin G c) fun z => (power z.1 * power z.2) i := |
| 104 | (Smooth.power ((contDiffAt_apply ℝ G.Color i _).comp _ contDiffAt_fst : |
| 105 | ContDiffAt ℝ ω (fun z : LieSpin G c × LieSpin G c => z.1 i) 0)).mul |
| 106 | (Smooth.power ((contDiffAt_apply ℝ G.Color i _).comp _ contDiffAt_snd)) |
| 107 | lemma turn_analytic : ContDiffAt ℝ ω (turn (G:=G) (c:=c)) 0 := |
| 108 | contDiffAt_pi.mpr fun i => (turned (G:=G) i).plog (by simp [power_zero]) |
| 109 | lemma turn_law : ∀ᶠ z : LieSpin G c × LieSpin G c in 𝓝 0, power (turn z) = power z.1 * power z.2 := by |
| 110 | have he (i : Site c) : ∀ᶠ z : LieSpin G c × LieSpin G c in 𝓝 0, |
| 111 | power (turn z) i=(power z.1 * power z.2) i := by |
| 112 | have hm := (turned (G:=G) i).tendsto |
| 113 | change Tendsto (fun z : LieSpin G c × LieSpin G c => (power z.1*power z.2) i) _ (𝓝 ((power (0:LieSpin G c)*power (0:LieSpin G c)) i)) at hm |
| 114 | rw [power_zero, mul_one] at hm; exact hm.eventually G.plog_right |
| 115 | filter_upwards [eventually_all.mpr he] with z hz; exact funext hz |
| 116 | lemma turn_left : ∀ᶠ z : LieSpin G c in 𝓝 0, turn (0,z)=z := by |
| 117 | have hh (i : Site c) : ∀ᶠ z : LieSpin G c in 𝓝 0, G.plog (G.mat (G.lieExp (z i)))=z i := |
| 118 | ((continuous_apply i).tendsto (0:LieSpin G c)).eventually G.plog_left |
| 119 | filter_upwards [eventually_all.mpr hh] with z hz |
| 120 | funext i; rw [turn,power_zero,one_mul]; exact hz i |
| 121 | |
| 122 | section |
| 123 | variable {T : Forest S.ratio} {B : Bed} {p : Clip} {W : PathData G} {b : Dir G c → AxisChart G T} |
| 124 | {σ C Λ η : ℝ} |
| 125 | variable (h : S.patch.Branches S.kernel G) (hW : W.Bounds p σ C Λ) (hb : Critical T p W b) |
| 126 | (hc : Comptroller T B p W) (hp : 0 < η) (hh : PriceGap T p W η) |
| 127 | include h hW hb hc hp hh |
| 128 | |
| 129 | theorem color_value (k : S.Choices) (t : G.El) : value T k p W b ∘ colors t =ᶠ[𝓝 0] value T k p W b := by |
| 130 | let F : Vertical G c f →L[ℝ] Vertical G c f := (colors t).prodMap (colors t) |
| 131 | let L : Dir G c →L[ℝ] Dir G c := colors t |
| 132 | let U := F ∘L ContinuousLinearMap.snd ℝ (Dir G c) (Vertical G c f) |
| 133 | symm |
| 134 | apply transfigures h hW hb hc hp hh k k id L U contDiffAt_id L.contDiff.contDiffAt |
| 135 | U.contDiff.contDiffAt rfl (map_zero _) (map_zero _) |
| 136 | · filter_upwards with z |
| 137 | let φ : Spin G c := fun _ => t |
| 138 | let w : Spin G f := fun _ => t |
| 139 | have hw (x : LieSpin G c) : power (colors t x)=(φ * power x)*(w ∘ S.ratio.embed)⁻¹ := |
| 140 | funext fun i => lieExp_color .. |
| 141 | change _ = fieldAction _ _ _ _ (represent (colors t z.1)) (represent (colors t z.2.1)) (power (colors t z.2.2)) |
| 142 | rw [hw,rep_colors,rep_colors,fine_gauge h hW,coarse_gauge]; rfl |
| 143 | filter_upwards with z y |
| 144 | have hu : vMap (⇑U) z=F := by rw [vMap,U.fderiv]; rfl |
| 145 | rw [hu] |
| 146 | obtain ⟨a,ha⟩ := colors_onto t y.1 |
| 147 | obtain ⟨b,hb⟩ := colors_onto t y.2 |
| 148 | exact ⟨(a,b), Prod.ext ha hb⟩ |
| 149 | |
| 150 | theorem gauge_value (k : S.Choices) : value T k p W b ∘ adjust =ᶠ[𝓝 0] value T k p W b ∘ Prod.fst := by |
| 151 | let M := (Dir G c × LieSpin G c) × Vertical G c f |
| 152 | let F (z : M) : LieSpin G c × LieSpin G c := (z.1.2,z.2.2) |
| 153 | let U (z : M) : Vertical G c f := (z.2.1,turn (F z)) |
| 154 | have hF : ContDiffAt ℝ ω F 0 := |
| 155 | (contDiffAt_snd.comp _ contDiffAt_fst).prodMk (contDiffAt_snd.comp _ contDiffAt_snd) |
| 156 | have hU : ContDiffAt ℝ ω U 0 := (contDiffAt_fst.comp _ contDiffAt_snd).prodMk (turn_analytic.comp (f:=F) (0:M) hF) |
| 157 | symm; apply transfigures h hW hb hc hp hh k k Prod.fst adjust U contDiffAt_fst adjust_analytic hU rfl adjust_zero (Prod.ext rfl turn_zero) |
| 158 | · have he : Tendsto F (𝓝 0) (𝓝 0) := hF.continuousAt.tendsto |
| 159 | filter_upwards [he.eventually turn_law,(continuous_fst.tendsto (0:M)).eventually adjusted] with z hz hx |
| 160 | change _ = fieldAction S k p W (represent (adjust z.1)) (represent z.2.1) (power (turn (F z))) |
| 161 | rw [hx,hz]; exact (coarse_gauge ..).symm |
| 162 | apply vMap_surjective hU (T:=id) differentiableAt_id rfl |
| 163 | filter_upwards [(continuous_snd.tendsto (0 : Vertical G c f)).eventually turn_left] with z hz |
| 164 | exact Prod.ext rfl hz |
| 165 | end |
| 166 | end Joint |
| 167 | end YM.AnalyticNext.QuarticMatch |