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.Lattice.Subdivision |
| 2 | import YM.Wilson.Symmetry |
| 3 | import YM.Lattice.Support |
| 4 | import Mathlib.Analysis.Complex.Order |
| 5 | |
| 6 | /-! |
| 7 | # Tile seams on a native pair of periodic hyperplanes |
| 8 | |
| 9 | Line coordinates are ZMod(period at native cutoff). Half is native. Base |
| 10 | line `b` means seam through site b, or link seam *between b-1 and b*. In link tiling the |
| 11 | strict interior of a slab includes sites at distance half a step. In site |
| 12 | tilings do not read transverse links at seams. . |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Cells |
| 17 | open Function Set Filter MeasureTheory |
| 18 | open scoped Topology BigOperators Matrix.Norms.Frobenius ComplexOrder |
| 19 | open Lattice Wilson |
| 20 | |
| 21 | inductive Kind | site | link deriving DecidableEq |
| 22 | |
| 23 | namespace Kind |
| 24 | |
| 25 | /-- Twice setback before base. -/ |
| 26 | def shift : Kind → ℕ |
| 27 | | site => 0 |
| 28 | | link => 1 |
| 29 | |
| 30 | /-- coordinate r=x−b from start at b. Strict. -/ |
| 31 | def Strict : Kind → ℕ → ℕ → Prop |
| 32 | | site, w, r => 0 < r ∧ r < w |
| 33 | | link, w, r => r < w |
| 34 | |
| 35 | lemma strict_lt {k : Kind} {w r} (h : k.Strict w r) : r < w := by cases k; exact h.2; exact h |
| 36 | end Kind |
| 37 | |
| 38 | variable {n : Side} |
| 39 | |
| 40 | structure Cut (n : Side) where |
| 41 | half : Side |
| 42 | even : n.val = 2 * half.val |
| 43 | kind : Kind |
| 44 | pos : Axis |
| 45 | baseLine : Per n |
| 46 | |
| 47 | namespace Cut |
| 48 | variable (C : Cut n) |
| 49 | |
| 50 | /-- Circle coordinates measured from C. -/ |
| 51 | def distance (x : Site n) := (x C.pos - C.baseLine).val |
| 52 | |
| 53 | @[simp] theorem back (x) : (C.distance x : Per n) = x C.pos - C.baseLine := by simp [distance,Per] |
| 54 | |
| 55 | def sector : Set (Site n) := {x | C.kind.Strict C.half.val (C.distance x)} |
| 56 | |
| 57 | abbrev flip : Signed := Signed.mirror C.pos |
| 58 | def slide : Site n := (2 * C.baseLine - (C.kind.shift : Per n)) • step C.pos |
| 59 | |
| 60 | def reflect (x : Site n) := affine C.flip C.slide x |
| 61 | |
| 62 | @[simp] theorem reflect_here (x : Site n) : C.reflect x C.pos = 2*C.baseLine-(C.kind.shift : Per n)-x C.pos := by |
| 63 | simp [reflect,affine,flip, slide,Signed.mirror,Signed.act]; ring |
| 64 | |
| 65 | @[simp] theorem reflect_there (x : Site n) {a : Axis} (h : a ≠ C.pos) : C.reflect x a = x a := by |
| 66 | simp [reflect,affine,flip,slide,Signed.mirror,Signed.act,h,Ne.symm h] |
| 67 | |
| 68 | @[simp] theorem twice (x : Site n) : C.reflect (C.reflect x) = x := by |
| 69 | funext a; by_cases h : a=C.pos <;> simp [h] |
| 70 | |
| 71 | /-- Pull configuration. -/ |
| 72 | def pullC (G : Gauge) := pull (K := G.El) C.flip C.slide |
| 73 | |
| 74 | @[simp] theorem pulls (G : Gauge) (U : Config G n) : C.pullC G (C.pullC G U)=U := by |
| 75 | unfold pullC |
| 76 | have he : affine C.flip C.slide C.slide = C.reflect (C.reflect 0) := by |
| 77 | rw [show C.reflect 0 = C.slide by simp [reflect,affine]]; rfl |
| 78 | rw [pull_pull,he,twice,show C.flip*C.flip = 1 from |
| 79 | calc _ = C.flip⁻¹*C.flip := rfl |
| 80 | _ = _ := inv_mul_cancel _, pull_id] |
| 81 | |
| 82 | lemma zeroLength : (2:Per n) * C.half.val = 0 := by |
| 83 | rw [← Nat.cast_ofNat (n := 2), ← Nat.cast_mul, ← C.even]; exact ZMod.natCast_self _ |
| 84 | |
| 85 | /-- Link seams split all sites. -/ |
| 86 | theorem link_switch (h : C.kind = .link) {x} (hx : x ∈ C.sector) : C.reflect x ∉ C.sector := by |
| 87 | change ¬C.kind.Strict _ _ |
| 88 | change C.kind.Strict _ _ at hx |
| 89 | rw [h] at hx ⊢ |
| 90 | change distance C x < _ at hx |
| 91 | have hv : C.distance (C.reflect x) = n.val - (C.distance x + 1) := by |
| 92 | have ha : C.distance x + 1 ≤ n.val := by rw [C.even]; omega |
| 93 | have hb : n.val - (C.distance x + 1) < n.val := by have := n.property; omega |
| 94 | rw [← ZMod.val_natCast_of_lt hb] |
| 95 | change ZMod.val (C.reflect x _ - C.baseLine) = ZMod.val _ |
| 96 | apply congr_arg ZMod.val |
| 97 | rw [reflect_here, Nat.cast_sub ha,h] |
| 98 | rw [ZMod.natCast_self,Nat.cast_add,C.back] |
| 99 | dsimp only [Kind.shift]; ring |
| 100 | change ¬ C.distance (C.reflect x)<_ |
| 101 | rw [hv, C.even]; omega |
| 102 | end Cut |
| 103 | |
| 104 | section Cylinder |
| 105 | variable {G : Gauge} |
| 106 | |
| 107 | /-- Strict measurable local assignment with uniform *one-law* bound. |
| 108 | No continuum bound hidden. -/ |
| 109 | structure Interior (K : Set (Site n)) (F : Config G n → ℂ) : Prop where |
| 110 | gauge : GaugeInvariant F |
| 111 | borel : Measurable F |
| 112 | localSites : LocalOn K F |
| 113 | cost : ∃ c : ℝ, ∀ U, ‖F U‖ ≤ c |
| 114 | |
| 115 | /-- Endpoint coordinate cut form (equivalent to PSD on families by closing Interior under summing). -/ |
| 116 | def Positive (G : Gauge) {n : Side} (β : ℝ) (C : Cut n) : Prop := ∀ F : Config G n → ℂ, |
| 117 | Interior C.sector F → 0 ≤ moment β (fun U => F U * star (F (C.pullC G U))) |
| 118 | end Cylinder |
| 119 | end YM.Cells |