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.Work.F08.Rows |
| 2 | |
| 3 | /-! |
| 4 | Mixed composition of a fine-to-fine row P with a cross row Q (and, on |
| 5 | the other side of a cross row, composition with ordinary coarse rows). |
| 6 | Following from row to column: each fine displacement `a` chooses exactly one |
| 7 | residue for Q, and propagates the coarse origin by `carry r a`. Thus at |
| 8 | fixed output row residue we can use `routed` to keep a pre-L width and |
| 9 | price, without paying the number of residues. We check the signs and the origin |
| 10 | update also in the physical tori, without assuming sizes large versus paths. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace YM.Work.F08 |
| 17 | open Lattice Bloch Laurent |
| 18 | open scoped BigOperators |
| 19 | |
| 20 | variable {c f L : Side} |
| 21 | |
| 22 | /-- New fine residue after stepping `a` on the cover from residue `r`. -/ |
| 23 | def arrives (r : Site L) (a : Cover) := wrap L (lift r + a) |
| 24 | |
| 25 | /-- Existence of the induced shift in block origin (in coarse units). -/ |
| 26 | lemma carry_exists (r : Site L) (a : Cover) : |
| 27 | ∃ w : Cover, lift r + a = lift (arrives r a) + L.val • w := |
| 28 | cover_of_eq _ _ (wrap_lift (arrives r a)) |
| 29 | |
| 30 | def carry (r : Site L) (a : Cover) := (carry_exists r a).choose |
| 31 | |
| 32 | lemma carry_spec (r : Site L) (a : Cover) : |
| 33 | lift r + a = lift (arrives r a) + L.val • carry r a := (carry_exists r a).choose_spec |
| 34 | |
| 35 | /-- Uniform step bound: an integral fine step pays for every coarse |
| 36 | carry. Also covers L=1. -/ |
| 37 | lemma carry_size (r : Site L) (a : Cover) : size (carry r a) ≤ size a := by |
| 38 | apply Finset.sum_le_sum |
| 39 | intro i _ |
| 40 | let w := carry r a i |
| 41 | let n : ℤ := L.val |
| 42 | let u := lift r i |
| 43 | let v := lift (arrives r a) i |
| 44 | have he : u + a i = v + n * w := by |
| 45 | simpa only [Pi.add_apply, Pi.mul_apply, Pi.natCast_apply, Pi.smul_apply, nsmul_eq_mul, w, n, u, v] using |
| 46 | congrFun (carry_spec r a) i |
| 47 | have hn : 0 < n := Int.natCast_pos.mpr L.pos |
| 48 | have hc : |u - v| ≤ n - 1 := by |
| 49 | have h1 : -n < 2*u ∧ 2*u ≤ n := lift_centers r i |
| 50 | have h2 : -n < 2*v ∧ 2*v ≤ n := lift_centers (arrives r a) i |
| 51 | rw [abs_sub_le_iff]; omega |
| 52 | have hb : n * |w| ≤ |a i| + (n - 1) := calc |
| 53 | _ = |n * w| := by rw [abs_mul, abs_of_pos hn] |
| 54 | _ = |a i + (u - v)| := by rw [show n * w = a i + (u - v) from by omega] |
| 55 | _ ≤ _ := (abs_add_le ..).trans (add_le_add_right hc _) |
| 56 | have hw : |w| ≤ |a i| := by |
| 57 | by_contra! ht |
| 58 | have hlt : |a i| + 1 ≤ |w| := by omega |
| 59 | have hge : 1 ≤ n := by omega |
| 60 | have hmore : |a i| + n ≤ n * |w| := calc |
| 61 | |a i| + n ≤ n * |a i| + n := by |
| 62 | have hh := mul_le_mul_of_nonneg_right hge (abs_nonneg (a i)) |
| 63 | rw [one_mul] at hh |
| 64 | exact add_le_add_left hh _ |
| 65 | _ = n * (|a i| + 1) := by ring |
| 66 | _ ≤ n * |w| := mul_le_mul_of_nonneg_left hlt hn.le |
| 67 | omega |
| 68 | rw [← Int.natCast_natAbs, ← Int.natCast_natAbs (a i)] at hw |
| 69 | change w.natAbs ≤ (a i).natAbs |
| 70 | exact_mod_cast hw |
| 71 | |
| 72 | lemma moves_site (g : Ratio c f) (x : Site f) (a : Cover) : |
| 73 | x + wrap f a = g.assemble (g.parent x + wrap c (carry (g.residue x) a), |
| 74 | arrives (g.residue x) a) := by |
| 75 | let r := g.residue x |
| 76 | let b := carry r a |
| 77 | let t := arrives r a |
| 78 | have he : g.embed (g.parent x + wrap c b) = g.embed (g.parent x) + wrap f (g.count.val • b) := |
| 79 | (g.root.map_add _ _).trans (by rw [g.root_embed, g.root_embed, g.embed_wrap]) |
| 80 | change _ = g.embed (g.parent x + wrap c b) + wrap f (lift t) |
| 81 | rw [he] |
| 82 | calc |
| 83 | x + wrap f a = (g.embed (g.parent x) + wrap f (lift r)) + wrap f a := by |
| 84 | rw [show g.embed (g.parent x) + wrap f (lift r) = x from g.unpack_at x] |
| 85 | _ = g.embed (g.parent x) + wrap f (lift t + g.count.val • b) := by |
| 86 | rw [show lift t + g.count.val • b = lift r + a from (carry_spec r a).symm, |
| 87 | map_add, add_assoc] |
| 88 | _ = _ := by rw [map_add]; abel |
| 89 | |
| 90 | lemma moves_parent (g : Ratio c f) (x : Site f) (a : Cover) : |
| 91 | g.parent (x + wrap f a) = g.parent x + wrap c (carry (g.residue x) a) := by |
| 92 | rw [moves_site, g.assemble_parent] |
| 93 | |
| 94 | lemma moves_residue (g : Ratio c f) (x : Site f) (a : Cover) : |
| 95 | g.residue (x + wrap f a) = arrives (g.residue x) a := by |
| 96 | rw [moves_site, g.assemble_res] |
| 97 | |
| 98 | variable {α β ξ : Type*} |
| 99 | |
| 100 | def fineCompose [Fintype β] (P : Row α β) (Q : Cross L β ξ) : Cross L α ξ := |
| 101 | fun i j z ↦ ∑ b, routed (carry i.1) (P i.2 b) (fun a ↦ Q (arrives i.1 a, b) j) z |
| 102 | |
| 103 | lemma installed_sift (g : Ratio c f) (P : Cross g.count α β) (x : Site f) (y : Site c) |
| 104 | (i : α) (j : β) : installed g P (x,i) (y,j) = |
| 105 | sift (P (g.residue x, i) j) c (g.parent x) y := by |
| 106 | rw [installed, Matrix.submatrix_apply, split_co] |
| 107 | rfl |
| 108 | |
| 109 | variable [Fintype β] {η A B : ℝ} |
| 110 | |
| 111 | lemma strip_fine {P : Row α β} {Q : Cross L β ξ} (he : 0 ≤ η) |
| 112 | (hP : P.strip η A) (hQ : Q.strip η B) : |
| 113 | (fineCompose P Q).strip η (Fintype.card β * (A * B)) := by |
| 114 | rintro ⟨r,i⟩ j |
| 115 | exact width_sum_finite fun b ↦ |
| 116 | width_routed he (carry_size r) (hP i b) (fun a ↦ hQ (arrives r a,b) j) |
| 117 | |
| 118 | lemma installed_fine (g : Ratio c f) {P : Row α β} {Q : Cross g.count β ξ} (he : 0 ≤ η) |
| 119 | (hP : P.strip η A) (hQ : Q.strip η B) : |
| 120 | installed g (fineCompose P Q) = P.acts f * installed g Q := by |
| 121 | ext ⟨x,i⟩ ⟨y,j⟩ |
| 122 | rw [Matrix.mul_apply, Fintype.sum_prod_type, Finset.sum_comm] |
| 123 | simp_rw [installed_sift] |
| 124 | let r := g.residue x |
| 125 | let entry (b : β) (a : Cover) := Q (arrives r a, b) j |
| 126 | let column (b : β) (w : Site f) := sift (Q (g.residue w,b) j) c (g.parent w) y |
| 127 | change sift (fun z ↦ ∑ b, routed (carry r) (P i b) (entry b) z) c (g.parent x) y = |
| 128 | ∑ b, ∑ w, sift (P i b) f x w * column b w |
| 129 | have hb (b : β) (a) : Width η B (entry b a) := hQ _ _ |
| 130 | have hs (b : β) := (width_routed he (carry_size r) (hP i b) (hb b)).summable he |
| 131 | rw [sift_sum_finite hs] |
| 132 | refine Finset.sum_congr rfl fun b _ ↦ ?_ |
| 133 | rw [sift_action ((hP _ _).summable he), sift_routed he (carry_size r) (hP _ _) (hb b)] |
| 134 | refine tsum_congr fun a ↦ ?_ |
| 135 | unfold entry column r |
| 136 | rw [moves_parent, moves_residue] |
| 137 | |
| 138 | lemma installed_compose (g : Ratio c f) {P : Cross g.count α β} {Q : Row β ξ} (he : 0 ≤ η) |
| 139 | (hP : P.strip η A) (hQ : Q.strip η B) : |
| 140 | installed g (composeRows P Q) = installed g P * Q.acts c := by |
| 141 | unfold installed |
| 142 | rw [acts_compose he hP hQ]; rfl |
| 143 | |
| 144 | end YM.Work.F08 |