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.Push.LOOP_COEFFICIENT.Paths.Reader |
| 2 | import YM.Work.F02.Path |
| 3 | |
| 4 | /-! |
| 5 | # Windows for analytic-local angular-coordinate path tests |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Push.Loops.Paths |
| 10 | open Matrix Function Set Filter Metric Lattice Laurent RG Bloch |
| 11 | open scoped Topology ContDiff BigOperators |
| 12 | variable {a b : Type} {r : ℕ} |
| 13 | |
| 14 | def Window (r : ℕ) := {x : Cover | size x ≤ r} |
| 15 | lemma window_finite (r) : (Window r).Finite := by |
| 16 | apply (Set.finite_Icc (fun _ : Axis => -(r:ℤ)) (fun _ : Axis => (r:ℤ))).subset |
| 17 | have he {x : Cover} (hx : x∈Window r) (j : Axis) : |x j| ≤ r := (Int.natCast_natAbs _ ▸ Int.ofNat_le.mpr ((Finset.single_le_sum (fun i (_:i∈Finset.univ) => Nat.zero_le (x i).natAbs) (Finset.mem_univ j)).trans hx)) |
| 18 | intro x hx; exact ⟨fun i => (abs_le.mp (he hx i)).1,fun i => (abs_le.mp (he hx i)).2⟩ |
| 19 | instance (r) : Fintype (Window r) := (window_finite r).fintype |
| 20 | instance (r) : DecidablePred (· ∈ Window r) := inferInstanceAs (DecidablePred (fun x : Cover => size x ≤ r)) |
| 21 | |
| 22 | abbrev Shifts (a : Type) := Cover → CSpace a |
| 23 | |
| 24 | def pad (v : CSpace (Window r × a)) : Shifts a := fun x i => if h : x∈Window r then v (⟨x,h⟩,i) else 0 |
| 25 | lemma pad_contDiff [Fintype a] (x : Cover) (i : a) : ContDiff ℂ ω (fun v : CSpace (Window r × a) => pad v x i) := by unfold pad; split <;> first | apply contDiff_apply | apply contDiff_const |
| 26 | lemma pad_norm [Fintype a] (v : CSpace (Window r × a)) (x) : ‖pad v x‖ ≤ ‖v‖ := (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr fun i => by |
| 27 | unfold pad; split |
| 28 | · apply norm_le_pi_norm |
| 29 | · simp |
| 30 | |
| 31 | structure Film (a : Type) where |
| 32 | radius : ℕ |
| 33 | value : Shifts a → ℂ |
| 34 | inside {x y} : (∀ i∈Window radius,x i = y i) → value x = value y |
| 35 | namespace Film |
| 36 | def reader [Fintype a] (f : Film a) : Reader a where |
| 37 | shape := Window f.radius × a |
| 38 | range := inferInstance |
| 39 | leaf := Prod.snd |
| 40 | offset i := i.1.val |
| 41 | sizeBound := f.radius |
| 42 | near i := i.1.property |
| 43 | value := f.value ∘ pad |
| 44 | lemma wrapped [Fintype a] [Fintype b] (f : Film a) {n : Side} (A : Grid n b a) (x : Site n) (z : CSpace b) : |
| 45 | f.reader.value (f.reader.gather A x z) = f.value (fun y j => z (A.symm (wrap n y + x,j))) := by |
| 46 | refine f.inside fun y hy => ?_; funext j; rw [pad,dif_pos hy]; exact congr_arg z (congr_arg A.symm (Prod.ext (add_comm ..) rfl)) |
| 47 | end Film |
| 48 | end YM.Push.Loops.Paths |