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.Craft |
| 2 | import YM.Work.F08.Width |
| 3 | |
| 4 | /-! |
| 5 | Operations at a single scale (used also with residues as indices on a |
| 6 | cross row when composing on the coarse side). The count in the estimate for |
| 7 | composition is the count of intermediate types, not multiplied by the |
| 8 | period volume. Products are real kernel products in the counting measure. |
| 9 | -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace YM.Work.F08 |
| 15 | open Lattice Laurent Bloch |
| 16 | open scoped BigOperators |
| 17 | |
| 18 | variable {α β ξ : Type*} {η η' A A' B : ℝ} {P R : Row α β} {Q : Row β ξ} |
| 19 | |
| 20 | lemma strip_mono (hP : P.strip η A) (he : η' ≤ η) (hb : A ≤ A') : P.strip η' A' := |
| 21 | fun i j ↦ (hP i j).mono he hb |
| 22 | |
| 23 | /-- Cover convolution, + displacement convention. -/ |
| 24 | def composeRows [Fintype β] (P : Row α β) (Q : Row β ξ) : Row α ξ := fun i j z ↦ |
| 25 | ∑ b, routed id (P i b) (fun _ ↦ Q b j) z |
| 26 | |
| 27 | lemma strip_compose [Fintype β] (he : 0 ≤ η) (hP : P.strip η A) (hQ : Q.strip η B) : |
| 28 | (composeRows P Q).strip η (Fintype.card β * (A * B)) := by |
| 29 | intro i j |
| 30 | exact width_sum_finite fun b ↦ |
| 31 | width_routed (d := id) he (fun _ ↦ le_rfl) (hP i b) (fun _ ↦ hQ b j) |
| 32 | |
| 33 | lemma acts_compose [Fintype β] (he : 0 ≤ η) (hP : P.strip η A) (hQ : Q.strip η B) |
| 34 | (n : Side) : (composeRows P Q).acts n = P.acts n * Q.acts n := by |
| 35 | ext ⟨x,i⟩ ⟨y,j⟩ |
| 36 | rw [Matrix.mul_apply, Fintype.sum_prod_type, Finset.sum_comm] |
| 37 | change sift (fun z ↦ ∑ b, routed id _ _ z) n x y = |
| 38 | ∑ b, ∑ w, sift (P i b) n x w * sift (Q b j) n w y |
| 39 | have hs (b : β) := (width_routed (d := id) he (fun a ↦ le_rfl) (hP i b) |
| 40 | (fun _ ↦ hQ b j)).summable he |
| 41 | rw [sift_sum_finite hs] |
| 42 | refine Finset.sum_congr rfl fun b _ ↦ ?_ |
| 43 | calc |
| 44 | _ = ∑' a, P i b a * sift (Q b j) n (x + wrap n a) y := |
| 45 | sift_routed (d := id) he (fun a ↦ le_rfl) (hP i b) (fun _ ↦ hQ b j) n x y |
| 46 | _ = _ := (sift_action ((hP i b).summable he) n x (fun w ↦ sift (Q b j) n w y)).symm |
| 47 | |
| 48 | def minusRows (P R : Row α β) : Row α β := fun i j z ↦ P i j z - R i j z |
| 49 | |
| 50 | lemma strip_minus (hP : P.strip η A) (hR : R.strip η B) : |
| 51 | (minusRows P R).strip η (A + B) := by |
| 52 | intro i j |
| 53 | let W (z : Cover) := Real.exp (η * size z) |
| 54 | let F (z : Cover) := W z * ‖P i j z‖ |
| 55 | let G (z : Cover) := W z * ‖R i j z‖ |
| 56 | have hF : RG.SumBudget F A := hP i j |
| 57 | have hG : RG.SumBudget G B := hR i j |
| 58 | have hh : RG.SumBudget (fun z ↦ F z + G z) (A + B) := by |
| 59 | refine ⟨fun z ↦ add_nonneg (hF.1 z) (hG.1 z), hF.2.1.add hG.2.1, ?_⟩ |
| 60 | rw [Summable.tsum_add hF.2.1 hG.2.1] |
| 61 | exact add_le_add hF.2.2 hG.2.2 |
| 62 | unfold Width |
| 63 | refine budget_minor hh (fun _ ↦ by positivity) fun z ↦ ?_ |
| 64 | calc |
| 65 | W z * ‖P i j z - R i j z‖ ≤ W z * (‖P i j z‖ + ‖R i j z‖) := |
| 66 | mul_le_mul_of_nonneg_left (norm_sub_le ..) (Real.exp_pos _).le |
| 67 | _ = F z + G z := by unfold F G; rw [mul_add] |
| 68 | |
| 69 | lemma acts_minus (he : 0 ≤ η) (hP : P.strip η A) (hR : R.strip η B) |
| 70 | (n : Side) : (minusRows P R).acts n = P.acts n - R.acts n := by |
| 71 | ext ⟨x,i⟩ ⟨y,j⟩ |
| 72 | change sift (minusRows P R i j) n x y = sift (P i j) n x y - sift (R i j) n x y |
| 73 | unfold sift |
| 74 | rw [← (summable_sift ((hP i j).summable he) x y).tsum_sub |
| 75 | (summable_sift ((hR i j).summable he) x y)] |
| 76 | refine tsum_congr fun z ↦ ?_ |
| 77 | split <;> simp [minusRows] |
| 78 | |
| 79 | def scaleRows (l : ℝ) (P : Row α β) : Row α β := fun i j z ↦ l * P i j z |
| 80 | |
| 81 | lemma strip_scale (hP : P.strip η A) (l : ℝ) : (scaleRows l P).strip η (‖l‖ * A) := by |
| 82 | intro i j |
| 83 | let F (z : Cover) := Real.exp (η * size z) * ‖P i j z‖ |
| 84 | have hh : RG.SumBudget F A := hP i j |
| 85 | unfold Width |
| 86 | rw [show (fun z : Cover ↦ Real.exp (η * size z) * ‖scaleRows l P i j z‖) = |
| 87 | fun z ↦ ‖l‖ * F z by funext z; dsimp only [scaleRows, F]; rw [norm_mul]; ring] |
| 88 | refine ⟨fun z ↦ mul_nonneg (norm_nonneg _) (hh.1 _), hh.2.1.mul_left _, ?_⟩ |
| 89 | rw [tsum_mul_left] |
| 90 | exact mul_le_mul_of_nonneg_left hh.2.2 (norm_nonneg _) |
| 91 | |
| 92 | lemma acts_scale (P : Row α β) (l : ℝ) (n : Side) : |
| 93 | (scaleRows l P).acts n = l • P.acts n := by |
| 94 | ext ⟨x,i⟩ ⟨y,j⟩ |
| 95 | change sift (scaleRows l P i j) n x y = l * sift (P i j) n x y |
| 96 | unfold sift |
| 97 | rw [← tsum_mul_left] |
| 98 | refine tsum_congr fun z ↦ ?_ |
| 99 | split <;> simp [scaleRows] |
| 100 | |
| 101 | /-- Transpose on the torus reverses displacement. -/ |
| 102 | def transRows (P : Row α β) : Row β α := fun i j z ↦ P j i (-z) |
| 103 | |
| 104 | lemma strip_trans (hP : P.strip η A) : (transRows P).strip η A := by |
| 105 | intro i j |
| 106 | let F (z : Cover) := Real.exp (η * size z) * ‖P j i z‖ |
| 107 | let e := Equiv.neg Cover |
| 108 | have hh : RG.SumBudget F A := hP j i |
| 109 | unfold Width |
| 110 | rw [show (fun z : Cover ↦ Real.exp (η * size z) * ‖transRows P i j z‖) = |
| 111 | F ∘ (e : Cover → Cover) by funext z; simp [size_neg, transRows, F, e]] |
| 112 | exact ⟨fun z ↦ hh.1 (e z), e.summable_iff.mpr hh.2.1, (e.tsum_eq F).trans_le hh.2.2⟩ |
| 113 | |
| 114 | lemma acts_trans (P : Row α β) (n : Side) : |
| 115 | (transRows P).acts n = (P.acts n).transpose := by |
| 116 | ext ⟨x,i⟩ ⟨y,j⟩ |
| 117 | change sift (transRows P i j) n x y = sift (P j i) n y x |
| 118 | unfold sift |
| 119 | let F (z : Cover) := if x = y + wrap n z then P j i z else 0 |
| 120 | change _ = ∑' z, F z |
| 121 | rw [← (Equiv.neg Cover).tsum_eq F] |
| 122 | refine tsum_congr fun z ↦ ?_ |
| 123 | have he : y = x + wrap n z ↔ x = y + -(wrap n z) := by |
| 124 | constructor |
| 125 | · intro H; rw [H]; simp [add_assoc] |
| 126 | intro H; rw [H]; simp [add_assoc] |
| 127 | simp [F, he, transRows] |
| 128 | |
| 129 | def stackRows (P : Row α β) (U : Row ξ β) : Row (α ⊕ ξ) β := |
| 130 | fun i j z ↦ i.elim (fun a ↦ P a j z) (fun c ↦ U c j z) |
| 131 | |
| 132 | lemma strip_stack {U : Row ξ β} (hP : P.strip η A) (hU : U.strip η B) : |
| 133 | (stackRows P U).strip η (max A B) := by |
| 134 | rintro (a|c) j |
| 135 | · exact (hP a j).mono le_rfl (le_max_left ..) |
| 136 | exact (hU c j).mono le_rfl (le_max_right ..) |
| 137 | |
| 138 | lemma acts_stack (P : Row α β) (U : Row ξ β) (n : Side) : |
| 139 | (stackRows P U).acts n = Craft.stack (P.acts n) (U.acts n) := by |
| 140 | ext ⟨x,i⟩ ⟨y,j⟩; cases i <;> rfl |
| 141 | |
| 142 | def unitRow (α : Type*) [DecidableEq α] : Row α α := fun i j z ↦ |
| 143 | if z = 0 then if i = j then 1 else 0 else 0 |
| 144 | |
| 145 | lemma strip_unit [DecidableEq α] : (unitRow α).strip η 1 := by |
| 146 | intro i j |
| 147 | let F (z : Cover) := Real.exp (η * size z) * ‖unitRow α i j z‖ |
| 148 | have hz (z : Cover) (h : z ≠ 0) : F z = 0 := by simp [F, unitRow, h] |
| 149 | change RG.SumBudget F 1 |
| 150 | refine ⟨fun z ↦ ?_, summable_of_ne_finset_zero (s := {0}) ?_, ?_⟩ |
| 151 | · unfold F; positivity |
| 152 | · intro z h; exact hz z (by simpa using h) |
| 153 | rw [tsum_eq_single 0 hz] |
| 154 | by_cases hi : i = j <;> simp [F, unitRow, hi, size] |
| 155 | |
| 156 | lemma acts_unit [DecidableEq α] (n : Side) : (unitRow α).acts n = 1 := by |
| 157 | ext ⟨x,i⟩ ⟨y,j⟩ |
| 158 | rw [Row.acts, Matrix.of_apply, tsum_eq_single 0, Matrix.one_apply] |
| 159 | · by_cases he : x = y <;> simp [unitRow, *, eq_comm] |
| 160 | intro z hz |
| 161 | simp [unitRow, hz] |
| 162 | |
| 163 | end YM.Work.F08 |