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.MergeProof.Ember |
| 2 | import YM.MergeProof.Gallery |
| 3 | import YM.MergeProof.Hash |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.MergeProof.Menu |
| 7 | open Function Filter Lattice Wilson RG MeasureTheory Finset Push Local Extra.Histories PhysicalNext.Repeat Lotus Merge Merge.Palette Accent Marker |
| 8 | open Extra.Multi GridApprox.Nil |
| 9 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff Classical |
| 10 | variable {V ι β : Type}[DecidableEq V] {B:Census V} {G:Gauge}{f c:Side}{R:Rep G f}{E:Rep G c} |
| 11 | open Extra.Trajectories |
| 12 | variable {σ d e t u:ℝ}(p:Hat B R)(T: GaugeDoor R E) (q:ι→Hat B R) (U:Config G f) |
| 13 | def odour := Poly.send p.s (prose p.M U*p.charge) |
| 14 | def fragrance (i:Box f):= Poly.send p.s (entry p.M i U*p.charge) |
| 15 | def owl (i:V)(a:Box c)(U:Config G c):ℂ:= if p.s=B.fire i then p.charge*quoted T p.M a U else 0 |
| 16 | variable [Fintype ι] |
| 17 | lemma odors (k:Finset ℕ)(h:∀ i,p.M.turn=.logKey i → i∈ k): (∑ j∈k, if WKey p=.logKey j then amount p U else 0)= odour p U:=by |
| 18 | unfold WKey; cases hx:p.M.turn with |
| 19 | | logKey i=> rw [varnish,odour,prose,hx,sum_eq_single i]; rw [if_pos rfl] |
| 20 | · intro j _ hj; simp [hj.symm] |
| 21 | · intro hp; exact False.elim (hp (h i hx)) |
| 22 | | gasKey i=> simp [odour,prose,hx] |
| 23 | lemma perfumes : roll q U=∑ i:ι, odour (q i) U:=by |
| 24 | unfold roll rush; rw [sum_comm]; apply sum_congr rfl; intro i hi; exact odors (q i) U (logDeck q) (fun j h=> (cams q j).2 ⟨i,h⟩) |
| 25 | private lemma flagBase (i:Box f): ∑' j:{ j//barcode R.activities j=i}, (if WKey p=.gasKey j.val then amount p U else 0)=fragrance p U i:=by |
| 26 | unfold WKey fragrance; cases hp:p.M.turn with |
| 27 | | logKey i=> simp [entry,hp] |
| 28 | | gasKey j => |
| 29 | unfold entry; rw [hp,varnish]; dsimp only; by_cases hx:barcode R.activities j=i |
| 30 | · rw [if_pos hx,tsum_eq_single (⟨j,hx⟩)] |
| 31 | · rw [if_pos rfl] |
| 32 | intro b hb; exact if_neg fun h=> hb (Subtype.ext (Wing.gasKey.inj h|>.symm)) |
| 33 | rw [if_neg hx,zero_mul,Poly.send_zero];exact (tsum_congr (fun j=> if_neg (fun h=> hx ((congr_arg (barcode R.activities) (Wing.gasKey.inj h)).trans j.property)))).trans tsum_zero |
| 34 | lemma patron (p:Box f): board q p U=∑ i,fragrance (q i) U p:=by |
| 35 | unfold board rush; rw [Summable.tsum_finsetSum]; exact sum_congr rfl fun i _=>flagBase .. |
| 36 | intro i _; cases ht:WKey (q i) with |
| 37 | | logKey j=> simp |
| 38 | | gasKey j=> |
| 39 | by_cases he:barcode R.activities j=p |
| 40 | · refine summable_of_ne_finset_zero (s:={⟨j,he⟩}) ?_; intro i hi; exact if_neg fun h=> hi (mem_singleton.mpr (Subtype.ext (Wing.gasKey.inj h|>.symm))) -- ht rewritten? |
| 41 | have hx(z:{i// barcode R.activities i=p}): Wing.gasKey j≠.gasKey z.val:=fun h=> he ((congr_arg (barcode R.activities) (Wing.gasKey.inj h)).trans z.property) |
| 42 | simp [hx] -- edit |
| 43 | lemma freeze (i:V)(a:Box c)(U:Config G c): (∑ j: Mound q, owl (heap q j) T i a U)=∑ j, owl (q j) T i a U:=by |
| 44 | unfold Mound; rw [Fintype.sum_sum_type,sum_eq_zero (s:=univ) (f:=fun x:Σ j:logDeck q, Rock q (.logKey j.val)=> owl (heap q (.inr x)) T i a U) ?_,add_zero];rfl |
| 45 | intro j _; unfold owl; rw [if_neg ?_]; intro hx; have ht:2 ≤ (heap q (.inr j)).s.val.card:=large q _ _ j.2.prop; rw [hx] at ht; simp [Census.fire] at ht |
| 46 | lemma banded : board (heap q)=board q:= by funext i U; unfold board; simp_rw [gases] |
| 47 | end YM.MergeProof.Menu |