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.Perfect.Alight |
| 2 | |
| 3 | /-! |
| 4 | # Relief rack for rectangular J/Y input. Color evaluation exact at harmonic. |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Trace.Perfect |
| 9 | open Function Filter Matrix Lattice Precision Laurent Stationary Bloch Exterior Tree RG Wilson Finset |
| 10 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 11 | variable {c f:Side}{G:Gauge} (S:StepData c f) (p:PathData G) |
| 12 | |
| 13 | abbrev arrange {k:Side} (e: Site k) (i : Lines G k 1):= separation i.1 e |
| 14 | abbrev arranger {k:Side} (e:Site k)(i:pairA G k):= Sum.elim (arrange e) (arrange e) i |
| 15 | -- apply and rebasing |
| 16 | lemma stamp_zero (t:S.Choices)(H:Link G c→ Stationary.Joint G c f)(h:H 0=1): stampA S t H 0=0:= by unfold stampA; simp [h] |
| 17 | |
| 18 | def duet (i:Type)[Fintype i] [DecidableEq i] := True |
| 19 | -- stamp derivative transposes |
| 20 | lemma dot_predict {H:Link G c → Stationary.Joint G c f} (t:S.Choices)(h:S.patch.Branches S.kernel G) {pclip:Clip} |
| 21 | (hx:Thaw H 0)(hv:H 0=1) (hz: Stationary.Teller S t pclip p 1 (1:Stationary.Joint G c f)) |
| 22 | (a: pairA G f) (w:Acr G c): |
| 23 | fderiv ℝ (stampA S t H) 0 w a=match a with |
| 24 | | .inl v=> fderiv ℝ (fun x => content (H x).1) 0 (bite G c w).1 v |
| 25 | | .inr v=>∑ i:Lines G c 1, uniformM (Precision.mean S) (desk v) i * w (.inr i):=by |
| 26 | let k :=fun i => fderiv ℝ (stampA S t H) 0 w i |
| 27 | let U : Acr G c→L[ℝ] Link G c := ContinuousLinearMap.fst _ _ _ ∘L (bite ..).toContinuousLinearMap |
| 28 | let Z (j:Lines G f 1)(i:Lines G c 1)(x:Acr G c):= shuttle S t (H (U x)) (input G c (U x)) (desk j) i*x (.inr i) |
| 29 | have hh(j:Lines G f 1)(i:Lines G c 1): ContDiffAt ℝ ω (fun x:Acr G c=> shuttle S t (H (U x)) (input G c (U x)) (desk j) i) 0:=by |
| 30 | apply contDiffAt_pi.mp (steering t h (fun x:Acr G c=> desk j) contDiffAt_const (Thaw.comp (w:=U) (g:=H) (?_) U.contDiff.contDiffAt) _ (Army.powL U.contDiff.contDiffAt)) |
| 31 | rotate_left; · rw [Function.comp_apply,map_zero,hv] |
| 32 | rw [map_zero]; exact hx |
| 33 | have hy:= hx.1.logL (show (H 0).1=1 from congr_arg Prod.fst hv) |
| 34 | have hA : ContDiffAt ℝ ω (stampA S t H) 0:=by |
| 35 | refine contDiffAt_pi.mpr fun j=>?_ ; cases j with |
| 36 | | inl j=> apply contDiffAt_pi.mp (ContDiffAt.comp (g:=fun x=> content (H x).1) _ (map_zero U |>.symm ▸ hy) U.contDiff.contDiffAt) |
| 37 | | inr j=> simp_rw [stamp_entry]; exact ContDiffAt.sum fun i _=> (hh j i).mul (by fun_prop) |
| 38 | have he(i:pairA G f): fderiv ℝ (stampA S t H) 0 w i=fderiv ℝ (fun x => stampA S t H x i) 0 w:=by |
| 39 | let L:= ContinuousLinearMap.proj (φ:=fun _: pairA G f=>ℝ) (R:=ℝ) i; change _=fderiv ℝ (L ∘ stampA S t H) 0 w; rw [fderiv_comp _ L.differentiableAt (hA.differentiableAt (by simp)),L.fderiv];rfl |
| 40 | cases a with |
| 41 | | inl a=> rw [he]; let V:=(ContinuousLinearMap.proj (R:=ℝ) (φ:=fun _: Lines G f 1=>ℝ) a); let K:= fun x=>content (H x).1 |
| 42 | change fderiv ℝ ((V ∘ K) ∘ U) 0 w = _ |
| 43 | rw [fderiv_comp 0 (by rw [map_zero]; exact V.differentiableAt.comp 0 (hy.differentiableAt (by simp))) U.differentiableAt,U.fderiv,map_zero,fderiv_comp 0 V.differentiableAt (hy.differentiableAt (by simp)),V.fderiv]; rfl |
| 44 | | inr a=> simp_rw [he (Sum.inr a),stamp_entry] |
| 45 | rw [fderiv_fun_sum ?_, _root_.sum_apply]; rotate_left |
| 46 | · intro i _; exact (hh a i).differentiableAt (by simp) |>.mul ((ContinuousLinearMap.proj (R:=ℝ) (φ:=fun _:pairA G c=>ℝ) (Sum.inr i)).differentiableAt) |
| 47 | apply Finset.sum_congr rfl; intro i _; let K:=ContinuousLinearMap.proj (R:=ℝ) (φ:=fun _:pairA G c=>ℝ) (Sum.inr i) |
| 48 | let W(x):=shuttle S t (H (U x)) (input G c (U x)) (desk a) i |
| 49 | change fderiv ℝ (W * (fun z=> K z)) 0 w=_ |
| 50 | rw [fderiv_mul (hh a i|>.differentiableAt (by simp)) K.differentiableAt,_root_.add_apply, K.fderiv] |
| 51 | simp only [W,Pi.zero_apply,map_zero,zero_smul,zero_add, hv,input_zero]; rw [shuttle_zero t h hz]; simp [K] |
| 52 | |
| 53 | end YM.Trace.Perfect |