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.Push.GRID_APPROXIMATION.Telescope |
| 2 | import YM.Work.C27 |
| 3 | |
| 4 | /-! |
| 5 | # Planted arrays: literally translate the probes within the Wilson field. |
| 6 | |
| 7 | Integrals here and for `spent` always on **C**. Supports localized to |
| 8 | finite native windows at those centers, shrinking physically. No mesh-limit |
| 9 | prescription for touching a seam or a diagonal is required. Provide spent |
| 10 | bound on all separated h-cell placements at each sufficiently late torus. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Push.GridApprox |
| 16 | open RG Lattice Wilson MeasureTheory Function Filter Set Cells OS |
| 17 | open scoped Topology BigOperators |
| 18 | |
| 19 | variable {G : Gauge} {ι : Type*} [Fintype ι] {C : Family G} {v : ι → C.book.Token} {h : ℕ} |
| 20 | variable (Z : ∀ i, Figures C (v i) h) |
| 21 | |
| 22 | def placed (x : ι → Cover) (q N p) (U : Config G (C.side N p)) := |
| 23 | ∏ i, (Z i).plot q N p (translate (location C.S h N p (x i)) U) |
| 24 | |
| 25 | def literal (h : ℕ) (v : ι → C.book.Token) (x : ι → Cover) (N p : ℕ) (U : Config G (C.side N p)) := |
| 26 | ∏ i, C.seen (v i) (location C.S h N p (x i)) U |
| 27 | |
| 28 | def cloud (h N p : ℕ) (x : ι → Cover) (w : ι → ℕ) : Set (Site (C.side N p)) := |
| 29 | {y | ∃ i, y∈window (location C.S h N p (x i)) (w i)} |
| 30 | |
| 31 | def limitPrice (q) := ∏ i, (Z i).cap q |
| 32 | |
| 33 | lemma literal_env (x : ι → Cover) (v : ι → C.book.Token) (h N p : ℕ) : Envelope (literal h v x N p) := |
| 34 | Envelope.prodC _ _ fun i _ => Envelope.compactC (C.continuousO N p (v i).fst (v i).snd _) |
| 35 | |
| 36 | lemma pictured {f : Extraction.Order} (hz : ∀ i, (Z i).Gives f) (q) : |
| 37 | f.late fun N p => ∀ i, PictureAt C (v i) h N p ((Z i).plot q N p) ((Z i).cap q) ((Z i).err q) ((Z i).radius q) := by |
| 38 | have he (i) := (hz i).late q |
| 39 | unfold Extraction.Order.late at * |
| 40 | filter_upwards [eventually_all.mpr he] with k hk using eventually_all.mpr hk |
| 41 | |
| 42 | lemma translated_window {n : Side} {F : Config G n → ℂ} {o : Site n} {w : ℕ} (t : Site n) (he : Interior (window o w) F) : |
| 43 | Interior (window (o+t) w) (fun U => F (translate t U)) := by |
| 44 | have hv : MapsTo (affine (1:Signed) t) (window o w) (window (o+t) w) := by |
| 45 | have hh := window_affine o t (1:Signed) (r:=w); simpa [affine] using hh |
| 46 | have ht := he.unchanged 1 t hv |
| 47 | simp only [comp_def,pull_one] at ht; exact ht |
| 48 | |
| 49 | lemma planted_outputs {f : Extraction.Order} (hz : ∀ i, (Z i).Gives f) (q) : |
| 50 | f.late fun N p => ∃ w : ι → ℕ, (∀ i, C.S.a N * w i ≤ (Z i).radius q) ∧ |
| 51 | ∀ x, Interior (cloud (C:=C) h N p x w) (placed Z x q N p) ∧ |
| 52 | ∀ U, star (placed Z x q N p U) = placed Z x q N p U ∧ ‖placed Z x q N p U‖ ≤ limitPrice Z q := by |
| 53 | have he := pictured Z hz q |
| 54 | unfold Extraction.Order.late at * |
| 55 | filter_upwards [he] with k hk |
| 56 | filter_upwards [hk] with j hj |
| 57 | let N := f.mesh j; let p := f.per k |
| 58 | choose w hw hm using fun i : ι => (hj i).short |
| 59 | refine ⟨w,hw,fun x => ?_⟩ |
| 60 | let t := fun i : ι => location C.S h N p (x i) |
| 61 | let A (i : ι) (U : Config G (C.side N p)) := (Z i).plot q N p (translate (t i) U) |
| 62 | have ha (i) : Interior (cloud (C:=C) h N p x w) (A i) := by |
| 63 | have hh := translated_window (t i) (hm i) |
| 64 | rw [zero_add] at hh |
| 65 | exact hh.enlarges fun u hu => ⟨i,hu⟩ |
| 66 | refine ⟨Interior.combines A _ (fun i _ => ha i),fun U => ?_⟩ |
| 67 | unfold placed |
| 68 | simp only [star_prod,norm_prod] |
| 69 | exact ⟨Finset.prod_congr rfl fun i _ => (hj i).real _, Finset.prod_le_prod |
| 70 | (fun i _ => norm_nonneg _) (fun i _ => (hj i).bound _)⟩ |
| 71 | |
| 72 | lemma placed_free {f : Extraction.Order} (hz : ∀ i, (Z i).Gives f) (q) : |
| 73 | f.late fun N p => ∀ x, Envelope (placed Z x q N p) ∧ |
| 74 | ∀ U, star (placed Z x q N p U) = placed Z x q N p U ∧ ‖placed Z x q N p U‖ ≤ limitPrice Z q := by |
| 75 | have he := planted_outputs Z hz q |
| 76 | unfold Extraction.Order.late at * |
| 77 | exact he.mono fun i hi => hi.mono fun j hj x => ⟨cylinder_env (hj.choose_spec.2 x).1,(hj.choose_spec.2 x).2⟩ |
| 78 | |
| 79 | /-- Price covers **all** translations x on that grid when they occupy |
| 80 | distinct cells on the torus; torus wrapping is the only distinctness test |
| 81 | needed for this comparison. -/ |
| 82 | lemma spent {f : Extraction.Order} (H : C.Makes) (hz : ∀ i, (Z i).Gives f) (q) : |
| 83 | f.late fun N p => ∀ x : ι → Cover, Injective (wrap (C.side h p) ∘ x) → |
| 84 | ‖moment (C.beta N p) (placed Z x q N p)-moment (C.beta N p) (literal h v x N p)‖ ≤ expense Z q := by |
| 85 | have he := pictured Z hz q |
| 86 | have hm := pictured Z hz 0 |
| 87 | unfold Extraction.Order.late at * |
| 88 | filter_upwards [he,hm] with k hk hh |
| 89 | filter_upwards [hk,hh,f.mesh.cofinal.eventually_ge_atTop h] with j hj hl hp x hx |
| 90 | let N := f.mesh j; let p := f.per k |
| 91 | have ht := paid_at Z H q N p hp (by |
| 92 | intro i a ha |
| 93 | simp only [Finset.mem_insert,Finset.mem_singleton] at ha |
| 94 | rcases ha with h|h <;> subst a; exacts [hj i,hl i]) |
| 95 | (fun i => ((hz i).cap_pos _).le) _ hx |
| 96 | unfold literal placed location; simp only [dif_pos hp]; exact ht |
| 97 | |
| 98 | section pair |
| 99 | variable {κ : Type*} [Fintype κ] {u : κ → C.book.Token} |
| 100 | |
| 101 | def combined (D : ∀ i, Figures C (u i) h) : ∀ i : ι ⊕ κ, Figures C (Sum.elim v u i) h |
| 102 | | Sum.inl i => Z i |
| 103 | | Sum.inr i => D i |
| 104 | |
| 105 | omit [Fintype ι] [Fintype κ] in |
| 106 | lemma combined_gives {f : Extraction.Order} (D : ∀ i, Figures C (u i) h) |
| 107 | (hz : ∀ i, (Z i).Gives f) (hd : ∀ i, (D i).Gives f) : ∀ i, (combined Z D i).Gives f := by |
| 108 | rintro (i|i); exacts [hz i,hd i] |
| 109 | |
| 110 | lemma spent_pair {f : Extraction.Order} (H : C.Makes) (D : ∀ i, Figures C (u i) h) |
| 111 | (hz : ∀ i, (Z i).Gives f) (hd : ∀ i, (D i).Gives f) (q) : |
| 112 | f.late fun N p => ∀ (x : ι → Cover) (y : κ → Cover), Injective (wrap (C.side h p) ∘ (Sum.elim x y)) → |
| 113 | ‖moment (C.beta N p) (placed Z x q N p * placed D y q N p)- |
| 114 | moment (C.beta N p) (literal h v x N p * literal h u y N p)‖ ≤ expense (combined Z D) q := by |
| 115 | have he := spent (combined Z D) H (combined_gives Z D hz hd) q |
| 116 | have hp (N p : ℕ) (x : ι → Cover) (y : κ → Cover) : |
| 117 | placed (combined Z D) (Sum.elim x y) q N p = placed Z x q N p * placed D y q N p := by |
| 118 | funext U; unfold placed; rw [Fintype.prod_sum_type]; rfl |
| 119 | have hx (N p : ℕ) (x : ι → Cover) (y : κ → Cover) : |
| 120 | literal h (Sum.elim v u) (Sum.elim x y) N p = literal h v x N p * literal h u y N p := by |
| 121 | funext U; unfold literal; rw [Fintype.prod_sum_type]; rfl |
| 122 | unfold Extraction.Order.late at * |
| 123 | refine he.mono fun k hk => hk.mono fun i hi x y hu => ?_ |
| 124 | rw [← hp,← hx]; exact hi _ hu |
| 125 | end pair |
| 126 | end YM.Push.GridApprox |