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.RG08.Packets.Torus |
| 2 | |
| 3 | /-! |
| 4 | # Periodization of the (mixed) neutral kernel substitution |
| 5 | -/ |
| 6 | noncomputable section |
| 7 | namespace YM.RG08.Packets |
| 8 | open Filter Finset Pert.Bulk Laurent Lattice Bloch Stationary Function Matrix |
| 9 | open scoped Topology ENNReal |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | variable {α β : Type} [Fintype α] [Fintype β] {L c f : Side} |
| 13 | {p q r v σ τ : ℝ} {d : ℕ} {B : Packet 1 α} {T U : Kernel α β} |
| 14 | |
| 15 | def second (D : Packet 1 α) : Kernel α α := fun x y=>D x (fun _=>y) |
| 16 | |
| 17 | omit [Fintype α] [Fintype β] in |
| 18 | theorem pass_push (h : town 1 B) (ht : city L T) (hk : city L U) : town 1 (push B T (fun _ _=>U)) := by |
| 19 | intro x y u |
| 20 | change push B T (fun _ _ => U) (pass ((1 : Side).val • u) x) |
| 21 | (fun _ => pass u y) = push B T (fun _ _ => U) x (fun _ => y) |
| 22 | rw [show (1 : Side).val = 1 from rfl, one_smul] |
| 23 | simp only [push] |
| 24 | simp_rw [transmit_one B (fun _ => U)] |
| 25 | rw [← ((Equiv.addRight (L.val • u)).prodCongr (Equiv.refl α)).tsum_eq] |
| 26 | apply tsum_congr |
| 27 | intro a |
| 28 | change T (pass (L.val • u) a) (pass u x) * _ = _ |
| 29 | rw [ht] |
| 30 | congr 1 |
| 31 | rw [← ((Equiv.addRight (L.val • u)).prodCongr (Equiv.refl α)).tsum_eq] |
| 32 | apply tsum_congr |
| 33 | intro v |
| 34 | change B (pass (L.val • u) a) (fun _ => pass (L.val • u) v) * |
| 35 | U (pass (L.val • u) v) (pass u y) = B a (fun _ => v) * U v y |
| 36 | rw [hk] |
| 37 | have hb : B (pass (L.val • u) a) (fun _ => pass (L.val • u) v) = |
| 38 | B a (fun _ => v) := by |
| 39 | simpa only [show (1 : Side).val = 1 from rfl, one_smul] using h a v (L.val • u) |
| 40 | rw [hb] |
| 41 | omit [Fintype β] in |
| 42 | theorem row_bind_bill {A : Kernel β α} {Z : Kernel α β} (x y) (hA : Summable (A x)) (hZ : ∀ z, ‖Z z y‖ ≤ r) : |
| 43 | bind A Z x y = ∑' u,A x u * Z u y := by |
| 44 | rw [bind_apply] |
| 45 | let E (u: Market α) := A x u * Z u y |
| 46 | have hs : Summable E := by |
| 47 | apply Summable.of_norm_bounded (hA.norm.mul_right r) |
| 48 | intro z |
| 49 | exact (_root_.norm_mul_le ..).trans (mul_le_mul_of_nonneg_left (hZ z) (norm_nonneg _)) |
| 50 | change (∑ i : α, ∑' z : Cover, E (z, i)) = ∑' u, E u |
| 51 | calc |
| 52 | _ = ∑' i : α, ∑' z : Cover, E (z, i) := (tsum_fintype _).symm |
| 53 | _ = ∑' u : α × Cover, E (u.2, u.1) := hs.prod_symm.tsum_prod.symm |
| 54 | _ = ∑' u : Market α, E u := (Equiv.prodComm α Cover).tsum_eq E |
| 55 | |
| 56 | -- generic type α₁ as well. lift version |
| 57 | omit [Fintype β] in |
| 58 | private theorem binds {γ : Type} {A : Kernel γ α} {Z : Kernel α β} (x y) (hA : Summable (A x)) (hZ : ∀ z, ‖Z z y‖ ≤ r) : |
| 59 | bind A Z x y = ∑' u,A x u * Z u y := by |
| 60 | rw [bind_apply] |
| 61 | let E (u: Market α) := A x u * Z u y |
| 62 | have hs : Summable E := by |
| 63 | apply Summable.of_norm_bounded (hA.norm.mul_right r) |
| 64 | intro z |
| 65 | exact (_root_.norm_mul_le ..).trans (mul_le_mul_of_nonneg_left (hZ z) (norm_nonneg _)) |
| 66 | change (∑ i : α, ∑' z : Cover, E (z, i)) = ∑' u, E u |
| 67 | calc |
| 68 | _ = ∑' i : α, ∑' z : Cover, E (z, i) := (tsum_fintype _).symm |
| 69 | _ = ∑' u : α × Cover, E (u.2, u.1) := hs.prod_symm.tsum_prod.symm |
| 70 | _ = ∑' u : Market α, E u := (Equiv.prodComm α Cover).tsum_eq E |
| 71 | |
| 72 | omit [Fintype β] in |
| 73 | theorem second_ship (hT : Atlas σ L d T q)(hU : Atlas σ L d U p) |
| 74 | (hB : Folded τ B r) (hτ : 0 ≤ τ) (hr : 0 ≤ r) : |
| 75 | RowCost 0 1 (swap T) (q*(L.val:ℝ)^4/(L.val:ℝ)^d) ∧ |
| 76 | RowCost 0 1 (second B) r ∧ |
| 77 | RowCost 0 L (bind (second B) U) (Fintype.card α*(r*(p/(L.val:ℝ)^d))) ∧ |
| 78 | second (push B T (fun _ _=> U)) = bind (swap T) (bind (second B) U) := by |
| 79 | have hA : RowCost 0 1 (swap T) (q*(L.val:ℝ)^4/(L.val:ℝ)^d) := fun v k=>by |
| 80 | simpa only [zero_mul, Function.swap] using (hT.col.mono hT.width) k v |
| 81 | have hX : RowCost 0 1 (second B) r := by |
| 82 | intro x i |
| 83 | have he : ∑' y:Market α, bill (second B x y) (τ*sep x.1 y.1) ≤ ENNReal.ofReal r := by |
| 84 | have hf := (identify (Market α)).symm.tsum_eq (fun w=> bill (B x w) (τ*expense x w)) |
| 85 | refine (Eq.trans_le ?_ (hf.le.trans (hB x))) |
| 86 | congr 2; ext1 z; change bill (second B x z) _= bill (B x (fun _ : Fin 1=>z)) _ |
| 87 | simp [second,expense] -- Fin 1 simp |
| 88 | rfl |
| 89 | refine (ENNReal.tsum_le_tsum (g:=fun z:Cover=>bill (second B x (z,i)) (τ*sep x.1 z)) fun z=>?_).trans ?_ |
| 90 | · rw [zero_mul]; apply bill_mono le_rfl; exact mul_nonneg hτ (sep_nonneg ..) |
| 91 | exact (ENNReal.tsum_comp_le_tsum_of_injective (f:=fun z=>((z,i):Market α)) (fun _ _ hz=>congr_arg Prod.fst hz) (fun v=>bill (second B x v) (τ*sep x.1 v.1))).trans he |
| 92 | have hY : RowCost 0 L U (p/(L.val:ℝ)^d) := hU.row.mono hU.width |
| 93 | let Z := (Fintype.card α:ℝ)*(r*(p/(L.val:ℝ)^d)) |
| 94 | have hp := hU.nonneg |
| 95 | have hh : RowCost 0 L (bind (second B) U) Z := row_block hr (by positivity) hX hY (fun _ _ _=>by simp) |
| 96 | refine ⟨hA,hX,hh,?_⟩ |
| 97 | funext y z |
| 98 | have hy x:= bill_folded x hτ hB |
| 99 | have hb (x : Market α) : ‖bind (second B) U x z‖ ≤ Z := by |
| 100 | apply (ENNReal.ofReal_le_ofReal_iff (show 0 ≤ Z by unfold Z; positivity)).mp |
| 101 | calc |
| 102 | ENNReal.ofReal ‖bind (second B) U x z‖ = |
| 103 | bill (bind (second B) U x z) (0 * delta L x.1 z.1) := by |
| 104 | simp [bill] |
| 105 | _ ≤ ∑' w : Cover, bill (bind (second B) U x (w, z.2)) |
| 106 | (0 * delta L x.1 w) := ENNReal.le_tsum z.1 |
| 107 | _ ≤ ENNReal.ofReal Z := hh x z.2 |
| 108 | rw [binds y z (cost_any hA le_rfl y) hb] |
| 109 | have hb (x : Market α) : bind (second B) U x z=∑'v, B x (fun _=>v)*U v z := binds x z (hy x) (fun z' => atlas_entry hU z' z) |
| 110 | simp only [second, push, Function.swap] |
| 111 | simp_rw [transmit_one B (fun _ => U)] |
| 112 | apply tsum_congr; intro x |
| 113 | exact congr_arg (T x y * ·) (hb x).symm |
| 114 | |
| 115 | omit [Fintype β] in |
| 116 | theorem town_hall (hc : f.val=c.val*L.val) (hT : Atlas σ L d T q) (hU : Atlas σ L d U p) (h : city L T) |
| 117 | (hB : Folded τ B r) (hτ : 0 ≤ τ) (hr : 0 ≤ r) |
| 118 | {M N : Matrix (Co f α) (Co c β) ℝ} {A : Matrix (Co f α) (Co f α) ℝ} (hp : Matches T M) (he : Matches U N) (ha : Matches (second B) A) : |
| 119 | Matches (second (push B T (fun _ _=>U))) (M.transpose*A*N) := by |
| 120 | obtain ⟨ht,hk,hj,hB'⟩:= second_ship hT hU hB hτ hr |
| 121 | rw [hB',Matrix.mul_assoc] |
| 122 | exact applies_bind ht hj le_rfl le_rfl (matches_back hc h hp) (applies_bind hk hU.row le_rfl hU.width ha he) |
| 123 | |
| 124 | end YM.RG08.Packets |