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.Further.THRESHOLD_SOURCE_RESTART.ClusterDisk |
| 2 | import YM.Further.THRESHOLD_SOURCE_RESTART.ClusterPower |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Evaluating the finite-alphabet marked log series |
| 7 | |
| 8 | Even with unmarked components repeating arbitrarily. Verify by ODE, |
| 9 | as in `YM.Push.ABSOLUTE_SUMS` for scalars. Radius-margin hypothesis |
| 10 | suffices for the derivatives through to t=1. (The vertices here will be |
| 11 | UNforced components incl those with no markers, nothing asserted about |
| 12 | positivity/normalization of any forced coefficient.) |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Further.ThresholdSourceRestart.Clusters |
| 17 | open Function Filter Set MeasureTheory Wilson RG Lattice Marker Overlay |
| 18 | open Push.Corrected Prepare Width Extra.Multi Repeated |
| 19 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 20 | variable {α V : Type*} [Fintype V] [DecidableEq V] {n : Side} |
| 21 | variable (X : α → Support n) (W : α → Marks.Algebra V) |
| 22 | |
| 23 | section Ode |
| 24 | variable [Fintype α] |
| 25 | -- as in ClusterPower |
| 26 | local instance : NormedSpace ℝ (Marks.Algebra V) := inferInstanceAs (NormedSpace ℝ ((Marks.all V).Mode→ℂ)) |
| 27 | local instance : IsScalarTower ℝ ℂ (Marks.Algebra V) := inferInstanceAs (IsScalarTower ℝ ℂ ((Marks.all V).Mode→ℂ)) |
| 28 | local instance : IsTopologicalSemiring (Marks.Algebra V) := {} |
| 29 | |
| 30 | private lemma pulse (t : ℝ) (x : Marks.Algebra V) (i : ℕ) : |
| 31 | HasDerivAt (fun s : ℝ => ((s^i:ℝ):ℂ) • x) ((↑((i:ℝ)*t^(i-1)):ℂ) • x) t := |
| 32 | (hasDerivAt_pow i t).ofReal_comp.smul_const x |
| 33 | |
| 34 | private lemma finite_products {F G : ℕ → Marks.Algebra V} (h : Summable fun i => ‖F i‖) (l : Finset ℕ) |
| 35 | (he : ∀ i,i∉l → G i=0) : Summable fun i : ℕ×ℕ => F i.1*G i.2 := by |
| 36 | apply Summable.of_norm |
| 37 | let f i j := ‖F i*G j‖ |
| 38 | apply (summable_prod_of_nonneg (fun _ => norm_nonneg _)).mpr |
| 39 | have hh j : Summable (fun i => f i j) := by |
| 40 | let X := LinearMap.toContinuousLinearMap (Algebra.lmul ℂ _ (G j)) |
| 41 | refine (h.mul_left ‖X‖).of_nonneg_of_le (fun i => norm_nonneg _) fun i => ?_ |
| 42 | unfold f; rw [mul_comm]; exact X.le_opNorm _ |
| 43 | have hz i j (ht : j∉l) : f i j=0 := by unfold f; rw [he _ ht,mul_zero,norm_zero] |
| 44 | refine ⟨fun i => summable_of_ne_finset_zero (hz i),?_⟩ |
| 45 | apply (summable_sum (s:=l) (f:=fun i j => f j i) (fun i _ => hh i)).congr |
| 46 | exact fun i => (tsum_eq_sum (hz i)).symm |
| 47 | |
| 48 | private lemma charge_ode (C : ℝ) (hp : ∀ m, ‖pSum X W m‖ ≤ C*(1/2:ℝ)^m) : |
| 49 | electric (∑' m,pSum X W m) = ∑ s, formed X W s := by |
| 50 | let s : ℝ := 3/2 |
| 51 | have hs : 0 ≤ s := by unfold s; norm_num |
| 52 | let S := Ioo (-s) s |
| 53 | let F i (x : ℝ) := ((x^(i+1):ℝ):ℂ) • pSum X W i |
| 54 | let D (i : ℕ) (x : ℝ) := (↑(((i:ℝ)+1)*x^i):ℂ) • pSum X W i |
| 55 | let y (i : ℕ) := C*((i:ℝ)+1)*(s/2)^i |
| 56 | have h (x : ℝ) (hx : x∈S) (i : ℕ) : ‖D i x‖≤ y i := by |
| 57 | have he : |x|≤s := abs_le.mpr ⟨hx.1.le,hx.2.le⟩ |
| 58 | unfold D; rw [norm_smul, Complex.norm_real,Real.norm_eq_abs, abs_mul, abs_of_nonneg (by positivity : (0:ℝ)≤↑i+1),abs_pow] |
| 59 | calc |
| 60 | _ ≤ (((i:ℝ)+1)*s^i)*(C*(1/2)^i) := by gcongr; exact hp i |
| 61 | _ = y i := by unfold y; rw [show s/2=s*(1/2) by ring,mul_pow]; ring |
| 62 | have hy : Summable y := by |
| 63 | have he : ‖s/2‖ < 1 := by unfold s; norm_num |
| 64 | apply ((Summable.add (summable_pow_mul_geometric_of_norm_lt_one 1 he) (summable_geometric_of_norm_lt_one he)).mul_left C).congr |
| 65 | intro i; unfold y; ring |
| 66 | let f x := ∑' i,F i x |
| 67 | let d x := ∑' i,D i x |
| 68 | have h0 : (0:ℝ)∈S := by simp [s,S] |
| 69 | have h1 : (1:ℝ)∈S := by unfold S s; norm_num |
| 70 | have ho : IsOpen S := isOpen_Ioo |
| 71 | have hv := (convex_Ioo (-s) s).isPreconnected |
| 72 | have hf x (hx : x∈S) : HasDerivAt f (d x) x := by |
| 73 | refine hasDerivAt_tsum_of_isPreconnected hy ho hv (fun i x h => ?_) (fun i x hx => h x hx i) h0 ?_ hx |
| 74 | · have H := pulse x (pSum X W i) (i+1) |
| 75 | simpa only [F,D,Nat.add_sub_cancel, Nat.cast_add,Nat.cast_one] using H |
| 76 | simp only [F,pow_succ,mul_zero,Complex.ofReal_zero,zero_smul]; exact summable_zero |
| 77 | |
| 78 | let k := Fintype.card α |
| 79 | let A i (x : ℝ) := (↑(x^i):ℂ) • cSum X W i |
| 80 | let H x := ∑ i∈Finset.range (k+1), A i x |
| 81 | let E (i : ℕ) (x : ℝ) := (↑(((i:ℝ)+1)*x^i):ℂ) • cSum X W (i+1) |
| 82 | have hd x : HasDerivAt H (∑ i∈Finset.range k,E i x) x := by |
| 83 | convert! HasDerivAt.fun_sum (u:=Finset.range (k+1)) (A:=A) (A':=fun i=> (↑((i:ℝ)*x^(i-1)):ℂ) • cSum X W i) |
| 84 | (fun i _=> pulse x _ i) using 1 |
| 85 | rw [Finset.sum_range_succ']; simp [E] |
| 86 | have he (x : ℝ) (i) (hi : i∉Finset.range (k+1)) : A i x=0 := by |
| 87 | have he : k+1 ≤ i := Nat.le_of_not_gt (fun h => hi (Finset.mem_range.mpr h)) |
| 88 | unfold A; rw [run_out _ _ _ he,smul_zero] |
| 89 | have hm x (hx : x∈S) : d x * H x = ∑ i∈Finset.range k,E i x := by |
| 90 | have hh : Summable (fun i => ‖D i x‖) := hy.of_nonneg_of_le (fun i => norm_nonneg _) (h x hx) |
| 91 | have ha : Summable fun i => A i x := summable_of_ne_finset_zero (he x) |
| 92 | have HT : Summable (fun i : ℕ×ℕ => D i.1 x * A i.2 x) := finite_products (F:=fun i => D i x) (G:=fun i=>A i x) hh _ (he x) |
| 93 | have HE := hh.of_norm.tsum_mul_tsum_eq_tsum_sum_range ha HT |
| 94 | rw [show H x=∑' i,A i x from (tsum_eq_sum (he x)).symm]; change (∑' i,D i x) * _=_; rw [HE] |
| 95 | have h (i) : ∑ j∈Finset.range (i+1), D j x * A (i-j) x= E i x := by |
| 96 | have hz : E i x=(↑(x^i):ℂ) • (((i+1:ℕ):ℂ) • cSum X W (i+1)) := by unfold E; rw [smul_smul]; congr 1; push_cast; ring |
| 97 | rw [hz, row_cost, Finset.smul_sum] |
| 98 | apply Finset.sum_congr rfl; intro j hj |
| 99 | unfold D A; rw [smul_mul_smul_comm, Algebra.smul_mul_assoc,smul_smul]; congr 1 |
| 100 | rw [show x^i=x^j*x^(i-j) by rw [←pow_add]; congr; have hh := Finset.mem_range.mp hj; omega] |
| 101 | push_cast; ring |
| 102 | simp_rw [h]; apply tsum_eq_sum; intro i hi |
| 103 | unfold E; rw [run_out _ _ _ (by change k < i+1; exact Nat.lt_succ_of_le (Nat.le_of_not_gt (fun h => hi (Finset.mem_range.mpr h)))),smul_zero] |
| 104 | |
| 105 | let Y x := H x * electric (-f x) |
| 106 | have hz x (hx : x∈S) : HasDerivAt Y 0 x := by |
| 107 | rw [show (0:Marks.Algebra V)=(∑ i∈Finset.range k,E i x)*electric (-f x) + H x * (electric (-f x)*(-d x)) by rw [← hm x hx]; ring] |
| 108 | exact current_product (hd _) (express_deriv (f:=fun v => -f v) (hf x hx).neg) |
| 109 | have heq := ho.is_const_of_deriv_eq_zero hv (fun x hx => (hz x hx).differentiableAt.differentiableWithinAt) |
| 110 | (fun x hx => (hz x hx).deriv) h1 h0 |
| 111 | have hh : Y 0=1 := by |
| 112 | unfold Y f F H A; rw [Finset.sum_range_succ']; simp [no_power,unity] |
| 113 | change Y 1 = Y 0 at heq |
| 114 | rw [hh] at heq |
| 115 | change H 1 * electric (-f 1)=1 at heq |
| 116 | have he' := congr_arg (· * electric (f 1)) heq |
| 117 | rw [mul_assoc,power_cancel,mul_one,one_mul,show H 1= _ from ?_, show f 1 = ∑' m,pSum X W m by simp [f,F]] at he' |
| 118 | · exact he'.symm |
| 119 | unfold H |
| 120 | simpa only [A,one_pow,Complex.ofReal_one,one_smul] using disk X W |
| 121 | |
| 122 | omit [Fintype α] in |
| 123 | lemma governed (i) : ‖ink X (fun i => (2:ℂ) • W i) i‖=(2:ℝ)^(i.1+1)* ‖ink X W i‖ := by |
| 124 | have H : ink X (fun i => (2:ℂ) • W i) i = (2:ℂ)^(i.1+1) • ink X W i := by |
| 125 | unfold ink; rw [← Finset.smul_prod Finset.univ (2:ℂ) (fun j => W (i.2 j)), smul_comm _ _ (∏ j, W (i.2 j)), |
| 126 | Finset.card_univ, Fintype.card_fin] |
| 127 | rw [H,norm_smul,norm_pow,Complex.norm_two] |
| 128 | |
| 129 | omit [Fintype α] in |
| 130 | lemma tighten (H : Summable fun i => ‖ink X (fun i => (2:ℂ) • W i) i‖) : |
| 131 | Summable fun i => ‖ink X W i‖ := H.of_nonneg_of_le (fun _ => norm_nonneg _) fun i => |
| 132 | (le_mul_of_one_le_left (norm_nonneg _) (one_le_pow₀ (one_le_two))).trans_eq (governed X W i).symm |
| 133 | |
| 134 | theorem authorized (H : Summable fun i => ‖ink X (fun i => (2:ℂ) • W i) i‖) : |
| 135 | electric (∑' i,ink X W i)=∑' s,formed X W s := by |
| 136 | have he := (tighten X W H).of_norm |
| 137 | rw [he.tsum_sigma,tsum_fintype (formed X W)] |
| 138 | let Y := fun i => ‖ink X (fun i => (2:ℂ) • W i) i‖ |
| 139 | apply charge_ode X W (∑' i,Y i); intro m |
| 140 | have hu : (∑ f : Fin (m+1)→ α,Y ⟨m,f⟩) ≤ ∑' i,Y i := by |
| 141 | rw [H.tsum_sigma, ← tsum_fintype (L:=SummationFilter.unconditional _) ]; exact H.sigma.le_tsum m fun _ _ => tsum_nonneg fun i => norm_nonneg _ |
| 142 | calc |
| 143 | _ ≤ ∑ f : Fin (m+1)→α, ‖ink X W ⟨m,f⟩‖ := by rw [pSum,tsum_fintype]; exact norm_sum_le _ _ |
| 144 | _ ≤ ∑ f : Fin (m+1)→α, Y ⟨m,f⟩ * (1/2:ℝ)^m := by |
| 145 | apply Finset.sum_le_sum; intro i _; unfold Y; rw [governed] |
| 146 | have hx : (0:ℝ)<2^m := by positivity |
| 147 | dsimp only; rw [div_pow,pow_succ]; rw [mul_comm (2^m*2), mul_assoc ‖ink _ _ _‖] |
| 148 | apply le_mul_of_one_le_right (norm_nonneg _) |
| 149 | simp only [one_pow]; field_simp; norm_num |
| 150 | _ ≤ _ := by rw [← Finset.sum_mul]; gcongr |
| 151 | end Ode |
| 152 | end YM.Further.ThresholdSourceRestart.Clusters |