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.Extraction.Patch |
| 2 | import Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar |
| 3 | |
| 4 | /-! |
| 5 | # Discard coordinate ties under separated integration |
| 6 | |
| 7 | They have zero volume at each fixed period as well as in infinite space. |
| 8 | This does *not* discard point-like insertions in later arguments. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.Extraction |
| 13 | open MeasureTheory Set Filter |
| 14 | open scoped Topology |
| 15 | |
| 16 | variable {n : ℕ} |
| 17 | |
| 18 | private theorem flat_zero (p q : Fin n) (hp : p ≠ q) (i : Axis) (k : ℝ) : |
| 19 | volume {x : Points n | x p i - x q i = k} = 0 := by |
| 20 | let f : Points n →ₗ[ℝ] ℝ := |
| 21 | ((EuclideanSpace.proj i).toLinearMap).comp ((PiLp.projₗ (𝕜 := ℝ) 2 (fun _ => E4) p) - PiLp.projₗ (𝕜 := ℝ) 2 (fun _ => E4) q) |
| 22 | let y (k : ℝ) := points <| Pi.single p (k • basis i) |
| 23 | have he (x : Points n) : x p i - x q i = f x := rfl |
| 24 | have hy (t : ℝ) : f (y t) = t := by rw [← he]; simp [y,Pi.single_eq_of_ne hp.symm] |
| 25 | let M := AffineSubspace.mk' (y k) (LinearMap.ker f) |
| 26 | have H (x : Points n) : x ∈ M ↔ x p i - x q i = k := by |
| 27 | rw [he, AffineSubspace.mem_mk', vsub_eq_sub, LinearMap.mem_ker, map_sub, hy, sub_eq_zero] |
| 28 | rw [show {x : Points n | x p i - x q i = k} = M from Set.ext fun i => (H i).symm] |
| 29 | apply Measure.addHaar_affineSubspace |
| 30 | intro hx |
| 31 | have hg := (H (y (k+1))).mp (hx.symm ▸ AffineSubspace.mem_top _ _ _) |
| 32 | rw [he, hy] at hg; linarith |
| 33 | |
| 34 | theorem almostCyclic (S : Schedule) (p n : ℕ) : ∀ᵐ x : Points n, x ∈ Cyclic S p n := by |
| 35 | have he (i j : Fin n) (h : i ≠ j) (a : Axis) : ∀ᵐ x : Points n, ¬ periodic S p (x i a) (x j a) := by |
| 36 | have hh (k : ℤ) : ∀ᵐ x : Points n, x i a - x j a ≠ k * length S p := by |
| 37 | rw [ae_iff]; simpa using flat_zero i j h a (k*length S p) |
| 38 | filter_upwards [ae_all_iff.mpr hh] with x hx hX |
| 39 | obtain ⟨j,H⟩ := hX |
| 40 | exact hx j H |
| 41 | filter_upwards [ae_all_iff.mpr (fun i => ae_all_iff.mpr (fun j => ae_all_iff.mpr (fun h => ae_all_iff.mpr (he i j h))))] with x hx |
| 42 | exact hx |
| 43 | |
| 44 | theorem almostGeneric (n : ℕ) : ∀ᵐ x : Points n, x ∈ generic n := by |
| 45 | have he (i j : Fin n) (h : i ≠ j) (a : Axis) : ∀ᵐ x : Points n, x i a - x j a ≠ 0 := by |
| 46 | rw [ae_iff]; simpa using flat_zero i j h a 0 |
| 47 | filter_upwards [ae_all_iff.mpr (fun i => ae_all_iff.mpr (fun j => ae_all_iff.mpr (fun h => ae_all_iff.mpr (he i j h))))] |
| 48 | with x hx |
| 49 | exact fun a i j ht => by_contra fun w => hx i j w a (sub_eq_zero.mpr ht) |
| 50 | end YM.Extraction |