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 PublicWilson |
| 2 | import YM.Extraction.Limits |
| 3 | |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YangMills |
| 7 | open MeasureTheory YM.Lattice |
| 8 | open scoped BigOperators Topology Matrix.Norms.Frobenius |
| 9 | |
| 10 | def GaugeGroup.core (g : GaugeGroup) : YM.Gauge := ⟨g.n, g.image, g.imageClosed⟩ |
| 11 | |
| 12 | theorem GaugeGroup.coreSimple {g : GaugeGroup} (hg : g.IsSimple) : g.core.Simple := by |
| 13 | have h : g.core.lie = g.lieAlgebra := by |
| 14 | ext m |
| 15 | exact (g.generates m).symm |
| 16 | rw [YM.Gauge.Simple, h] |
| 17 | exact hg |
| 18 | |
| 19 | variable {g : GaugeGroup} |
| 20 | def wilsonFamily (C : YM.Family g.core) : WilsonFamily g where |
| 21 | period := C.S.period |
| 22 | denominator := C.S.denominator |
| 23 | periodStrict := C.S.period_strict |
| 24 | denominatorStrict := C.S.den_strict |
| 25 | beta := C.beta |
| 26 | haar := g.core.probHaar |
| 27 | probability := inferInstanceAs (IsProbabilityMeasure g.core.probHaar) |
| 28 | invariantHaar := inferInstanceAs g.core.probHaar.IsHaarMeasure |
| 29 | Token := C.book.Token |
| 30 | insertion N p v x := C.seen (N := N) (p := p) v x |
| 31 | |
| 32 | theorem energy_eq {l : ℕ+} (U : Configuration g l) : |
| 33 | wilsonEnergy U = YM.Wilson.energy (G := g.core) U := by |
| 34 | apply Finset.sum_congr rfl |
| 35 | intro p _ |
| 36 | have face : faceValue U p = plaquette U p.1 p.2.val.1 p.2.val.2 := by |
| 37 | simp only [faceValue, square, travel, Step.pos_read, Step.neg_read, Step.vec_neg, |
| 38 | Step.vec_pos, mul_one, plaquette, step] |
| 39 | congr 4 <;> abel_nf |
| 40 | rw [show g.core.price (faceValue U p) = g.core.price (plaquette U p.1 p.2.val.1 p.2.val.2) from congrArg g.core.price face] |
| 41 | rfl |
| 42 | |
| 43 | theorem law_eq (l : ℕ+) (β : ℝ) : |
| 44 | wilsonLaw g l β g.core.probHaar = YM.Wilson.law g.core l β := by |
| 45 | simp only [wilsonLaw, energy_eq] |
| 46 | rfl |
| 47 | |
| 48 | variable (C : YM.Family g.core) |
| 49 | theorem moment_eq (N p : ℕ) {n : ℕ} (v : Fin n → C.book.Token) |
| 50 | (x : Fin n → YM.Lattice.Site (C.side N p)) : |
| 51 | (wilsonFamily C).finiteMoment N p v x = C.numeric N p v x := by |
| 52 | unfold WilsonFamily.finiteMoment |
| 53 | change (∫ U, _ ∂wilsonLaw g _ _ g.core.probHaar) = _ |
| 54 | rw [law_eq, C.num] |
| 55 | rfl |
| 56 | |
| 57 | theorem smear_eq (N p : ℕ) {n : ℕ} (v : Fin n → C.book.Token) (t : YM.Test n) : |
| 58 | (wilsonFamily C).smear N p v t = YM.Extraction.Order.smears C N p v t := by |
| 59 | simp only [WilsonFamily.smear, YM.Extraction.Order.smears, moment_eq] |
| 60 | rfl |
| 61 | |
| 62 | theorem fromWilson {S : YM.Table C.book} {s : YM.Extraction.Sequence} |
| 63 | (h : (YM.Extraction.Order.mk .full s).Ordered C S) : |
| 64 | (wilsonFamily C).Converges s (fun v x => S.read x v) := by |
| 65 | intro n v t |
| 66 | simp_rw [smear_eq] |
| 67 | exact h.reads n v t |
| 68 | |
| 69 | end YangMills |