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.TraceExtension.Filch.Vines |
| 2 | import YM.TraceExtension.Filch.Brad |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.Trace.Filch |
| 6 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Exterior Tree RG Wilson Finset Push.Uniform Det Planned.PrimaryIntegral295 Drupes |
| 7 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 8 | variable {G:Gauge}{n:Side}{k:ℕ}{o:Site n}{r:ℕ}{F:Acr G n→ℝ} |
| 9 | private abbrev fee(G:Gauge)(t:ℕ):ℕ:= 2*((t+t+1)^4*Fintype.card (Loc G 1)) |
| 10 | private lemma members : (univ.filter fun i:pairA G n=>landW o i ≤r).card ≤ fee G r:=by |
| 11 | let A:= halo r {o} ×ˢ (univ:Finset (Loc G 1)) |
| 12 | have hp:(univ.filter fun i:pairA G n=>landW o i ≤r)⊆ disjSum A A:=by |
| 13 | intro j hj; have h:landW o j ≤r:= (mem_filter.mp hj).2 |
| 14 | cases j with |
| 15 | | inl k => exact inl_mem_disjSum.mpr (mem_product.mpr ⟨halo_spec.mpr ⟨o,mem_singleton_self o,h⟩,mem_univ _⟩) |
| 16 | | inr k => exact inr_mem_disjSum.mpr (mem_product.mpr ⟨halo_spec.mpr ⟨o,mem_singleton_self o,h⟩,mem_univ _⟩) |
| 17 | apply le_trans (card_le_card hp) |
| 18 | unfold fee; rw [card_disjSum,two_mul]; apply add_le_add <;> simp only [A,card_product,card_univ] <;> exact Nat.mul_le_mul_right _ (by simpa using Corona.halo_size ({o}:Support n) r) |
| 19 | private lemma inits : (univ.filter fun i: Fin k→pairA G n=>limitN (landW o) i ≤ r).card ≤ (fee G r)^k:=by |
| 20 | let A:= univ.filter fun i:pairA G n=>landW o i≤r |
| 21 | let E:(Fin k→ A)↪(Fin k→ pairA G n):= ⟨fun x=> Subtype.val ∘ x, fun i j H=>funext fun z=>Subtype.ext (congr_fun H z)⟩ |
| 22 | have hp:(univ.filter fun i: Fin k→ pairA G n=>limitN (landW o) i ≤ r)⊆ univ.map E:=by |
| 23 | intro i hi |
| 24 | have h(x:Fin k): i x∈A:=mem_filter.mpr ⟨mem_univ _,limitN_le _ _ |>.mp ((mem_filter.mp hi).2) x⟩ |
| 25 | exact mem_map.mpr ⟨fun v=>⟨i v,h v⟩,mem_univ _,rfl⟩ |
| 26 | apply (card_le_card hp).trans; rw [card_map,card_univ,Fintype.card_fun,Fintype.card_fin,Fintype.card_coe]; gcongr; exact members |
| 27 | private lemma charges (j:pairA G n)(he:landW o j ≤ r)(p:ℕ)(hp:p≤4)(T:Acr G n→ ℝ)(hT:T=(fun x=>par o 4 x j))(t:ℕ)(a u:ℝ)(ha:0≤ a)(hu:0≤ u)(hh:Allows 4 T 0 u) : |
| 28 | let R:=4*(r+1+1) |
| 29 | Perfect.sail (par o 4) 0 (landW o) p j a t 0 ≤ (fee G R :ℝ)^p * (Perfect.shelter a t R*u):=by |
| 30 | subst T; intro R; let F:= par (G:=G) o 4; let V(x:Acr G n):= F x j |
| 31 | unfold Perfect.sail; let A(i:Fin p→ pairA G n):= spot a t 0 (limitN (landW o) i)* ‖leaf F 0 p i j‖ |
| 32 | let D:= univ.filter (fun i=> limitN (landW (G:=G) o) (i:Fin p→ pairA G n) ≤ R) |
| 33 | change ∑ i,A i≤_ |
| 34 | have hv (i:Fin p→pairA G n): leaf F 0 p i j= entry V 0 i:=by |
| 35 | unfold entry; let P:Acr G n→L[ℝ] ℝ:= ContinuousLinearMap.proj j |
| 36 | rw [show V=P ∘ F from rfl,P.iteratedFDeriv_comp_left (parW ..) le_top]; change _=_; rfl |
| 37 | have hp':(fun x=>Requests Set.univ V (af G n) o x) R:= requestsP j he |
| 38 | have ht:∑ i∈D,A i=∑ i,A i:=sum_subset (subset_univ D) (fun i _ hi=>by |
| 39 | unfold A; rw [hv]; obtain ⟨x,hx⟩: ∃ x:Fin p,¬landW o (i x) ≤ R:=by |
| 40 | by_contra! hh; exact hi (mem_filter.mpr ⟨mem_univ _,(limitN_le _ _).mpr hh⟩) |
| 41 | rw [hp'.zero (s:=Set.univ) (f:=V) univ_mem (hh.analytic.of_le le_top) i x (by rw[←a_f G n o]; exact hx),norm_zero,mul_zero]) |
| 42 | rw[← ht]; apply (sum_le_sum (g:=fun _=>Perfect.shelter a t (R:ℝ)*u) ?_).trans |
| 43 | · rw [sum_const,nsmul_eq_mul]; exact mul_le_mul_of_nonneg_right (by exact_mod_cast (show D.card ≤ _ from inits)) (mul_nonneg (shelter_pos _ _ (by positivity)|>.le) hu) |
| 44 | intro i hi; unfold A; rw[hv] |
| 45 | refine mul_le_mul ((spot_mono a t 0 ha ((mem_filter.mp hi).2)).trans (le_of_eq ?_)) ((entry_bound i).trans (hh.norm_le _ hp)) (norm_nonneg _) (shelter_pos _ _ (by positivity)|>.le) |
| 46 | unfold spot;simp |
| 47 | private lemma poses (G:Gauge)(T:ℕ→ℕ)(h: MarksP fun i=>(T i:ℝ)): MarksP fun i=>(fee G (T i) :ℝ):=by |
| 48 | unfold fee; push_cast; exact (token 2 (by norm_num)).pair (((((h.booth h).booth (token 1 zero_le_one)).tier 4)).pair (token _ (by positivity))) |
| 49 | -- Perfect.sail price times exp(a*height r) |
| 50 | lemma charZ(G:Gauge)(t:ℕ):∃ J:ℝ, ∃ P:ℕ,1≤J ∧ ∀ (n:Side)(o:Site n)(r:ℕ)(v:pairA G n), landW o v≤ r→∀ p,p≤4→∀ a u:ℝ,0≤ a→0≤ u→ |
| 51 | Perfect.sail (par o 4) 0 (landW o) p v a t u ≤ J*(1+r)^P*Real.exp (a*(4*(r+1+1):ℕ)):=by |
| 52 | obtain ⟨F,hF,H⟩:= parPay G; let R(r:ℕ):ℕ:=4*(r+1+1); let V(i):ℝ:= ((1+(fee G (R i):ℝ))^4*(1+(R i:ℝ))^t*F i) |
| 53 | have hr: MarksP fun i=>(R i:ℝ):=by simpa only [R, Nat.add_assoc] using covG (1+1) |
| 54 | obtain ⟨hw,J,P,hJ,hP⟩:= ((((token 1 zero_le_one).booth (poses G R hr)|>.tier 4).pair (((token 1 zero_le_one).booth hr).tier t)).pair hF : MarksP V) |
| 55 | refine ⟨J,P,hJ,fun n o r v hv p hp a u ha hu=>?_⟩ |
| 56 | apply (sail_anti _ _ _ _ _ _ _ 0 u ha hu).trans |
| 57 | refine (charges v hv p hp _ rfl t a (F r) ha (hF.1 r) (H n o r v hv)).trans (le_trans ?_ (mul_le_mul_of_nonneg_right (hP r) (Real.exp_pos _).le)) |
| 58 | let T:=Perfect.shelter a t (R r :ℝ); let Z:ℝ:=fee G (R r); have hz:0≤ Z:=by positivity |
| 59 | have hp:Z^p≤(1+Z)^4:=(pow_le_pow_left₀ hz (le_add_of_nonneg_left zero_le_one) p).trans (pow_le_pow_right₀ (le_add_of_nonneg_right hz) hp) |
| 60 | apply (mul_le_mul_of_nonneg_right hp (show 0 ≤ T*F r from mul_nonneg (shelter_pos _ _ (by positivity)|>.le) (hF.1 _))).trans_eq |
| 61 | change (1+Z)^4*(T*F r)=V r*_ ; unfold V T Perfect.shelter; unfold Z; ring |
| 62 | end YM.Trace.Filch |