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.OPE.Height |
| 2 | |
| 3 | /-! |
| 4 | # Orders against the stronger logarithmic scale |
| 5 | |
| 6 | Do not use `RateLE` in place of the eventual inequality when one only has subpower |
| 7 | on this log scale. `Wallet` means a *fixed eventual power*, in the joint geometry. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.OPE |
| 12 | open Function Filter Set Lattice RG |
| 13 | open scoped Topology BigOperators |
| 14 | variable {ι ι' I V X Y : Type*} {l l' : Filter ι} {φ : Filter ι'} {T : ι→ℝ} {u : ι'→ι} |
| 15 | {f : ι→X} {g : ι→Y} {f' : ι→X} {x y z : ι→ℝ} |
| 16 | |
| 17 | def Wallet [Norm X](l:Filter ι)(T:ι→ℝ)(f:ι→X):Prop:= ∃ p:ℕ, ∀ᶠ i in l, ‖f i‖ ≤ T i^p |
| 18 | variable (hT:Tendsto T l atTop) |
| 19 | namespace Wallet |
| 20 | lemma transfer [Norm X][Norm Y] (h:Wallet l T f)(hf:∀ᶠ i in l, ‖g i‖ ≤ ‖f i‖) : Wallet l T g:= |
| 21 | h.imp (fun _ hh=>hf.mp ((hh).mono fun _ hi hb=> hb.trans hi)) -- mp order? |
| 22 | lemma of_est [Norm X](h:Wallet l T x)(hf:∀ᶠ i in l, ‖f i‖ ≤ x i): Wallet l T f:= h.transfer (hf.mono fun i hi=> hi.trans (Real.le_norm_self _)) |
| 23 | lemma of_le (h: Wallet l T x)(hf:∀ᶠ i in l, 0≤y i)(hh:∀ᶠ i in l,y i ≤ x i) : Wallet l T y:= by |
| 24 | apply h.of_est; filter_upwards [hf,hh] with i hi he; rwa [Real.norm_of_nonneg hi] |
| 25 | lemma of_le' (h: Wallet l T x)(hf:∀ᶠ i in l, 0<y i)(hh:∀ᶠ i in l,y i ≤ x i) : Wallet l T y:= h.of_le (hf.mono fun _ hi=> hi.le) hh |
| 26 | lemma congr [Norm X](h:Wallet l T f)(hf:f =ᶠ[l] f'): Wallet l T f':= h.transfer (hf.mono fun _ hi => by rw [hi]) -- simp |
| 27 | lemma small [Norm X](h:Wallet l T f)(he:l'≤l):Wallet l' T f:= h.imp (fun _ hh=> hh.filter_mono he) |
| 28 | lemma comp [Norm X](h:Wallet l T f)(hp:Tendsto u φ l) : Wallet φ (T ∘ u) (f ∘ u):= h.imp fun _ hh=> hp.eventually hh |
| 29 | include hT |
| 30 | lemma raise [Norm X](h:Wallet l T f)(ht:Wallet l z T) : Wallet l z f := by |
| 31 | obtain ⟨p,h⟩:=h; obtain ⟨v,hv⟩:= ht; refine ⟨v*p,?_⟩; filter_upwards [h,hv,hT.eventually_ge_atTop 0] with i hi hv ht; rw [pow_mul]; exact hi.trans (pow_le_pow_left₀ ht ((Real.le_norm_self _).trans hv) p) |
| 32 | omit hT |
| 33 | lemma of_rate [Norm X]{a : ℝ} (hT:Tendsto T l atTop)(h:RateLE l (Real.log ∘ T) f a) : Wallet l T f:=by |
| 34 | obtain ⟨p,hp⟩ := exists_nat_gt a |
| 35 | refine ⟨p,?_⟩; filter_upwards [hT.eventually_gt_atTop 0,h p hp] with i hi hv |
| 36 | rwa [Function.comp_apply, Real.exp_nat_mul,Real.exp_log hi] at hv |
| 37 | include hT |
| 38 | lemma clock : RateIs l T T 0:= ⟨hT.eventually_gt_atTop 0, Real.isLittleO_log_id_atTop.tendsto_div_nhds_zero.comp hT⟩ |
| 39 | lemma subpower [SeminormedAddGroup X](h: Wallet l T f): RateLE l T f 0:=by |
| 40 | obtain ⟨p,h⟩:=h; exact (((clock hT).power p).swap (mul_zero _)).pays hT|>.of_norm_le h |
| 41 | lemma absolute [Norm X](b:ℝ) (hh:∀ᶠ i in l, ‖f i‖≤b): Wallet l T f:= by |
| 42 | have he:= hh.and (hT.eventually_ge_atTop b); exact ⟨1, he.mono fun i hi=> hi.1.trans (by simpa only [pow_one] using hi.2)⟩ |
| 43 | lemma const [Norm X](x:X):Wallet l T (fun _=>x):= absolute hT ‖x‖ (Eventually.of_forall fun _=>le_rfl) |
| 44 | lemma max_price [Norm X] (h:Wallet l T f):∃ a : ℕ, ∀ p:ℕ,a≤p→ ∀ᶠ i in l,‖f i‖ ≤ T i^p :=by |
| 45 | obtain ⟨p,hp⟩ := h; refine ⟨p,fun i hi=>?_⟩; filter_upwards [hp,hT.eventually_ge_atTop 1] with j hj hq using hj.trans (pow_le_pow_right₀ hq hi) |
| 46 | lemma id : Wallet l T T := by |
| 47 | refine ⟨1, (hT.eventually_ge_atTop 0).mono (fun i hi=> ?_)⟩; rw [Real.norm_of_nonneg hi,pow_one] |
| 48 | lemma add [SeminormedAddGroup X](h: Wallet l T f)(hh: Wallet l T f') : Wallet l T (fun i=> f i+f' i):= by |
| 49 | obtain ⟨p,hp⟩:=h.max_price hT; obtain ⟨p',hp'⟩:= hh.max_price hT; let v:=max p p'; refine ⟨v+1,?_⟩; filter_upwards [hp v (le_max_left ..), hp' v (le_max_right ..), hT.eventually_ge_atTop 2] with i h1 h2 H |
| 50 | exact (norm_add_le ..).trans ((add_le_add h1 h2).trans ((show T i^v+T i^v ≤ T i^(v+1) by rw [← mul_two,pow_succ]; exact mul_le_mul_of_nonneg_left H (pow_nonneg (zero_le_two.trans H) _)))) |
| 51 | lemma sum [SeminormedAddCommGroup X]{s:Finset I}{f:I→ι→X}(h:∀ i∈s,Wallet l T (f i)) : Wallet l T (fun i=> ∑ j∈s,f j i):=by |
| 52 | classical |
| 53 | induction s using Finset.induction with |
| 54 | | empty => simpa using const hT (0:X) |
| 55 | | insert j s hJ ih => simpa only [Finset.sum_insert hJ] using (h j (Finset.mem_insert_self ..)).add hT (ih fun i hi=> h i (Finset.mem_insert_of_mem hi)) -- order |
| 56 | omit hT |
| 57 | lemma norm [SeminormedAddGroup X] (h:Wallet l T f) : Wallet l T (fun i=>‖f i‖) := h.transfer (Eventually.of_forall fun _=> by simp) |
| 58 | lemma neg [SeminormedAddGroup X] (h: Wallet l T f):Wallet l T (fun i=> -f i):= h.transfer (Eventually.of_forall fun _=>by simp) |
| 59 | lemma bind [SeminormedAddGroup X][SeminormedAddGroup Y][Norm V]{u:ι→V}(h:Wallet l T f)(hf:Wallet l T g)(hu:∀ᶠ i in l, ‖u i‖≤ ‖f i‖* ‖g i‖):Wallet l T u := by |
| 60 | obtain ⟨p,h⟩:=h; obtain ⟨q,hf⟩:= hf; refine ⟨p+q,?_⟩; filter_upwards [hu,h,hf] with i hi h hf; rw [pow_add]; exact hi.trans (mul_le_mul h hf (norm_nonneg _) ((norm_nonneg _).trans h)) |
| 61 | lemma mul [SeminormedRing X](h: Wallet l T f)(hf:Wallet l T f') : Wallet l T (fun i=> f i*f' i):= h.bind hf (Eventually.of_forall fun _=> norm_mul_le ..) |
| 62 | lemma smul [NormedField X] [SeminormedAddCommGroup Y][NormedSpace X Y](h:Wallet l T f)(hf: Wallet l T g):Wallet l T (fun i=> f i • g i):= h.bind hf (Eventually.of_forall fun _=> norm_smul_le ..) |
| 63 | include hT |
| 64 | lemma from_tends [NormedAddGroup X]{a:X}(h:Tendsto f l (𝓝 a)): Wallet l T f:= by |
| 65 | exact absolute hT (‖a‖+1) (h.norm.eventually (ge_mem_nhds (lt_add_of_pos_right _ one_pos))) -- name |
| 66 | lemma of_strict [NormedAddGroup X]{a:ℝ}(h:RateLE l T f a) (ha:a<0): Wallet l T f:=from_tends hT (h.tends ha hT) |
| 67 | lemma sub [SeminormedAddGroup X](h:Wallet l T f)(hh:Wallet l T f'): Wallet l T (fun i=> f i-f' i):= by simpa only [sub_eq_add_neg] using h.add hT hh.neg |
| 68 | omit hT in |
| 69 | lemma invLe (h:Wallet l T (fun i=> (x i)⁻¹))(hx:∀ᶠ i in l,0<x i)(hf:∀ᶠ i in l,x i ≤ y i):Wallet l T (fun i=>(y i)⁻¹):= h.of_le' |
| 70 | ((hx.and hf).mono fun i hi=>inv_pos.mpr (lt_of_lt_of_le hi.1 hi.2)) ((hx.and hf).mono fun i hi=> inv_anti₀ hi.1 hi.2) |
| 71 | omit hT in |
| 72 | lemma div (h:Wallet l T x)(hf:Wallet l T (fun i=>(y i)⁻¹)): Wallet l T (fun i=>x i/y i):=by simpa only [div_eq_mul_inv] using h.mul hf |
| 73 | lemma pow [SeminormedRing X] (h:Wallet l T f)(p:ℕ): Wallet l T (fun i=> f i^p):= by |
| 74 | induction p with |
| 75 | | zero => simpa using const hT (1:X) |
| 76 | | succ p ih => simpa only [pow_succ] using ih.mul h |
| 77 | lemma prod [SeminormedCommRing X]{s:Finset I}{f:I→ι→X}(h:∀ i∈s,Wallet l T (f i)):Wallet l T (fun i=>∏ j∈s,f j i):=by |
| 78 | classical |
| 79 | induction s using Finset.induction with |
| 80 | | empty => simpa using const hT (1:X) |
| 81 | | insert j s hJ ih=> simpa only [Finset.prod_insert hJ] using (h j (Finset.mem_insert_self ..)).mul (ih fun i hi=> h i (Finset.mem_insert_of_mem hi)) |
| 82 | end Wallet |
| 83 | structure ValueStamp (l:Filter ι)(T x:ι→ℝ) : Prop where |
| 84 | profit : ∀ᶠ i in l, 0 < x i |
| 85 | up : Wallet l T x |
| 86 | down : Wallet l T (fun i=> (x i)⁻¹) |
| 87 | namespace ValueStamp |
| 88 | lemma congr (h:ValueStamp l T x)(hf:x =ᶠ[l] y): ValueStamp l T y:= |
| 89 | ⟨(hf.and h.profit).mono fun i hi=> hi.1 ▸ hi.2,h.up.congr hf,h.down.congr (hf.mono fun i hi=> by simp only [hi])⟩ |
| 90 | include hT in |
| 91 | lemma raise (h:ValueStamp l T x)(ht:Wallet l z T) : ValueStamp l z x:= |
| 92 | ⟨h.profit,h.up.raise hT ht,h.down.raise hT ht⟩ -- hT omit |
| 93 | lemma inv (h:ValueStamp l T x): ValueStamp l T (fun i=> (x i)⁻¹):= |
| 94 | ⟨h.profit.mono fun _ hi=> inv_pos.mpr hi,h.down,by simpa using h.up⟩ |
| 95 | lemma mul (h:ValueStamp l T x)(hf: ValueStamp l T y) : ValueStamp l T (fun i=>x i*y i):= |
| 96 | ⟨(h.profit.and hf.profit).mono fun _ hi=>mul_pos hi.1 hi.2,h.up.mul hf.up,by simp_rw [mul_inv_rev]; exact hf.down.mul h.down⟩ |
| 97 | lemma div (h:ValueStamp l T x)(hf:ValueStamp l T y):ValueStamp l T (fun i=>x i/y i):=by simpa only [div_eq_mul_inv] using h.mul hf.inv |
| 98 | include hT |
| 99 | lemma const {a:ℝ}(ha:0<a):ValueStamp l T (fun _=>a):=⟨Eventually.of_forall (fun _=> ha),Wallet.const hT _,Wallet.const hT _⟩ |
| 100 | lemma atT : ValueStamp l T T:= ⟨hT.eventually_gt_atTop 0,Wallet.id hT,Wallet.from_tends hT (tendsto_inv_atTop_zero.comp hT)⟩ |
| 101 | lemma zeroCost (h:ValueStamp l T x) : RateIs l T x 0:= by |
| 102 | obtain ⟨p,hp⟩:= h.down; refine RateIs.of_sandwich ((((Wallet.clock hT).power p).inv).swap (by ring)) (h.up.subpower hT) ?_ (Eventually.of_forall fun _=> le_rfl) hT |
| 103 | filter_upwards [hp,h.profit,hT.eventually_gt_atTop 0] with i hi hx ht using (inv_le_comm₀ (pow_pos ht p) hx).2 ((Real.le_norm_self _).trans hi) |
| 104 | lemma add (h:ValueStamp l T x)(hf:ValueStamp l T y):ValueStamp l T (fun i=>x i+y i):= |
| 105 | ⟨(h.profit.and hf.profit).mono fun _ hi=> add_pos hi.1 hi.2,h.up.add hT hf.up,h.down.invLe h.profit (hf.profit.mono fun _ hi=> le_add_of_nonneg_right hi.le)⟩ |
| 106 | lemma pow (h:ValueStamp l T x)(p:ℕ):ValueStamp l T (fun i=> x i^p):= |
| 107 | ⟨h.profit.mono fun _ hi=>pow_pos hi _, h.up.pow hT p, by simpa only [inv_pow] using h.down.pow hT p⟩ |
| 108 | lemma prod {s:Finset I}{f:I→ι→ℝ}(h:∀ i∈s,ValueStamp l T (f i)):ValueStamp l T (fun i=>∏ j∈s,f j i):=by |
| 109 | classical |
| 110 | induction s using Finset.induction with |
| 111 | | empty => simpa using const hT one_pos |
| 112 | | insert j s hJ ih=> simpa only [Finset.prod_insert hJ] using (h j (Finset.mem_insert_self ..)).mul (ih fun i hi=> h i (Finset.mem_insert_of_mem hi)) |
| 113 | end ValueStamp |
| 114 | end YM.OPE |