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.Tess.Barque |
| 2 | /- washes on continuous data. No global analyt assumed. Interior sufficient. -/ |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.FullVolume.Tess |
| 6 | open Filter Function Set Metric MeasureTheory Lattice RG Ray Asymptotics |
| 7 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff |
| 8 | open Extraction Extraction.Lease Difference Amp Amp.Beam |
| 9 | variable {S:Schedule} {n N j m p:ℕ}{K K':Set (Points n)} |
| 10 | local notation "A"=>S.a |
| 11 | namespace Scroll |
| 12 | lemma sealed {Y:Type}[MetricSpace Y]{F:Points n→Y}{g:ℕ→ Positions n→Y} (ht:IsCompact K)(hp:ContinuousOn F K) (h: ∀ x∈ K, ∀ (j:ℕ→ℕ)(y:ℕ→Positions n), (∀ i:ℕ,tag (S.a (j i)) (y i)∈K)→ StrictMono j→ Tendsto (fun i=>tag (S.a (j i)) (y i)) atTop (𝓝 x)→ Tendsto (fun i=>g (j i) (y i)) atTop (𝓝 (F x))):Scroll S K g F:=by |
| 13 | refine ⟨hp,fun ε he=>?_⟩; by_contra! hx; obtain ⟨p,hp',hX⟩:= extraction_of_frequently_atTop hx; choose u hu H using hX |
| 14 | obtain ⟨x,hx,v,hv,hV⟩:= ht.tendsto_subseq hu |
| 15 | let y(n:ℕ):= tag (A (p (v n))) (u (v n)); have hy := h x hx (p∘v) (u∘v) (fun i=> hu _) (hp'.comp hv) hV |
| 16 | have hG: Tendsto (fun i=>F (y i)) atTop (𝓝 (F x)):= (hp x hx|>.tendsto).comp (tendsto_nhdsWithin_iff.mpr ⟨hV,Eventually.of_forall (fun i=>hu _)⟩) |
| 17 | have ht:=hy.dist hG; rw [dist_self] at ht; obtain ⟨i,hi⟩:= (ht.eventually (gt_mem_nhds he)).exists; exact not_lt.mpr (H (v i)) hi |
| 18 | variable {U:ℕ→ Positions n→ Beam ℂ}{G: Points n→ Beam ℂ}(hk: Scroll S K U G) |
| 19 | def spur (u:Reach n)(y:ℕ)(x:Positions n):= x-u.back • u.axis_+y • u.axis_ |
| 20 | abbrev washQ (u:Reach n) (V:Positions n→Beam ℂ)(x:Positions n):= (u.e:ℝ)⁻¹ • ∑ y∈Finset.range u.e, V (spur u y x) |
| 21 | def waves (l:List (Reach n))(V:Positions n→ Beam ℂ):Positions n→Beam ℂ:=l.rec V (fun i _ l_=>washQ i l_) |
| 22 | variable {z:ℝ} |
| 23 | lemma spur_k (u:Reach n)(x: Positions n)(t:ℝ) : tag t (x-u.back • u.axis_)=tag t x-((u.back:ℝ)*t) • Dir u.where_:= by |
| 24 | symm; exact sub_eq_iff_eq_add.mpr (by conv_lhs=> rw [← sub_add_cancel x (u.back • u.axis_)]; rw [Reach.axis_,taggedN]) |
| 25 | lemma term_d (x:ℕ→Positions n)(v:ℕ→ℕ) (z:Points n)(hp:Tendsto v atTop atTop)(h:Tendsto (fun i=>tag (S.a (v i)) (x i)) atTop (𝓝 z))(u:Reach n)(k:ℕ): Tendsto (fun i=>tag (S.a (v i)) (spur u k (x i))) atTop (𝓝 z):=by |
| 26 | unfold spur; simp_rw [Reach.axis_,taggedN]; have he:= S.shrinks.comp hp |
| 27 | simp_rw [← show u.axis_=drive u.where_ from rfl, spur_k]; simpa only [mul_zero,zero_smul,sub_zero,add_zero] using! ((h.sub ((he.const_mul (u.back:ℝ)).smul_const (Dir u.where_))).add ((he.const_mul (k:ℝ)).smul_const (Dir u.where_))) |
| 28 | include hk |
| 29 | lemma voyages (ht:IsCompact K')(hv: K' ⊆ interior K)(l:List (Reach n)): Scroll S K' (fun i=> waves l (U i)) G:=by |
| 30 | have hp:=hk.land.mono (hv.trans interior_subset) |
| 31 | induction l generalizing K' with |
| 32 | | nil=> exact hk.restrict (hv.trans interior_subset) |
| 33 | | cons i l ih=> |
| 34 | obtain ⟨X,hK,hY,hP⟩:= exists_compact_between ht isOpen_interior hv -- order |
| 35 | refine sealed ht hp (fun x hx a g h ha he=>?_) |
| 36 | let P i:=∑ j∈Finset.range i,G x |
| 37 | have ht0 := ih hK hP (hk.land.mono (hP.trans interior_subset)) |
| 38 | let t i:=A (a i); let f n k:= waves l (U (a n)) (spur i k (g n)) |
| 39 | have hG(k): Tendsto (fun n=> f n k) atTop (𝓝 (G x)):= ht0.inure ha.tendsto_atTop (hY hx) (term_d g a x ha.tendsto_atTop he i k) |
| 40 | have h(q:ℕ): Tendsto (fun n=> ∑ j∈Finset.range q,f n j) atTop (𝓝 (P q)):= tendsto_finsetSum _ (fun j _=>hG j) |
| 41 | have hb := i.paid; have hx:= ne_of_gt (show 0<(i.e:ℝ) from (by exact_mod_cast hb)); let c:=i.e |
| 42 | have hw : (i.e:ℝ)⁻¹ • P c=G x:=by unfold P; simp only [Finset.sum_const,Finset.card_range]; rw [← Nat.cast_smul_eq_nsmul ℝ,inv_smul_smul₀ hx] |
| 43 | exact hw ▸ ((h c).const_smul ((i.e:ℝ)⁻¹)) -- motive |
| 44 | omit hk |
| 45 | lemma charged (u:Reach n)(x y:Positions n){t:ℝ}(ht:0<t)(k:ℕ) : dist (tag t (spur u k x)) (tag t x) ≤ (u.back+k:ℕ)*t:=by |
| 46 | let v:= x-u.back • u.axis_; apply le_trans (dist_triangle _ (tag t v) _); unfold spur; rw [paidDist _ _ ht u.where_, dist_comm (tag t v)]; have he:dist (tag t x) (tag t v)=(u.back:ℝ)*t:=by |
| 47 | nth_rw 1 [← sub_add_cancel x (u.back • u.axis_)]; exact paidDist _ _ ht .. |
| 48 | rw [he,Nat.cast_add]; linarith |
| 49 | lemma readsWave {f:sun→ℕ→ Positions n→ℂ}(ht:IsCompact K')(hv: K'⊆ interior K)(l:List (Reach n))(hU :∀ᶠ i:ℕ in atTop,∀ x:Positions n,tag (S.a i) x∈K → ∀ s:sun,f s i x= read ℂ s (U i x)) :∀ᶠ i:ℕ in atTop,∀ x:Positions n,tag (A i) x∈K'→∀ s:sun, tides l (f s i) x=read ℂ s (waves l (U i) x):=by |
| 50 | induction l generalizing K' with |
| 51 | | nil=> filter_upwards [hU] with i h p hp s; exact h _ (interior_subset (hv hp)) s |
| 52 | | cons i l ih=> |
| 53 | obtain ⟨v,hv,hV⟩:=ht.exists_cthickening_subset_open isOpen_interior hv; let K':=K' |
| 54 | have he:Tendsto (fun N=>(↑(i.back+i.e):ℝ)*A N) atTop (𝓝 0):=by simpa only [mul_zero] using! (S.shrinks.const_mul ((i.back+i.e:ℕ):ℝ)) |
| 55 | filter_upwards [ih ht.cthickening hV,he.eventually (ge_mem_nhds hv)] with N h hg x hx s |
| 56 | change Reach.wash i (tides l _) _=read ℂ s (washQ _ _ _) |
| 57 | unfold washQ Reach.wash; rw [blur_at,map_smul,map_sum]; rw [Complex.real_smul]; simp only [Complex.ofReal_inv,Complex.ofReal_natCast]; congr 1 |
| 58 | exact Finset.sum_congr rfl (fun k hk=>h _ (mem_cthickening_of_dist_le _ _ _ _ hx ((charged i x x (S.a_pos _) k).trans ((mul_le_mul_of_nonneg_right (Nat.cast_le.mpr (Nat.add_le_add_left (Finset.mem_range.mp hk|>.le) _)) ((S.a_pos _).le)).trans hg))) s) |
| 59 | end Scroll |
| 60 | end YM.FullVolume.Tess |
| 61 | #print axioms YM.FullVolume.Tess.Scroll.voyages |
| 62 | #print axioms YM.FullVolume.Tess.Scroll.readsWave |