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.Fields |
| 2 | import YM.Work.A04 |
| 3 | |
| 4 | /-! Fixed, finite tomography per output horizon. Not an assertion yet that it matches the approaching cluster. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.MultipleContact |
| 8 | open Set Function Filter MeasureTheory Table Extraction Spec |
| 9 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff Classical |
| 10 | |
| 11 | variable {G:Gauge}{L:Register G}{S T:Table L}{d h n:ℕ} |
| 12 | variable {P: DiffPlan S} {X:Rotation S} |
| 13 | |
| 14 | def response (T:Table L) (h:ℕ) (x:Exterior L) : S.Field h→ₗ[ℂ] ℂ := (T.injectFront x.letter x.point h).comp (S.representative h) |
| 15 | lemma response_self (x:Exterior L) (v:S.Field h) : response S h x v=S.spectra h v x:=by |
| 16 | obtain ⟨w,hw⟩:= S.onto h v; rw [← hw,S.projected] |
| 17 | change S.replies h (S.representative h (S.project h w)) x = _ |
| 18 | exact congr_fun (by |
| 19 | apply sub_eq_zero.mp |
| 20 | rw [← map_sub] |
| 21 | exact (Submodule.Quotient.mk_eq_zero _).mp (by change S.project h ((S.representative h (S.project h w))-w)=0; rw [map_sub,S.rep,sub_self])) x |
| 22 | |
| 23 | structure Detector (S:Table L) (h:ℕ) where |
| 24 | probes : Finset (Exterior L) |
| 25 | decode : (probes→ℂ)→ₗ[ℂ] S.Field h |
| 26 | fixes (x) : decode (fun e:probes=>response S h e x)=x |
| 27 | |
| 28 | lemma detector_exists (h:ℕ) (S:Table L) : Nonempty (Detector S h):=by |
| 29 | let r:= response (S:=S) S h |
| 30 | obtain ⟨D,hD⟩:=YM.Work.A04.finite_faithful r (by |
| 31 | intro a b he |
| 32 | exact S.faithfully h (funext fun x:Exterior L=>by simpa only [LinearMap.pi_apply,r,response_self] using (congr_fun he x))) |
| 33 | let t:=LinearMap.pi fun i:D=> r i |
| 34 | let u:=t.leftInverse |
| 35 | exact ⟨D,u,fun x=> t.leftInverse_apply_of_inj (LinearMap.ker_eq_bot.mpr hD) x⟩ |
| 36 | |
| 37 | def joint (e : Exterior L) (z : Points n) : Points (n+e.n):= |
| 38 | points (Fin.append (fun i:Fin n=>z i+e.point 0) (Points.tail e.point).ofLp) |
| 39 | lemma joint_clear (e : Exterior L){δ:ℝ} (hh:∀ i:Fin e.n,δ≤ ‖e.point i.succ - e.point 0‖) |
| 40 | (z : Points n)(hz:∀ i:Fin n,‖z i‖<δ)(hx:z∈conf n):joint e z∈conf (n+e.n):=by |
| 41 | have he i:joint e z (Fin.castAdd e.n i)= z i+e.point 0:= by simp [joint] |
| 42 | have hw i:joint e z (Fin.natAdd n i)=e.point i.succ:=by simp [joint,Points.tail] |
| 43 | have hl(i:Fin n)(j:Fin e.n):z i+e.point 0≠ e.point j.succ :=by |
| 44 | intro H |
| 45 | have hl : z i=e.point j.succ-e.point 0:= eq_sub_of_add_eq H |
| 46 | have hp:= hz i; rw [hl] at hp; exact not_lt_of_ge (hh j) hp |
| 47 | change Injective _ |
| 48 | intro i |
| 49 | refine Fin.addCases ?_ ?_ i |
| 50 | · intro i j |
| 51 | refine Fin.addCases ?_ ?_ j |
| 52 | · intro j hij |
| 53 | exact congr_arg (Fin.castAdd e.n) (hx (by simpa only [he,add_left_inj] using hij)) |
| 54 | intro j hij |
| 55 | exact False.elim (hl i j (by simpa only [he,hw] using hij)) |
| 56 | intro i j |
| 57 | refine Fin.addCases ?_ ?_ j |
| 58 | · intro j hij |
| 59 | exact False.elim (hl j i (by simpa only [hw,he] using hij.symm)) |
| 60 | intro j hij |
| 61 | refine congr_arg (Fin.natAdd n) (Fin.succ_inj.mp (e.clear (?_))) |
| 62 | simpa only [hw] using hij |
| 63 | |
| 64 | lemma detector_clearance (D : Detector S h) : ∃ δ:ℝ,0<δ ∧ ∀ e∈D.probes, ∀ i:Fin e.n,2*δ≤ ‖e.point i.succ - e.point 0‖:=by |
| 65 | have he(x:D.probes)(i:Fin x.val.n):0 < ‖x.val.point i.succ-x.val.point 0‖:= norm_pos_iff.mpr (sub_ne_zero.mpr (x.val.clear.ne (Fin.succ_ne_zero _))) |
| 66 | have ht (x:D.probes)(i:Fin x.val.n): ∀ᶠ δ:ℝ in 𝓝 (0:ℝ),2*δ≤ ‖x.val.point i.succ-x.val.point 0‖:=by |
| 67 | filter_upwards [(gt_mem_nhds (by linarith [he x i] : (0:ℝ)< ‖x.val.point i.succ-x.val.point 0‖ /2))] with δ hh |
| 68 | exact by linarith only [hh] |
| 69 | have ht':= eventually_all.mpr fun i=> eventually_all.mpr fun j=>Filter.Eventually.filter_mono (nhdsWithin_le_nhds (s:=Ioi 0)) (ht i j) |
| 70 | obtain ⟨δ,hδ,h⟩:= (ht'.and (self_mem_nhdsWithin (a:=(0:ℝ)) (s:=Ioi 0))).exists |
| 71 | exact ⟨δ,h,fun e he i=>(hδ ⟨e,he⟩) i⟩ |
| 72 | |
| 73 | -- Cluster readings as numerical functions. Exteriors initially on reference labels. |
| 74 | def tagsPlaced (q:Fin n→S.Tag) (e:Exterior L):(Fin (n+e.n)→S.Tag):= Fin.append q (S.classTokens ∘ e.letter) |
| 75 | def raw (T:Table L)(q:Fin n→S.Tag)(z:Points n)(e:Exterior L):ℂ:= S.useAt T (joint e z) (tagsPlaced q e) |
| 76 | def Detector.apply (D : Detector S h)(q:Fin n→S.Tag)(z:Points n): S.Field h:= D.decode (fun e:D.probes=> raw S q z e) |
| 77 | end YM.MultipleContact |