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.Topology.Instances.Nat |
| 2 | import Mathlib.Topology.Sequences |
| 3 | import Mathlib.Topology.MetricSpace.Lipschitz |
| 4 | |
| 5 | /-! |
| 6 | # Mesh before period |
| 7 | |
| 8 | Mesh common to ALL periods. Not `Tendsto` along a single diagonal (p,N_p). |
| 9 | Use tails (`late`) or actual *two* ordinary Tendsto's (`limits`) |
| 10 | and prove stability when refining. This ports also to numerical data using the same |
| 11 | `Order`. Condition `A p` means that the test is supported inside p, etc.; we demand |
| 12 | it is eventually met on the period sequence when asking for this limit. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Extraction |
| 17 | open Function Set Filter |
| 18 | open scoped Topology BigOperators |
| 19 | |
| 20 | structure Sequence where |
| 21 | choose : ℕ → ℕ |
| 22 | monotone : StrictMono choose |
| 23 | instance : CoeFun Sequence (fun _ => ℕ → ℕ) := ⟨fun k => k.choose⟩ |
| 24 | |
| 25 | def Sequence.after (s t : Sequence) : Sequence := ⟨s ∘ t, s.monotone.comp t.monotone⟩ |
| 26 | |
| 27 | def Sequence.full : Sequence := ⟨id,fun _ _ h => h⟩ |
| 28 | |
| 29 | @[simp] theorem Sequence.after_apply (s t : Sequence) (n : ℕ) : s.after t n = s (t n) := rfl |
| 30 | @[simp] theorem Sequence.full_apply (n : ℕ) : Sequence.full n = n := rfl |
| 31 | |
| 32 | theorem Sequence.cofinal (s : Sequence) : Tendsto s atTop atTop := s.monotone.tendsto_atTop |
| 33 | |
| 34 | structure Order where |
| 35 | mesh : Sequence |
| 36 | per : Sequence |
| 37 | |
| 38 | namespace Order |
| 39 | |
| 40 | def refine (f g : Order) := Order.mk (f.mesh.after g.mesh) (f.per.after g.per) |
| 41 | |
| 42 | def full := Order.mk .full .full |
| 43 | |
| 44 | /-- Some downstream comparisons only ask for eventuality, for instance an |
| 45 | ε relaxation to an estimated bound. Period threshold first, then cutoff threshold |
| 46 | which may depend on fixed period. -/ |
| 47 | def late (f : Order) (A : ℕ → ℕ → Prop) := ∀ᶠ k : ℕ in atTop, ∀ᶠ j : ℕ in atTop, A (f.mesh j) (f.per k) |
| 48 | |
| 49 | theorem late_refine (f g : Order) {A} (h : f.late A) : (f.refine g).late A := by |
| 50 | refine g.per.cofinal.eventually (?_ : ∀ᶠ k : ℕ in atTop, ∀ᶠ j : ℕ in atTop, A (f.mesh (g.mesh j)) (f.per k)) |
| 51 | exact (show ∀ᶠ k : ℕ in atTop, ∀ᶠ j : ℕ in atTop, A (f.mesh j) (f.per k) from h).mono fun k he => |
| 52 | g.mesh.cofinal.eventually he |
| 53 | |
| 54 | /-- Do not use a totalized Limsup bound as a number without knowing the appropriate boundedness. |
| 55 | Prefer this filter predicate. -/ |
| 56 | def upper (f : Order) (A : ℕ → ℕ → ℝ) (c : ℝ) : Prop := |
| 57 | ∀ ε : ℝ, 0 < ε → f.late fun N p => A N p ≤ c + ε |
| 58 | |
| 59 | variable {X : Type*} [TopologicalSpace X] |
| 60 | |
| 61 | def limits (f : Order) (A : ℕ → Prop) (W : ℕ → ℕ → X) (x : X) := (∀ᶠ k : ℕ in atTop, A (f.per k)) ∧ |
| 62 | ∃ v : ℕ → X, |
| 63 | (∀ p, A p → Tendsto (fun j => W (f.mesh j) p) atTop (𝓝 (v p))) ∧ |
| 64 | Tendsto (fun k => v (f.per k)) atTop (𝓝 x) |
| 65 | |
| 66 | theorem retained {f g : Order} {A W} {x : X} (h : f.limits A W x) : (f.refine g).limits A W x := by |
| 67 | obtain ⟨ht,v,hv,H⟩ := h |
| 68 | exact ⟨g.per.cofinal.eventually ht,v,(fun i hi => (hv i hi).comp g.mesh.cofinal),H.comp g.per.cofinal⟩ |
| 69 | |
| 70 | theorem unique [T2Space X] (f : Order) (A) (W) {x y : X} (hx : f.limits A W x) (hy : f.limits A W y) : x=y := by |
| 71 | obtain ⟨ht,v,hV,H⟩ := hx |
| 72 | obtain ⟨-,w,hW,K⟩ := hy |
| 73 | refine tendsto_nhds_unique (f := fun k => w (f.per k)) (H.congr' ?_) K |
| 74 | filter_upwards [ht] with k hk; exact tendsto_nhds_unique (hV _ hk) (hW _ hk) |
| 75 | |
| 76 | theorem neighborhood {f : Order} {A W} {x : X} (h : f.limits A W x) {s : Set X} (hs : s ∈ 𝓝 x) : |
| 77 | f.late fun N p => W N p ∈ s := by |
| 78 | obtain ⟨u,h₁,h₂,h₃⟩ := mem_nhds_iff.mp hs |
| 79 | obtain ⟨ht,v,hV,H⟩ := h |
| 80 | unfold late |
| 81 | filter_upwards [ht,H.eventually (h₂.mem_nhds h₃)] with k hk hw |
| 82 | exact (hV _ hk).eventually (mem_of_superset (h₂.mem_nhds hw) h₁) |
| 83 | |
| 84 | /-- When mesh row limits are already included, eventuality implies the claimed ordinary limit. |
| 85 | X regular to shrink neighborhoods. -/ |
| 86 | theorem from_late [RegularSpace X] {f : Order} {A : ℕ → Prop} (ht : ∀ᶠ k : ℕ in atTop, A (f.per k)) |
| 87 | {W : ℕ → ℕ → X} (v : ℕ → X) (hV : ∀ p, A p → Tendsto (fun j => W (f.mesh j) p) atTop (𝓝 (v p))) |
| 88 | {x : X} (he : ∀ s ∈ 𝓝 x, f.late fun N p => W N p ∈ s) : f.limits A W x := by |
| 89 | refine ⟨ht,v,hV,?_⟩ |
| 90 | apply tendsto_def.mpr |
| 91 | intro s hs |
| 92 | obtain ⟨u,U₁,U₂,U₃⟩ := exists_mem_nhds_isClosed_subset hs |
| 93 | have H := he u U₁; unfold late at H |
| 94 | filter_upwards [ht,H] with k hk h |
| 95 | exact U₃ (U₂.mem_of_tendsto (hV _ hk) h) |
| 96 | end Order |
| 97 | end YM.Extraction |