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 Mathlib.MeasureTheory.Integral.Pi |
| 2 | |
| 3 | |
| 4 | set_option warningAsError false |
| 5 | /-! |
| 6 | # Restricted read-set for product averaging |
| 7 | |
| 8 | Probability densities relative to counting or to finite product Haar, all |
| 9 | arguments conditional. Use the identities for **integrable** entries; also |
| 10 | true for totalized integral versions here, but we do not infer integrability |
| 11 | from them. Needed at both tag and bond levels; bond distributions (conditional |
| 12 | on *all* site tags) can depend on those same tags. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.ProjectorNext.RMirror.Marginal |
| 17 | open Set Filter Function MeasureTheory |
| 18 | open scoped Topology BigOperators |
| 19 | variable {I E : Type*} |
| 20 | |
| 21 | /-- A function of a finite array uses only coordinates in X. -/ |
| 22 | def Uses (X : Set I) (F : (I → E) → ℂ) := ∀ x y, EqOn x y X → F x = F y |
| 23 | |
| 24 | |
| 25 | |
| 26 | section Both |
| 27 | variable [Fintype I] |
| 28 | |
| 29 | |
| 30 | end Both |
| 31 | section Split |
| 32 | variable (X : I → Prop) [DecidablePred X] |
| 33 | private abbrev In (X : I → Prop) (E : Type*) := Subtype X → E |
| 34 | private abbrev Out (X : I → Prop) (E : Type*) := { i // ¬ X i } → E |
| 35 | private def e := Equiv.piEquivPiSubtypeProd X (fun _ => E) |
| 36 | |
| 37 | private lemma first {F : (I → E) → ℂ} (h : Uses {i|X i} F) (x : In X E) (y z : Out X E) : |
| 38 | F ((e X).symm (x,y)) = F ((e X).symm (x,z)) := by |
| 39 | apply h |
| 40 | rintro i (hx : X i) |
| 41 | simp only [e,Equiv.piEquivPiSubtypeProd_symm_apply,hx, ↓reduceDIte] |
| 42 | |
| 43 | |
| 44 | variable [Fintype I] |
| 45 | |
| 46 | end Split |
| 47 | |
| 48 | section Integral |
| 49 | variable [Fintype I] [MeasurableSpace E] (μ : Measure E) [SigmaFinite μ] |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | variable [Nonempty E] |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | end Integral |
| 63 | |
| 64 | section Counting |
| 65 | variable [Fintype I] [DecidableEq I] [Fintype E] |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | variable [Nonempty E] |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | end Counting |
| 78 | end YM.ProjectorNext.RMirror.Marginal |