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.ProofPorts.COMMON_COMPLEX_PRODUCTION.Pin |
| 2 | import YM.ProofPorts.COMMON_COMPLEX_PRODUCTION.Story |
| 3 | |
| 4 | /-! # Value-independent positive-order jet inputs for exponential and velocity prices -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.ProofPorts.CommonComplexProduction |
| 8 | open Function Filter Finset Lattice RG Wilson Multi Multi.Vacuum Jets Puff Complex |
| 9 | open scoped Topology BigOperators Classical ContDiff |
| 10 | variable {n : Side} {G : Gauge} {k : ℕ} {D : Directions G n → Prop} {U : Config G n} {r p c c' : ℝ} |
| 11 | {F H : Config G n → ℂ} |
| 12 | |
| 13 | lemma band_plus (h : Band k D U r c F) (he : Band k D U r c' H) : Band k D U r (c+c') (F+H) := by |
| 14 | refine ⟨Puff.into k _ (h.readable.germ.add he.readable.germ), h.sane, add_nonneg h.nonneg he.nonneg,fun l hl hL => ?_⟩ |
| 15 | rw [Crest.sum_at l hl U h.readable he.readable,add_mul]; exact (norm_add_le ..).trans (add_le_add (h.caps l hl hL) (he.caps l hl hL)) |
| 16 | |
| 17 | lemma band_constant (k : ℕ) (c : ℂ) (hr : 0≤r) : Band k D U r ‖c‖ (fun _=>c) := by |
| 18 | refine ⟨into k _ contDiffAt_const,hr,norm_nonneg _,fun l hl hL => ?_⟩; rw [Work.G07.left_const]; cases l <;> simp |
| 19 | positivity |
| 20 | |
| 21 | |
| 22 | |
| 23 | lemma band_comb {I : Type} {f : I → Config G n→ℂ} {g : I→ℝ} {s : Finset I} |
| 24 | (hr : 0 ≤ r) (h : ∀ i∈s, Band k D U r (g i) (f i)) : Band k D U r (∑ i∈s, g i) (∑ i∈s, f i) := by |
| 25 | induction s using Finset.induction with |
| 26 | | empty => rw [sum_empty,sum_empty,← (norm_zero : ‖(0:ℂ)‖=0)]; exact band_constant k _ hr |
| 27 | | insert i s hi ih => |
| 28 | simp only [sum_insert hi]; exact band_plus (h i (by simp)) (ih fun j hj => h j (mem_insert_of_mem hj)) |
| 29 | |
| 30 | lemma crest_move (h : Crest k F U) (he : H =ᶠ[𝓝 U] F) : Crest k H U := by obtain ⟨g,hf,h⟩:=h; exact ⟨g,hf,he.trans h⟩ |
| 31 | |
| 32 | lemma band_move (h : Band k D U r c F) (he : H =ᶠ[𝓝 U] F) : Band k D U r c H := |
| 33 | ⟨crest_move h.readable he,h.sane,h.nonneg,fun l hl hv => Jets.agrees he l ▸ h.caps l hl hv⟩ |
| 34 | |
| 35 | lemma band_rise {c' r' : ℝ} (h : Band k D U r c F) (hc : c ≤ c') (hr : r ≤ r') : Band k D U r' c' F := |
| 36 | ⟨h.readable,h.sane.trans hr,h.nonneg.trans hc,fun l hl hv => (h.caps l hl hv).trans |
| 37 | (mul_le_mul hc (pow_le_pow_left₀ h.sane hr _) (pow_nonneg h.sane _) (h.nonneg.trans hc))⟩ |
| 38 | |
| 39 | structure Slope (k : ℕ) (D : Directions G n→Prop) (U : Config G n) (r c : ℝ) (F : Config G n→ℂ) : Prop where |
| 40 | read : Crest k F U |
| 41 | starts : 0 ≤ r |
| 42 | nonneg : 0 ≤ c |
| 43 | caps l : l ≠ [] → l.length ≤ k → (∀ i ∈ l,D i) → ‖leftDerivs F l U‖ ≤ c*r^l.length |
| 44 | |
| 45 | |
| 46 | |
| 47 | namespace Slope |
| 48 | lemma band (h : Slope k D U r c F) {d : ℝ} (hc : ‖F U‖≤d) (hd : c ≤ d) : Band k D U r d F := by |
| 49 | refine ⟨h.read,h.starts,h.nonneg.trans hd,fun l hl hv => ?_⟩; by_cases he:l=[] |
| 50 | · subst l; simpa [leftDerivs] using hc |
| 51 | exact (h.caps l he hl hv).trans (mul_le_mul_of_nonneg_right hd (pow_nonneg h.starts _)) |
| 52 | lemma shorten (h : Slope (k+1) D U r c F) : Slope k D U r c F := |
| 53 | ⟨Jets.shorten h.read,h.starts,h.nonneg,fun l he hl => h.caps l he (by omega)⟩ |
| 54 | lemma core (h : Slope (k+1) D U r c F) {v : Directions G n} (hv : D v) : Band k D U r (c*r) (leftDerivs F [v]) := by |
| 55 | refine ⟨h.read.falls _,h.starts,mul_nonneg h.nonneg h.starts,fun l hl hL => ?_⟩ |
| 56 | rw [← Work.G07.left_append] |
| 57 | have he := h.caps (l++[v]) (by simp) (by simpa) (fun i hi => (List.mem_append.mp hi).elim (hL i) (fun h => (List.mem_singleton.mp h).symm ▸ hv)) |
| 58 | simp only [List.length_append,List.length_singleton,pow_succ] at he; convert he using 1; ring |
| 59 | |
| 60 | lemma rise (h : Slope k D U r c F) (hr : r≤p) (hc : c≤c') : Slope k D U p c' F := by |
| 61 | refine ⟨h.read,h.starts.trans hr,h.nonneg.trans hc,fun l he hl hv => (h.caps l he hl hv).trans ?_⟩ |
| 62 | exact mul_le_mul hc (pow_le_pow_left₀ h.starts hr _) (pow_nonneg h.starts _) (h.nonneg.trans hc) |
| 63 | lemma move (h : Slope k D U r c F) (he : H =ᶠ[𝓝 U] F) : Slope k D U r c H := |
| 64 | ⟨crest_move h.read he,h.starts,h.nonneg,fun l hl hv hh => Jets.agrees he l ▸ h.caps l hl hv hh⟩ |
| 65 | lemma fixed (k : ℕ) (x : ℂ) (hr : 0≤r) : Slope k D U r 0 (fun _=> x) := by |
| 66 | refine ⟨into k _ contDiffAt_const,hr,le_rfl,fun l hl _ _ => ?_⟩; simp only [Work.G07.left_const, if_neg hl,norm_zero,zero_mul,le_rfl] |
| 67 | lemma plus (h : Slope k D U r c F) (he : Slope k D U r c' H) : Slope k D U r (c+c') (F+H) := by |
| 68 | refine ⟨into k _ (h.read.germ.add he.read.germ),h.starts,add_nonneg h.nonneg he.nonneg,fun l he' hl hv => ?_⟩ |
| 69 | rw [Crest.sum_at l hl U h.read he.read, add_mul] |
| 70 | exact (norm_add_le ..).trans (add_le_add (h.caps l he' hl hv) (he.caps l he' hl hv)) |
| 71 | lemma scale (h : Slope k D U r c F) (x : ℂ) : Slope k D U r (‖x‖*c) (x • F) := by |
| 72 | refine ⟨into k _ (h.read.germ.const_smul x),h.starts,mul_nonneg (norm_nonneg _) h.nonneg,fun l he hl hv => ?_⟩ |
| 73 | rw [scaled_left,norm_mul,mul_assoc]; exact mul_le_mul_of_nonneg_left (h.caps l he hl hv) (norm_nonneg _) |
| 74 | lemma minus (h : Slope k D U r c F) (he : Slope k D U r c' H) : Slope k D U r (c+c') (F-H) := by |
| 75 | simpa only [norm_neg,norm_one,one_mul,neg_one_smul, sub_eq_add_neg] using h.plus (he.scale (-1)) |
| 76 | |
| 77 | lemma scheduled {I : Type} (f : I → Config G n→ℂ) {g : I→ℝ} {s : Finset I} |
| 78 | (hr : 0 ≤ r) (h : ∀ i∈s, Slope k D U r (g i) (f i)) : Slope k D U r (∑ i∈s, g i) (∑ i∈s, f i) := by |
| 79 | induction s using Finset.induction with |
| 80 | | empty => rw [sum_empty,sum_empty]; exact fixed k _ hr |
| 81 | | insert i s hi ih => simp only [sum_insert hi]; exact (h i (by simp)).plus (ih fun j hj => h j (mem_insert_of_mem hj)) |
| 82 | |
| 83 | lemma from_core (hr : 0≤r) (hc : 0≤c) (h : Crest k F U) |
| 84 | (he : ∀ i : ℕ,k=i+1 → ∀ v,D v → Band i D U r (c*r) (leftDerivs F [v])) : Slope k D U r c F := by |
| 85 | refine ⟨h,hr,hc,fun l hl hh hv => ?_⟩ |
| 86 | induction l using List.reverseRecOn with |
| 87 | | nil => exact False.elim (hl rfl) |
| 88 | | append_singleton l A _ => |
| 89 | have hK : 0<k := by simp only [List.length_append,List.length_singleton] at hh; omega |
| 90 | rw [Work.G07.left_append,List.length_append,List.length_singleton] |
| 91 | apply ((he (k-1) (by omega) A (hv _ (by simp))).caps l (by simp only [List.length_append,List.length_singleton] at hh; omega) |
| 92 | (fun i hi => hv i (List.mem_append_left _ hi))).trans_eq |
| 93 | ring |
| 94 | |
| 95 | private def ef (F : Config G n → ℂ) := fun x => Complex.exp (F x) |
| 96 | private lemma smooth (h : Slope k D U r c F) : Crest k (ef F) U := into k _ h.read.germ.cexp |
| 97 | private lemma hop (h : Crest (k+1) F U) (A : Directions G n) : leftDerivs (ef F) [A] U = ef F U * leftDerivs F [A] U := by |
| 98 | have he := ((h.line [] (by simp) A).hasDerivAt.cexp).deriv; rw [zero_smul,inc_zero] at he; exact he |
| 99 | |
| 100 | /-- Score relative to the exponentiated value, at cost polynomial in all |
| 101 | size arguments when log COSTS AT POSITIVE ORDERS are. No cost exponential |
| 102 | in the size even when `c` grows. Through requested order total (not k+1). -/ |
| 103 | lemma exp_band (h : Slope k D U r c F) : Band k D U (k*(1+c)*r) ‖Complex.exp (F U)‖ (fun x => Complex.exp (F x)) := by |
| 104 | induction k with |
| 105 | | zero => exact ⟨smooth h,by rw [Nat.cast_zero,zero_mul,zero_mul],norm_nonneg _,fun l hl _ => by |
| 106 | have he:l=[]:=List.length_eq_zero_iff.mp (Nat.le_zero.mp hl) |
| 107 | subst l; simp [leftDerivs]⟩ |
| 108 | | succ k ih => |
| 109 | have hc:=h.nonneg; have hr:=h.starts |
| 110 | let t : ℝ := (k+1)*(1+c)*r |
| 111 | suffices Slope (k+1) D U t ‖ef F U‖ (ef F) by push_cast; exact this.band le_rfl le_rfl |
| 112 | have hg (A) (hv:D A) := (ih h.shorten).multiply (h.core hv) |
| 113 | refine from_core (by unfold t; positivity) (norm_nonneg _) (smooth h) ?_ |
| 114 | rintro i hi A hv; have hi:i=k:=by omega |
| 115 | subst i |
| 116 | refine band_rise (band_move (hg A hv) (h.read.near.mono fun V hV => hop hV A)) (by unfold t ef; gcongr; nlinarith) ?_ |
| 117 | unfold t; nlinarith |
| 118 | end Slope |
| 119 | end YM.ProofPorts.CommonComplexProduction |