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.Cask.Poetry |
| 2 | set_option autoImplicit false |
| 3 | set_option linter.unusedSectionVars false |
| 4 | noncomputable section |
| 5 | namespace YM.Trace.Cask |
| 6 | open RG Lattice Ac MergeProof Finset MergeProof.Accent Marker MeasureTheory Wilson Push Function |
| 7 | open scoped Classical |
| 8 | variable {V L K J:Type}[DecidableEq V][DecidableEq L][DecidableEq K][DecidableEq J]{n:Side}[Fintype V][Fintype L][Fintype K][Fintype J]{G:Gauge} |
| 9 | set_option quotPrecheck false |
| 10 | local notation "M!"=> Rain V G |
| 11 | local notation "μ"=>freq V G |
| 12 | local notation "u!"=>prior G n |
| 13 | local notation "E"=> Config G n |
| 14 | local notation "I!"=>Grain L K J |
| 15 | variable {P:Staff V (Grain L K J) n}(R:Rep G n) (x:J→V)(B: K→Box n)(F:Grain L K J→ Config G n → Rain V G → ℂ) |
| 16 | variable {w:Duel V→ℝ}{e u:ℝ}(M:Decked P R F w e u)(H:Roles P x B) |
| 17 | variable (p q: V→ Config G n → Rain V G→ℂ)(φ: Finset V→ Rain V G→ Config G n→ Config G n) |
| 18 | -- copy demands: |
| 19 | def tuft (p q:V → Config G n→ Rain V G→ℂ)(S:Finset V)(U:Config G n)(v : Rain V G):ℂ:= (∏ i∈S,p i U v)*(∏ j∈univ \ S,q j U v) |
| 20 | def plebe (i:V) (U:Config G n):= ∫ v,q i U v-p i U v∂freq V G |
| 21 | def brush (P:Staff V (Grain L K J) n) (U: Config G n) (v : Rain V G)(S:Finset V):= (Real.exp (R.exponent U):ℂ)*clothW x (fun i=>F i U v)*trump P B (flags R.p.threshold U) (fun i=> F i U v) S |
| 22 | structure Brant (P:Staff V (Grain L K J) n):Prop where |
| 23 | native S : Measurable (uncurry (φ S)) |
| 24 | turns S v : MeasurePreserving (φ S v) (prior G n) (prior G n) |
| 25 | stem i : Envelope (uncurry (p i)) |
| 26 | shape i : Envelope (uncurry (q i)) |
| 27 | neck i U : rule {i} (fun v=> q i U v-p i U v) |
| 28 | wind U v S: brush R x B F P U v S = (R.eval (φ S v U):ℂ)*tuft p q S (φ S v U) v |
| 29 | local notation "l!"=>shore P R (lyrics P F) |
| 30 | variable {p q φ} {a b σ δ t:ℝ}(hp:R.Lawful a b σ δ t)(W:Brant R x B F p q φ P) |
| 31 | include W hp H M |
| 32 | lemma rigour (U:E): (shore P R (lyrics P F) U).part (Stock.final (Duel V))= ∫ v, ∑ S:Finset V, (-1:ℂ)^S.card*((R.eval (φ S v U):ℂ)*tuft p q S (φ S v U) v)∂freq V G:=by |
| 33 | rw[full_line x B R F M H]; simp_rw [← W.wind]; refine congr_arg (fun f:M!→ℂ=>∫ v,f v∂μ) (funext fun v=> ?_) |
| 34 | rw [mul_sum]; apply sum_congr rfl; intro i _; unfold brush; ring |
| 35 | lemma cove : (∫ U,(shore P R (lyrics P F) U).part (Stock.final (Duel V))∂prior G n)=∫ U,(R.eval U:ℂ)*(∏ i,plebe p q i U)∂prior G n:=by |
| 36 | let f(U:E)(v:M!)(S: Finset V):ℂ:= (-1:ℂ)^ S.card*((R.eval U:ℂ)*tuft p q S U v); let l(U:E)(v:M!):=∏ i,(q i U v-p i U v) |
| 37 | have hl U v:(R.eval U:ℂ)*l U v=∑ S:Finset V, f U v S:=by |
| 38 | have h': l U v=∑ S:Finset V, ((-1:ℂ)^S.card)*tuft p q S U v:=by |
| 39 | unfold l; simp_rw [sub_eq_add_neg,add_comm _ (-(p _ _ _))]; rw [prod_add,Finset.powerset_univ]; refine sum_congr rfl fun i _=>?_ |
| 40 | unfold tuft; simp_rw [show ∀ j, - p j U v=(-1:ℂ)*p j U v from fun i=> by ring, Finset.prod_mul_distrib,Finset.prod_const,mul_assoc] |
| 41 | rw [h', mul_sum]; exact sum_congr rfl fun i _=> (mul_left_comm ..) |
| 42 | have hx(s:Finset V): Envelope (uncurry (fun U v=>f U v s)):=by |
| 43 | have hy:Envelope (uncurry (tuft p q s)):= envUmul (envUprod s (fun i=>uncurry (p i)) (fun i _=>W.stem i)) (envUprod (univ\ s) (fun i=>uncurry (q i)) (fun i _=> W.shape i)) |
| 44 | have hv:=based (fromR (R.envelope hp)) (fun i:E × M!=>i.1) measurable_fst |
| 45 | exact envUmul (constV _) (envUmul hv hy) |
| 46 | let g (U:E)(v:M!)(s:Finset V):= f (φ s v U) v s |
| 47 | have hz(s:Finset V): Envelope (uncurry (fun U v=>g U v s)):= based (hx s) (fun i:E × M!=> (φ s i.2 i.1,i.2)) (Measurable.prodMk ((W.native s).comp (Measurable.prodMk measurable_snd measurable_fst)) measurable_snd) |
| 48 | let G' := fun U v=>∑ i,g U v i; let F':=fun U v=> ∑ i,f U v i |
| 49 | have hF: Envelope (uncurry F'):= envUsum univ (fun i=>uncurry (fun U v=>f U v i)) (fun i _=> hx i) |
| 50 | have hG: Envelope (uncurry G'):= envUsum univ (fun i=>uncurry (fun U v=>g U v i)) (fun i _=> hz i) |
| 51 | have he(v): (∫ U,G' U v∂u!) = ∫ U,F' U v∂u!:=by |
| 52 | unfold G' F'; rw [integral_finsetSum _ (fun i _=> show Integrable (fun U=>g U v i) _ from capped (based (hz i) (fun k : E=>(k,v)) (Measurable.prodMk measurable_id measurable_const)) u!), integral_finsetSum _ (fun i _=> show Integrable (fun U=>f U v i) _ from capped (based (hx i) (fun k:E=>(k,v)) (Measurable.prodMk measurable_id measurable_const)) u!)]; refine sum_congr rfl fun s _=>?_ |
| 53 | let F (U:E):= f U v s; let V':=φ s v; have hm:Measurable F := show Measurable ((uncurry fun U v=> f U v s) ∘ (fun k:E=>(k,v))) from (hx s).meas.comp (Measurable.prodMk measurable_id measurable_const) |
| 54 | calc |
| 55 | _ = ∫ x,F x∂Measure.map V' u!:= (integral_map (W.turns s v).measurable.aemeasurable hm.aestronglyMeasurable).symm |
| 56 | _ = _:=by rw [(W.turns s v).map_eq] |
| 57 | have hy(U:E): (∫ v,F' U v∂μ)=(R.eval U:ℂ)*(∏ i,plebe p q i U):=by |
| 58 | unfold F'; simp_rw[← hl]; rw [integral_const_mul]; apply congr_arg (_ * ·) |
| 59 | exact harvest _ (fun i=> {i}) (fun i v=> q i U v-p i U v) (by simp [Set.PairwiseDisjoint,Set.Pairwise,Function.onFun]) (fun i _=> W.neck i U) |
| 60 | simp_rw [← hy]; simp_rw [rigour R x B F M H hp W]; change (∫ U, (∫ v,G' U v∂μ) ∂prior G n)=_ |
| 61 | rw [integral_integral_swap (capped hG _),integral_integral_swap (f:=F') (capped hF _)]; simp_rw [he] |
| 62 | end YM.Trace.Cask |