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.F06.Cartan |
| 2 | |
| 3 | /-! |
| 4 | # Entrywise budgets versus counting quadratic forms |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Work.F06 |
| 9 | open Exterior Matrix Finset |
| 10 | open scoped BigOperators |
| 11 | |
| 12 | variable {m n : Type*} [Fintype m] [Fintype n] |
| 13 | |
| 14 | /-- Keep the same energy convention as the Fourier promises in Craft. -/ |
| 15 | def sqLength (x : m → ℂ) : ℝ := (dotProduct (star x) x).re |
| 16 | |
| 17 | def pairingRe (A : Matrix m n ℂ) (x : m → ℂ) (y : n → ℂ) := |
| 18 | (dotProduct (star x) (A *ᵥ y)).re |
| 19 | |
| 20 | lemma sqLength_apply (x : m → ℂ) : sqLength x = ∑ i, ‖x i‖ ^ 2 := by |
| 21 | simp_rw [sqLength, dotProduct, Complex.re_sum, Pi.star_apply, Complex.star_def, |
| 22 | ← Complex.normSq_eq_conj_mul_self, Complex.ofReal_re, Complex.normSq_eq_norm_sq] |
| 23 | |
| 24 | lemma sqLength_nonneg (x : m → ℂ) : 0 ≤ sqLength x := by rw [sqLength_apply]; positivity |
| 25 | |
| 26 | lemma component_sq_le (x : m → ℂ) (i : m) : ‖x i‖ ^ 2 ≤ sqLength x := by |
| 27 | rw [sqLength_apply]; exact Finset.single_le_sum (fun j _ => sq_nonneg ‖x j‖) (mem_univ i) |
| 28 | |
| 29 | lemma component_le_length (x : m → ℂ) (i : m) : ‖x i‖ ≤ Real.sqrt (sqLength x) := by |
| 30 | rw [← sq_le_sq₀ (norm_nonneg _) (Real.sqrt_nonneg _), Real.sq_sqrt (sqLength_nonneg _)] |
| 31 | exact component_sq_le x i |
| 32 | |
| 33 | lemma sqLength_smul (a : ℂ) (x : m → ℂ) : sqLength (a • x) = ‖a‖ ^ 2 * sqLength x := by |
| 34 | simp_rw [sqLength_apply, Finset.mul_sum, Pi.smul_apply, norm_smul, mul_pow] |
| 35 | |
| 36 | lemma sqLength_add (x y : m → ℂ) : |
| 37 | sqLength (x + y) ≤ 2 * (sqLength x + sqLength y) := by |
| 38 | simp_rw [sqLength_apply, Pi.add_apply, ← Finset.sum_add_distrib, Finset.mul_sum] |
| 39 | apply Finset.sum_le_sum |
| 40 | intro i _ |
| 41 | calc |
| 42 | _ ≤ (‖x i‖ + ‖y i‖) ^ 2 := |
| 43 | pow_le_pow_left₀ (norm_nonneg _) (norm_add_le (x i) (y i)) _ |
| 44 | _ ≤ _ := by nlinarith only [sq_nonneg (‖x i‖ - ‖y i‖)] |
| 45 | |
| 46 | lemma pairingRe_gram (A : Matrix m n ℂ) (x : n → ℂ) : |
| 47 | pairingRe (A.conjTranspose * A) x x = sqLength (A *ᵥ x) := by |
| 48 | unfold pairingRe sqLength |
| 49 | rw [← Matrix.mulVec_mulVec, dotProduct_mulVec (star x), ← Matrix.star_mulVec] |
| 50 | |
| 51 | lemma pairingRe_add (A B : Matrix m n ℂ) (x : m → ℂ) (y : n → ℂ) : |
| 52 | pairingRe (A + B) x y = pairingRe A x y + pairingRe B x y := by |
| 53 | rw [pairingRe, Matrix.add_mulVec, dotProduct_add, Complex.add_re, pairingRe, pairingRe] |
| 54 | |
| 55 | lemma pairingRe_sub (A B : Matrix m n ℂ) (x : m → ℂ) (y : n → ℂ) : |
| 56 | pairingRe (A - B) x y = pairingRe A x y - pairingRe B x y := by |
| 57 | rw [pairingRe, Matrix.sub_mulVec, dotProduct_sub, Complex.sub_re, pairingRe, pairingRe] |
| 58 | |
| 59 | lemma pairingRe_scale (a : ℝ) (A : Matrix m n ℂ) (x : m → ℂ) (y : n → ℂ) : |
| 60 | pairingRe ((a:ℂ) • A) x y = a * pairingRe A x y := by |
| 61 | rw [pairingRe, pairingRe, Matrix.smul_mulVec, dotProduct_smul] |
| 62 | simp |
| 63 | |
| 64 | lemma pairingRe_expand (A : Matrix m m ℂ) (x y : m → ℂ) : |
| 65 | pairingRe A (x+y) (x+y) = |
| 66 | pairingRe A x x + pairingRe A x y + pairingRe A y x + pairingRe A y y := by |
| 67 | simp only [pairingRe, Matrix.mulVec_add, star_add, dotProduct_add, add_dotProduct, |
| 68 | Complex.add_re]; abel |
| 69 | |
| 70 | /-- Slightly loose count, to leave denominators manifestly positive. -/ |
| 71 | def countCeil (ι : Type*) [Fintype ι] : ℝ := (Fintype.card ι:ℝ)+1 |
| 72 | |
| 73 | lemma countCeil_pos (ι : Type*) [Fintype ι] : 0 < countCeil ι := by |
| 74 | unfold countCeil; positivity |
| 75 | |
| 76 | lemma pairingRe_bound (A : Matrix m m ℂ) {C : ℝ} (hC : 0 ≤ C) (he : ∀ i j, ‖A i j‖ ≤ C) |
| 77 | (x y : m → ℂ) : |
| 78 | |pairingRe A x y| ≤ countCeil m ^ 2 * C * Real.sqrt (sqLength x) * Real.sqrt (sqLength y) := by |
| 79 | let X := Real.sqrt (sqLength x) |
| 80 | let Y := Real.sqrt (sqLength y) |
| 81 | have hX : 0 ≤ X := Real.sqrt_nonneg _ |
| 82 | have hY : 0 ≤ Y := Real.sqrt_nonneg _ |
| 83 | unfold pairingRe |
| 84 | refine (Complex.abs_re_le_norm _).trans ?_ |
| 85 | simp only [dotProduct, Matrix.mulVec, Pi.star_apply, Finset.mul_sum] |
| 86 | calc |
| 87 | _ ≤ ∑ i, ‖∑ j, star (x i) * (A i j * y j)‖ := norm_sum_le .. |
| 88 | _ ≤ ∑ _ : m, ∑ _ : m, X * (C * Y) := by |
| 89 | refine Finset.sum_le_sum fun i _ => (norm_sum_le ..).trans (Finset.sum_le_sum fun j _ => ?_) |
| 90 | simp only [Complex.norm_mul, norm_star] |
| 91 | exact mul_le_mul (component_le_length _ _) (mul_le_mul (he _ _) |
| 92 | (component_le_length _ _) (norm_nonneg _) hC) (by positivity) hX |
| 93 | _ = (Fintype.card m : ℝ) ^ 2 * (C * X * Y) := by simp; ring |
| 94 | _ ≤ countCeil m ^ 2 * (C * X * Y) := |
| 95 | mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (by positivity) (by unfold countCeil; linarith) _) (by positivity) |
| 96 | _ = _ := by dsimp [X,Y]; ring |
| 97 | |
| 98 | lemma pairingRe_diag (A : Matrix m m ℂ) {C : ℝ} (hC : 0 ≤ C) (he : ∀ i j, ‖A i j‖ ≤ C) |
| 99 | (x : m → ℂ) : |pairingRe A x x| ≤ countCeil m ^ 2 * C * sqLength x := |
| 100 | (pairingRe_bound A hC he x x).trans_eq (by |
| 101 | rw [mul_assoc _ (Real.sqrt _) (Real.sqrt _), ← sq, Real.sq_sqrt (sqLength_nonneg x)]) |
| 102 | |
| 103 | variable {α : Type*} [Fintype α] [LinearOrder α] {r : ℕ} |
| 104 | |
| 105 | lemma contraction_price (w : Blade α (r+1) → ℂ) (k : α) : |
| 106 | sqLength ((left ℂ r k).transpose *ᵥ w) ≤ countCeil (Blade α r) * sqLength w := by |
| 107 | rw [sqLength_apply] |
| 108 | calc |
| 109 | _ ≤ ∑ _ : Blade α r, sqLength w := by |
| 110 | refine Finset.sum_le_sum fun i _ => ?_ |
| 111 | rw [eliminate_transpose w i k]; split |
| 112 | · rename_i h |
| 113 | simpa [Complex.norm_mul, parity] using component_sq_le w (addAxis k i h) |
| 114 | simpa using sqLength_nonneg w |
| 115 | _ = (Fintype.card (Blade α r):ℝ) * sqLength w := by simp |
| 116 | _ ≤ _ := mul_le_mul_of_nonneg_right (by unfold countCeil; linarith) (sqLength_nonneg _) |
| 117 | |
| 118 | /-- An away-from-harmonic completion-of-squares estimate stated for a |
| 119 | possibly oblique splitting. The extra `v/2` also pays for the norm of the |
| 120 | sum, so no orthogonality is needed. -/ |
| 121 | def mixPrice (v M : ℝ) := M + 2*M^2/v + v/2 |
| 122 | |
| 123 | lemma pairingRe_complete (A : Matrix m m ℂ) {C v L D : ℝ} (hC : 0 ≤ C) (hv : 0 < v) |
| 124 | (he : ∀ i j, ‖A i j‖ ≤ C) (y z : m → ℂ) |
| 125 | (hy : v * sqLength y ≤ pairingRe A y y) (hz : sqLength z ≤ L * D) : |
| 126 | v / 4 * sqLength (y+z) ≤ pairingRe A (y+z) (y+z) + |
| 127 | (mixPrice v (countCeil m ^ 2 * C) * L) * D := by |
| 128 | let M := countCeil m ^ 2 * C |
| 129 | let Y := Real.sqrt (sqLength y) |
| 130 | let Z := Real.sqrt (sqLength z) |
| 131 | have hY : Y^2 = sqLength y := Real.sq_sqrt (sqLength_nonneg y) |
| 132 | have hZ : Z^2 = sqLength z := Real.sq_sqrt (sqLength_nonneg z) |
| 133 | have h₁ : -(M*Y*Z) ≤ pairingRe A y z := |
| 134 | (abs_le.mp (pairingRe_bound A hC he y z)).1 |
| 135 | have h₂ : -(M*Z*Y) ≤ pairingRe A z y := |
| 136 | (abs_le.mp (pairingRe_bound A hC he z y)).1 |
| 137 | have h₃ : -(M * sqLength z) ≤ pairingRe A z z := |
| 138 | (abs_le.mp (pairingRe_diag A hC he z)).1 |
| 139 | have hm : 2*M*Y*Z ≤ v/2 * sqLength y + 2*M^2/v * sqLength z := by |
| 140 | rw [← hY, ← hZ] |
| 141 | apply sub_nonneg.mp |
| 142 | rw [show v/2 * Y^2 + 2*M^2/v * Z^2 - 2*M*Y*Z = |
| 143 | (v*Y - 2*M*Z)^2 / (2*v) by field_simp; ring] |
| 144 | positivity |
| 145 | have hpay : 0 ≤ mixPrice v M := by unfold mixPrice M; positivity |
| 146 | have hzz : mixPrice v M * sqLength z ≤ (mixPrice v M * L)*D := by |
| 147 | rw [mul_assoc]; exact mul_le_mul_of_nonneg_left hz hpay |
| 148 | change v/4 * sqLength (y+z) ≤ pairingRe A (y+z) (y+z) + (mixPrice v M * L)*D |
| 149 | apply le_trans _ (add_le_add_right hzz _) |
| 150 | rw [pairingRe_expand] |
| 151 | have hs := mul_le_mul_of_nonneg_left (sqLength_add y z) (by positivity : 0 ≤ v/4) |
| 152 | unfold mixPrice |
| 153 | linarith only [hs, hm, h₁, h₂, h₃, hy] |
| 154 | |
| 155 | end YM.Work.F06 |