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.Panes |
| 2 | |
| 3 | /-! Smearing and the connectedness-guarded kernel gates -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.FullVolume |
| 7 | open Function Set Filter Metric MeasureTheory Lattice RG Wilson Extraction Extraction.Lease Difference Gaps Cells Asymptotics Finset |
| 8 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff Classical |
| 9 | variable {G:Gauge}{C:Family G} (e : Extraction.Sequence){S:Schedule}{p n:ℕ} |
| 10 | |
| 11 | -- periodic cover convention even for differences |
| 12 | lemma periodic_delta {n : ℕ} (u:Positions n)(p:Reach n){F:Positions n→ℂ}(t:ℝ) (h:∀ x,F (x+u)=F x)(x): Reach.difference p t F (x+u)=Reach.difference p t F x:=by |
| 13 | unfold Reach.difference; rw [add_right_comm x u (p.fore • _),h,show x+u-p.back • p.axis_=x-p.back • p.axis_+u by abel,h] |
| 14 | lemma periodic_variations (C : Family G) (p N n:ℕ)(v:Fin n→ C.book.Token)(q:Positions n)(h:wrap (C.side N p) ∘ q= (0:Fin n→Site (C.side N p)))(u:Positions n)(l:List (Reach n)) : |
| 15 | squall (C.S.a N) l (lifted C N p v) (u+q)=squall (C.S.a N) l (lifted C N p v) u:=by |
| 16 | induction l generalizing u with |
| 17 | | nil=> unfold squall lifted; congr 1; funext i; change wrap (C.side N p) (u i + q i)=_; rw [map_add,show wrap (C.side N p) (q i)=0 from congr_fun h i,add_zero]; rfl |
| 18 | | cons x l ih=> exact periodic_delta _ _ _ ih u |
| 19 | |
| 20 | /-- For grid kernels in cover notation, use literal cell representatives |
| 21 | (right-closed) in joint test. Kernel should be periodic in this convention. -/ |
| 22 | def sumOn (F:ℕ→Positions n→ℂ) (S:Schedule)(p N) (t:Test n):= |
| 23 | (S.a N:ℂ)^(4*n)*∑ x:Var S n N p, t (tag (S.a N) (Lattice.lift ∘ x)) * F N (Lattice.lift ∘ x) |
| 24 | open Classical in |
| 25 | def stepping (F:ℕ→Positions n→ℂ)(S:Schedule)(p N)(t:Test n)(x:Points n) := (Fund S p n).indicator (fun x=> t (tag (S.a N) (address (S.a N) x))*F N (address (S.a N) x)) x |
| 26 | |
| 27 | lemma stored (F:ℕ→Positions n→ℂ)(S:Schedule)(p N)(t:Test n) : |
| 28 | Integrable (stepping F S p N t) ∧ (∫ x, stepping F S p N t x)=sumOn F S p N t:= by |
| 29 | let g (x:Var S n N p):= t (tag (S.a N) (Lattice.lift ∘ x)) * F N (Lattice.lift ∘ x) |
| 30 | have hp : stepping F S p N t=stair S g:=by |
| 31 | funext x; unfold stepping stair |
| 32 | by_cases h:x∈Fund S p n |
| 33 | · rw [indicator_of_mem h,indicator_of_mem h] |
| 34 | unfold g; rw [← show address (S.a N) x= Lattice.lift ∘ bucket N p (S:=S) x from (found (N:=N) h)] |
| 35 | simp [h] |
| 36 | rw [hp]; exact ⟨stair_int _,stair_integral g⟩ |
| 37 | |
| 38 | lemma usable {F:ℕ→Positions n→ℂ}{f:Points n→ℂ}(h:Cluster C e p n F f) (K:Set (Points n))(hK:IsCompact K)(hk:K ⊆ NoHit C.S p n) :∃ A:ℝ,0≤A∧ ∀ᶠ i in atTop, ∀ x:Positions n,tag (C.S.a (e i)) x∈ K → ‖F (e i) x‖ ≤ A:= by |
| 39 | obtain ⟨A,hA⟩:= hK.bddAbove_image (h.1.norm.mono hk) |
| 40 | let B:= max 0 A |
| 41 | refine ⟨B+1,by unfold B; positivity,?_⟩ |
| 42 | by_contra! hv |
| 43 | obtain ⟨s,hs,h⟩:= extraction_of_frequently_atTop hv; choose y hy hF using h |
| 44 | obtain ⟨x,hx,w,hw,hW⟩:= hK.tendsto_subseq hy |
| 45 | have hp:= ((show Cluster C e p n F f by assumption).2 x (hk hx) (fun i=> y (w i)) (s ∘ w) (hs.tendsto_atTop.comp hw.tendsto_atTop) hW) |
| 46 | have ht: ‖f x‖ ≤ B:= (hA ⟨x,hx,rfl⟩).trans (le_max_right ..) |
| 47 | obtain ⟨i,hi⟩:= (hp.norm.eventually (ge_mem_nhds (show ‖f x‖<B+1 by linarith))).exists; exact (hF (w i)).not_ge hi |
| 48 | |
| 49 | lemma pudding {F:ℕ→Positions n→ℂ}{f:Points n→ℂ}(h:Cluster C e p n F f) (t:Test n)(ht:suitable C.S p t) : Integrable (fun x:Points n=> t x * f x) ∧ |
| 50 | Tendsto (fun j=> sumOn F C.S p (e j) t) atTop (𝓝 (t.applyTo f)):=by |
| 51 | classical |
| 52 | obtain ⟨D,hD,H⟩:= usable e h _ t.hasCompactSupport (readable C.S p t ht) |
| 53 | obtain ⟨R,hR,hT⟩:= Order.testSup t |
| 54 | let B:= (Fund C.S p n).indicator (fun _=>R*D) |
| 55 | have hb : Integrable B:= (integrable_indicator_iff (full_box ..).1).mpr (integrableOn_const (full_box ..).2.ne) |
| 56 | let g i:=stepping F C.S p (e i) t |
| 57 | have hm i:AEStronglyMeasurable (g i) volume:= (stored F C.S p (e i) t).1.aestronglyMeasurable |
| 58 | have hP : ∀ᶠ j in atTop, ∀ x, ‖g j x‖ ≤ B x:=by |
| 59 | filter_upwards [H] with i hi x |
| 60 | by_cases he:x∈Fund C.S p n |
| 61 | · unfold g B stepping; rw [indicator_of_mem he,indicator_of_mem he] |
| 62 | let a:= address (C.S.a (e i)) x; let y:= tag (C.S.a (e i)) a; change ‖t y* F (e i) a‖ ≤ _ |
| 63 | rcases eq_or_ne (t y) 0 with H|H |
| 64 | · rw [H,zero_mul,norm_zero]; exact mul_nonneg hR hD |
| 65 | exact (norm_mul_le ..).trans (mul_le_mul (hT _) (hi a (subset_closure H)) (norm_nonneg _) hR) |
| 66 | simp [g,B,stepping,he] |
| 67 | have he:∀ᵐ x:Points n,Tendsto (fun i=>g i x) atTop (𝓝 (t x*f x)):=by |
| 68 | filter_upwards [almostCyclic C.S p n] with x hx |
| 69 | by_cases hp:x∈Fund C.S p n |
| 70 | · simp_rw [g,stepping,indicator_of_mem hp]; let a j:=address (C.S.a (e j)) x |
| 71 | have he:= (Extraction.chosen (S:=C.S) x).comp e.cofinal |
| 72 | have hv : x∈ NoHit C.S p n:= fun i j hij=> ⟨0,hx i j hij 0⟩ |
| 73 | have hr:= h.2 x hv a id tendsto_id he; exact (t.continuous.continuousAt.tendsto.comp he).mul hr |
| 74 | have hw : t x=0:= by |
| 75 | by_contra! H |
| 76 | have hu : x∈ Inside C.S p n:= ht (subset_closure H) |
| 77 | exact hp (show ∀ i a, _< x i a ∧ x i a ≤ _ from fun i a=> ⟨(hu i a).1,(hu i a).2.le⟩) |
| 78 | simp_rw [g,stepping,indicator_of_notMem hp,hw,zero_mul]; exact tendsto_const_nhds |
| 79 | constructor |
| 80 | · exact hb.mono' (aestronglyMeasurable_of_tendsto_ae atTop hm he) (he.mono fun x hx=> le_of_tendsto hx.norm (hP.mono fun _ hi=> hi x)) |
| 81 | apply (tendsto_integral_filter_of_dominated_convergence B (Eventually.of_forall hm) |
| 82 | (hP.mono fun i H=> Eventually.of_forall H) hb he).congr' (Eventually.of_forall fun i=> (stored ..).2) |
| 83 | end YM.FullVolume |