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.Margins |
| 2 | import YM.Dash.Inert |
| 3 | import YM.Ground.Permute |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Reflection Grid lemmas |
| 8 | |
| 9 | Use one monomial gap difference `A−θ A` with same ordinary-real fields. |
| 10 | Encounter of w itself arbitrary; for `FarAway` use integer t along aligned grid |
| 11 | string all components t incl time. Not θ on scalars. Require exact probability |
| 12 | ordinary square of *these* and controlled pair error using *same* approximants. |
| 13 | Specializes E grid hypotheses. Compares after extraction only, preserving T expected. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.OS.Grid |
| 18 | open Function Set Filter MeasureTheory Measure Complex Analysis Extraction Ground Table Row Lattice Wilson Word |
| 19 | open scoped Topology InnerProductSpace NNReal ENNReal ContDiff BigOperators ComplexOrder |
| 20 | variable {G : Gauge} {C : Family G} {S : Table C.book} {N p n : ℕ} {f : Extraction.Order} {V : Chamber S timeAxis} |
| 21 | |
| 22 | abbrev Tag (h : ℕ) (v : Fin n → C.book.Token) (x : Fin n → Cover) := Word.realize v (Extraction.Order.grid C h x) |
| 23 | |
| 24 | abbrev plain (v : Fin n → C.book.Token) := ∀ i, star (v i).2=(v i).2 |
| 25 | |
| 26 | /-- Need for SOME large h coordinates, not vacuous itself. L goes through labels after reference. |
| 27 | Point clusters at grid h of any complexity n; approximants for real-combination pairs. |
| 28 | -/ |
| 29 | def force (h t i : ℕ) := C.S.gridPoint h (fun _ => t*i) |
| 30 | |
| 31 | -- t multiple of h-grid in actual positions |
| 32 | |
| 33 | def anti (w : C.book.Word) := Word.act (Signed.mirror timeAxis) w |
| 34 | lemma apart {w : C.book.Word} (hx : distinct w) : distinct (anti w) := by |
| 35 | unfold anti Word.act; rw [locations,List.map_map] |
| 36 | simpa only [List.map_map,Function.comp_def] using! ((locations.1 hx).map (Ortho.move_injective (Signed.reflect timeAxis))) |
| 37 | |
| 38 | variable (h : ℕ) (v : Fin n→C.book.Token) (x : Fin n → Cover) |
| 39 | |
| 40 | /-- ACTUAL A-θA without reordering. θx grid by sign. -/ |
| 41 | def tiny (N p : ℕ) (u : Cover) (q : Config G (C.side N p)) := |
| 42 | ∏ i, C.seen (v i) (Cells.location C.S h N p (x i+u)) q |
| 43 | |
| 44 | def flash (N p t j : ℕ) (q : Config G (C.side N p)) := |
| 45 | let D : Cover := fun _ => t*j |
| 46 | tiny h v x N p D q - tiny h (C:=C) (C.book.move (Signed.mirror timeAxis) ∘ v) ((Signed.mirror timeAxis).act ∘ x) N p D q |
| 47 | |
| 48 | /-- at physical h grid. -/ |
| 49 | def compareA (t r s : ℕ) (w z : C.book.Word) := S.expect (carry w (force (C:=C) h t r) ++ carry z (force (C:=C) h t s)) |
| 50 | |
| 51 | def event (t r s : ℕ) := |
| 52 | let w := Tag h v x |
| 53 | ((compareA (S:=S) h t r s w w).re-(compareA (S:=S) h t r s w (anti w)).re)- |
| 54 | ((compareA (S:=S) h t r s (anti w) w).re-(compareA (S:=S) h t r s (anti w) (anti w)).re) |
| 55 | |
| 56 | /-- Uniform in offset t diagonal magnitude (paid later by q) independent q,j |
| 57 | h fixed. Functions not demanded to be translation copies (sufficient simply |
| 58 | for there to be simultaneous approximations with uniform pair tests at all |
| 59 | integer translations, as stated here). For fixed-order J then d,T. |
| 60 | -/ |
| 61 | def bill (i j : ℕ) (N p t : ℕ) := ∫ q : Config G (C.side N p), |
| 62 | (flash h v x N p t i q * flash h v x N p t j q).re ∂law G _ (C.beta N p) |
| 63 | structure Covering (i : ℕ) (v : Fin n→C.book.Token) (x : Fin n→Cover) where |
| 64 | plots (k : ℕ) (N p t j : ℕ) : Config G (C.side N p) → ℝ |
| 65 | reserve (k : ℕ) : ℝ |
| 66 | small : ℕ → ℝ |
| 67 | grows : Tendsto small atTop (𝓝 0) |
| 68 | |
| 69 | namespace Covering |
| 70 | variable (P : Covering h v x) |
| 71 | structure Works (f : Extraction.Order) : Prop where |
| 72 | controls k t j : f.late fun N p => Measurable (P.plots k N p t j) ∧ ∀ q, |P.plots k N p t j q| ≤ P.reserve k |
| 73 | fillings (k i j) : i < j → ∀ᶠ t : ℕ in atTop, f.late fun N p => |
| 74 | |(∫ q,P.plots k N p t i q * P.plots k N p t j q∂law G _ (C.beta N p))-bill h v x i j N p t| ≤ P.small k |
| 75 | end Covering |
| 76 | |
| 77 | /-- Continuum API. Needed separately to use Covering; generic all projections. -/ |
| 78 | def Expects := ∀ i j : ℕ, i<j → ∀ᶠ t : ℕ in atTop, |
| 79 | Tendsto (fun u : ℕ × ℕ => bill h v x i j u.1 u.2 t) f.fuse (𝓝 (event (S:=S) h v x t i j)) |
| 80 | |
| 81 | end YM.OS.Grid |