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.MultipleContact.Matching.Read |
| 2 | |
| 3 | /-! Generic nodes to physical exterior positions in the same estimated chambers. -/ |
| 4 | set_option autoImplicit false |
| 5 | set_option quotPrecheck false |
| 6 | noncomputable section |
| 7 | namespace YM.MultipleContact.Local |
| 8 | open Filter Function MeasureTheory Analysis Extraction Table Ward MergeProof Ribbons Around Cells Wilson Lattice Work.A01 |
| 9 | open scoped Topology BigOperators Classical |
| 10 | open YM.Next.UVStress |
| 11 | variable {G:Gauge}{C:Family G}{S:Table C.book}{F:Extraction.Order} {t d D p J:ℕ} |
| 12 | variable {ι:Type*}[Fintype ι]{n:ι→ℕ} |
| 13 | variable (q:∀i:ι,Fin (n i)→ C.book.Token) (ℓ:∀i:ι,Fin (n i)→ Cover) |
| 14 | |
| 15 | omit [Fintype ι] in |
| 16 | lemma cons_generic' {n:ℕ}{y:Points n}{x:E4} (hy:y∈generic n)(he:∀ (a:Axis) i,x a≠y i a): Points.cons x y∈generic _:=by |
| 17 | intro a i j; refine Fin.cases ?_ (fun i=>?_) i |
| 18 | · refine Fin.cases (fun _=>rfl) (fun j h=>(he a j h).elim) j |
| 19 | refine Fin.cases (fun h=>(he a i h.symm).elim) (fun j h=> congr_arg Fin.succ (hy a h)) j |
| 20 | |
| 21 | lemma shifted {ι':Type*}[Finite ι'] {y:E4}{n:ι'→ℕ}(hy:∀a:Axis,y a≠0)(z:∀i,Points (n i)) (Q:Schedule): ∃ z':∀k:ℕ,∀i,Points (n i), (∀i,Tendsto (z' · i) atTop (𝓝 (z i))) ∧ ∀ᶠ k in atTop, ∀ i,Points.cons y (Points.cons 0 (z' k i))∈generic (n i + 2):=by |
| 22 | letI:= Fintype.ofFinite ι' |
| 23 | let dir:∀ i,Points (n i):=fun i=> points (fun x=>WithLp.toLp 2 (fun a:Axis=>(x.val+1:ℝ))) |
| 24 | let v(k i):=z i+Q.a k • dir i |
| 25 | have ht(i): Tendsto (v · i) atTop (𝓝 (z i)):= by simpa [v] using! (Q.shrinks.smul_const (dir i)).const_add (z i) |
| 26 | have ht'(i) (x:Fin (n i))(a:Axis): Tendsto (fun k=>v k i x a) atTop (𝓝 (z i x a)):=by exact ((show Continuous (fun w:Points _=>w x a) from by fun_prop).tendsto _).comp (ht i) |
| 27 | have ha(i) (x:Fin (n i))(a:Axis) (c:ℝ):∀ᶠ k in atTop,c≠ v k i x a:=by |
| 28 | by_cases he:z i x a=c |
| 29 | · filter_upwards with k; rw [show v k i x a=z i x a+Q.a k * (↑x+1) from rfl,he] |
| 30 | exact ne_of_lt (lt_add_of_pos_right _ (by have h:=Q.a_pos k; positivity)) |
| 31 | exact ((ht' i x a).eventually (isOpen_ne_fun continuous_const continuous_id|>.mem_nhds (fun h=>he h.symm))) |
| 32 | have hh (i)(e : {p:Fin (n i)×Fin (n i) | p.1 ≠ p.2})(a:Axis):∀ᶠ k in atTop,v k i e.val.1 a ≠ v k i e.val.2 a :=by |
| 33 | let x:=e.val.1;let u:=e.val.2 |
| 34 | by_cases h:z i x a=z i u a |
| 35 | · have hh:(x:ℝ) ≠ (u:ℝ):=by exact_mod_cast (show x.val ≠ u.val from fun h=>e.property (Fin.ext h)) |
| 36 | filter_upwards with k |
| 37 | change (z i x a+Q.a k * ((x.val:ℝ)+1)) ≠ z i u a+Q.a k *(u.val+1:ℝ) |
| 38 | rw [h]; intro he; exact hh (by nlinarith only [(Q.a_pos k),he]) |
| 39 | exact (((ht' i x a).prodMk_nhds (ht' i u a)).eventually (isOpen_ne_fun continuous_fst continuous_snd |>.mem_nhds h)) |
| 40 | refine ⟨v,ht,?_⟩ |
| 41 | filter_upwards [eventually_all.mpr (fun i=>eventually_all.mpr (fun x=>eventually_all.mpr (ha i x · 0))), eventually_all.mpr (fun i'=>eventually_all.mpr (fun x=>eventually_all.mpr (fun a=>ha i' x a (y a)))),eventually_all.mpr fun i=> eventually_all.mpr (fun e=>eventually_all.mpr fun a=>hh i e a)] with k h0 hy' hv i |
| 42 | apply cons_generic' (cons_generic' (?_) (fun a u=>h0 i u a)) |
| 43 | · intro a; exact Fin.cases (hy a) (fun i=>hy' _ i a) |
| 44 | · intro a x u he |
| 45 | by_contra h';exact hv i ⟨(x,u),h'⟩ a he |
| 46 | |
| 47 | variable (hc:S.Hierarchy)(hp:F.PointLimits C S) |
| 48 | variable (hq:Cells.CellHyp C F)(hC:C.Makes) |
| 49 | variable {r A1 A2 h wt:ℝ} |
| 50 | omit [Fintype ι] in |
| 51 | lemma once_tends {n':ℕ}(q':Fin n' → C.book.Token)(z:Points n') (hz:Points.cons 0 z ∈ conf _) (v:S.Field D)(hc:S.Hierarchy) : ContinuousAt (fun p:Points n' × S.Field D=>once q' ⟨D,p.2⟩ p.1) (z,v):=by |
| 52 | let b:=Module.finBasis ℂ (S.Field D) |
| 53 | let g (y:Points n') := YM.Work.A01.frontRead (S.classTokens ∘ q') (Points.cons 0 y) D -- maybe |
| 54 | have he(y) (k): once q' ⟨D,k⟩ y=∑ i,(b.coord i k)*once q' ⟨D,b i⟩ y:=by |
| 55 | change _=∑ i, (b.coord i k)* _ |
| 56 | simp_rw [once,disc,← YM.Work.A01.front_eval]; change g y k=∑ i,(b.coord i k)* (g y (b i)); nth_rw 1 [← b.sum_repr k]; rw [map_sum]; exact Finset.sum_congr rfl (fun i _=>(g y).map_smul _ _) |
| 57 | rw [show (fun p:Points n' × S.Field D=>once (S:=S) q' ⟨D,p.2⟩ p.1)=fun p=>∑ i,(b.coord i p.2)*once q' ⟨D,b i⟩ p.1 from funext fun p=>he p.1 p.2] |
| 58 | apply tendsto_finsetSum Finset.univ (fun i hi=>?_); refine ContinuousAt.mul (by exact ((b.coord _).continuous_of_finiteDimensional.comp continuous_snd).continuousAt) (?_) |
| 59 | apply (cont_disc hc _ hz).continuousAt.comp_of_eq (show Continuous (fun p:Points n' × S.Field D => Points.cons 0 p.1) from ?_).continuousAt (by simp) |
| 60 | exact YM.Work.A02.continuous_cons.comp (continuous_const.prodMk continuous_fst) |
| 61 | omit [Fintype ι] in |
| 62 | include hc in |
| 63 | private lemma pullback {zctx:∀i,Points (n i)}{yPoint:E4}{z':ℕ→∀i,Points (n i)}(ht:∀i,Tendsto (z' · i) atTop (𝓝 (zctx i)))(hconf:∀i,Points.cons yPoint (Points.cons 0 (zctx i))∈conf _) |
| 64 | {V' B':S.Tag}(he:∀ᶠ k:ℕ in atTop, ∃ v:S.Field D, bonded q V' B' yPoint wt D (z' k) v A1 A2):∃ v:S.Field D,bonded q V' B' yPoint wt D zctx v A1 A2:=by |
| 65 | classical |
| 66 | let v (k:ℕ) := if H : ∃w:S.Field D,bonded q V' B' yPoint wt D (z' k) w A1 A2 then H.choose else 0 |
| 67 | have hb:∀ᶠ k in atTop, bonded q V' B' yPoint wt D (z' k) (v k) A1 A2:=by |
| 68 | filter_upwards [he] with k h |
| 69 | dsimp [v]; rw [dif_pos h]; exact h.choose_spec |
| 70 | obtain ⟨b,hB,hh,w,Hw⟩:=finite_extract (𝓛:=atTop) v A1 (hb.mono fun _ h=>h.1) |
| 71 | refine ⟨w,le_of_tendsto Hw.norm (((hb.mono fun k hk=>hk.1)).filter_mono hB),fun i=>le_of_tendsto (x:=b) ?_ (((hb.mono fun k hk=>hk.2 i)).filter_mono hB)⟩ |
| 72 | have ht(i):= (ht i).mono_left hB |
| 73 | have hf:=(once_tends (q i) _ (Points.tail_in (hconf i)) w hc).tendsto.comp ((ht i).prodMk_nhds Hw) |
| 74 | have hx:= (show Continuous (fun x:Points (n i)=>Points.cons yPoint (Points.cons 0 x)) from (YM.Work.A02.continuous_cons.comp (continuous_const.prodMk (YM.Work.A02.continuous_cons.comp (continuous_const.prodMk continuous_id))))).tendsto (zctx i) |
| 75 | exact ((Tendsto.const_smul ((cont_disc hc _ (hconf i)).continuousAt.tendsto.comp (hx.comp (ht i))) wt |>.sub hf).norm) |
| 76 | variable (hL:∀ i,Injective (Fin.cons (α:=fun _=>Cover) 0 (ℓ i))) (hr:0<r) |
| 77 | include hc hp hC hq hL hr |
| 78 | open Matching |
| 79 | omit [Fintype ι] hc hp hq hC hL hr in |
| 80 | lemma locations_open {u:ℝ}{i:ι}{L:ℕ→Points (n i)}{z:Points (n i)}(ht:Tendsto L atTop (𝓝 z))(hv:Locations C J u (ℓ i) z):∀ᶠ k in atTop,Locations C J u (ℓ i) (L k):=by |
| 81 | have he (j:Fin _) (a:Axis):∀ᶠ k in atTop,|L k j a-C.S.gridPoint J (ℓ i j) a| < C.S.a J/2-u:= |
| 82 | (((show Continuous (fun w:Points (n i)=>(w j) a) from by fun_prop).tendsto z).comp ht |>.sub_const (C.S.gridPoint J (ℓ i j) a) |>.abs |>.eventually (gt_mem_nhds (hv j a))) |
| 83 | exact eventually_all.mpr fun j=>eventually_all.mpr fun i=> he _ _ |
| 84 | lemma comparableGrid {m:ℕ}:∃A> (0:ℝ),∀ V B (m j D:ℕ), ∀ h A1 A2:ℝ, Box C J j m D d t h B V F A1 A2 → ∀ y':Cover, (fuga C.path.levels (m+1))/16≤ ‖C.S.gridPoint j y'‖ → ‖C.S.gridPoint j y'‖≤4*topZone C.path.levels (C.S.block m) (m+1) → ∀z:∀i,Points (n i), (∀ i,Locations C J r (ℓ i) (z i))→ (∀ i,Points.cons (C.S.gridPoint j y') (Points.cons 0 (z i))∈conf _) → (∀a:Axis,C.S.gridPoint j y' a≠0) → ∃ v:S.Field D, bonded q ⟨t,S.project t V⟩ ⟨d,S.project d B⟩ (C.S.gridPoint j y') ((fuga C.path.levels (m+1))^h) D z v (‖LinearMap.toContinuousLinearMap (S.project D)‖* A1) (A*A2):=by |
| 85 | obtain ⟨A,hA,Ha⟩:=readGrid (t:=t) (d:=d) (J:=J) hc hp q hq hC ℓ hL hr |
| 86 | refine ⟨A,hA,fun V B m j D h A1 A2 hBox y h₁ h₂ z hZ hy hne=>?_⟩ |
| 87 | let b:=C.S.gridPoint j y; let wt:ℝ:=(fuga C.path.levels (m+1))^h -- replace |
| 88 | let L:=‖LinearMap.toContinuousLinearMap (S.project D)‖*A1 |
| 89 | let P (z) : Prop:=∃v:S.Field D,bonded q ⟨t,S.project t V⟩ ⟨d,S.project d B⟩ b wt D z v L (A*A2) |
| 90 | obtain ⟨z',hz',hg⟩:=shifted hne z C.S |
| 91 | apply pullback q hc hz' hy |
| 92 | have hc' (i) : ∀ᶠ k in atTop, Locations C J r (ℓ i) (z' k i):=locations_open ℓ (hz' _) (hZ i) |
| 93 | filter_upwards [hg,eventually_all.mpr hc'] with k hk hk' |
| 94 | let Z:= z' k; let Gm(t i):= Extraction.Order.grid C t (address (C.S.a t) (Z i)) |
| 95 | let v (t i):= address (C.S.a t) (Z i) |
| 96 | have hT(i):Tendsto (Gm · i) atTop (𝓝 (Z i)):= chosen _ |
| 97 | have hO(i):∀ᶠ t in atTop,Points.cons b (Points.cons 0 (Gm t i)) ∈ generic _:=by |
| 98 | let u(i) (z:Points (n i)) :=Points.cons b (Points.cons 0 z) |
| 99 | apply (show Continuous (u i) from (YM.Work.A02.continuous_cons.comp (continuous_const.prodMk (YM.Work.A02.continuous_cons.comp (continuous_const.prodMk continuous_id))))).continuousAt.tendsto.comp (hT i) |>.eventually ((genericOpen _).mem_nhds (hk i)) |
| 100 | apply pullback q hc hT (fun i=>generic_conf _ (hk i)) |
| 101 | filter_upwards [eventually_all.mpr hO,eventually_all.mpr fun i=> locations_open ℓ (hT i) (hk' i)] with t ht hu |
| 102 | apply Ha V B _ _ _ _ _ _ hBox (v t) t (fun i=>?_) y h₁ h₂ _ (fun i=>rfl) hu ht |
| 103 | rw [show Extraction.Order.grid C t (Fin.cons 0 (v t i))= Points.cons 0 (Gm t i) from ?_] |
| 104 | · intro a j k h; exact Fin.succ_inj.mp (ht i a (show Points.cons b _ j.succ a=_ from h)) |
| 105 | ext1 j; refine Fin.cases ?_ (fun k=>rfl) j |
| 106 | change C.S.gridPoint t 0=0 |
| 107 | ext1 i; change C.S.a t*((↑(0:ℤ)):ℝ)=0; simp |
| 108 | end YM.MultipleContact.Local |