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.FullVolume.Strings |
| 2 | |
| 3 | /-! # Actual multilinear interpolation on right-closed cubes of the mesh |
| 4 | |
| 5 | This is the interpolant (apply AFTER lattice differences). No assertion |
| 6 | that such a function is smooth along arbitrary cell boundaries. |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.FullVolume |
| 11 | open Function Set Filter Metric MeasureTheory Lattice RG Wilson Extraction Extraction.Lease Difference Gaps Cells Asymptotics Finset |
| 12 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 13 | variable {G:Gauge}{C:Family G}{e:Extraction.Sequence}{p N n:ℕ} |
| 14 | |
| 15 | /-- true coordinate fraction relative to right end (lower vertex weight) -/ |
| 16 | def dep (t:ℝ)(x:Points n)(a:MotionIndex n) := ↑(address t x a.1 a.2) - x a.1 a.2/t |
| 17 | lemma frac (t:ℝ)(_ht:0<t)(x:Points n)(a:MotionIndex n): 0 ≤ dep t x a ∧ dep t x a ≤ 1:= by |
| 18 | unfold dep address |
| 19 | have h:= Int.le_ceil (x a.1 a.2/t); have hh:= Int.ceil_lt_add_one (x a.1 a.2/t); constructor <;> linarith |
| 20 | |
| 21 | abbrev Vertex (n:ℕ) := MotionIndex n→Bool |
| 22 | /-- True for coordinates taking the left endpoint. -/ |
| 23 | def vertex (x:Points n)(t:ℝ)(v:Vertex n)(i:Fin n)(a:Axis):ℤ:= address t x i a-(if v (i,a) then 1 else 0) |
| 24 | def mass (x: Points n)(t:ℝ)(v:Vertex n):= ∏ a, if v a then dep t x a else 1-dep t x a |
| 25 | |
| 26 | lemma sums (x: Points n)(t:ℝ) : ∑ a:Vertex n, mass x t a =1:=by |
| 27 | unfold mass; rw [← Fintype.prod_sum (κ:=fun (_:MotionIndex n)=> Bool) (fun a u=> if u then dep t x a else 1-dep t x a)]; simp [Fintype.sum_bool] |
| 28 | lemma mass_pos (x:Points n){t:ℝ}(ht:0<t)(v:Vertex n): 0≤mass x t v:= Finset.prod_nonneg fun a _=> by |
| 29 | dsimp only; split; exact (frac t ht x a).1; exact sub_nonneg.mpr (frac t ht x a).2 |
| 30 | |
| 31 | /-- a coarse cover radius sufficient uniformly through the whole cube -/ |
| 32 | lemma surrounds (x:Points n) (v:Vertex n) {t:ℝ} (ht: 0<t): |
| 33 | dist (tag t (vertex x t v)) x≤ 2*(4*n:ℝ)*t:=by |
| 34 | let F:= (tag t (vertex x t v)); let H:= F-x |
| 35 | have he a b: |F a b-x a b|≤2*t:=by |
| 36 | have hk:=coord_grid_bound ht x a b; change |t*(vertex x t v a b:ℝ)- _|≤ _; change |t*↑(address t x a b)-_|≤ _ at hk |
| 37 | unfold vertex; split; next h=> |
| 38 | rw [Int.cast_sub,Int.cast_one]; grind |
| 39 | next => simp only [sub_zero]; linarith |
| 40 | rw [dist_eq_norm]; change ‖H‖ ≤ _ |
| 41 | apply (sq_le_sq₀ (norm_nonneg _) (by positivity)).mp |
| 42 | rw [← Points.flatten.norm_map H, EuclideanSpace.real_norm_sq_eq] |
| 43 | refine le_trans (Finset.sum_le_sum (g:=fun (_:Fin n × Axis)=> (2*t)^2) ?_) ?_ |
| 44 | · intro i _; change (F i.1 i.2-x i.1 i.2)^2 ≤ _; exact sq_le_sq.mpr (by rw [abs_of_nonneg (by positivity : 0≤2*t)]; exact he ..) |
| 45 | simp only [Finset.sum_const,Finset.card_univ,Fintype.card_prod,Fintype.card_fin,nsmul_eq_mul,Nat.cast_mul,Nat.cast_ofNat] |
| 46 | rcases Nat.eq_zero_or_pos n with hh|hh |
| 47 | · rw [hh]; simp |
| 48 | calc |
| 49 | _ ≤ ((n:ℝ)*4)^2*(2*t)^2:=by gcongr; nlinarith [show (1:ℝ) ≤ n by exact_mod_cast hh] |
| 50 | _ = _:=by ring |
| 51 | |
| 52 | def interpolated (S:Schedule)(N:ℕ)(F:Positions n→ℂ)(x:Points n):= ∑ a:Vertex n, |
| 53 | mass x (S.a N) a • F (vertex x (S.a N) a) |
| 54 | |
| 55 | lemma coinprice (f : Points n→ℂ) (N:ℕ) (S:Schedule) (F : Positions n→ℂ)(x:Points n)(z:ℝ)(h:∀ i:Vertex n, dist (F (vertex x (S.a N) i)) (f x)≤z) : |
| 56 | dist (interpolated S N F x) (f x)≤z:=by |
| 57 | rw [dist_eq_norm] |
| 58 | let v:=vertex x (S.a N); let p:= mass x (S.a N) |
| 59 | have hp:= fun i:Vertex n=> mass_pos x (S.a_pos N) i |
| 60 | rw [show interpolated S N F x-f x=∑ i,p i • (F (v i)-f x) by simp only [smul_sub, Finset.sum_sub_distrib, ← Finset.sum_smul,p,sums,one_smul];rfl] |
| 61 | refine (norm_sum_le ..).trans ((Finset.sum_le_sum (g:=fun i=>p i*z) (fun i _=>?_)).trans_eq (by rw [← Finset.sum_mul, sums,one_mul])) |
| 62 | rw [norm_smul,Real.norm_of_nonneg (hp i), ← dist_eq_norm]; exact mul_le_mul_of_nonneg_left (h i) (hp i) |
| 63 | |
| 64 | theorem held {F:ℕ→Positions n→ℂ}{f:Points n→ℂ}(h:Cluster C e p n F f): |
| 65 | Meets (NoHit C.S p n) (fun i=> interpolated C.S (e i) (F (e i))) f:=by |
| 66 | refine ⟨h.1,fun K hx hK ε hε=>?_⟩ |
| 67 | suffices H:∀ j:Vertex n, ∀ᶠ i in atTop, ∀ x∈K, dist (F (e i) (vertex x (C.S.a (e i)) j)) (f x)≤ε/2 from |
| 68 | (eventually_all.mpr H).mono (fun _ hi x hX=> (coinprice _ _ _ _ _ _ (fun i=>hi i _ hX)).trans_lt (half_lt_self hε)) |
| 69 | intro j; by_contra! ht |
| 70 | choose s hs x hX hH using frequently_atTop.mp ht |
| 71 | obtain ⟨y,hy,w,hw,hW⟩:= hK.tendsto_subseq hX |
| 72 | let Y i:=x (w i); let g:=s ∘ w |
| 73 | have hg:Tendsto g atTop atTop:=tendsto_atTop_mono (fun i=>hs (w i)) hw.tendsto_atTop |
| 74 | let q i:= vertex (Y i) (C.S.a (e (g i))) j |
| 75 | have hh:Tendsto (fun i=> tag (C.S.a (e (g i))) (q i)) atTop (𝓝 y):= hW.congr_dist (squeeze_zero (fun _=>dist_nonneg) (fun i=>(dist_comm ..).trans_le (surrounds _ _ (C.S.a_pos _))) (by simpa using! (((C.S.shrinks.comp e.cofinal).comp hg).const_mul (2*(4*(n:ℝ)):ℝ)))) |
| 76 | have hp:= (h.2 y (hx hy) q g hg hh).dist (((h.1.continuousAt ((nohitOpen ..).mem_nhds (hx hy))).tendsto).comp hW); rw [dist_self] at hp |
| 77 | obtain ⟨i,hi⟩:= (hp.eventually (ge_mem_nhds (half_pos hε))).exists; exact (hH (w i)).not_ge hi |
| 78 | end YM.FullVolume |