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.PCalc.Band |
| 2 | |
| 3 | /-! |
| 4 | # Normalize the physical measure, not a tangent-gaussian surrogate |
| 5 | |
| 6 | Derive overlap law for true local chart Jacobians. |
| 7 | |
| 8 | No LieGroup structure |
| 9 | assumed. |
| 10 | |
| 11 | Can shrink radius as needed. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.LocalH |
| 16 | open Function Filter MeasureTheory Set Metric Precision NormedSpace |
| 17 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators ENNReal |
| 18 | |
| 19 | variable (G : Gauge) |
| 20 | |
| 21 | def snap (x : G.El) := G.plog (G.mat x) |
| 22 | |
| 23 | def Geom (U : Set G.El) (s : Set G.Color) := |
| 24 | IsOpen U ∧ IsOpen s ∧ |
| 25 | LeftInvOn (snap G) G.lieExp s ∧ RightInvOn (snap G) G.lieExp U ∧ |
| 26 | MapsTo (snap G) U s ∧ MapsTo G.lieExp s U ∧ ∀ x∈U, ContDiffAt ℝ ω G.plog (G.mat x) |
| 27 | |
| 28 | lemma exp_open : ∀ᶠ b : G.Color in nhds 0, ∀ s : Set G.Color, IsOpen s → b ∈ s → G.lieExp '' s ∈ nhds (G.lieExp b) := by |
| 29 | obtain ⟨V,hV,ho,h1⟩ := _root_.mem_nhds_iff.mp G.plog_right |
| 30 | have he := G.plog_diff.eventually (by simp) |
| 31 | filter_upwards [G.plog_left, G.lieExp_cont.continuousAt.preimage_mem_nhds (x:=0) (ho.mem_nhds |
| 32 | (show G.lieExp 0∈V from by rwa [G.mat_lieExp_zero])), ((G.continuous_mat.comp G.lieExp_cont).tendsto (0:G.Color)).eventually (by simp only [comp_apply,G.mat_lieExp_zero,G.mat_one]; exact he)] with b hb hh hZ |
| 33 | intro s hs hx |
| 34 | have hp : G.lieExp b∈V:=hh |
| 35 | have hr : Tendsto (snap G) (nhds (G.lieExp b)) (nhds b) := by |
| 36 | have hu : ContDiffAt ℝ ω G.plog (G.mat (G.lieExp b)):=hZ |
| 37 | simpa only [snap,comp_def,hb] using! hu.continuousAt.tendsto.comp (G.continuous_mat.tendsto (G.lieExp b)) |
| 38 | filter_upwards [ho.mem_nhds hp,hr (hs.mem_nhds hx)] with x h1 h2 |
| 39 | exact ⟨_,(h2 : snap G x ∈ s),(hV h1 : G.lieExp (snap G x)=x)⟩ |
| 40 | |
| 41 | lemma geom_patch : ∃ R : ℝ,0<R ∧ ∀ r : ℝ, r≤R → Geom G (G.lieExp '' ball 0 r) (ball 0 r) := by |
| 42 | have he : ∀ᶠ b : G.Color in nhds 0, ContDiffAt ℝ ω G.plog (G.mat (G.lieExp b)) := ((G.continuous_mat.comp G.lieExp_cont).tendsto (0:G.Color)).eventually (by simp only [comp_apply,G.mat_lieExp_zero,G.mat_one]; exact G.plog_diff.eventually (by simp)) |
| 43 | obtain ⟨R,hR,H⟩ := Metric.mem_nhds_iff.mp (he.and (G.plog_left.and (exp_open G))) |
| 44 | refine ⟨R,hR,fun r hr => ?_⟩ |
| 45 | have hh : ball (0:G.Color) r ⊆ ball 0 R := ball_subset_ball hr |
| 46 | have hf : LeftInvOn (snap G) G.lieExp (ball 0 r) := fun x hx => (H (hh hx)).2.1 |
| 47 | refine ⟨isOpen_iff_mem_nhds.mpr ?_,isOpen_ball, hf,?_,?_,mapsTo_image _ _,?_⟩ |
| 48 | · rintro v ⟨x,hx,rfl⟩; exact (H (hh hx)).2.2 _ isOpen_ball hx |
| 49 | · rintro _ ⟨x,hx,rfl⟩; rw [hf hx] |
| 50 | · rintro _ ⟨x,hx,rfl⟩; rw [hf hx]; exact hx |
| 51 | rintro _ ⟨x,hx,rfl⟩; exact (H (hh hx)).1 |
| 52 | |
| 53 | def move (u : G.El) (b : G.Color) := snap G (u*G.lieExp b) |
| 54 | |
| 55 | def coat (x : G.Color) := fderiv ℝ (move G (G.lieExp x)⁻¹) x |
| 56 | |
| 57 | def spin (x : G.Color) := (coat G x).det |
| 58 | |
| 59 | lemma spin_deriv (x : G.Color) : ContDiffAt ℝ ω (spin G) x := by |
| 60 | have he : ContDiff ℝ ω (fun z : G.Color × G.Color => star (G.mat (G.lieExp z.1)) * G.mat (G.lieExp z.2)) := by |
| 61 | exact (((show G.Mat ≃L[ℝ] G.Mat from starL ℝ).contDiff).comp (G.exp_jet.comp contDiff_fst)).mul (G.exp_jet.comp contDiff_snd) |
| 62 | have ht : ContDiffAt ℝ ω (fun z : G.Color × G.Color => G.plog (star (G.mat (G.lieExp z.1)) * G.mat (G.lieExp z.2))) (x,x) := by |
| 63 | refine ContDiffAt.comp (g:=G.plog) _ ?_ he.contDiffAt |
| 64 | simp only [G.mat_star_mul] |
| 65 | exact G.plog_diff |
| 66 | have hw : ContDiffAt ℝ ω (coat G) x := |
| 67 | ContDiffAt.fderiv (f:=fun p => move G (G.lieExp p)⁻¹) (g:=id) ht contDiffAt_id (by simp) |
| 68 | let b := (EuclideanSpace.basisFun G.ColorIndex ℝ).toBasis |
| 69 | have hs : spin G = fun v => ((LinearMap.toMatrix b b) ((coat G v) : G.Color →ₗ[ℝ] G.Color)).det := by funext v; rw [LinearMap.det_toMatrix]; rfl |
| 70 | rw [hs]; simp_rw [Matrix.det_apply] |
| 71 | refine ContDiffAt.sum fun σ _ => ?_ |
| 72 | have hg : ContDiffAt ℝ ω (fun v => ∏ i, ((LinearMap.toMatrix b b) ((coat G v) : G.Color →ₗ[ℝ] G.Color)) (σ i) i) x := by |
| 73 | refine contDiffAt_prod fun i _ => ?_ |
| 74 | simp only [LinearMap.toMatrix_apply] |
| 75 | exact ((b.coord (σ i)).toContinuousLinearMap.contDiff.contDiffAt).comp x (hw.clm_apply (g:=fun _ => b i) contDiffAt_const) |
| 76 | exact ContDiffAt.const_smul _ hg |
| 77 | |
| 78 | lemma coat_zero : coat G 0=ContinuousLinearMap.id ℝ G.Color := by |
| 79 | unfold coat; rw [G.mat_lieExp_zero,inv_one] |
| 80 | have he : HasFDerivAt id (ContinuousLinearMap.id ℝ G.Color) 0 := hasFDerivAt_id _ |
| 81 | apply (he.congr_of_eventuallyEq (f₁:=move G 1) ?_).fderiv |
| 82 | filter_upwards [G.plog_left] with x hx |
| 83 | simp only [move,one_mul]; exact hx |
| 84 | |
| 85 | lemma spin_zero : spin G 0=1 := by rw [spin,coat_zero]; exact map_one LinearMap.det |
| 86 | |
| 87 | lemma move_drifts {U : Set G.El} {s} (H : Geom G U s) {u : G.El} {b} |
| 88 | (h : u*G.lieExp b ∈ U) : HasFDerivAt (move G u) (fderiv ℝ (move G u) b) b := by |
| 89 | have he : ContDiff ℝ ω (fun a => G.mat (u*G.lieExp a)) := contDiff_const.mul G.exp_jet |
| 90 | have hp : ContDiffAt ℝ ω (move G u) b := (H.2.2.2.2.2.2 _ h).comp (g:=G.plog) (f:=fun a => G.mat (u * G.lieExp a)) b he.contDiffAt |
| 91 | exact (hp.differentiableAt (by simp)).hasFDerivAt |
| 92 | |
| 93 | def imageHit (U : Set G.El) (g : G.El) := {x | g⁻¹*x∈U} |
| 94 | |
| 95 | lemma spins {U : Set G.El} {s : Set G.Color} (H : Geom G U s) (hu : (1:G.El)∈U) |
| 96 | {u : G.El} (b : G.Color) (h : u*G.lieExp b∈U) : spin G (move G u b)*(fderiv ℝ (move G u) b).det = spin G b := by |
| 97 | let y := move G u b |
| 98 | have hy : G.lieExp y=u * G.lieExp b := H.2.2.2.1 h |
| 99 | let F := move G u |
| 100 | have hw : move G (G.lieExp b)⁻¹ =ᶠ[nhds b] (move G (G.lieExp y)⁻¹ ∘ F) := by |
| 101 | have hr : ∀ᶠ z in nhds b,u*G.lieExp z∈U := (continuous_const.mul G.lieExp_cont).continuousAt (H.1.mem_nhds h) |
| 102 | filter_upwards [hr] with z hz |
| 103 | have he : G.lieExp (F z)=u*G.lieExp z := H.2.2.2.1 hz |
| 104 | simp only [comp_apply,move] at *; rw [he,hy]; simp |
| 105 | have hp := move_drifts G H (u:=(G.lieExp y)⁻¹) (b:=F b) (by simpa only [show F b=y from rfl,inv_mul_cancel] using hu) |
| 106 | have he := ((hp.comp b (move_drifts G H h)).congr_of_eventuallyEq hw).fderiv |
| 107 | change fderiv ℝ (move G (G.lieExp b)⁻¹) b= _ at he |
| 108 | change (coat G y).det * _=(fderiv ℝ _ b).det; rw [he] |
| 109 | exact (LinearMap.det_comp _ _).symm |
| 110 | end YM.LocalH |