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.Certificate |
| 2 | |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Bracket moving support before applying centered bounds |
| 7 | |
| 8 | Literal translates, may not be on the same blocking offsets. Geometry of |
| 9 | interpolants checked at larger side in use. Handles zeros, both seam types. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Cells.Tiling |
| 14 | open MeasureTheory Measure Function Set Lattice Wilson |
| 15 | open scoped Topology BigOperators Matrix.Norms.Frobenius ComplexOrder |
| 16 | variable {n : Side} {G : Gauge} (T : Tiling n) (β : ℝ) |
| 17 | |
| 18 | private theorem max_end (g : ℕ → ℝ) (m : ℕ) (hn : ∀ i, i ≤ m → 0 ≤ g i) (A : ℝ) |
| 19 | (H : ∀ i, i+2 ≤ m → g (i+1)^2 ≤ g i*g (i+2)) (h : g 0 ≤ A) (he : g m≤A) : ∀ i ≤ m, g i ≤ A := by |
| 20 | -- strict increase propagates |
| 21 | have hv i (hp : i+1 ≤ m) (hr : g i < g (i+1)) : g (i+1) ≤ A := by |
| 22 | have he_idx (p : ℕ) (hr' : g p<g (p+1)) (hs : p+2≤m) : g (p+1)<g (p+2) := by |
| 23 | have hl := H p hs |
| 24 | have ha := hn p (by omega) |
| 25 | have hh := hn (p+2) hs |
| 26 | by_contra! hv |
| 27 | apply (not_le.mpr ?_ hl) |
| 28 | calc _ ≤ g p * g (p+1) := by gcongr |
| 29 | _ < _ := by nlinarith |
| 30 | have ht (q : ℕ) (hq : i≤q) (hz : q+1≤m) : g q<g (q+1) ∧ g (i+1) ≤ g (q+1) := by |
| 31 | induction q, hq using Nat.le_induction with |
| 32 | | base => exact ⟨hr,le_rfl⟩ |
| 33 | | succ n hn ih => exact ⟨he_idx _ (ih (by omega)).1 hz,(ih (by omega)).2.trans (he_idx _ (ih (by omega)).1 hz).le⟩ |
| 34 | have hs : g (i+1) ≤ g ((m-1)+1) := (ht _ (by omega) (by omega)).2 |
| 35 | rw [show m-1+1=m by omega] at hs; exact hs.trans he |
| 36 | intro i hi; induction i with |
| 37 | | zero => exact h |
| 38 | | succ i ih => exact le_or_gt (g (i+1)) (g i) |>.elim (fun h => h.trans (ih (by omega))) (fun h => hv i hi h) |
| 39 | |
| 40 | private theorem safety (s : Signed) (r : Axis) (v : T.Cell) (h : s=T.omega v) : |
| 41 | s.act (step r : Site n) = if s.flip r then - step r else step r := by |
| 42 | subst s |
| 43 | ext1 i |
| 44 | rw [show (T.omega v).act (step r : Site n) i = _ from Signed.act_at (T.omega v) _ i] |
| 45 | split_ifs with H I <;> by_cases he:i=r <;> simp_all |
| 46 | |
| 47 | private lemma read_move (k : T.Cell) (b : Axis) (u : Config G n) (F : Config G n → ℂ) : |
| 48 | T.copy k F (translate (step b) u)= |
| 49 | if (T.omega k).flip b then T.copy k (F ∘ translate (-step b)) u else T.copy k (F ∘ translate (step b)) u := by |
| 50 | have he := safety T _ b k rfl |
| 51 | classical |
| 52 | simp_rw [copy] |
| 53 | have hp (t : Site n) (h : (T.omega k).act t = step b) : translate t (pull (T.omega k) (T.translateBy k) u)= |
| 54 | pull (T.omega k) (T.translateBy k) (translate (step b) u) := by |
| 55 | rw [← pull_one, ← pull_one,pull_pull,pull_pull] |
| 56 | simp [affine,h,add_comm] |
| 57 | by_cases hv : T.hand k <;> cases h:(T.omega k).flip b <;> simp [hv] <;> simp_all |
| 58 | |
| 59 | /-- It suffices that F & both translates are allowed interior words. -/ |
| 60 | theorem trip (L : Seam G n β) {F : Config G n → ℂ} (b : Axis) (Hp : Interior (T.chamber 0) F) |
| 61 | (h : Interior (T.chamber 0) (F ∘ translate (-step b))) (he : Interior (T.chamber 0) (F ∘ translate (step b))) : |
| 62 | T.rootTest β F ^ 2 ≤ T.rootTest β (F ∘ translate (-step b))*T.rootTest β (F ∘ translate (step b)) := by |
| 63 | classical |
| 64 | let W (v : T.Cell) := if (T.omega v).flip b then F ∘ translate (-step b) else F ∘ translate (step b) |
| 65 | have hm := T.manyIntegral β (fun _ => F) fun _ => Hp |
| 66 | have ht : T.rootTest β F ^ Fintype.card T.Cell ≤ ∏ i : T.Cell, T.rootTest β (W i) := by |
| 67 | rw [T.powering,rootPower, ← moment_pull β 1 (step b) _ hm] |
| 68 | have hhx (U : Config G n) : T.fullAt (fun _ => F) (pull 1 (step b) U) = ∏ i, T.copy i (W i) U := by |
| 69 | rw [pull_one,fullAt] |
| 70 | apply Finset.prod_congr rfl |
| 71 | intro i _; rw [read_move];split <;> simp [W, *] |
| 72 | simp only [Function.comp_def, hhx]; exact L.inequality T W fun i => by unfold W; split; exacts [h,he] |
| 73 | let P := Equiv.ofBijective (T.mate 0 b) (Function.Involutive.bijective (T.mate_invol 0 b)) |
| 74 | have hv (i): (T.omega (P i)).flip b = !(T.omega i).flip b := T.flip_here 0 b i |
| 75 | let w (i) := T.rootTest β (W i) |
| 76 | let ξ := T.rootTest β (F ∘ translate (-step b))*T.rootTest β (F ∘ translate (step b)) |
| 77 | have hf : (∏ i:T.Cell, w i)^2=ξ^(Fintype.card T.Cell) := calc |
| 78 | _ = (∏ i:T.Cell,w i) * ∏ j:T.Cell,w (P j) := by rw [pow_two, Equiv.prod_comp] |
| 79 | _ = ∏ i:T.Cell, ξ := by |
| 80 | rw [← Finset.prod_mul_distrib]; apply Finset.prod_congr rfl; intro i _ |
| 81 | cases H:(T.omega i).flip b <;> simp [W,hv,H,ξ,w,mul_comm] |
| 82 | _ = _ := by simp |
| 83 | haveI : Nonempty T.Cell := ⟨0⟩ |
| 84 | apply le_of_pow_le_pow_left₀ (show 0<Fintype.card T.Cell from Fintype.card_pos).ne' (mul_nonneg (T.root_nonneg β _) (T.root_nonneg β _)) |
| 85 | rw [← show (∏ i:T.Cell,w i)^2=_ from hf, ← pow_mul,pow_mul'] |
| 86 | apply pow_le_pow_left₀ (pow_nonneg (T.root_nonneg ..) _) ht |
| 87 | |
| 88 | /-- If all integral offsets fit, z is bounded by endpoints. -/ |
| 89 | theorem pathway (L : Seam G n β) (F : ℕ → Config G n → ℂ) (s : ℕ) (b : Axis) |
| 90 | (H : ∀ u ≤ s, Interior (T.chamber 0) (F u)) |
| 91 | (h : ∀ u, u+1≤s → F (u+1)= F u ∘ translate (step b)) |
| 92 | (A : ℝ) (hf : T.rootTest β (F 0) ≤ A) (hh : T.rootTest β (F s)≤A) : ∀ u ≤ s, T.rootTest β (F u) ≤ A := by |
| 93 | refine max_end (fun u => T.rootTest β (F u)) s (fun u _ => T.root_nonneg ..) A ?_ hf hh |
| 94 | intro i hi; set f := F (i+1); change T.rootTest β (F (i+1))^2 ≤ _ |
| 95 | have hv : F (i+1) ∘ translate (-step b)=F i := by |
| 96 | rw [h i (by omega)] |
| 97 | funext U |
| 98 | have he : translate (step b) (translate (-step b) U)=U := by ext1 q; simp [translate] |
| 99 | exact congr_arg _ he |
| 100 | have hw := h (i+1) hi |
| 101 | rw [← hv,hw]; exact T.trip β L b (H _ (by omega)) (hv.symm ▸ H i (by omega)) (hw ▸ H (i+2) hi) |
| 102 | end YM.Cells.Tiling |