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.Slice.Hamilton |
| 2 | |
| 3 | /-! |
| 4 | # Reflect layered arrays without hiding sign/order |
| 5 | |
| 6 | Holds for link or site cuts on actual lattice. Gauge in Leaf acts at |
| 7 | both transverse locations. Correct placement of temporal integration: |
| 8 | Y gauge averaged by *one common thread* u (vertex family), not one |
| 9 | independent per-link transform. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Slice |
| 14 | open Function Set Filter MeasureTheory |
| 15 | open Lattice Wilson Cells |
| 16 | open scoped Topology BigOperators Matrix.Norms.Frobenius ComplexOrder |
| 17 | |
| 18 | variable {n : Side} {G : Gauge} (C : Cut n) |
| 19 | |
| 20 | def level (t : Per n) := 2*C.baseLine - (C.kind.shift : Per n) - t |
| 21 | @[simp] theorem level_twice (t : Per n) : level C (level C t) = t := by unfold level; ring |
| 22 | |
| 23 | @[simp] theorem image_plane (t : Per n) (v) : |
| 24 | C.reflect (plane C.pos t v) = plane C.pos (level C t) v := by |
| 25 | ext1 a; by_cases he : a=C.pos |
| 26 | · simp [he,level] |
| 27 | rw [C.reflect_there _ he]; simp [plane,he] |
| 28 | |
| 29 | theorem inv_layer (V : Circle G C.pos n) (t x) : |
| 30 | (leaves C.pos (C.pullC G (chain C.pos V)) t).2 x = ((V (level C t - 1)).2 x)⁻¹ := by |
| 31 | change ((posDir C.pos).rotate (Signed.mirror C.pos)).read _ (C.reflect (plane C.pos t x)) = _ |
| 32 | rw [image_plane, show (posDir C.pos).rotate (Signed.mirror C.pos) = negDir C.pos by simp [Step.rotate,posDir,negDir,Signed.mirror],Step.neg_read] |
| 33 | rw [show plane C.pos (level C t) x - step C.pos = plane C.pos (level C t-1) x by |
| 34 | rw [sub_eq_iff_eq_add]; simp] |
| 35 | simp |
| 36 | |
| 37 | theorem fixed_plane (V : Circle G C.pos n) (t) : |
| 38 | (leaves C.pos (C.pullC G (chain C.pos V)) t).1 = (V (level C t)).1 := by |
| 39 | ext1 v |
| 40 | change ((posDir v.2).rotate (Signed.mirror C.pos)).read _ (C.reflect (plane C.pos t v.1)) = _ |
| 41 | rw [image_plane, show (posDir v.2.val).rotate (Signed.mirror C.pos) = posDir v.2.val by |
| 42 | simp [Step.rotate,posDir, Signed.mirror,Ne.symm v.2.property], Step.pos_read,chain_space] |
| 43 | |
| 44 | def opposite (V : Circle G C.pos n) : Circle G C.pos n := fun t => |
| 45 | ((V (level C t)).1, ((V (level C t - 1)).2)⁻¹) |
| 46 | |
| 47 | @[simp] theorem mirrors (V : Circle G C.pos n) : C.pullC G (chain C.pos V) = chain C.pos (opposite C V) := by |
| 48 | apply (slice _).injective |
| 49 | change leaves C.pos (C.pullC G (chain C.pos V)) = _ |
| 50 | rw [show (slice C.pos (chain C.pos _)) = _ from (slice C.pos).apply_symm_apply _] |
| 51 | exact funext fun t => Prod.ext (fixed_plane ..) (funext fun _ => inv_layer ..) |
| 52 | |
| 53 | theorem backs (V : Circle G C.pos n) (β) (t) : weight C.pos β (opposite C V t).1 |
| 54 | (opposite C V (t+1)).1 (opposite C V t).2 = weight C.pos β (V (level C t-1)).1 |
| 55 | (V (level C t)).1 (V (level C t-1)).2 := by |
| 56 | unfold opposite |
| 57 | simp only [show level C (t+1) = level C t - 1 from by unfold level; ring, weight_reflect] |
| 58 | |
| 59 | variable (a : Axis) |
| 60 | def repaint (X : Leaf G a n) (u : Thread G a n) : Leaf G a n := fun p => |
| 61 | u p.1 * X p * (u (forward a p.1 p.2))⁻¹ |
| 62 | |
| 63 | @[fun_prop] lemma repaint_cont : Continuous fun p : Leaf G a n × Thread G a n => repaint a p.1 p.2 := by |
| 64 | unfold repaint; fun_prop |
| 65 | |
| 66 | @[simp] lemma repaint_one (X : Leaf G a n) : repaint a X 1 = X := by ext; simp [repaint] |
| 67 | |
| 68 | @[simp] lemma repaint_split (X : Leaf G a n) (u v) : repaint a (repaint a X u) v = repaint a X (v*u) := by |
| 69 | ext; simp [repaint, mul_assoc] |
| 70 | |
| 71 | private lemma forward_comm (x : Row a n) (b c : Flat a) : forward a (forward a x b) c = forward a (forward a x c) b := by |
| 72 | unfold forward; abel |
| 73 | |
| 74 | theorem cost_same (X : Leaf G a n) (u) : potential a (repaint a X u)=potential a X := by |
| 75 | unfold potential |
| 76 | apply Finset.sum_congr rfl |
| 77 | intro i hi |
| 78 | obtain ⟨x,⟨b,c⟩, hb⟩ := i |
| 79 | rw [show smallLoop a (repaint a X u) (x,⟨(b,c),hb⟩) = u x * smallLoop a X (x,⟨(b,c),hb⟩) * (u x)⁻¹ by |
| 80 | simp [smallLoop, repaint,forward_comm a x b c,mul_assoc]] |
| 81 | exact G.price_conj _ _ |
| 82 | |
| 83 | lemma weight_second (β) (X Y : Leaf G a n) u : |
| 84 | weight a β X Y u = weight a β X (repaint a Y u) 1 := by |
| 85 | rw [weight,weight,evenPart,evenPart,evenPart,cost_same] |
| 86 | rw [show transition a X (repaint a Y u) 1 = transition a X Y u by |
| 87 | unfold transition |
| 88 | apply Finset.sum_congr rfl; intro i _; simp [connect,repaint,mul_assoc]] |
| 89 | |
| 90 | theorem together (β) (X Y : Leaf G a n) (u) : |
| 91 | weight a β (repaint a X u) (repaint a Y u) 1 = weight a β X Y 1 := by |
| 92 | rw [← weight_second, ← weight_reflect a β, weight_second, repaint_split, inv_mul_cancel,repaint_one, |
| 93 | ← weight_reflect]; simp |
| 94 | end YM.Slice |