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.Bid.Energy |
| 2 | |
| 3 | /-! |
| 4 | # Absolute summation tools for E07 |
| 5 | |
| 6 | The basic estimate uses a *per-row* small amount and a globally summable |
| 7 | (here finite torus, but uniformly priced) excess. Thus it can propagate a |
| 8 | bound on only the nonzero inputs of the rows being tested. With `unzip`, use |
| 9 | the column bound for the uniform small piece, and the **row** bound of the |
| 10 | original Pay matrix for the excess. Include the actual Bool slots. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Work.E07 |
| 15 | open Function Lattice RG Finset Wilson Pressure Pressure.Stores Bid |
| 16 | open scoped InnerProductSpace BigOperators |
| 17 | |
| 18 | variable {G : Gauge} {m n : Side} |
| 19 | |
| 20 | section finite |
| 21 | variable {α β : Type*} [Fintype α] |
| 22 | |
| 23 | /-- Bound the small part by a row sum. The inputs outside the nonzero |
| 24 | stencil need no bound. -/ |
| 25 | lemma small_sum {k : α → ℝ} (hk : ∀ i, 0 ≤ k i) {r u : ℝ} (hr : ∑ i, k i ≤ r) |
| 26 | (hu : 0 ≤ u) {g h : α → ℝ} (hh : ∀ i, 0 < k i → g i ≤ u + h i) : |
| 27 | ∑ i, k i * g i ≤ r * u + ∑ i, k i * h i := by |
| 28 | calc |
| 29 | _ ≤ ∑ i, k i * (u + h i) := sum_le_sum fun i _ => by |
| 30 | rcases eq_or_lt_of_le (hk i) with e|e |
| 31 | · rw [← e, zero_mul, zero_mul] |
| 32 | exact mul_le_mul_of_nonneg_left (hh i e) e.le |
| 33 | _ = (∑ i, k i) * u + ∑ i, k i * h i := by |
| 34 | simp_rw [mul_add, Finset.sum_add_distrib, Finset.sum_mul] |
| 35 | _ ≤ _ := by gcongr |
| 36 | |
| 37 | variable [Fintype β] |
| 38 | |
| 39 | /-- Bound the total excess charged by a set of rows, using full columns. -/ |
| 40 | lemma excess_sum (k : α → β → ℝ) (s : Finset α) (hk : ∀ i j, 0 ≤ k i j) |
| 41 | {b : ℝ} (hc : ∀ j, ∑ i, k i j ≤ b) {g : β → ℝ} (hg : ∀ j, 0 ≤ g j) : |
| 42 | ∑ i ∈ s, ∑ j, k i j * g j ≤ b * ∑ j, g j := by |
| 43 | rw [sum_comm, Finset.mul_sum]; apply sum_le_sum |
| 44 | intro j _ |
| 45 | rw [← Finset.sum_mul] |
| 46 | apply mul_le_mul_of_nonneg_right ?_ (hg j) |
| 47 | exact (sum_le_sum_of_subset_of_nonneg (subset_univ s) (fun i _ _ => hk i j)).trans (hc j) |
| 48 | |
| 49 | variable (F : α → β → Pay G) |
| 50 | |
| 51 | omit [Fintype β] in |
| 52 | lemma unzip_norm (v : α → G.Color) (j : β) : ‖unzip F v j‖ ≤ ∑ i, ‖F i j‖ * ‖v i‖ := by |
| 53 | unfold unzip |
| 54 | apply (norm_sum_le _ _).trans |
| 55 | exact sum_le_sum fun i _ => by |
| 56 | simpa only [LinearIsometryEquiv.norm_map] using ((ContinuousLinearMap.adjoint (F i j)).le_opNorm (v i)) |
| 57 | |
| 58 | lemma unzip_total (s : Finset β) (v : α → G.Color) {g : α → ℝ} (hg : ∀ i, 0 ≤ g i) |
| 59 | {r c u : ℝ} (hr : ∀ i, ∑ j, ‖F i j‖ ≤ r) (hc : ∀ j, ∑ i, ‖F i j‖ ≤ c) (hu : 0 ≤ u) |
| 60 | (hv : ∀ j ∈ s, ∀ i, F i j ≠ 0 → ‖v i‖ ≤ u + g i) : |
| 61 | ∑ j ∈ s, ‖unzip F v j‖ ≤ (s.card : ℝ) * (c * u) + r * ∑ i, g i := by |
| 62 | calc |
| 63 | _ ≤ ∑ j ∈ s, (c * u + ∑ i, ‖F i j‖ * g i) := sum_le_sum fun j hj => |
| 64 | (unzip_norm F v j).trans (small_sum (fun _ => norm_nonneg _) (hc j) hu |
| 65 | (fun i hi => hv j hj i (norm_pos_iff.mp hi))) |
| 66 | _ = (s.card : ℝ) * (c * u) + ∑ j ∈ s, ∑ i, ‖F i j‖ * g i := by |
| 67 | rw [sum_add_distrib, sum_const, nsmul_eq_mul] |
| 68 | _ ≤ _ := by |
| 69 | gcongr; exact excess_sum (fun j i => ‖F i j‖) _ (fun _ _ => norm_nonneg _) hr hg |
| 70 | |
| 71 | omit [Fintype β] in |
| 72 | lemma unzip_uniform (v : α → G.Color) {c u : ℝ} (j : β) (hc : ∑ i, ‖F i j‖ ≤ c) (hu : 0 ≤ u) |
| 73 | (hv : ∀ i, ‖v i‖ ≤ u) : ‖unzip F v j‖ ≤ c * u := by |
| 74 | refine (unzip_norm F v j).trans ?_ |
| 75 | calc |
| 76 | _ ≤ ∑ i, ‖F i j‖ * u := sum_le_sum fun i _ => mul_le_mul_of_nonneg_left (hv i) (norm_nonneg _) |
| 77 | _ ≤ c * u := by rw [← Finset.sum_mul]; gcongr |
| 78 | |
| 79 | omit [Fintype α] in |
| 80 | lemma zip_uniform (v : β → G.Color) {r u : ℝ} (i : α) (hr : ∑ j, ‖F i j‖ ≤ r) (hu : 0 ≤ u) |
| 81 | (hv : ∀ j, ‖v j‖ ≤ u) : ‖zip F v i‖ ≤ r * u := by |
| 82 | unfold zip |
| 83 | refine (norm_sum_le _ _).trans ?_ |
| 84 | calc |
| 85 | _ ≤ ∑ j, ‖F i j‖ * u := sum_le_sum fun j _ => ((F i j).le_opNorm (v j)).trans |
| 86 | (mul_le_mul_of_nonneg_left (hv j) (norm_nonneg _)) |
| 87 | _ ≤ _ := by rw [← Finset.sum_mul]; gcongr |
| 88 | end finite |
| 89 | |
| 90 | section paths |
| 91 | variable {P : PathData G} {c : Clip} {x t D : ℝ} {d : ℕ} {f : Site n → Site m} |
| 92 | (hp : LaneCounts P x t c D d f) {E : Cell n → ℝ} |
| 93 | |
| 94 | /-- Majorizes the excess for either Bool slot at a face. -/ |
| 95 | def plottedExcess (P : PathData G) (c : Clip) (x : ℝ) (d : ℕ) (E : Cell n → ℝ) (p : Cell n) : ℝ := |
| 96 | Real.sqrt c.direct * E p + ∑ i, crunch P (till x) d p i * E i |
| 97 | |
| 98 | include hp |
| 99 | lemma plottedExcess_nonneg (hE : ∀ i, 0 ≤ E i) (p : Cell n) : 0 ≤ plottedExcess P c x d E p := by |
| 100 | exact add_nonneg (mul_nonneg (Real.sqrt_nonneg _) (hE _)) |
| 101 | (sum_nonneg fun i _ => mul_nonneg (hp.attic _ i) (hE _)) |
| 102 | |
| 103 | lemma plottedExcess_total (hE : ∀ i, 0 ≤ E i) : |
| 104 | ∑ p : Twin n, plottedExcess P c x d E p.1 ≤ 2 * (Real.sqrt c.direct + D) * ∑ i, E i := by |
| 105 | have he : ∑ p : Cell n, plottedExcess P c x d E p ≤ (Real.sqrt c.direct + D) * ∑ i, E i := by |
| 106 | unfold plottedExcess |
| 107 | rw [sum_add_distrib, ← Finset.mul_sum, add_mul]; gcongr |
| 108 | exact excess_sum _ univ hp.attic hp.back hE |
| 109 | unfold Twin; rw [Fintype.sum_prod_type] |
| 110 | simp only [sum_const, card_univ, Fintype.card_bool, nsmul_eq_mul, Nat.cast_ofNat, ← Finset.mul_sum] |
| 111 | rw [mul_assoc]; gcongr |
| 112 | |
| 113 | lemma plotted_le (U : Config G n) (hE : ∀ i, 0 ≤ E i) (p : Twin n) (hD : 0 ≤ D) |
| 114 | {u : ℝ} (hu : 0 ≤ u) (hh : ∀ z : Cell n, separation (f p.1.1) (f z.1) ≤ radiusB x / 50 → toll U z ≤ u + E z) : |
| 115 | ‖plotted P c (till x) d U p‖ ≤ (Real.sqrt c.direct + D) * u + plottedExcess P c x d E p.1 := by |
| 116 | unfold plotted plottedExcess |
| 117 | split |
| 118 | · have H := small_sum (hp.attic p.1) (hp.finite p.1) hu (fun i hi => hh i (hp.maps _ _ hi)) |
| 119 | apply ((hp.valued p.1 U).trans H).trans |
| 120 | rw [add_mul] |
| 121 | exact add_le_add (le_add_of_nonneg_left (mul_nonneg (Real.sqrt_nonneg _) hu)) |
| 122 | (le_add_of_nonneg_left (mul_nonneg (Real.sqrt_nonneg _) (hE _))) |
| 123 | unfold shoot |
| 124 | rw [norm_smul, Real.norm_of_nonneg (Real.sqrt_nonneg _)] |
| 125 | apply le_trans (mul_le_mul_of_nonneg_left ((G.curvature_norm _).trans (hh p.1 (by simp))) (Real.sqrt_nonneg _)) |
| 126 | rw [mul_add, add_mul] |
| 127 | exact add_le_add (le_add_of_nonneg_right (mul_nonneg hD hu)) |
| 128 | (le_add_of_nonneg_right (sum_nonneg fun i _ => mul_nonneg (hp.attic _ i) (hE _))) |
| 129 | |
| 130 | /-- Use the local envelope for all tested rows, pay total excess only once. -/ |
| 131 | lemma plotted_total (U : Config G n) (s : Finset (Twin n)) (hE : ∀ i, 0 ≤ E i) |
| 132 | (hD : 0 ≤ D) {u : ℝ} (hu : 0 ≤ u) |
| 133 | (hh : ∀ p ∈ s, ∀ z : Cell n, separation (f p.1.1) (f z.1) ≤ radiusB x / 50 → toll U z ≤ u + E z) : |
| 134 | ∑ p ∈ s, ‖plotted P c (till x) d U p‖ ≤ |
| 135 | (s.card : ℝ) * ((Real.sqrt c.direct + D) * u) + 2 * (Real.sqrt c.direct + D) * ∑ i, E i := by |
| 136 | refine (sum_le_sum (s := s) (fun p hi => plotted_le hp U hE p hD hu (hh p hi))).trans ?_ |
| 137 | rw [sum_add_distrib, sum_const, nsmul_eq_mul] |
| 138 | gcongr |
| 139 | exact le_trans (sum_le_sum_of_subset_of_nonneg (subset_univ s) (fun _ _ _ => plottedExcess_nonneg hp hE _)) |
| 140 | (plottedExcess_total hp hE) |
| 141 | end paths |
| 142 | |
| 143 | end YM.Work.E07 |