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.Multi.Apply |
| 2 | /-! Estimates over strict collars, parametrized by count of simultaneous detector residuals. This is not yet a contact distribution. -/ |
| 3 | set_option autoImplicit false |
| 4 | set_option maxHeartbeats 1000000 |
| 5 | set_option maxRecDepth 30000 |
| 6 | noncomputable section |
| 7 | namespace YM.MultipleContact.Joins |
| 8 | open Filter Set Function MeasureTheory Extraction Table Ward MergeProof Acme Ribbons Cells Next.UVStress Wilson Lattice Arbor |
| 9 | open Script Scene Bunching |
| 10 | open Accent Matching |
| 11 | open RG Bunching.Cord |
| 12 | open Drama ScheduleRow |
| 13 | open scoped Topology BigOperators Classical ContDiff |
| 14 | variable {G:Gauge}{C:Family G}{S:Table C.book}{F:Extraction.Order} |
| 15 | variable {b:ℕ}{n d:Fin b→ℕ} (V:∀i:Fin b,Fin (n i)→S.Tag) (D:∀i:Fin b,Detector S (d i)) (p:Fin b → Mode) |
| 16 | variable [hn:∀i,Inhabited (Fin (n i))] |
| 17 | def weight {b:ℕ} (p : Fin b → Mode){n d:Fin b→ℕ}(V:∀i:Fin b,Fin (n i)→ S.Tag) (D:∀i:Fin b,Detector S (d i)) (ε:ℝ):Fin b → ℝ:=fun i=>match p i with |
| 18 | | .signed => -(massOf (n':=n i) (V i):ℝ)+(d i)+1/64 |
| 19 | | .raw=> -(massOf (V i):ℝ)-ε |
| 20 | | .fused=>0 |
| 21 | -- Note instance binder not in definition. Designating D makes grade explicit. |
| 22 | def due (ρ:Fin b→ℝ):= fun (ε:ℝ)=> ∏ i:Fin b,(ρ i)^(weight p V D ε i) |
| 23 | def Close (z:Fin b→ E4)(κ:ℝ):Prop:=∀i j:Fin b, i ≠ j → κ ≤ ‖z i-z j‖ |
| 24 | def Store (S:Table C.book)(k:ℕ):Prop:= ∀ (b:ℕ)(n:Fin b→ℕ)[_i:∀i:Fin b,Inhabited (Fin (n i))] (V:∀ (i:Fin b),Fin (n i)→ S.Tag) (d:Fin b→ℕ) (D:∀i:Fin b,Detector S (d i)) (p:Fin b → Mode), (Finset.univ.filter fun i=>p i=.signed).card ≤ k → ∀κ ε:ℝ,0 <κ→0<ε→∀ L:Lattice.Side,∃ (A r:ℝ),0 < A ∧ 0< r ∧ ∀ z:Fin b → E4,Close z κ → ∀ρ:Fin b → ℝ, (∀i,0<ρ i ∧ ρ i < r)→ ∀ y:∀i:Fin b,Fin (n i) → E4,(∀i:Fin b,p i ≠.fused → Cord.Near (n i) L (ρ i) (y i)) →∀w:∀i:Fin b,S.Field (d i),(∀i:Fin b,p i=.fused→‖w i‖≤1)→ |
| 25 | ‖evaluation S (planted p V D z w y)‖ ≤ A*due V D p ρ ε |
| 26 | lemma banded {k:ℕ} (h:Store S k) (N:Lattice.Side)(hb:(Finset.univ.filter fun i=>p i=.signed).card ≤ k) (κ ε:ℝ)(hc:0<κ)(hε:0<ε):∃ (A r:ℝ),0 < A ∧ 0< r ∧ ∀ z:Fin b → E4, Close z κ → ∀ρ:Fin b → ℝ, (∀i,0<ρ i ∧ ρ i < r)→ ∀ y:∀i:Fin b,Fin (n i) → E4,(∀i:Fin b,p i ≠.fused → Cord.Band (n i) N (ρ i) (y i)) →∀w:∀i:Fin b,S.Field (d i),(∀i:Fin b,p i=.fused→‖w i‖≤1)→ |
| 27 | ‖evaluation S (planted p V D z w y)‖ ≤ A*due V D p ρ ε:=by |
| 28 | let w:=weight p V D ε |
| 29 | obtain ⟨A1,r,hA,h0,hL⟩:=h _ _ V _ D p hb κ ε hc hε (expand N 31) |
| 30 | let A0:=(∏ i:Fin b,(1/8:ℝ)^(w i)) |
| 31 | have h0':0 < A0:= Finset.prod_pos fun i _=>Real.rpow_pos_of_pos (by positivity) _ |
| 32 | refine ⟨A1*A0,r,mul_pos hA h0',h0,fun z hz ρ hr y hy w' hw=>?_⟩ |
| 33 | apply (hL z hz (fun i=>ρ i/8) (fun i=>by obtain ⟨h,h'⟩:=hr i;exact ⟨by positivity,by linarith only [h,h']⟩) y (fun i hi=>spread N (hy i hi) (hr i).1) w' hw).trans_eq |
| 34 | rw [mul_assoc]; congr 1; unfold due A0; rw [← Finset.prod_mul_distrib]; apply Finset.prod_congr rfl |
| 35 | intro i hi; dsimp only; rw [show ρ i/8=(1/8:ℝ)*ρ i from by ring,Real.mul_rpow (by norm_num) (hr i).1.le] |
| 36 | lemma card_mask (k:Fin b)(hc:p k=.signed)(q:Mode)(hq:q≠.signed): |
| 37 | (Finset.univ.filter (fun i=>update p k q i=.signed)).card +1=(Finset.univ.filter fun i=>p i=.signed).card:=by |
| 38 | let T:=Finset.univ.filter fun i=>p i=.signed |
| 39 | have ht:(Finset.univ.filter (fun i=>update p k q i=.signed))= T.erase k:=by |
| 40 | ext i; by_cases h:i=k <;> simp [T,h,hq,update_of_ne,hc] |
| 41 | rw [ht]; apply Finset.card_erase_add_one; exact (Finset.mem_filter.mpr ⟨Finset.mem_univ k,hc⟩) |
| 42 | lemma weight_pos (ρ:Fin b→ℝ){ε:ℝ}(hr:∀i,0<ρ i):0<due V D p ρ ε:=Finset.prod_pos fun _ _=>Real.rpow_pos_of_pos (hr _) _ |
| 43 | -- replacing raw at k by fused |
| 44 | lemma weight_split {k:Fin b}(hc:p k=.raw) (ρ:Fin b→ℝ)(ε:ℝ): due V D p ρ ε = (ρ k)^(-(massOf (V k):ℝ)-ε) * due V D (update p k .fused) ρ ε :=by |
| 45 | unfold due; rw [← Finset.mul_prod_erase _ _ (Finset.mem_univ k), ← Finset.mul_prod_erase (Finset.univ:Finset (Fin b)) (fun i=>(ρ i)^ (weight (update p k .fused) V D ε i)) _,show weight (update p k .fused) V D ε k=0 by simp [weight],Real.rpow_zero,one_mul,weight,hc]; congr 1 |
| 46 | exact Finset.prod_congr rfl fun i hi=>(by rw [weight,weight,update_of_ne (Finset.mem_erase.mp hi).1]) |
| 47 | exact Finset.mem_univ k |
| 48 | |
| 49 | def rest (k:Fin b)(z:Fin b→E4)(u:∀i:Fin b,S.Field (d i))(xe:∀i:Fin b,Fin (n i) → E4):= ∏ i∈Finset.univ.erase k, scaledBranch (p i) (V i) (D i) 1 (z i) (xe i) (u i) |
| 50 | lemma split_product (k:Fin b)(q:Mode)(z:Fin b→ E4)(u:∀i,S.Field (d i))(h:S.Field (d k))(xe:∀i:Fin b,Fin (n i) → E4): |
| 51 | planted (update p k q) V D z (update u k h) xe = scaledBranch q (V k) (D k) 1 (z k) (xe k) h * rest V D p k z u xe:=by |
| 52 | rw [planted,← Finset.mul_prod_erase _ _ (Finset.mem_univ k), update_self,update_self]; congr 1 |
| 53 | exact Finset.prod_congr rfl fun i hi=> by rw [update_of_ne (Finset.mem_erase.mp hi).1,update_of_ne (Finset.mem_erase.mp hi).1] |
| 54 | end YM.MultipleContact.Joins |