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.Next.FOUNDATIONS.LinkBounds |
| 2 | import YM.Push.STATIONARY_UNIFORM.Calculus |
| 3 | |
| 4 | /-! |
| 5 | # Counting coefficients of locally supported analytic scores |
| 6 | |
| 7 | E.g., after summing such a score over the lattice, to prove strict |
| 8 | invertibility estimates we need to keep two locations (the two derivatives). |
| 9 | This also lets us vary the Hessian on a uniform sup ball of fields or pay |
| 10 | actual cubic/quartic tensor sums. Jets nonfactorial. Supports may wrap. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Push.Uniform |
| 15 | open Filter Function Set Metric Lattice |
| 16 | open scoped Topology ContDiff BigOperators Classical |
| 17 | |
| 18 | section Finite |
| 19 | variable {n : Side} {ι E F : Type} [Fintype ι] |
| 20 | variable [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 21 | |
| 22 | abbrev Positions (ι : Type) := ι → ℝ |
| 23 | |
| 24 | def bolt {ι : Type} (i : ι) : Positions ι := Pi.single i 1 |
| 25 | @[simp] lemma norm_bolt (i : ι) : ‖bolt i‖ = 1 := by change ‖(LinearIsometry.single ℝ (fun _ : ι => ℝ) i) 1‖ = _; simp |
| 26 | |
| 27 | def entry (f : Positions ι → E) (p : Positions ι) {k : ℕ} (q : Fin k → ι) := |
| 28 | iteratedFDeriv ℝ k f p (fun i => bolt (q i)) |
| 29 | |
| 30 | variable {p : Positions ι} {N : ℕ} {y : Site n} {a α K C D : ℝ} {l : ι → Site n} |
| 31 | {f g : Positions ι → E} |
| 32 | |
| 33 | lemma entry_bound {k : ℕ} (q : Fin k → ι) : ‖entry f p q‖ ≤ ‖iteratedFDeriv ℝ k f p‖ := by |
| 34 | simpa only [norm_bolt,Finset.prod_const_one,mul_one] using! |
| 35 | (iteratedFDeriv ℝ k f p).le_opNorm (fun i => bolt (q i)) |
| 36 | |
| 37 | lemma iter_lin_at {ι κ : Type} [NormedAddCommGroup ι] [NormedSpace ℝ ι] [NormedAddCommGroup κ] [NormedSpace ℝ κ] |
| 38 | {L : ι →L[ℝ] κ} {f : κ → E} {k} {x : ι} (hf : ContDiffAt ℝ (k:ℕ) f (L x)) : |
| 39 | iteratedFDeriv ℝ k (f ∘ L) x = |
| 40 | (iteratedFDeriv ℝ k f (L x)).compContinuousLinearMap (fun _ => L) := by |
| 41 | have h : ContDiffAt ℝ (k:ℕ) (fun t => f (L x + t)) 0 := |
| 42 | (show ContDiffAt ℝ (k:ℕ) f (L x+0) by simpa using hf).comp (f:=fun t => L x+t) 0 (contDiffAt_const.add contDiffAt_id) |
| 43 | have he := Next.Foundations.jets_linear L h |
| 44 | rw [iteratedFDeriv_comp_add_left, add_zero, show ((fun t => f (L x+t)) ∘ L) = fun y => (f ∘ L) (x+y) from funext fun i => by simp, |
| 45 | iteratedFDeriv_comp_add_left,add_zero] at he; exact he |
| 46 | |
| 47 | /-- Only ask locality on the indicated set. -/ |
| 48 | def Requests {H : Type} (s : Set (Positions ι)) (f : Positions ι → H) (l : ι → Site n) (y : Site n) (R : ℕ) : Prop := |
| 49 | ∀ v∈s, ∀ w∈s, (∀ i, separation y (l i) ≤ R → v i=w i) → f v=f w |
| 50 | |
| 51 | lemma Requests.zero {k R : ℕ} {s : Set (Positions ι)} (h : Requests s f l y R) |
| 52 | (hs : s∈𝓝 p) (hf : ContDiffAt ℝ (k:ℕ) f p) (q : Fin k → ι) (i : Fin k) |
| 53 | (he : ¬ separation y (l (q i)) ≤ R) : entry f p q = 0 := by |
| 54 | let A : Positions ι →L[ℝ] Positions ι := ContinuousLinearMap.pi fun j => |
| 55 | if separation y (l j) ≤ R then ContinuousLinearMap.proj j else 0 |
| 56 | let g (x : Positions ι) := f (p+x) |
| 57 | have ht : ∀ᶠ x in 𝓝 (0 : Positions ι), p+x∈s := by |
| 58 | apply ContinuousAt.preimage_mem_nhds (f:=fun x => p+x) (by fun_prop) |
| 59 | simpa using hs |
| 60 | have hh : g =ᶠ[𝓝 0] g ∘ A := by |
| 61 | have hp : Tendsto A (𝓝 0) (𝓝 0) := by simpa using (A.continuous.continuousAt (x:=0)).tendsto |
| 62 | filter_upwards [ht,hp.eventually ht] with x hx hX |
| 63 | apply h _ hx _ hX |
| 64 | intro j hj; simp [A,hj] |
| 65 | have hd : iteratedFDeriv ℝ k g 0 = iteratedFDeriv ℝ k f p := by unfold g; rw [iteratedFDeriv_comp_add_left,add_zero] |
| 66 | unfold entry |
| 67 | rw [← hd,(hh.iteratedFDeriv (𝕜:=ℝ) k).eq_of_nhds] |
| 68 | have hu := Next.Foundations.jets_linear A (f:=g) (k:=k) |
| 69 | ((show ContDiffAt ℝ (k:ℕ) f (p+0) by simpa using hf).comp (f:=fun x => p+x) 0 (contDiffAt_const.add contDiffAt_id)) |
| 70 | rw [hu, ContinuousMultilinearMap.compContinuousLinearMap_apply]; apply ContinuousMultilinearMap.map_coord_zero (i:=i) |
| 71 | funext j; by_cases hj : separation y (l j) ≤ R |
| 72 | · have ht : j ≠ q i := fun hz => he (hz ▸ hj) |
| 73 | simp [A,hj,bolt,ht] |
| 74 | simp [A,hj] |
| 75 | |
| 76 | def spanSites {k : ℕ} (l : ι → Site n) (y : Site n) (q : Fin k → ι) := ∑ i, separation y (l (q i)) |
| 77 | |
| 78 | def Beacon (l : ι → Site n) (a : ℝ) (N : ℕ) (f : Positions ι → E) (y : Site n) (p : Positions ι) (C : ℝ) := |
| 79 | ∀ (k : ℕ), k ≤ N → ∀ q : Fin k → ι, ‖entry f p q‖ ≤ C * Real.exp (-a * spanSites l y q) |
| 80 | |
| 81 | theorem Allows.beacon {s : Set (Positions ι)} {r : ℕ} (h : Allows N f p C) |
| 82 | (hr : Requests s f l y r) (hp : s∈𝓝 p) (ha : 0 ≤ a) : Beacon l a N f y p (C*Real.exp (a*(N*r:ℕ))) := by |
| 83 | intro k hk q |
| 84 | by_cases he : ∀ i, separation y (l (q i)) ≤ r |
| 85 | · have hz : spanSites l y q ≤ N*r := (Finset.sum_le_sum (g:=fun _ => r) (fun j _ => he j)).trans |
| 86 | (by simp [Nat.mul_le_mul_right r hk]) |
| 87 | rw [mul_assoc, ← Real.exp_add] |
| 88 | refine ((entry_bound q).trans (h.norm_le _ hk)).trans (le_mul_of_one_le_right h.nonneg (Real.one_le_exp ?_)) |
| 89 | have ht : (spanSites l y q:ℝ) ≤ ((N*r:ℕ):ℝ) := by exact_mod_cast hz |
| 90 | linarith [mul_le_mul_of_nonneg_left ht ha] |
| 91 | push Not at he |
| 92 | obtain ⟨i,hi⟩ := he |
| 93 | rw [hr.zero hp (h.analytic.of_le le_top) q i (not_le.mpr hi), norm_zero]; have := h.nonneg; positivity |
| 94 | |
| 95 | lemma Beacon.mono (h : Beacon l a N f y p C) (he : C≤D) : Beacon l a N f y p D := |
| 96 | fun _ hk q => (h _ hk q).trans (mul_le_mul_of_nonneg_right he (by positivity)) |
| 97 | |
| 98 | lemma Beacon.add (hf : ContDiffAt ℝ ω f p) (hg : ContDiffAt ℝ ω g p) (h : Beacon l a N f y p C) (h' : Beacon l a N g y p D) : |
| 99 | Beacon l a N (fun x => f x + g x) y p (C+D) := by |
| 100 | intro k hk q |
| 101 | rw [show entry (fun x => f x+g x) p q = entry f p q+entry g p q from by |
| 102 | unfold entry; rw [show (fun x => f x+g x) = f+g from rfl, iteratedFDeriv_add_apply (hf.of_le le_top) (hg.of_le le_top)]; rfl,add_mul] |
| 103 | exact (norm_add_le ..).trans (add_le_add (h _ hk _) (h' _ hk _)) |
| 104 | |
| 105 | lemma Beacon.comp {g : E → F} (hf : ContDiffAt ℝ ω f p) (h : Beacon l a N f y p C) (hp : 0 ≤ C) |
| 106 | (hg : Allows N g (f p) D) : Beacon l a N (fun z => g (f z)) y p |
| 107 | ((∑ i∈Finset.range (N+1), (Fintype.card (OrderedFinpartition i):ℝ))* (D*(1+C)^N)) := by |
| 108 | intro k hk q |
| 109 | let T := Real.exp (-a*spanSites l y q) |
| 110 | let M := D * (1+C)^N * T |
| 111 | let v (i) := bolt (q i) |
| 112 | have H (c : OrderedFinpartition k) : ‖((ftaylorSeries ℝ g (f p)).compAlongOrderedFinpartition |
| 113 | (ftaylorSeries ℝ f p) c) v‖ ≤ M := by |
| 114 | let U (i : Fin c.length) := entry f p (q ∘ c.emb i) |
| 115 | have he := (iteratedFDeriv ℝ c.length g (f p)).le_opNorm U |
| 116 | change ‖iteratedFDeriv ℝ c.length g (f p) U‖ ≤ _ |
| 117 | apply he.trans; apply le_trans (mul_le_mul (hg.norm_le _ (c.length_le.trans hk)) |
| 118 | (Finset.prod_le_prod (fun _ _ => norm_nonneg _) (fun i _ => h _ ((c.partSize_le i).trans hk) _)) (by positivity) hg.nonneg) |
| 119 | rw [Finset.prod_mul_distrib,Finset.prod_const, Finset.card_univ,Fintype.card_fin, ← Real.exp_sum, ← Finset.mul_sum, ← Nat.cast_sum] |
| 120 | have ht : ∑ i, spanSites l y (q ∘ c.emb i) = spanSites l y q := c.sum_sigma_eq_sum (fun i => separation y (l (q i))) |
| 121 | rw [ht, ← mul_assoc] |
| 122 | refine mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left ?_ hg.nonneg) (by positivity) |
| 123 | refine (pow_le_pow_left₀ hp (show C≤1+C by linarith) _).trans (pow_le_pow_right₀ (by linarith) (c.length_le.trans hk)) |
| 124 | change ‖iteratedFDeriv ℝ k (g ∘ f) p v‖ ≤ _ |
| 125 | rw [iteratedFDeriv_comp hg.analytic hf le_top, FormalMultilinearSeries.taylorComp, sum_apply] |
| 126 | apply le_trans ((norm_sum_le ..).trans (Finset.sum_le_sum (fun c _ => H c))) |
| 127 | rw [Finset.sum_const,Finset.card_univ,nsmul_eq_mul]; unfold M T; rw [← mul_assoc] |
| 128 | have hh := hg.nonneg |
| 129 | exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right |
| 130 | (Finset.single_le_sum (fun i _ => Nat.cast_nonneg (Fintype.card (OrderedFinpartition i))) (Finset.mem_range.mpr (show k < N+1 by omega))) (by positivity)) (by positivity) |
| 131 | end Finite |
| 132 | end YM.Push.Uniform |