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.Push.STATIONARY_UNIFORM.Slope |
| 2 | |
| 3 | /-! |
| 4 | # Localization calculus for the real implicit jets |
| 5 | |
| 6 | Take the envelopes for all derivatives in the unapplied score, compose |
| 7 | multilinear entries through *located* maps of potentially good jets. The |
| 8 | extensive F cannot be composed by the simple sup estimate so work via |
| 9 | derivatives of individual components. These are tools to pay distances |
| 10 | once along the implicit tree (for fixed derivative order). All sums over |
| 11 | physical sites really on full torus. Uses summability over intermediate |
| 12 | indices with multiplicities, not uniform entries alone. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Push.Uniform |
| 17 | open Filter Function Set Metric Lattice Matrix |
| 18 | open scoped Topology ContDiff BigOperators Classical |
| 19 | |
| 20 | variable {ι τ E : Type} [Fintype ι] [Fintype τ] [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 21 | {n : Side} {p : Positions ι} {q : Positions τ} {l : ι → Site n} {m : τ → Site n} |
| 22 | |
| 23 | lemma multi_expansion {k} (T : ContinuousMultilinearMap ℝ (fun _ : Fin k => Positions ι) ℝ) (z : Fin k → Positions ι) : |
| 24 | T z = ∑ j : Fin k → ι, (∏ i, z i (j i))*T (fun i => bolt (j i)) := by |
| 25 | have h := T.map_sum (α:=fun _ => ι) (fun i t => z i t • bolt t) |
| 26 | simp_rw [combine] at h |
| 27 | apply h.trans; exact Finset.sum_congr rfl (fun i _ => T.map_smul_univ (fun j => z j (i j)) _) |
| 28 | |
| 29 | lemma entry_projects (f : Positions ι → Positions τ) (hf : ContDiffAt ℝ ω f p) {k} (i) (q : Fin k → ι) : |
| 30 | entry (fun x => f x i) p q = entry f p q i := by |
| 31 | let L := ContinuousLinearMap.proj (R:=ℝ) (φ:=fun _ : τ => ℝ) i |
| 32 | unfold entry; rw [show (fun x => f x i) = L ∘ f from rfl,L.iteratedFDeriv_comp_left hf le_top]; rfl |
| 33 | |
| 34 | def glaze {k : ℕ} (l : ι → Site n) (x : Site n) (p : Fin k → ι) (a : ℝ) := Real.exp (-a*spanSites l x p) |
| 35 | |
| 36 | omit [Fintype ι] in |
| 37 | lemma glaze_prod {k : ℕ} (l : ι → Site n) (x : Site n) (p : Fin k → ι) (a : ℝ) : |
| 38 | glaze l x p a = ∏ i, Decay a x (l (p i)) := by simp_rw [glaze, Decay,spanSites,Nat.cast_sum, Finset.mul_sum, Real.exp_sum] |
| 39 | |
| 40 | -- Transfer a decay at y *from* all the slots to a cost relative x. - |
| 41 | omit [Fintype ι] in |
| 42 | lemma path_price {k N : ℕ} (h : k≤N) {a r : ℝ} (ha : 0<a) (hr : 0<r) (l : ι → Site n) (x y : Site n) (p : Fin k → ι) : |
| 43 | Decay a x y * glaze l y p r ≤ Decay (a/2) x y * glaze l x p (min r (weaker N a)) := by |
| 44 | unfold Decay glaze; rw [← Real.exp_add,← Real.exp_add,Real.exp_le_exp] |
| 45 | have he : spanSites l x p ≤ (N+1)*separation x y+spanSites l y p := calc |
| 46 | _ ≤ ∑ i, (separation x y+separation y (l (p i))) := Finset.sum_le_sum fun i _ => separation_triangle .. |
| 47 | _ ≤ _ := by |
| 48 | rw [Finset.sum_add_distrib]; unfold spanSites |
| 49 | apply Nat.add_le_add_right _ _; simp only [Finset.sum_const,nsmul_eq_mul, Finset.card_univ,Fintype.card_fin]; exact Nat.mul_le_mul_right (separation x y) (show k ≤ N+1 by omega) |
| 50 | let γ := min r (weaker N a) |
| 51 | have hg : 0 ≤ γ := le_min hr.le (by unfold weaker; positivity) |
| 52 | have hs : γ * spanSites l x p ≤ a/2 * separation x y + r * spanSites l y p := calc |
| 53 | _ ≤ γ * ((N+1:ℝ)*separation x y+(spanSites l y p:ℝ)) := mul_le_mul_of_nonneg_left (by exact_mod_cast he) hg |
| 54 | _ ≤ weaker N a*((N+1:ℝ)*separation x y) + r * (spanSites l y p:ℝ) := by |
| 55 | rw [mul_add]; exact add_le_add (mul_le_mul_of_nonneg_right (min_le_right ..) (by positivity)) (mul_le_mul_of_nonneg_right (min_le_left ..) (by positivity)) |
| 56 | _ = _ := by unfold weaker; field_simp |
| 57 | unfold γ at hs; linarith |
| 58 | |
| 59 | omit [Fintype ι] in |
| 60 | lemma glaze_mono {k : ℕ} (l : ι → Site n) (x : Site n) (p : Fin k → ι) {a r : ℝ} (hr : r ≤ a) : |
| 61 | glaze l x p a ≤ glaze l x p r := Real.exp_monotone (mul_le_mul_of_nonneg_right (neg_le_neg hr) (by positivity)) |
| 62 | |
| 63 | omit [Fintype ι] in |
| 64 | lemma glaze_partition {k : ℕ} (s : OrderedFinpartition k) (l : ι → Site n) (x : Site n) (p : Fin k → ι) (a : ℝ) : |
| 65 | ∏ i : Fin s.length, glaze l x (p ∘ s.emb i) a = glaze l x p a := by |
| 66 | simp_rw [glaze, ← Real.exp_sum, ← Finset.mul_sum,← Nat.cast_sum]; rw [show (∑ i, spanSites l x (p ∘ s.emb i)) = _ from s.sum_sigma_eq_sum (fun i => separation x (l (p i)))] |
| 67 | rfl |
| 68 | |
| 69 | variable {f : Positions ι → Positions τ} {g : Positions τ → ℝ} {a r C D : ℝ} {K N k : ℕ} |
| 70 | |
| 71 | lemma wire_cost (q : Fin k → ι) (s : OrderedFinpartition k) (hk : k ≤ N) (ha : 0<a) (hr : 0<r) (hp : 0 ≤ C) |
| 72 | (hD : 0 ≤ D) (u : Site n) (hm : Multiplicity m K) |
| 73 | (hh : Beacon m a k g u (f p) C) |
| 74 | (h : ∀ i j, ‖(entry f p (q ∘ s.emb i) : Positions τ) j‖ ≤ D*glaze l (m j) (q ∘ s.emb i) r) : |
| 75 | ‖((ftaylorSeries ℝ g (f p)).compAlongOrderedFinpartition (ftaylorSeries ℝ f p) s) (fun j => bolt (q j))‖ ≤ |
| 76 | C*(D*((K:ℝ)*countCost (a/2)))^s.length * glaze l u q (min r (weaker N a)) := by |
| 77 | let Z i := entry f p (q ∘ s.emb i) |
| 78 | let c := min r (weaker N a); let L := Fin s.length; let M : ℝ := (K:ℝ)*countCost (a/2) |
| 79 | let H (i : L) (j : τ) := D*glaze l (m j) (q ∘ s.emb i) r |
| 80 | let Q (s : L → τ) := (∏ i, Z i (s i))*entry g (f p) s |
| 81 | have hs (i : L) (j) : ‖Z i j‖ ≤ H i j := h i j |
| 82 | let F (i : L) (j : τ) := H i j*Decay a u (m j) |
| 83 | have hF i j : 0 ≤ F i j := mul_nonneg (mul_nonneg hD (Real.exp_pos _).le) (decay_pos ..).le |
| 84 | have he j : ‖Q j‖ ≤ C*∏ i, F i (j i) := by |
| 85 | unfold Q; rw [norm_mul,norm_prod]; apply le_trans (mul_le_mul (Finset.prod_le_prod (fun _ _ => norm_nonneg _) (fun i _ => hs i _)) |
| 86 | (hh _ s.length_le _) (norm_nonneg _) (Finset.prod_nonneg (fun i _ => mul_nonneg hD (Real.exp_pos _).le))) |
| 87 | rw [show Real.exp (-a*↑(spanSites m u j))= _ from glaze_prod m u j a]; unfold F H; simp_rw [Finset.prod_mul_distrib]; exact le_of_eq (by ring) |
| 88 | have hx i : ∑ j, F i j ≤ D*M*glaze l u (q ∘ s.emb i) c := by |
| 89 | let P := q ∘ s.emb i |
| 90 | calc |
| 91 | _ ≤ ∑ j, Decay (a/2) u (m j) * (D*glaze l u P c) := Finset.sum_le_sum fun j _ => by |
| 92 | have hv := mul_le_mul_of_nonneg_left (path_price ((s.partSize_le i).trans hk) ha hr l u (m j) P) hD |
| 93 | change D*glaze l (m j) P r * _ ≤ _ |
| 94 | unfold c |
| 95 | linarith only [hv] |
| 96 | _ = (∑ j, Decay (a/2) u (m j))*(D*glaze l u P c) := by rw [Finset.sum_mul] |
| 97 | _ ≤ M*(D*glaze l u P c) := mul_le_mul_of_nonneg_right (hm.count m (half_pos ha) u) (mul_nonneg hD (Real.exp_pos _).le) |
| 98 | _ = _ := by unfold P; ring |
| 99 | have ha : ((ftaylorSeries ℝ g (f p)).compAlongOrderedFinpartition (ftaylorSeries ℝ f p) s) (fun j => bolt (q j)) = ∑ j, Q j := multi_expansion (iteratedFDeriv ℝ s.length g (f p)) Z |
| 100 | rw [ha] |
| 101 | apply le_trans ((norm_sum_le ..).trans (Finset.sum_le_sum (fun i _ => he i))) |
| 102 | rw [← Finset.mul_sum, ← Fintype.prod_sum] |
| 103 | apply le_trans (mul_le_mul_of_nonneg_left (Finset.prod_le_prod (fun i _ => Finset.sum_nonneg (fun j _ => hF i j)) (fun i _ => hx i)) hp) |
| 104 | apply le_of_eq; rw [Finset.prod_mul_distrib, glaze_partition, Finset.prod_const,Finset.card_univ]; simp only [M,L,c, mul_assoc,Fintype.card_fin] |
| 105 | |
| 106 | lemma scatter_derivative (f : Positions ι → ℝ) (hf : ContDiffAt ℝ ω f p) (h : Scatter l a N f p C) (u : ι) (hk : k < N) : |
| 107 | Beacon l a k (fun x => fderiv ℝ f x (bolt u)) (l u) p C := by |
| 108 | intro i hi q |
| 109 | let s : Fin (i+1) → ι := Fin.snoc (α:=fun _ : Fin (i+1) => ι) q u |
| 110 | have he : entry (fun x => fderiv ℝ f x (bolt u)) p q = entry f p s := by |
| 111 | let L := ContinuousLinearMap.apply ℝ ℝ (bolt u) |
| 112 | unfold entry |
| 113 | rw [show (fun x => fderiv ℝ f x (bolt u)) = L ∘ fderiv ℝ f from rfl, |
| 114 | L.iteratedFDeriv_comp_left (hf.fderiv_right (m:=ω) (by simp)) le_top,iteratedFDeriv_succ_apply_right] |
| 115 | have hv : s (Fin.last i)=u := by unfold s; rw [Fin.snoc_last] |
| 116 | change (iteratedFDeriv ℝ i (fderiv ℝ f) p _ ) (bolt u) = _ |
| 117 | simp only [hv] |
| 118 | congr 2 |
| 119 | funext j; simp [s,Fin.init] |
| 120 | rw [he]; simpa [s,spanSites,Fin.sum_univ_castSucc] using h (i+1) (by omega) s (Fin.last i) |
| 121 | end YM.Push.Uniform |