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.Contacts.Layers.Signed |
| 2 | |
| 3 | /-! # Uniform subpower estimates on layers |
| 4 | |
| 5 | A useful compactness argument especially near collisions of many groups. Do not try to take a uniform |
| 6 | threshold for an OPE estimate along all multiparameter paths; some of them may even cost different |
| 7 | (finite) output horizons. Use *normalized logs of all radii*, artificially introducing another |
| 8 | log-cost as well so that compactification gives conclusions on any profile, without an exception for |
| 9 | scales away from the small-length regime. The final bounds are ordinary uniform bounds with finite |
| 10 | constants on the indicated configurations, not pathwise. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | set_option maxHeartbeats 600000 |
| 14 | noncomputable section |
| 15 | namespace YM.Contacts.Layers |
| 16 | open Function Filter Set MeasureTheory Table Spec OPE |
| 17 | open scoped Topology BigOperators Classical ContDiff |
| 18 | variable {W E I : Type*} [Fintype I] |
| 19 | |
| 20 | -- works for arbitrary filters, but usually checked along sequences |
| 21 | structure Ride {W I: Type*} (R : I → W→ℝ) (φ : Filter ℕ) (T : ℕ→ℝ) (f : ℕ→ W) : Prop where |
| 22 | height : Tendsto T φ atTop |
| 23 | entries : ∀ i, ∃ s ∈ Icc (0:ℝ) 1, RateIs φ T (R i ∘ f) (-s) |
| 24 | def surcharges (R : I → W →ℝ) (w : W) (ε : ℝ) := ∏ i : I,(R i w)^(-ε) |
| 25 | lemma compactify (R : I→ W →ℝ) {q : W→ℝ} {U : Set W} {E : Type*} [Norm E] (F : W→ E) {ε : ℝ} (he : 0 < ε) |
| 26 | (hr : ∀ x∈ U,∀ i, R i x∈ Ioc (0:ℝ) 1) |
| 27 | (h : ∀ (φ : Filter ℕ) [φ.NeBot] (T : ℕ→ℝ) (f : ℕ→ W), |
| 28 | Ride R φ T f → (∀ j, f j ∈ U) → ∃ c, RateIs φ T (q ∘ f) c ∧ RateLE φ T (F ∘ f) c) : |
| 29 | ∃ C > (0:ℝ), ∀ w∈ U, ‖F w‖ ≤ C * q w * surcharges R w ε := by |
| 30 | by_contra! ha |
| 31 | choose f hu H using fun i:ℕ=> ha (Real.exp (i:ℝ)) (Real.exp_pos _) |
| 32 | let p i j:= -Real.log (R j (f i)); let S i:= ∑ j,p i j; let T (i:ℕ) := (i:ℝ)+ S i |
| 33 | have hp j (i) : 0 ≤ p i j:= neg_nonneg.mpr (Real.log_nonpos (hr _ (hu i) j|>.1.le) (hr _ (hu i) j|>.2)) |
| 34 | have hm (i) : 0 ≤ S i:= Finset.sum_nonneg fun j _=>hp j i |
| 35 | have ht(i:ℕ): (i:ℝ) ≤ T i:= le_add_of_nonneg_right (hm i) |
| 36 | let Ω:= Ultrafilter.of (atTop:Filter ℕ); let φ : Filter ℕ:= Ω |
| 37 | haveI hN: NeBot φ:= by change NeBot (Ω:Filter ℕ); infer_instance |
| 38 | have hT: Tendsto T φ atTop:= (tendsto_atTop_mono ht tendsto_natCast_atTop_atTop).mono_left (Ultrafilter.of_le _) |
| 39 | have hratio (f : ℕ→ℝ)(h0 : ∀ i, 0 ≤ f i) (hh : ∀ i, f i ≤ T i) : ∃ s∈ Icc (0:ℝ) 1,Tendsto (fun i=> f i/T i) φ (𝓝 s):= by |
| 40 | let g i:=f i/T i |
| 41 | have hG : ∀ᶠ i in φ, g i ∈ Icc (0:ℝ) 1:= by filter_upwards [hT.eventually_gt_atTop 0] with i hi using ⟨div_nonneg (h0 _) hi.le,(div_le_one hi).mpr (hh i)⟩ |
| 42 | apply isCompact_Icc.ultrafilter_le_nhds (Ω.map g) ?_; refine le_principal_iff.mpr ?_; exact hG |
| 43 | choose s hs hx using fun i:I=> hratio (fun j=>p j i) (hp i) (fun j=> le_trans (Finset.single_le_sum (fun i _=>hp i j) (Finset.mem_univ i)) (le_add_of_nonneg_left (Nat.cast_nonneg j))) |
| 44 | obtain ⟨k,hk,hK⟩:=hratio _ Nat.cast_nonneg ht |
| 45 | have hw(i:I):RateIs φ T (R i ∘ f) (-(s i)):= ⟨Eventually.of_forall fun j=> (hr _ (hu j) i).1, |
| 46 | (hx i|>.neg).congr' (Eventually.of_forall fun j=> by dsimp [p]; rw [neg_div,neg_neg])⟩ |
| 47 | obtain ⟨c,hv,hc⟩:= h φ T f ⟨hT,fun i=>⟨s i,hs i,hw i⟩⟩ hu |
| 48 | have hS : Tendsto (fun i=> S i/T i) φ (𝓝 (∑ i,s i)):= by simp_rw [S, Finset.sum_div]; exact tendsto_finsetSum _ fun i _=>hx i |
| 49 | have h1 : k+(∑ i,s i)=1:= tendsto_nhds_unique (hK.add hS) (tendsto_const_nhds.congr' (by |
| 50 | filter_upwards [hT.eventually_gt_atTop 0] with i hi; exact (by rw [← add_div]; exact (div_self hi.ne').symm))) |
| 51 | have hM : c< k+c+∑ i, -ε * -(s i):=by |
| 52 | simp only [neg_mul_neg,← Finset.mul_sum]; have hX : 0 ≤(∑ i,s i):= Finset.sum_nonneg fun i _=> (hs i).1 |
| 53 | rcases hX.eq_or_lt with H|H; rw [← H,mul_zero]; linarith only [h1,H]; linarith only [hk.1,mul_pos he H] |
| 54 | have hfee:= RateIs.prod (b:=fun i=> -ε * -(s i)) (S:=Finset.univ) (fun i _=> (hw i).rpow (-ε)) hT |
| 55 | have hE:= ((RateIs.exp' hK |>.mul hv).mul hfee).outweigh hc hM hT |
| 56 | obtain ⟨i,hi⟩:= hE.exists; exact (H i).not_ge hi |
| 57 | |
| 58 | -- No positivity or regularity of the profile family needed beyond exact finite powers below. |
| 59 | -- `B` is the bill *without* any epsilon charge; use RateIs only on the torus of paths. |
| 60 | variable {φ : Filter ℕ} {T : ℕ→ℝ} {r : I→W→ℝ} {p q : W→ℝ} {x : ℕ → W} |
| 61 | structure Bill (r : I → W→ℝ) (U : Set W) (b : W→ℝ) : Prop where |
| 62 | pos : ∀ x∈U,0 < b x |
| 63 | exactRate : ∀ (φ : Filter ℕ) [φ.NeBot] (T : ℕ→ℝ) (x : ℕ→ W), Ride r φ T x → (∀ i,x i∈U) → ∃ c:ℝ, RateIs φ T (b ∘ x) c |
| 64 | namespace Bill |
| 65 | variable {U : Set W} |
| 66 | omit [Fintype I] in |
| 67 | lemma one : Bill r U (fun _=>1):= ⟨fun _ _=>one_pos,fun _ _ _ _ h _=> ⟨_,RateIs.const h.height one_pos⟩⟩ |
| 68 | omit [Fintype I] in |
| 69 | lemma times (h : Bill r U p) (k : Bill r U q) : Bill r U (p*q) := by |
| 70 | constructor; exact fun _ hx=> mul_pos (h.pos _ hx) (k.pos _ hx) |
| 71 | intro φ _ T x h' hv; obtain ⟨s,hs⟩:=h.exactRate φ T x h' hv; obtain ⟨t,ht⟩:=k.exactRate φ T x h' hv; exact ⟨_,hs.mul ht⟩ |
| 72 | omit [Fintype I] in |
| 73 | lemma radius (i : I) (h : ∀ x∈ U,0 < r i x) : Bill r U (r i) := |
| 74 | ⟨h,fun φ _ T x h' _=> by obtain ⟨k,hk,h⟩:= h'.entries i; exact ⟨-k,h⟩⟩ |
| 75 | omit [Fintype I] in |
| 76 | lemma powers (a : ℝ) (h : Bill r U p) : Bill r U (fun w=> (p w)^a) := by |
| 77 | refine ⟨fun w hw=>Real.rpow_pos_of_pos (h.pos w hw) a, fun φ _ T x h' hx=>?_⟩; obtain ⟨k,hk⟩:= h.exactRate φ T x h' hx; exact ⟨_,hk.rpow a⟩ |
| 78 | end Bill |
| 79 | end YM.Contacts.Layers |