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.Analysis.Calculus.FDeriv.Symmetric |
| 2 | import Mathlib.Analysis.Matrix.PosDef |
| 3 | |
| 4 | |
| 5 | |
| 6 | /-! # Neighborhood recognition of strict Hessian in Taylor ports -/ |
| 7 | noncomputable section |
| 8 | namespace YM.Analytic |
| 9 | open Filter Topology Set InnerProductSpace Matrix |
| 10 | open scoped InnerProductSpace |
| 11 | |
| 12 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 13 | [NormedAddCommGroup F] [InnerProductSpace ℝ F] [FiniteDimensional ℝ F] |
| 14 | |
| 15 | |
| 16 | |
| 17 | def stamp {m : ℕ} (b : Module.Basis (Fin m) ℝ F) (f : F → ℝ) (x : F) : |
| 18 | Matrix (Fin m) (Fin m) ℝ := fun i j => iteratedFDeriv ℝ 2 f x ![b i,b j] |
| 19 | |
| 20 | omit [FiniteDimensional ℝ F] in |
| 21 | theorem positive_stamp {m : ℕ} (b : Module.Basis (Fin m) ℝ F) (f : F → ℝ) (x : F) |
| 22 | (h : AnalyticAt ℝ f x) (hp : ∀ v : F, v ≠ 0 → 0 < iteratedFDeriv ℝ 2 f x ![v,v]) : |
| 23 | 0 < Matrix.det (stamp b f x) := by |
| 24 | apply Matrix.PosDef.det_pos |
| 25 | rw [Matrix.posDef_iff_dotProduct_mulVec] |
| 26 | have hs := h.contDiffAt.isSymmSndFDerivAt (n := 2) (by simp) |
| 27 | constructor |
| 28 | · ext i j |
| 29 | simp only [stamp,Matrix.conjTranspose_apply, star_trivial, iteratedFDeriv_two_apply] |
| 30 | exact hs .. |
| 31 | intro y hy |
| 32 | have hn : ∑ i, y i • b i ≠ 0 := by |
| 33 | intro hn; apply hy; funext l |
| 34 | have he := DFunLike.congr_fun (congrArg b.repr hn) l |
| 35 | simpa [Finsupp.single_apply] using he |
| 36 | let a := fderiv ℝ (fderiv ℝ f) x |
| 37 | have he : star y ⬝ᵥ ((stamp b f x) *ᵥ y) = iteratedFDeriv ℝ 2 f x |
| 38 | ![∑ i, y i • b i, ∑ i, y i • b i] := by |
| 39 | -- expand both slots |
| 40 | unfold dotProduct Matrix.mulVec stamp |
| 41 | simp only [dotProduct,Pi.star_apply,star_trivial,iteratedFDeriv_two_apply] |
| 42 | change ∑ i, y i * (∑ j, a (b i) (b j) * y j) = a (∑ i, y i • b i) (∑ j, y j • b j) |
| 43 | simp [Finset.mul_sum] |
| 44 | rw [Finset.sum_comm] |
| 45 | refine Finset.sum_congr rfl fun x _ => Finset.sum_congr rfl fun i _ => ?_ |
| 46 | ring |
| 47 | rw [he]; exact hp _ hn |
| 48 | end YM.Analytic |