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.Cells.Packing |
| 2 | |
| 3 | /-! |
| 4 | # Point estimates on actual cluster grids: automatic limit for varying combinations |
| 5 | |
| 6 | Use point port *only at generic configurations* (including distant trains when |
| 7 | generic). No strengthening to R×N filter. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Cells |
| 12 | open Function Set Filter MeasureTheory |
| 13 | open Lattice Wilson Extraction |
| 14 | open scoped Topology BigOperators |
| 15 | variable {G : Gauge} {L : Register G} {n : ℕ} (C : Family G) (f : Extraction.Order) (S : Table C.book) |
| 16 | |
| 17 | lemma eventual_grid {n k} (H : f.PointLimits C S) (u : Fin n → Cover) (h : Extraction.Order.grid C k u ∈ generic n) (v : Fin n → C.book.Token) : |
| 18 | f.limits (fun p => Extraction.Order.grid C k u ∈ Cyclic C.S p n) (fun N p => C.numeric N p v (fun i => location C.S k N p (u i))) |
| 19 | (S.read (Extraction.Order.grid C k u) v) := by |
| 20 | classical |
| 21 | let x := Extraction.Order.grid C k u |
| 22 | obtain ⟨P,hP,hV⟩ := H |
| 23 | have he : ∀ᶠ i : ℕ in atTop, x∈ Cyclic C.S (f.per i) n := by |
| 24 | filter_upwards [f.per.cofinal.eventually (room C.S (isCompact_singleton (x := x)))] with i hi |
| 25 | exact (no_wrap_tie C.S (hi (mem_singleton x))).2 h |
| 26 | refine ⟨he, fun p => (P p).read x v,?_,?_⟩ |
| 27 | · intro p hp |
| 28 | let d (N : ℕ) : Fin n → Cover := fun i => if h : k ≤ N then (C.S.toDepth h p).count.val • u i else 0 |
| 29 | have hu : ∀ᶠ j : ℕ in atTop, k ≤ f.mesh j := f.mesh.cofinal.eventually (eventually_ge_atTop _) |
| 30 | have hx (j : ℕ) (hj : k ≤ f.mesh j) : Extraction.Order.grid C (f.mesh j) (d (f.mesh j)) = x := by |
| 31 | apply PiLp.ext; intro i |
| 32 | apply PiLp.ext; intro a |
| 33 | simp only [x,Extraction.Order.grid,d,dif_pos hj,points_apply] |
| 34 | simp only [Schedule.gridPoint, WithLp.ofLp_toLp] |
| 35 | rw [show ((((C.S.toDepth hj p).count.val • u i) : Cover) a : ℤ) = |
| 36 | ((C.S.toDepth hj p).count.val : ℤ) * u i a by simp] |
| 37 | rw [Int.cast_mul,Int.cast_natCast, ← mul_assoc,C.S.embeds_scale] |
| 38 | have ht := f.evaluated C hP p n v x hp (fun j => d (f.mesh j)) |
| 39 | (tendsto_const_nhds.congr' (hu.mono fun i hi => (hx i hi).symm)) |
| 40 | refine ht.congr' (hu.mono ?_) |
| 41 | intro i hi |
| 42 | apply congr_arg (C.numeric _ _ _) |
| 43 | simp_rw [location,d, dif_pos hi, Ratio.embed_wrap] |
| 44 | apply Metric.tendsto_nhds.mpr |
| 45 | intro ε hε |
| 46 | have he := hV n {x} isCompact_singleton (singleton_subset_iff.mpr h) v ε hε |
| 47 | filter_upwards [he] with i hi |
| 48 | rw [dist_eq_norm] |
| 49 | exact hi x (mem_singleton _) |
| 50 | |
| 51 | lemma when_varying {d : Caps n} (p : C.book.Vector d) (B : ℕ → ℕ → C.book.Vector d) {T : ℕ → ℕ → Moment C.book n d} |
| 52 | (M : Moment C.book n d) {A : ℕ → Prop} (H : ∀ v, f.limits A (fun N P => T N P v) (M v)) |
| 53 | (H' : ∀ i : Fin n, f.limits A (fun N P => B N P i) (p i)) : |
| 54 | f.limits A (fun N P => T N P (B N P)) (M p) := by |
| 55 | have hp := (H p).1 |
| 56 | choose v hv hs using fun x => (H x).2 |
| 57 | choose g hg hh using fun i => (H' i).2 |
| 58 | let E (i) := dial (L := C.book) d i |
| 59 | let J := (i : Fin n) → (C.book.coord (d i)).Index |
| 60 | letI : Fintype J := Pi.instFintype |
| 61 | let Y (r : J) i := E i (r i) |
| 62 | let W (F : C.book.Vector d) (r : J) := ∏ i, (E i).repr (F i) (r i) |
| 63 | have he (X : Moment C.book n d) (t : C.book.Vector d) : |
| 64 | X t = ∑ j : J, W t j * X (Y j) := by |
| 65 | have hx : t = fun i => ∑ k, (E i).repr (t i) k • E i k := |
| 66 | funext fun i => ((E i).sum_repr _).symm |
| 67 | conv_lhs => rw [hx] |
| 68 | rw [MultilinearMap.map_sum]; apply Finset.sum_congr rfl |
| 69 | exact fun i _ => X.map_smul_univ (fun k => (E k).repr (t k) (i k)) _ |
| 70 | refine ⟨hp,fun p => ∑ j : J, W (fun i => g i p) j * v (Y j) p,?_,?_⟩ |
| 71 | · intro P hP |
| 72 | have HH (j : J) : Tendsto (fun N => W (B (f.mesh N) P) j) atTop (𝓝 (W (fun i => g i P) j)) := by |
| 73 | apply tendsto_finsetProd _; intro k _ |
| 74 | exact (((E k).coord (j k)).continuous_of_finiteDimensional.continuousAt.tendsto.comp (hg k P hP)) |
| 75 | exact (tendsto_finsetSum Finset.univ (fun j _ => (HH j).mul (hv (Y j) P hP))).congr' |
| 76 | (Eventually.of_forall fun i => (he (T (f.mesh i) P) (B _ _)).symm) |
| 77 | rw [he M p] |
| 78 | refine tendsto_finsetSum _ fun j _ => Tendsto.mul (f := fun s : ℕ => W (fun i => g i (f.per s)) j) ?_ (hs (Y j)) |
| 79 | apply tendsto_finsetProd _; intro k _ |
| 80 | exact ((E k).coord (j k)).continuous_of_finiteDimensional.continuousAt.tendsto.comp (hh k) |
| 81 | |
| 82 | lemma keeps_moments {k d} (u : Fin n → Cover) (hx : Extraction.Order.grid C k u∈ generic n) (H : f.PointLimits C S) |
| 83 | (p : C.book.Vector (n := n) d) (B : ℕ → ℕ → C.book.Vector d) |
| 84 | (hB : ∀ i : Fin n, f.limits (fun _ => True) (fun N P => B N P i) (p i)) : |
| 85 | f.limits (fun p => Extraction.Order.grid C k u ∈ Cyclic C.S p n) (fun N P => C.ensemble d (fun i => location C.S k N P (u i)) (B N P)) |
| 86 | (S.value d (Extraction.Order.grid C k u) p) := by |
| 87 | let A p := Extraction.Order.grid C k u ∈ Cyclic C.S p n |
| 88 | have he (v : C.book.Vector d) : f.limits A (fun N P => C.ensemble d (fun i => location C.S k N P (u i)) v) |
| 89 | (S.value d (Extraction.Order.grid C k u) v) := eventual_grid C f S H u hx (fun i => ⟨d i,v i⟩) |
| 90 | apply when_varying C f p B _ he |
| 91 | intro i |
| 92 | obtain ⟨-,v,hV,ht⟩ := hB i |
| 93 | exact ⟨(he p).1,v,fun p _ => hV p trivial,ht⟩ |
| 94 | end YM.Cells |