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 Mathlib.Analysis.CStarAlgebra.ContinuousLinearMap |
| 2 | import YM.SNAG.Dense |
| 3 | |
| 4 | /-! |
| 5 | # Nondegenerate and recovers ORIGINAL group, no atom from fake infinity |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.SNAG |
| 10 | open Function Set Filter Spectral Boundary Probe MeasureTheory Measure Complex |
| 11 | open scoped Topology NNReal ENNReal InnerProductSpace ComplexOrder BigOperators ContDiff |
| 12 | variable {H : Hilbert} {X : Type*} [NormedAddCommGroup X] [InnerProductSpace ℝ X] |
| 13 | [FiniteDimensional ℝ X] [MeasurableSpace X] [BorelSpace X] (S : Orbit H X) |
| 14 | |
| 15 | lemma swing {f w : Probe X} (b : X) (h : ∀ x, w x=plane x b*f x) : (S.translation b).comp (send S f)=send S w := by |
| 16 | have hh (p : X) : cut f p=cut w (b+p) := by |
| 17 | rw [cutting,cutting]; congr 1 |
| 18 | refine integral_congr_ae (ae_of_all _ fun x => ?_) |
| 19 | dsimp only |
| 20 | rw [h,← mul_assoc,← plane_add, show -(b+p)+b=-p by abel] -- -(b+p)+b=... |
| 21 | ext1 v |
| 22 | rw [ContinuousLinearMap.comp_apply,sending,sending, ← ContinuousLinearMap.integral_comp_comm (S.translation b) (over ..), |
| 23 | ← integral_add_left_eq_self (fun p => cut w p • S.translation p v) b] |
| 24 | simp_rw [map_smul,hh,← ContinuousLinearMap.comp_apply,S.sends] |
| 25 | |
| 26 | def panel (f : Probe X) (b : X) (h : HasCompactSupport ⇑f) : Probe X := |
| 27 | let y := fun x : X => plane x b*f x |
| 28 | have he : HasCompactSupport y := HasCompactSupport.mul_left h |
| 29 | have hu : ContDiff ℝ ∞ (fun x : X => inner ℝ x b) := contDiff_id.inner ℝ contDiff_const |
| 30 | have hv : ContDiff ℝ ∞ (fun x => plane x b) := ((ofRealCLM.contDiff.comp hu).mul contDiff_const).cexp |
| 31 | he.toSchwartzMap (hv.mul (f.smooth _)) |
| 32 | omit [FiniteDimensional ℝ X] [MeasurableSpace X] [BorelSpace X] in |
| 33 | lemma piece (f : Probe X) (b : X) (h : HasCompactSupport ⇑f) : HasCompactSupport ⇑(panel f b h) := |
| 34 | HasCompactSupport.mul_left h |
| 35 | |
| 36 | def angle (R : ℝˣ) : X ≃L[ℝ] X := ContinuousLinearEquiv.smulLeft R |
| 37 | omit [FiniteDimensional ℝ X] [MeasurableSpace X] [BorelSpace X] in |
| 38 | lemma hits (x : X) (R : ℝˣ) : angle R x = (R:ℝ) • x := rfl |
| 39 | |
| 40 | lemma scaling (t : Probe X) (R : ℝˣ) (hR : 0 < (R:ℝ)) (p : X) : |
| 41 | cut (along (angle R⁻¹) t) p = (↑((R:ℝ)^Module.finrank ℝ X):ℂ) * cut t ((R:ℝ) • p) := by |
| 42 | rw [cutting,cutting,mul_left_comm]; congr 1; rw [← Complex.real_smul, |
| 43 | ← Measure.integral_comp_inv_smul_of_nonneg (R := R) (f := fun x => plane x (-((R:ℝ) • p))* t x) _ hR.le] |
| 44 | refine integral_congr_ae (ae_of_all _ fun x => ?_) |
| 45 | dsimp only |
| 46 | rw [along_at,hits, Units.val_inv_eq_inv_val,plane,plane,real_inner_smul_left,inner_neg_right,inner_neg_right,real_inner_smul_right] |
| 47 | simp [R.ne_zero] |
| 48 | |
| 49 | lemma spreads (f : Probe X) (x : H) (R : ℝˣ) (hr : 0<(R:ℝ)) : |
| 50 | send S (along (angle R⁻¹) f) x = ∫ y, cut f y • S.translation ((R:ℝ)⁻¹ • y) x := by |
| 51 | rw [sending] |
| 52 | simp_rw [scaling _ R hr,mul_smul,integral_smul] |
| 53 | have he y : S.translation y x=S.translation ((R:ℝ)⁻¹ • ((R:ℝ) • y)) x := by rw [inv_smul_smul₀ R.ne_zero] |
| 54 | simp_rw [show (fun y => cut f ((R:ℝ) • y) • S.translation y x) = _ from funext fun y => congr_arg (cut f ((R:ℝ) • y) • ·) (he y), |
| 55 | Measure.integral_comp_smul_of_nonneg (R := (R:ℝ)) (hR := hr.le) (f := fun y => cut f y • S.translation ((R:ℝ)⁻¹ • y) x) volume] |
| 56 | change (R:ℝ)^Module.finrank ℝ X • ((R:ℝ)^Module.finrank ℝ X)⁻¹ • (_:H.space)=_ |
| 57 | rw [smul_inv_smul₀ (by positivity)] -- rfl? |
| 58 | |
| 59 | abbrev far (n : ℕ) : ℝˣ := Units.mk0 (↑(n+1):ℝ) (by positivity) |
| 60 | lemma far_pos (n) : 0< (far n:ℝ) := by unfold far; norm_num; positivity |
| 61 | omit [FiniteDimensional ℝ X] [MeasurableSpace X] [BorelSpace X] in |
| 62 | lemma step (p : X) : Tendsto (fun n : ℕ => (((far n:ℝ))⁻¹ • p : X)) atTop (𝓝 0) := by |
| 63 | have h : Tendsto (fun n => (far n:ℝ)) atTop atTop := by |
| 64 | apply tendsto_natCast_atTop_atTop.comp (tendsto_add_atTop_nat 1) |
| 65 | simpa using (tendsto_inv_atTop_zero.comp h).smul (tendsto_const_nhds (x := p)) |
| 66 | |
| 67 | def wide (f : Probe X) (n : ℕ) := along (angle (far n)⁻¹) f |
| 68 | omit [FiniteDimensional ℝ X] [MeasurableSpace X] [BorelSpace X] in |
| 69 | lemma broad (f : Probe X) (h : HasCompactSupport ⇑f) (n) : HasCompactSupport ⇑(wide f n) := by |
| 70 | let F : X ≃ₜ X := (angle (X := X) (far n)⁻¹).toHomeomorph |
| 71 | apply HasCompactSupport.intro (h.image F.symm.continuous) |
| 72 | intro x hx; change f (F x)=0; exact image_eq_zero_of_notMem_tsupport (show F x∉tsupport f from fun hf => hx ⟨_,hf,F.symm_apply_apply _⟩) |
| 73 | omit [FiniteDimensional ℝ X] [MeasurableSpace X] [BorelSpace X] in |
| 74 | lemma focus_w (p : X) (f : Probe X) : Tendsto (fun n => wide f n p) atTop (𝓝 (f 0)) := |
| 75 | f.continuous.continuousAt.tendsto.comp (step p) |
| 76 | |
| 77 | lemma zooms (f : Probe X) (h : f 0=1) (v : H) : Tendsto (fun n : ℕ => send S (wide f n) v) atTop (𝓝 v) := by |
| 78 | unfold wide; simp_rw [spreads S f v (far _) (far_pos _)] |
| 79 | have he : v=∫ y, cut f y • v := by |
| 80 | have ht : (∫ y, cut f y)=1 := by |
| 81 | simpa only [plane_dot (0:X),plane_zero,one_mul,h] using light f 0 |
| 82 | rw [integral_smul_const,ht,one_smul] |
| 83 | conv_rhs => rw [he] |
| 84 | refine tendsto_integral_of_dominated_convergence (fun b => ‖cut f b‖*‖v‖) ?_ ((cut f).integrable.norm.mul_const _) ?_ ?_ |
| 85 | · intro n |
| 86 | have he := (S.moves v).comp ((continuous_const (y := (far n:ℝ)⁻¹)).smul (continuous_id (X := X))) |
| 87 | exact ((cut f).continuous.smul he).aestronglyMeasurable |
| 88 | · exact fun _ => ae_of_all _ fun x => by simp [norm_smul,S.unitary] |
| 89 | apply ae_of_all; intro x |
| 90 | have ht := (S.moves v).continuousAt (x := 0) |>.tendsto |
| 91 | simp_rw [S.origin] at ht |
| 92 | exact tendsto_const_nhds.smul (ht.comp (step x)) |
| 93 | end YM.SNAG |