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.OPE.Columns.Accounts |
| 2 | |
| 3 | /-! |
| 4 | # The low (at top) plane |
| 5 | |
| 6 | Starting at the *bare* end. Show expansion on the coordinates of weight ≤ e under |
| 7 | transport, and the slower expansion bound on the space transverse to those. Not the |
| 8 | cone without unit, and not a new transfer omitting the nonlinear mixing. All these |
| 9 | comparisons use the *exact* representative in `Columns.Accounts`. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.OPE |
| 14 | open Function Set Filter RG Wilson Lattice Labels Source MergeProof Bid Extra.Histories |
| 15 | open Push.Local Work.G08 |
| 16 | open scoped Topology ContDiff BigOperators |
| 17 | |
| 18 | variable {G : Gauge} {d : ℕ} |
| 19 | namespace Columns |
| 20 | variable (F : Labels.Frame G d) |
| 21 | |
| 22 | /-- Projection to columns of weight at most e. -/ |
| 23 | def low (e : ℕ) : Module.End ℂ F.Coeff where |
| 24 | toFun v i := if (F.grades i).1 ≤ e then v i else 0 |
| 25 | map_add' v u := by funext i; by_cases h : (F.grades i).1 ≤ e <;> simp [h] |
| 26 | map_smul' c v := by funext i; by_cases h : (F.grades i).1 ≤ e <;> simp [h] |
| 27 | |
| 28 | local notation "μ" => F.coeffSize |
| 29 | variable (e : ℕ) |
| 30 | local notation "P" => low F e |
| 31 | |
| 32 | @[simp] lemma low_apply (x : F.Coeff) (i) : low F e x i = if (F.grades i).1 ≤ e then x i else 0 := rfl |
| 33 | lemma project (x : F.Coeff) : P (P x) = P x := by |
| 34 | ext i; by_cases h : (F.grades i).1 ≤ e <;> simp [h] |
| 35 | lemma size_low (x : F.Coeff) : μ (P x) ≤ μ x := |
| 36 | Finset.sum_le_sum fun i _ => by by_cases h : (F.grades i).1 ≤ e <;> simp [low_apply,h] |
| 37 | lemma size_rest (x : F.Coeff) : μ (x-P x) ≤ μ x := |
| 38 | Finset.sum_le_sum fun i _ => by by_cases h : (F.grades i).1 ≤ e <;> simp [low_apply,h] |
| 39 | |
| 40 | variable {F} |
| 41 | lemma triangular_high {B : F.Coeff →ₗ[ℂ] F.Coeff} {c : ℝ} (h : Leading B c) (x : F.Coeff) |
| 42 | (hx : P x = 0) : P (B x) = 0 := by |
| 43 | ext i; by_cases hi : (F.grades i).1 ≤ e |
| 44 | swap; · simp [hi] |
| 45 | rw [low_apply, if_pos hi, ← matrix_coeff]; apply Finset.sum_eq_zero |
| 46 | intro j _; by_cases hh : (F.grades j).1 ≤ e |
| 47 | · have hz : x j = 0 := by simpa only [low_apply, if_pos hh, Pi.zero_apply] using congr_fun hx j |
| 48 | rw [hz, mul_zero] |
| 49 | by_contra! hne |
| 50 | obtain ⟨hne,-⟩ := mul_ne_zero_iff.mp hne |
| 51 | have ht := h.triangular i j (fun he => hh (he.symm ▸ hi)) hne; omega |
| 52 | |
| 53 | lemma inv_triangular_high {B : F.Coeff ≃ₗ[ℂ] F.Coeff} {c : ℝ} |
| 54 | (h : Leading B.toLinearMap c) (x : F.Coeff) (hx : P x=0) : P (B.symm x)=0 := by |
| 55 | let T := LinearMap.ker P |
| 56 | let V : Module.End ℂ T := (B.toLinearMap.comp T.subtype).codRestrict _ fun y => |
| 57 | show P (B.toLinearMap y.val)=0 from triangular_high e h _ y.property |
| 58 | have hV : Injective V := fun i j hij => Subtype.ext (B.injective (congr_arg Subtype.val hij)) |
| 59 | obtain ⟨y,hy⟩ := LinearMap.injective_iff_surjective.mp hV (⟨x,hx⟩:T) |
| 60 | rw [show x = B y.val from Eq.symm (congr_arg Subtype.val hy), LinearEquiv.symm_apply_apply] |
| 61 | exact y.property |
| 62 | |
| 63 | lemma low_le {B : F.Coeff ≃ₗ[ℂ] F.Coeff} {c k : ℝ} (h : Leading B.toLinearMap c) |
| 64 | (hk : ∀ y, μ (B.symm y) ≤ k*μ y) (x : F.Coeff) : μ (P x) ≤ k*μ (P (B x)) := by |
| 65 | have he := inv_triangular_high e h (B x-P (B x)) (by rw [map_sub,project]; abel) |
| 66 | rw [map_sub,map_sub,LinearEquiv.symm_apply_apply] at he |
| 67 | rw [sub_eq_zero] at he |
| 68 | exact le_trans (le_of_eq (congr_arg μ he)) ((size_low _ _ _).trans (hk _)) |
| 69 | |
| 70 | variable (F) |
| 71 | lemma vowel_expands (L : Side) (x : F.Coeff) : |
| 72 | (L.val:ℝ)^(d-e)*μ (P x) ≤ μ (P (vowel F L x)) := by |
| 73 | unfold Frame.coeffSize; rw [Finset.mul_sum] |
| 74 | refine Finset.sum_le_sum fun i _ => ?_ |
| 75 | by_cases h : (F.grades i).1 ≤ e |
| 76 | · simp only [low_apply,h, if_true,vowel,norm_mul,norm_pow,Complex.norm_natCast] |
| 77 | exact mul_le_mul_of_nonneg_right |
| 78 | (pow_le_pow_right₀ (by exact_mod_cast L.pos) (Nat.sub_le_sub_left h d)) (norm_nonneg _) |
| 79 | simp [h] |
| 80 | lemma vowel_rest (L : Side) (x : F.Coeff) : |
| 81 | μ (vowel F L x - P (vowel F L x)) ≤ (L.val:ℝ)^(d-(e+1))*μ x := by |
| 82 | unfold Frame.coeffSize; rw [Finset.mul_sum] |
| 83 | refine Finset.sum_le_sum fun i _ => ?_ |
| 84 | by_cases h : (F.grades i).1 ≤ e |
| 85 | · simp only [Pi.sub_apply,low_apply,h,if_true,sub_self, norm_zero]; positivity |
| 86 | simp only [Pi.sub_apply,low_apply,h,if_false,sub_zero,vowel,norm_mul,norm_pow,Complex.norm_natCast] |
| 87 | exact mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by exact_mod_cast L.pos) (by omega)) (norm_nonneg _) |
| 88 | lemma vowel_low_zero {L : Side} {x : F.Coeff} (h : P x=0) : P (vowel F L x) = 0 := by |
| 89 | ext i; by_cases hi : (F.grades i).1 ≤ e |
| 90 | · have hx : x i = 0 := by simpa only [low_apply, if_pos hi, Pi.zero_apply] using congr_fun h i |
| 91 | simp [hi,vowel,hx] |
| 92 | simp [hi] |
| 93 | lemma size_sub (x y : F.Coeff) : μ (x-y) ≤ μ x + μ y := by |
| 94 | unfold Frame.coeffSize; rw [← Finset.sum_add_distrib] |
| 95 | exact Finset.sum_le_sum fun i _ => norm_sub_le (x i) (y i) |
| 96 | |
| 97 | variable {W : Worth} {H : History G} |
| 98 | lemma room (hc : roomCost H.levels W) (i j : ℕ) (h : j ≤ H.levels.clock.J i + 1) : |
| 99 | 64* (W.K j)^2 ≤ (H.levels.params i).columns := by |
| 100 | have he : (W.K j)^2 ≤ W.K (H.levels.clock.J i + 1)^2 := |
| 101 | pow_le_pow_left₀ (zero_le_one.trans (W.prices _)) (W.growth h) _ |
| 102 | exact (mul_le_mul_of_nonneg_left he (show (0:ℝ) ≤ 64 from by norm_num)).trans (hc i) |
| 103 | |
| 104 | variable {e F} (hc : roomCost H.levels W) (hb : Bank W H.levels) {i : ℕ} {x y : F.Coeff → F.Coeff} |
| 105 | (hT : Triangle H W i x y) (v : F.Coeff) |
| 106 | set_option quotPrecheck false |
| 107 | local notation "L" => H.S.block i |
| 108 | local notation "K" => W.K (H.levels.clock.J (i+1)) |
| 109 | local notation "s₀" => (H.levels.params i).columns |
| 110 | local notation "s" => (H.levels.params (i+1)).columns |
| 111 | |
| 112 | include hb |
| 113 | lemma ε_small : 0 ≤ barunit L ∧ 2*K*barunit L*(1+s) ≤ 1 := |
| 114 | bank_slack (W.prices _) (W.growth (Nat.le_add_right ..)) (H.levels.params _).columns_ge (hb i) |
| 115 | lemma column_small : s ≤ ((L).val:ℝ) := by |
| 116 | have hk := hb i |
| 117 | change 100000*(W.K _)^6*(1+s)^2 ≤ _ at hk |
| 118 | have hx := one_le_pow₀ (n:=6) (W.prices (H.levels.clock.J (i+1)+1)) |
| 119 | have hg := (H.levels.params (i+1)).columns_ge |
| 120 | exact le_trans ((show s ≤ 100000*(W.K _)^6*(1+s)^2 from |
| 121 | by nlinarith only [hg,hx,mul_le_mul_of_nonneg_right hx (sq_nonneg (1+s))]).trans hk) |
| 122 | (Real.rpow_le_self_of_one_le (by exact_mod_cast (L).pos) (by norm_num)) |
| 123 | include hc hT |
| 124 | lemma step_expand (h : μ (x v) ≤ s * μ (P (x v))) (he : e < d) : |
| 125 | μ (y v) ≤ s₀ * μ (P (y v)) ∧ ((L).val:ℝ)^(d-e) * μ (P (x v)) ≤ s * μ (P (y v)) := by |
| 126 | have hs₀ := room hc i _ (H.levels.fits.stepSlow i) |
| 127 | have hs : 64*K^2 ≤ s := room hc (i+1) _ (Nat.le_add_right ..) |
| 128 | have hb' : s ≤ ((L).val:ℝ) := column_small hb |
| 129 | have hh' : (1:ℝ) ≤ (L).val := by exact_mod_cast (L).pos |
| 130 | obtain ⟨q,⟨c,hq⟩,hv,hε⟩ := hT.leads |
| 131 | let a:=x v; let b:= y v; let D:=vowel F L a; let Y:=μ (P D) |
| 132 | have hY: ((L).val:ℝ)^(d-e)*μ (P a) ≤ Y := vowel_expands F e L a |
| 133 | have hD : μ D ≤ 2*Y := calc |
| 134 | _ ≤ Y+ μ (D-P D) := size_triangle F D _ |
| 135 | _ ≤ Y + ((L).val:ℝ)^(d-(e+1))* (s*μ (P a)) := add_le_add le_rfl |
| 136 | ((vowel_rest F e L a).trans (mul_le_mul_of_nonneg_left h (by positivity))) |
| 137 | _ ≤ Y + Y := by |
| 138 | apply add_le_add le_rfl |
| 139 | rw [← mul_assoc]; apply le_trans _ hY |
| 140 | apply mul_le_mul_of_nonneg_right _ (size_nonneg F _) |
| 141 | rw [show d-e = d-(e+1)+1 from by omega,pow_succ]; gcongr |
| 142 | _ = 2*Y := (two_mul _).symm |
| 143 | have hp : μ a ≤ s*Y := h.trans (mul_le_mul_of_nonneg_left (((size_vowel F L (P a)).1).trans_eq |
| 144 | (congr_arg μ (by |
| 145 | ext i; by_cases h : (F.grades i).1 ≤ e <;> simp [D, low_apply, vowel, h]))) (zero_le_one.trans (H.levels.params _).columns_ge)) |
| 146 | have hk : 1 ≤ K := W.prices _; have hx := ε_small hb (i:=i); have hk₀ : 0 ≤ K := zero_le_one.trans hk |
| 147 | have hz : 0 ≤ Y := size_nonneg F _ |
| 148 | have hu : 2*K * μ (b - q.map D) ≤ Y := calc |
| 149 | _ ≤ 2*K*(barunit L * μ (F.core a)) := mul_le_mul_of_nonneg_left (hε v) (by positivity) |
| 150 | _ ≤ 2*K*(barunit L * ((1+s)*Y)) := mul_le_mul_of_nonneg_left |
| 151 | (mul_le_mul_of_nonneg_left ((size_core F _).trans (hp.trans |
| 152 | (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left zero_le_one) hz))) hx.1) (by positivity) |
| 153 | _ ≤ Y := by rw [← mul_assoc, ← mul_assoc]; |
| 154 | exact mul_le_of_le_one_left hz hx.2 |
| 155 | have ht : Y ≤ 2*K * μ (P b) := by |
| 156 | have ht' : Y ≤ K* (μ (P b)+μ (b-q.map D)):= calc |
| 157 | _ ≤ K*μ (P (q.map D)) := low_le e hq (fun v=> (hv v).2) D |
| 158 | _ ≤ _ := by |
| 159 | apply mul_le_mul_of_nonneg_left _ hk₀; apply (size_triangle F _ (P b)).trans |
| 160 | rw [size_sub_rev F (P (q.map D)) (P b),← map_sub] |
| 161 | exact add_le_add le_rfl (size_low ..) |
| 162 | linarith only [hu,ht'] |
| 163 | have hs' : μ (b-q.map D) ≤ K*Y:= |
| 164 | ((le_mul_of_one_le_left (size_nonneg F _) (show 1 ≤ 2*K from by linarith only [hk])).trans hu).trans |
| 165 | (le_mul_of_one_le_left hz hk) |
| 166 | have hs'' : μ b ≤ K*(2*Y) + K*Y := |
| 167 | (size_triangle F b (q.map D)).trans (add_le_add ((hv D).1.trans (mul_le_mul_of_nonneg_left hD hk₀)) hs') |
| 168 | refine ⟨?_, hY.trans (ht.trans (mul_le_mul_of_nonneg_right ?_ (size_nonneg F _)))⟩ |
| 169 | · have hx : (3*K)*(2*K) ≤ s₀ := by nlinarith only [hs₀,sq_nonneg K] |
| 170 | calc |
| 171 | _ ≤ 3*K*Y := hs''.trans_eq (by ring) |
| 172 | _ ≤ 3*K*(2*K*μ (P b)) := mul_le_mul_of_nonneg_left ht (by positivity) |
| 173 | _ ≤ _ := by rw [← mul_assoc]; exact mul_le_mul_of_nonneg_right hx (size_nonneg F _) |
| 174 | nlinarith only [hk,hs] |
| 175 | |
| 176 | lemma step_transverse (h : P (x v) = 0) : |
| 177 | μ (y v) ≤ s * (((L).val:ℝ)^(d-(e+1)) * μ (x v)) := by |
| 178 | let D := vowel F L (x v) |
| 179 | obtain ⟨q,hHead,hQ,hv⟩ := hT.leads -- do not shadow H |
| 180 | have ht : μ D ≤ ((L).val:ℝ)^(d-(e+1))*μ (x v) := by |
| 181 | have ht' := vowel_rest F e L (x v) |
| 182 | rw [vowel_low_zero F e h,sub_zero] at ht'; exact ht' |
| 183 | have hs : 64*K^2 ≤ s := room hc (i+1) _ (Nat.le_add_right ..) |
| 184 | have hk : 1 ≤ K := W.prices _ |
| 185 | have hg := ε_small hb (i:=i) |
| 186 | have hz := (H.levels.params (i+1)).columns_ge |
| 187 | have hx : barunit L ≤ 1 := le_trans (le_mul_of_one_le_left hg.1 (by linarith only [hk] : 1 ≤ 2*K)) ((le_mul_of_one_le_right (show 0 ≤ 2*K*barunit L from mul_nonneg (by linarith only [hk]) hg.1) (show 1 ≤ 1+s by linarith only [hz])).trans hg.2) |
| 188 | have hw : μ (y v - q.map D) ≤ μ D := calc |
| 189 | _ ≤ barunit L*μ (F.core (x v)) := hv v |
| 190 | _ ≤ μ (F.core (x v)) := mul_le_of_le_one_left (size_nonneg F _) hx |
| 191 | _ ≤ μ (x v) := size_core F (x v) |
| 192 | _ ≤ _ := (size_vowel F L _).1 |
| 193 | calc |
| 194 | _ ≤ K*μ D + μ D := (size_triangle F _ (q.map D)).trans (add_le_add (hQ D).1 hw) |
| 195 | _ ≤ s * μ D := by |
| 196 | rw [show K*μ D+μ D = (K+1)*μ D from by ring]; exact mul_le_mul_of_nonneg_right (by nlinarith only [hs,hk]) (size_nonneg F _) |
| 197 | _ ≤ _ := mul_le_mul_of_nonneg_left ht (zero_le_one.trans hz) |
| 198 | end Columns |
| 199 | end YM.OPE |