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.Next.EXTRACTION.Tails |
| 2 | import YM.Push.ABSOLUTE_SUMS.Mixed |
| 3 | import YM.Push.ABSOLUTE_SUMS.Partition |
| 4 | import YM.Work.A15 |
| 5 | import YM.Work.B04 |
| 6 | import YM.Work.B06 |
| 7 | |
| 8 | set_option warningAsError false |
| 9 | |
| 10 | /-! |
| 11 | # Local marginals on product references |
| 12 | |
| 13 | Probability normalization here is intentional (to have coordinate |
| 14 | restriction measure preserving we MUST account for all unused args). |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.Push.LogIdentity.Projection |
| 20 | open Lattice Wilson MeasureTheory Function Finset |
| 21 | open scoped BigOperators Topology Classical ENNReal |
| 22 | variable {ι τ : Type*} {α : ι → Type*} [∀ i, MeasurableSpace (α i)] [Fintype ι] |
| 23 | variable (μ : ∀ i,Measure (α i)) [∀ i, IsProbabilityMeasure (μ i)] |
| 24 | |
| 25 | /-- Measure-preserving even when dropping some coordinates. -/ |
| 26 | lemma inject [Fintype τ] (e : τ → ι) (h : Injective e) : |
| 27 | MeasurePreserving (fun (x : Π i,α i) j => x (e j)) (Measure.pi μ) (Measure.pi fun j => μ (e j)) := by |
| 28 | let D : Set ι := Set.range e |
| 29 | let d : τ ≃ D := Equiv.ofInjective e h |
| 30 | letI : Fintype D := Subtype.fintype (·∈D) |
| 31 | let f := MeasurableEquiv.piEquivPiSubtypeProd α (·∈D) |
| 32 | let g := MeasurableEquiv.piCongrLeft (fun i : D => α i.val) d |
| 33 | have hf : MeasurePreserving f (Measure.pi μ) ((Measure.pi (fun i : D => μ i.val)).prod |
| 34 | (Measure.pi (fun i : {i // i∉D} => μ i.val))) := measurePreserving_piEquivPiSubtypeProd μ (·∈D) |
| 35 | have hg := measurePreserving_piCongrLeft (fun i : D => μ i.val) d |
| 36 | exact hg.symm.comp (measurePreserving_fst.comp hf) |
| 37 | |
| 38 | lemma nested (κ : ι → Type*) [∀ i,Fintype (κ i)] (γ : ∀ i,κ i → Type*) |
| 39 | [∀ i j, MeasurableSpace (γ i j)] (m : ∀ i j, Measure (γ i j)) [∀ i j, SigmaFinite (m i j)] : |
| 40 | MeasurePreserving (MeasurableEquiv.piCurry γ) |
| 41 | (Measure.pi fun j : Sigma κ => m j.1 j.2) |
| 42 | (Measure.pi fun i => Measure.pi (m i)) := by |
| 43 | let e := MeasurableEquiv.piCurry γ |
| 44 | change MeasurePreserving e _ _ |
| 45 | suffices h : MeasurePreserving (e.symm) _ _ from h.symm |
| 46 | refine ⟨e.symm.measurable,(Measure.pi_eq fun s hs => ?_).symm⟩ |
| 47 | rw [Measure.map_apply e.symm.measurable (MeasurableSet.univ_pi hs)] |
| 48 | let t := fun i : ι => Set.univ.pi fun j : κ i => s ⟨i,j⟩ |
| 49 | have he : e.symm ⁻¹' Set.univ.pi s = Set.univ.pi t := by |
| 50 | ext x; simp only [Set.mem_preimage,Set.mem_pi,Set.mem_univ,true_implies,t] |
| 51 | constructor |
| 52 | · intro h i j; exact h ⟨i,j⟩ |
| 53 | rintro h ⟨i,j⟩; exact h i j |
| 54 | rw [he,Measure.pi_pi,Fintype.prod_sigma] |
| 55 | apply prod_congr rfl; intro i _ |
| 56 | exact Measure.pi_pi _ _ |
| 57 | |
| 58 | section Gather |
| 59 | variable {κ : τ → Type*} [Fintype τ] [∀ i,Fintype (κ i)] (place : ∀ i, κ i → ι) |
| 60 | |
| 61 | /-- Each used address j in each block i has a single physical place. |
| 62 | The condition can be established just from disjoint tested footprints |
| 63 | and no repetitions *between* these marginal-coordinate lists (group |
| 64 | aliases at the place BEFORE invoking this). -/ |
| 65 | lemma gather (h : Injective (fun i : Sigma κ => place i.1 i.2)) : |
| 66 | MeasurePreserving (fun (x : Π i,α i) i j => x (place i j)) (Measure.pi μ) |
| 67 | (Measure.pi (fun i => Measure.pi fun j => μ (place i j))) := by |
| 68 | have hh := inject μ _ h |
| 69 | exact (nested κ (fun i j => α (place i j)) (fun i j => μ (place i j))).comp hh |
| 70 | end Gather |
| 71 | end YM.Push.LogIdentity.Projection |