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.Route |
| 2 | import YM.Branch.Synchronize |
| 3 | import YM.RG.Patch |
| 4 | |
| 5 | /-! |
| 6 | # Tube cutoffs in Wilson kernel |
| 7 | -/ |
| 8 | |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.RG |
| 12 | |
| 13 | open Branch Lattice Wilson |
| 14 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators |
| 15 | |
| 16 | variable (G : Gauge) |
| 17 | |
| 18 | theorem frame_unique : ∃ δ : ℝ, 0 < δ ∧ ∀ C : KernelChoices, C.frame_cut ≤ δ → ∀ P : Patch, |
| 19 | ∀ U : CoverConfig G, P.usesMin C U → ∃! h, P.minimizing U h := by |
| 20 | obtain ⟨d,hd,H⟩ := align G |
| 21 | refine ⟨d/G.colorScale, div_pos hd G.colorScale_pos, fun C hc P U ht => ?_⟩ |
| 22 | let a := P.axial U (P.center,1) |
| 23 | let A : Pairs P.Points Lattice.Order G := |
| 24 | { W := P.via a U |
| 25 | mirror := backOrder |
| 26 | same := fun i k => by simp [Patch.via,travel] |
| 27 | reflect := fun i j k => by |
| 28 | unfold Patch.via; rw [back_route] |
| 29 | have h : travel U j.val (reverse (route i.val j.val k)) = (travel U i.val (route i.val j.val k))⁻¹ := by |
| 30 | convert (travel_reverse (route i.val j.val k) U i.val) using 1 |
| 31 | simp only [route_end] |
| 32 | rw [h]; group } |
| 33 | have hw (x y k) : ‖G.mat (A.W x y k) - 1‖ ≤ d := by |
| 34 | have hh : G.chord (A.W x y k) ≤ d/G.colorScale := le_trans (ht 1 k x y).le hc |
| 35 | exact (div_le_div_iff_of_pos_right G.colorScale_pos).mp hh |
| 36 | let toA (b : P.Frame G) : P.Frame G := fun x => b x*(a x)⁻¹ |
| 37 | have he (b) : P.score U b = A.cost (toA b) := by |
| 38 | have hh (i j k) : A.term (toA b) i j k = G.price (P.via b U i j k) := by |
| 39 | unfold Pairs.term toA |
| 40 | simp only [A,Patch.via]; congr 1; group |
| 41 | unfold Pairs.cost; simp_rw [hh] |
| 42 | rfl |
| 43 | have hs (b : P.Frame G) (h : P.minimizing U b) : A.Solves (toA b) := by |
| 44 | intro f |
| 45 | let p : P.Frame G := fun i => f i*a i |
| 46 | let q : P.Frame G := fun i => (p P.center)⁻¹*p i |
| 47 | have hx := h.2 q (by simp [q]); rw [he,he] at hx |
| 48 | rw [show toA q = (fun i => (p P.center)⁻¹ * f i) by ext i; simp only [p,q,toA, mul_assoc, mul_inv_cancel,mul_one],A.moves] at hx |
| 49 | exact hx |
| 50 | obtain ⟨b,hb⟩ := P.min_exists U |
| 51 | refine ⟨b,hb,fun f hf => ?_⟩ |
| 52 | obtain ⟨c,hc'⟩ := H _ _ A hw (toA b) (toA f) (hs _ hb) (hs _ hf) |
| 53 | have hx := hc' P.center |
| 54 | simp only [toA,hb.1,hf.1, one_mul,mul_eq_right] at hx |
| 55 | funext i |
| 56 | exact mul_right_cancel (by simpa only [hx,toA,one_mul] using (hc' i).symm) |
| 57 | |
| 58 | theorem predictor_unique : ∃ δ : ℝ, 0 < δ ∧ ∀ C : KernelChoices, C.predictor_cut ≤ δ → ∀ P : Patch, |
| 59 | ∀ Y : P.Connector G, P.usesBest C Y → ∃! u, ∀ v, P.bondCost Y u ≤ P.bondCost Y v := by |
| 60 | obtain ⟨δ,hn,H⟩ := weighted_unique G |
| 61 | refine ⟨δ,hn,fun C hc P Y h => ?_⟩ |
| 62 | obtain ⟨u,hu,hy⟩ := H P.Points P.weight P.weight_nonneg P.weight_sum Y ⟨P.best Y, lt_of_lt_of_le h hc⟩ |
| 63 | exact ⟨u, (min_iff P.weight P.weight_sum Y u).1 hu, fun j hj => hy j ((min_iff _ P.weight_sum Y _).2 (show ∀ _, _ from hj))⟩ |
| 64 | end YM.RG |