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.FullVolume.Amp.Drill |
| 2 | /-! Homogeneous polynomial along the coupon shell. No polarization in infinite directions assumed. -/ |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.FullVolume.Amp.Often |
| 6 | open Filter Function Finset Asymptotics Ray RG Push.AbsoluteSums |
| 7 | open scoped Topology BigOperators NNReal ENNReal ContDiff |
| 8 | variable {X Y I : Type*} [DecidableEq I][SeminormedAddCommGroup X][NormedSpace ℝ X][NormedAddCommGroup Y][NormedSpace ℝ Y] |
| 9 | variable (s:Finset I)(u:I→X){f:X→Y}{x:X}{c p r k:ℝ}{n j:ℕ}{P:ℕ→Y}{B:ℝ→Y} |
| 10 | variable (L : Often p f x r c) |
| 11 | include L |
| 12 | -- Tip via any scaling |
| 13 | lemma light {v:ℝ} (u:X) (hv:0<v) (he:‖v⁻¹ • u‖ ≤r): ∃ P:ℕ→Y,Tip (fun i => (v/p)^i • P i) (fun t:ℝ=> f (x+t • u)) ∧ SumBudget (fun i=> ‖P i‖) c ∧ ∀ t:ℝ,|v*t| ≤1 → HasSum (fun i:ℕ=> (v*t/p)^i • P i) (f (x+t • u)):=by |
| 14 | obtain ⟨P,h,hp⟩:= L.looking _ he|>.scored |
| 15 | have hh(t:ℝ)(ht:|v*t| ≤1): HasSum (fun i:ℕ=> (v*t/p)^i • P i) (f (x+t • u)):= by |
| 16 | rw [show t • u=(v*t) • v⁻¹ • u from (by rw [smul_smul,show v*t*v⁻¹=t from (by field_simp)])]; exact hp _ (abs_le.mp ht) |
| 17 | refine ⟨P,signpost (v/p) h ?_,h,hh⟩ |
| 18 | exact (sprite v).mono fun t ht=> by rw [show v/p*t=v*t/p from (by ring)]; exact hh t ht |
| 19 | lemma tubing (u:X) : ∃ B:ℕ→Y, Tip B (fun t:ℝ=> f (x+t • u)) := by |
| 20 | let b:ℝ:= (‖u‖+1)/r; have hu:0<r:= L.width; have hb:0<b:=by unfold b; positivity |
| 21 | let y: X:= b⁻¹ • u; have hV: ‖y‖≤ r:= by |
| 22 | unfold y; rw [norm_smul,norm_inv,Real.norm_of_nonneg hb.le, inv_mul_le_iff₀ hb]; unfold b; rw [div_mul_cancel₀ _ hu.ne']; linarith |
| 23 | exact ⟨_, (L.light u hb hV).choose_spec.1⟩ |
| 24 | def bank (n:ℕ) (u:X):Y := (L.tubing u).choose n |
| 25 | lemma jump (u:X) : Tip (fun n=>L.bank n u) (fun t:ℝ=>f (x+t • u)):= (L.tubing u).choose_spec |
| 26 | lemma lend (i:ℕ)(u:X)(v:ℝ)(hv:0<v)(he:‖v⁻¹ • u‖≤ r): ‖L.bank i u‖≤ (v/p)^i*c:=by |
| 27 | obtain ⟨P,hp,h,_⟩:= L.light u hv he |
| 28 | have hh: L.bank i u=(v/p)^i • P i:= congr_fun (sole (L.jump u) hp) i; rw [hh,norm_smul,norm_pow,Real.norm_of_nonneg (by have hc:=L.pays.1; positivity : 0≤ v/p)]; apply mul_le_mul_of_nonneg_left (budget_single h i); have hc:=L.pays.1; positivity |
| 29 | lemma gift (u:X)(he:‖u‖ ≤ r): HasSum (fun i=>L.bank i u) (f (x+u)):=by |
| 30 | obtain ⟨P,hp,_,h⟩:= L.light u zero_lt_one (show ‖(1:ℝ)⁻¹ • u‖≤r by simpa using he) |
| 31 | rw [sole (L.jump u) hp]; simpa using h 1 (by norm_num) |
| 32 | lemma lend' (i:ℕ)(u:X)(v:ℝ)(hv:‖u‖≤r*v): ‖L.bank i u‖≤ (v/p)^i*c:=by |
| 33 | have hh:= (Continuous.tendsto (show Continuous fun a:ℝ => (a/p)^i*c by fun_prop) v).mono_left (show 𝓝[>] v ≤ 𝓝 v from nhdsWithin_le_nhds) |
| 34 | apply ge_of_tendsto hh |
| 35 | filter_upwards [self_mem_nhdsWithin] with a ha |
| 36 | have ht:= L.width; have hu:= nonneg_of_mul_nonneg_right ((norm_nonneg _).trans hv) ht |
| 37 | exact lend L _ u _ (hu.trans_lt (show v<a from ha)) (by rw [norm_smul,norm_inv,Real.norm_of_nonneg (hu.trans (le_of_lt (show v<a from ha))),inv_mul_le_iff₀ (hu.trans_lt (show v<a from ha))]; nlinarith [show v<a from ha]) |
| 38 | lemma homo (a:ℝ) (u:X) (n:ℕ): L.bank n (a • u)= a^n • L.bank n u:=by |
| 39 | apply congr_fun (f:=fun n=>L.bank n (a • u)) (g:=fun n=> a^n • L.bank n u) (sole (L.jump _) ?_) n |
| 40 | intro n; have he: (fun t:ℝ=>t*a)=(fun t=>t*a):=rfl |
| 41 | have ht : Tendsto (fun t:ℝ=>t*a) (𝓝 0) (𝓝 0):= by simpa using! Continuous.tendsto (show Continuous fun t:ℝ=>t*a by fun_prop) 0 |
| 42 | refine (( (L.jump u n).comp_tendsto ht).trans ?_).congr_left ?_ |
| 43 | · apply IsBigO.of_bound (‖a‖^n); exact .of_forall (fun y=> by change ‖(y*a)^n‖ ≤ _; rw [norm_pow,norm_pow,norm_mul,mul_pow]; linarith) |
| 44 | intro y; simp [shell, smul_smul,mul_pow] |
| 45 | lemma blocks (s:Finset I)(u:I→X)(x':X)(K:I→ℕ)(hb:∀ i∈s,K i < s.card)(hr: ∀ i,i<s.card→∃ j∈s,K j=i): (fun t:ℝ=> block s (fun i=>t • u i) f (x+t • x'))=O[𝓝 0] fun t=>t^s.card:=by |
| 46 | simp_rw [spelled s u f x K hb hr] |
| 47 | exact .sum (A:=fun T t=> signed s T • (fwdDiff (t • spine s u K T))^[s.card] f (x+t • (x'+leanW s u K T))) fun T _=> (L.reveal ..).const_smul_left _ |
| 48 | lemma annul (x':X)(h:n<s.card): block s u (L.bank n) x'=0:= by |
| 49 | let K:I→ℕ:=fun i=> if h:i∈s then ((Fintype.equivFin s) ⟨i,h⟩).val else 0 |
| 50 | have hb j (h:j∈s):K j<s.card:=by unfold K; rw [dif_pos h]; simpa using (((Fintype.equivFin s) ⟨j,h⟩).isLt) |
| 51 | have he j (h:j<s.card):∃ i∈s,K i=j:=by |
| 52 | let k:Fin (Fintype.card s):=⟨j,by simpa using h⟩; let t:= (Fintype.equivFin s).symm k; exact ⟨t,t.property,by unfold K; rw [dif_pos t.property]; unfold t; simp [k]⟩ |
| 53 | have ht:=L.blocks s u x' K hb he |
| 54 | refine pace (P:=fun i=>block s u (L.bank i) x') ?_ ht h |
| 55 | intro k; let z(T: Finset I): X:= x'+∑ i∈T,u i |
| 56 | let H(T : Finset I)(t:ℝ):Y:= f (x+t • z T)-shell (fun n=>L.bank n (z T)) k t |
| 57 | refine (IsBigO.sum (A:=fun T t=>signed s T • H T t) (s:=s.powerset) (fun T _=> (L.jump (z T) k).const_smul_left _)).congr_left ?_ |
| 58 | intro t; dsimp only; rw [snow]; unfold H; simp only [smul_sub,sum_sub_distrib]; congr 1 |
| 59 | unfold shell block; simp_rw [smul_sum, smul_comm (signed ..)]; rw [sum_comm] |
| 60 | -- independent x': realize one more index to get equal |
| 61 | lemma clone (x' x'':X) (i:ℕ)(h:i=s.card): block s u (L.bank i) x'=block s u (L.bank i) x'':=by |
| 62 | subst i |
| 63 | let S:Finset (Option I):= s.image some; let v:Option I→X:=Option.elim' (x''-x') u |
| 64 | have hf : Function.Injective (@some I):=fun i j h=>Option.some_injective _ h; have hp:S.card=s.card:=card_image_of_injective _ hf |
| 65 | have hu:none∉S:=by simp [S] |
| 66 | suffices hv: ∀ P:Finset I,∀ B:X→Y,∀ z,block (P.image some) v B z=block P u B z from (by |
| 67 | have hh := L.annul (insert none S) v x' (n:=s.card) (by rw [card_insert_of_notMem hu,hp]; omega) |
| 68 | rw [cons S _ _ _ hu,show x'+v none=x'' from (by change x'+(x''-x')=_; abel),hv s,hv s] at hh; exact (sub_eq_zero.mp hh).symm) -- mpr issue |
| 69 | intro P B z; induction P using Finset.induction_on generalizing z with |
| 70 | | empty=> rw [image_empty,start,start] |
| 71 | | insert a s h ih=> |
| 72 | rw [image_insert,cons _ v _ _ (by simp [h]),cons _ u _ _ h,ih,ih]; rfl |
| 73 | lemma draw (u:X): block s (fun _=>u) (L.bank s.card) 0=((Nat.factorial s.card:ℕ):ℝ) • L.bank s.card u:= by |
| 74 | rw [rear, face]; simp_rw [zero_add,L.homo,smul_smul]; rw [←sum_smul]; congr 1 |
| 75 | have hp:= face (X:=ℝ) (Y:=ℝ) (f:=fun t=>t^s.card) (x:=0) 1 s.card |
| 76 | rw [fwdDiff_iter_eq_factorial] at hp; simpa using hp.symm |
| 77 | end YM.FullVolume.Amp.Often |