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.Analysis.Polydisc |
| 2 | import YM.Bid.Grow |
| 3 | |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Work.C27 |
| 7 | open Boundary Mink |
| 8 | open scoped Topology BigOperators |
| 9 | |
| 10 | variable {G : Gauge} {L : Register G} {S : Table L} {n : ℕ} |
| 11 | |
| 12 | private theorem coordinate_tsupport (f : Fin n → Test4) (i : Fin n) : |
| 13 | tsupport (Joint.materialize n f) ⊆ (fun x : Points n => x i) ⁻¹' tsupport (f i) := by |
| 14 | refine closure_minimal ?_ ((isClosed_tsupport _).preimage (by fun_prop)) |
| 15 | intro x hx |
| 16 | apply subset_tsupport |
| 17 | intro h |
| 18 | apply hx |
| 19 | exact (Joint.material_at f x).trans (Finset.prod_eq_zero (Finset.mem_univ i) h) |
| 20 | |
| 21 | private theorem materialize_switch (P : NearPair n) (f : Fin n → Test4) : |
| 22 | Probe.along P.switch.toContinuousLinearEquiv (Joint.materialize n f) = Joint.materialize n (f ∘ P.s) := by |
| 23 | ext1 x |
| 24 | change Joint.materialize n f (P.switch x) = _ |
| 25 | simp only [Joint.material_at, NearPair.switch_at, Function.comp_apply] |
| 26 | exact ((Equiv.prod_comp P.s (fun i => f i (x (P.s i)))) |>.symm.trans (by simp [NearPair.s])) |
| 27 | |
| 28 | private theorem exchange (W : Surface S) (H : Actor W) (P : NearPair n) |
| 29 | (v : Fin n → S.Union) (f : Fin n → Test4) (hf : Fields.causal (f P.i) (f P.j)) : |
| 30 | W.W n v (Joint.materialize n f) = W.W n (v ∘ P.s) (Joint.materialize n (f ∘ P.s)) := by |
| 31 | have hs : tsupport (Joint.materialize n f) ⊆ P.gap := by |
| 32 | intro x hx |
| 33 | have hh := lateral _ |>.mp (hf (x P.i) (coordinate_tsupport f P.i hx) (x P.j) (coordinate_tsupport f P.j hx)) |
| 34 | change x P.j - x P.i ∈ spacelike |
| 35 | rw [lateral, ← neg_sub (x P.i)] |
| 36 | simpa only [clock_neg, rest_neg, abs_neg, norm_neg] using hh |
| 37 | have hm := H n v P (Joint.materialize n f) hs |
| 38 | change W.W n v _ - W.W n _ (Probe.along _ _) = 0 at hm |
| 39 | rwa [sub_eq_zero, materialize_switch] at hm |
| 40 | |
| 41 | private theorem expect_get (W : Surface S) (b : Sentence S) (v : Fin n → Letter S) |
| 42 | (h : b.length = n) (hv : ∀ i, b.get i = v (Fin.cast h i)) : |
| 43 | W.expect b = W.W n (fun i => (v i).1) (Joint.materialize n (fun i => (v i).2)) := by |
| 44 | subst n |
| 45 | have he : b.get = v := funext hv |
| 46 | rw [Surface.expect, he] |
| 47 | |
| 48 | variable {α : Type*} |
| 49 | |
| 50 | /-- Place two letters between the spectator lists. -/ |
| 51 | private def slots (a b : List α) (x y : α) (i : Fin (a.length + (b.length+2))) : α := |
| 52 | if h : i.val < a.length then a[i.val] |
| 53 | else if _ : i.val = a.length then x |
| 54 | else if _ : i.val = a.length+1 then y |
| 55 | else b[i.val-(a.length+2)]'(by omega) |
| 56 | |
| 57 | private def pair (a b : List α) : NearPair (a.length + (b.length+2)) := |
| 58 | ⟨⟨a.length, by omega⟩, ⟨a.length+1, by omega⟩, rfl⟩ |
| 59 | |
| 60 | private theorem get_slots (a b : List α) (x y : α) (i : Fin (a ++ x::y::b).length) : |
| 61 | (a ++ x::y::b).get i = slots a b x y (Fin.cast (by simp) i) := by |
| 62 | simp only [List.get_eq_getElem, slots, Fin.val_cast] |
| 63 | split_ifs with h1 h2 h3 |
| 64 | · exact List.getElem_append_left h1 |
| 65 | · rw [List.getElem_append_right (by omega)] |
| 66 | generalize_proofs _ |
| 67 | simp [h2] |
| 68 | · rw [List.getElem_append_right (by omega)] |
| 69 | generalize_proofs _ |
| 70 | simp [h3] |
| 71 | rw [List.getElem_append_right (by omega)] |
| 72 | have h : i.val - a.length = i.val - (a.length+2) + 1 + 1 := by omega |
| 73 | generalize_proofs _ |
| 74 | simp [h] |
| 75 | |
| 76 | private theorem slots_switch (a b : List α) (x y : α) (i : Fin (a.length + (b.length+2))) : |
| 77 | slots a b x y ((pair a b).s i) = slots a b y x i := by |
| 78 | rcases eq_or_ne i (pair a b).i with rfl|hi |
| 79 | · simp [NearPair.s, slots, pair] |
| 80 | rcases eq_or_ne i (pair a b).j with rfl|hj |
| 81 | · simp [NearPair.s, slots, pair] |
| 82 | rw [NearPair.s, Equiv.swap_apply_of_ne_of_ne hi hj] |
| 83 | have h : i.val ≠ a.length := fun h => hi (Fin.ext h) |
| 84 | have k : i.val ≠ a.length+1 := fun h => hj (Fin.ext h) |
| 85 | simp [slots, h, k] |
| 86 | |
| 87 | theorem answer : YM.Bid.C27 := by |
| 88 | intro G L S W H a b x y f g h |
| 89 | rw [expect_get W _ _ _ (get_slots a b (x,f) (y,g)), expect_get W _ _ _ (get_slots a b (y,g) (x,f))] |
| 90 | have he := exchange W H (pair a b) (fun i => (slots a b (x,f) (y,g) i).1) |
| 91 | (fun i => (slots a b (x,f) (y,g) i).2) (by simpa [pair,slots] using h) |
| 92 | simpa only [Function.comp_def,slots_switch] using he |
| 93 | |
| 94 | end YM.Work.C27 |