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.Extraction.StepSum |
| 2 | import YM.Extraction.Ties |
| 3 | |
| 4 | /-! |
| 5 | # Step extraction: turn genuine generic limits into ordered limits on *all* separated tests |
| 6 | |
| 7 | Check the continuum use of the finite-quadrature / JLIP proposal. Do not assume |
| 8 | estimates through ties beyond ordinary compact bounds. Handles support near |
| 9 | coordinate ties. Inner and outer a.e. exceptional sets harmless *at integration*. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Extraction |
| 14 | open Function Set Filter MeasureTheory Lattice |
| 15 | open scoped Topology ContDiff BigOperators |
| 16 | |
| 17 | variable {G : Gauge} |
| 18 | |
| 19 | /-- Lift periodic positions before wrapping; applies with arbitrary cover coordinates. -/ |
| 20 | def lifted (C : Family G) (N p : ℕ) {n : ℕ} (v : Fin n → C.book.Token) (b : Fin n → Cover) := |
| 21 | C.numeric N p v (wrap _ ∘ b) |
| 22 | |
| 23 | /-- Ports. Preceding producers (notably chessboard) must realize them. Note |
| 24 | precisely where we need each fixed period vs eventual-R. -/ |
| 25 | structure Bound (C : Family G) (g : Order) : Prop where |
| 26 | cyclic (n : ℕ) (v : Fin n → C.book.Token) (p : ℕ) (K : Set (Points n)) (hK : IsCompact K) (hv : K ⊆ NoHit C.S p n) : |
| 27 | ∃ D : ℝ, 0 ≤ D ∧ ∀ᶠ j : ℕ in atTop, ∀ b, tag (C.S.a (g.mesh j)) b ∈ K → |
| 28 | ‖lifted C (g.mesh j) p v b‖ ≤ D |
| 29 | volume (n : ℕ) (v : Fin n → C.book.Token) (K : Set (Points n)) (hp : IsCompact K) (hx : K ⊆ conf n) : |
| 30 | ∃ D : ℝ, 0 ≤ D ∧ g.late (fun N p => ∀ b, tag (C.S.a N) b ∈ K → ‖lifted C N p v b‖ ≤ D) |
| 31 | |
| 32 | theorem Bound.further {C : Family G} {f : Order} (h : Bound C f) (g : Order) : Bound C (f.refine g) := by |
| 33 | constructor |
| 34 | · intro n v p K hK hv |
| 35 | obtain ⟨D,hD,h⟩ := h.cyclic n v p K hK hv |
| 36 | exact ⟨D,hD,g.mesh.cofinal.eventually h⟩ |
| 37 | intro n v K hK hV |
| 38 | obtain ⟨D,hD,h⟩ := h.volume n v K hK hV |
| 39 | exact ⟨D,hD,Order.late_refine f g h⟩ |
| 40 | |
| 41 | namespace Order |
| 42 | variable (f : Order) (C : Family G) {P : ℕ → Table C.book} {S : Table C.book} {n : ℕ} {p : ℕ} |
| 43 | |
| 44 | /-- Sup norm bound of one test (before scaling). -/ |
| 45 | lemma testSup (t : Test n) : ∃ D : ℝ, 0 ≤ D ∧ ∀ x, ‖t x‖ ≤ D := by |
| 46 | obtain ⟨D,h⟩ := t.continuous.bounded_above_of_compact_support t.hasCompactSupport |
| 47 | exact ⟨D,(norm_nonneg (t 0)).trans (h 0), fun x => h x⟩ |
| 48 | |
| 49 | lemma mesh_pointwise (H : f.Meshes C P) {t : Test n} (h : suitable C.S p t) (v : Fin n → C.book.Token) {x : Points n} |
| 50 | (he : x ∈ Cyclic C.S p n) : |
| 51 | Tendsto (fun j => densityCell C (f.mesh j) p v t x) atTop (𝓝 (t x * (P p).read x v)) := by |
| 52 | by_cases hx : x ∈ Fund C.S p n |
| 53 | · simp_rw [stepped C _ p hx v t] |
| 54 | let r (i) := address (C.S.a (f.mesh i)) x |
| 55 | have hi := chosen (S := C.S) x |>.comp f.mesh.cofinal |
| 56 | have hp : Tendsto (fun j => C.numeric (f.mesh j) p v (bucket _ _ x)) atTop (𝓝 ((P p).read x v)) := |
| 57 | f.evaluated C H p n v x he r hi |
| 58 | exact (t.continuous.continuousAt.tendsto.comp (show |
| 59 | Tendsto (fun j => tag (C.S.a (f.mesh j)) (r j)) atTop (𝓝 x) from hi)).mul hp |
| 60 | have hw : t x = 0 := by |
| 61 | by_contra hT |
| 62 | have hu : x ∈ Inside C.S p n := h (subset_closure hT) |
| 63 | exact hx (show ∀ i a, _ < x i a ∧ x i a ≤ _ from fun i a => ⟨(hu i a).1, (hu i a).2.le⟩) |
| 64 | simp_rw [densityCell,stair,indicator_of_notMem hx, hw, zero_mul]; exact tendsto_const_nhds |
| 65 | |
| 66 | theorem intraperiod (Hp : Bound C f) (H : f.Meshes C P) {t : Test n} (h : suitable C.S p t) (v : Fin n → C.book.Token) : |
| 67 | Integrable (fun x : Points n => t x * (P p).read x v) ∧ |
| 68 | Tendsto (fun j => smears C (f.mesh j) p v t) atTop (𝓝 (t.applyTo fun x => (P p).read x v)) := by |
| 69 | classical |
| 70 | obtain ⟨D, hD,Hb⟩ := Hp.cyclic n v p _ t.hasCompactSupport (readable C.S p t h) |
| 71 | obtain ⟨R,H₁,H₂⟩ := testSup t |
| 72 | let B := (Fund C.S p n).indicator (fun _ => R*D) |
| 73 | have HI : Integrable B := (integrable_indicator_iff (full_box _ _ _).1).mpr |
| 74 | (integrableOn_const (full_box _ _ _).2.ne) |
| 75 | let F := fun j : ℕ => densityCell C (f.mesh j) p v t |
| 76 | have Hs (j) : AEStronglyMeasurable (F j) volume := (stair_int _).aestronglyMeasurable |
| 77 | have hb : ∀ᶠ j : ℕ in atTop, ∀ x, ‖F j x‖ ≤ B x := by |
| 78 | filter_upwards [Hb] with i hi x |
| 79 | by_cases he : x ∈ Fund C.S p n |
| 80 | · unfold F B; rw [stepped C _ p he, indicator_of_mem he] |
| 81 | let a := address (C.S.a (f.mesh i)) x |
| 82 | let y := tag (C.S.a (f.mesh i)) a |
| 83 | change ‖t y * lifted C (f.mesh i) p v a‖ ≤ _ |
| 84 | rcases eq_or_ne (t y) 0 with HT|HT |
| 85 | · rw [HT,zero_mul,norm_zero]; exact mul_nonneg H₁ hD |
| 86 | exact (norm_mul_le ..).trans (mul_le_mul (H₂ _) (hi a (subset_closure HT)) (norm_nonneg _) H₁) |
| 87 | simp [F,B,densityCell,stair,he] |
| 88 | have hg : ∀ᵐ x : Points n, Tendsto (fun j => F j x) atTop (𝓝 (t x * (P p).read x v)) := |
| 89 | (almostCyclic C.S p n).mono fun _ hx => f.mesh_pointwise C H h v hx |
| 90 | constructor |
| 91 | · refine HI.mono' (aestronglyMeasurable_of_tendsto_ae atTop Hs hg) ?_ |
| 92 | filter_upwards [hg] with x hx; exact le_of_tendsto hx.norm (hb.mono fun i hi => hi x) |
| 93 | simp_rw [← exactSmear C] |
| 94 | exact tendsto_integral_filter_of_dominated_convergence B (Eventually.of_forall Hs) |
| 95 | (hb.mono fun i H => Eventually.of_forall H) HI hg |
| 96 | |
| 97 | /-- Outer domination from genuine double eventuality plus mesh limits on every p. -/ |
| 98 | theorem ring_bound (H : Bound C f) (hw : f.Meshes C P) (t : Test n) (v : Fin n → C.book.Token) : |
| 99 | ∃ D : ℝ, 0 ≤ D ∧ ∀ᶠ j : ℕ in atTop, ∀ x ∈ tsupport t, x ∈ generic n → ‖(P (f.per j)).read x v‖ ≤ D := by |
| 100 | obtain ⟨K,hk,h₁,h₂⟩ := exists_compact_between t.hasCompactSupport (conf_open n) |
| 101 | (show tsupport t ⊆ conf n from t.tsupport_subset) |
| 102 | obtain ⟨D,hD,H⟩ := H.volume n v K hk h₂ |
| 103 | unfold late at H |
| 104 | refine ⟨D,hD,?_⟩ |
| 105 | filter_upwards [H,f.per.cofinal.eventually (room C.S hk)] with i hi hr x hx hG |
| 106 | let p := f.per i |
| 107 | have ht : x ∈ Cyclic C.S p n := (no_wrap_tie C.S (hr (interior_subset (h₁ hx)))).mpr hG |
| 108 | have hu := chosen (S := C.S) x |>.comp f.mesh.cofinal |
| 109 | let a j := address (C.S.a (f.mesh j)) x |
| 110 | have hg := f.evaluated C hw p n v x ht a hu |
| 111 | refine le_of_tendsto hg.norm ?_ |
| 112 | filter_upwards [hi, hu.eventually (mem_interior_iff_mem_nhds.mp (h₁ hx))] with k hl hn |
| 113 | exact hl _ hn |
| 114 | |
| 115 | theorem ordinary (H : Bound C f) (hM : f.Meshes C P) (hp : f.VolumePoints C S P) (t : Test n) (v : Fin n → C.book.Token) : |
| 116 | Integrable (fun x => t x * S.read x v) ∧ |
| 117 | Tendsto (fun i => t.applyTo fun x => (P (f.per i)).read x v) atTop (𝓝 (t.applyTo (fun x => S.read x v))) := by |
| 118 | classical |
| 119 | let K := tsupport t |
| 120 | have he := f.per.cofinal.eventually (reading C.S t) |
| 121 | let F := fun i x => t x * (P (f.per i)).read x v |
| 122 | have ha : ∀ᶠ i : ℕ in atTop, Integrable (F i) := he.mono fun i hi => (f.intraperiod C H hM hi v).1 |
| 123 | obtain ⟨D,hD,Hb⟩ := f.ring_bound C H hM t v |
| 124 | obtain ⟨R, hR, Hr⟩ := testSup t |
| 125 | let B := K.indicator fun _ : Points n => R*D |
| 126 | have hk : IsCompact K := t.hasCompactSupport |
| 127 | have ht : ∀ᶠ i : ℕ in atTop, ∀ x, x ∈ generic n → ‖F i x‖ ≤ B x := by |
| 128 | filter_upwards [Hb] with i hi x hg |
| 129 | by_cases hx : x ∈ K |
| 130 | · unfold B; rw [indicator_of_mem hx] |
| 131 | exact (norm_mul_le ..).trans (mul_le_mul (Hr x) (hi x hx hg) (norm_nonneg _) hR) |
| 132 | have hq : t x = 0 := by_contra fun w => hx (subset_closure w) |
| 133 | simp [F,B,hq,hx] |
| 134 | let Y := fun x => t x * S.read x v |
| 135 | have hr : ∀ᵐ x : Points n, Tendsto (fun i => F i x) atTop (𝓝 (Y x)) := by |
| 136 | filter_upwards [almostGeneric n] with x hx |
| 137 | have hl : Tendsto (fun i => (P (f.per i)).read x v) atTop (𝓝 (S.read x v)) := by |
| 138 | refine Metric.tendsto_nhds.mpr fun ε hε => ?_ |
| 139 | filter_upwards [hp n {x} isCompact_singleton (singleton_subset_iff.mpr hx) v ε hε] with i hi |
| 140 | simpa only [dist_eq_norm] using hi x (mem_singleton _) |
| 141 | exact hl.const_mul (t x) |
| 142 | have hy : Integrable B := (integrable_indicator_iff hk.measurableSet).mpr (integrableOn_const hk.measure_lt_top.ne) |
| 143 | constructor |
| 144 | · apply hy.mono' |
| 145 | · obtain ⟨i,hi⟩ := eventually_atTop.mp ha |
| 146 | exact aestronglyMeasurable_of_tendsto_ae atTop |
| 147 | (f := fun (j : ℕ) => F (i+j)) (fun j => (hi (i+j) (by omega)).aestronglyMeasurable) |
| 148 | (hr.mono fun x hx => hx.comp (show Tendsto (fun (j : ℕ) => i+j) atTop atTop from |
| 149 | (show StrictMono fun j => i+j from fun _ _ h => by simp only; omega).tendsto_atTop)) |
| 150 | filter_upwards [hr,almostGeneric n] with x hx hw |
| 151 | exact le_of_tendsto hx.norm (ht.mono fun i hi => hi x hw) |
| 152 | exact tendsto_integral_filter_of_dominated_convergence B (ha.mono fun i h => h.aestronglyMeasurable) |
| 153 | (ht.mono fun i hi => (almostGeneric n).mono (hi ·)) hy hr |
| 154 | |
| 155 | theorem poses (H : Bound C f) (h : f.PointLimits C S) : f.Ordered C S := by |
| 156 | obtain ⟨P,hP,hY⟩ := h |
| 157 | refine ⟨fun n v t => ⟨f.per.cofinal.eventually (reading C.S t), fun p => t.applyTo fun x => (P p).read x v, |
| 158 | (fun i hi => (f.intraperiod C H hP hi v).2), (f.ordinary C H hP hY t v).2⟩⟩ |
| 159 | end Order |
| 160 | end YM.Extraction |