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.LinearAlgebra.Multilinear.FiniteDimensional |
| 2 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 3 | import Mathlib.GroupTheory.Perm.Fin |
| 4 | import Mathlib.Analysis.Calculus.FDeriv.Analytic |
| 5 | |
| 6 | /-! |
| 7 | # Symmetric Taylor coefficients |
| 8 | |
| 9 | Used to identify radial jets , and reusable for equality of |
| 10 | Taylor data on the reconstruction side. No analyticity assumption on a |
| 11 | function beyond the actual multilinear forms here. Multilinear arity zero allowed. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Tensor |
| 17 | |
| 18 | open ContinuousMultilinearMap |
| 19 | |
| 20 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 21 | |
| 22 | variable (E F) in |
| 23 | abbrev T (j : ℕ) := ContinuousMultilinearMap ℝ (fun _ : Fin j => E) F |
| 24 | |
| 25 | instance (j : ℕ) [FiniteDimensional ℝ E] [FiniteDimensional ℝ F] : FiniteDimensional ℝ (T E F j) := by |
| 26 | let C : T E F j →ₗ[ℝ] MultilinearMap ℝ (fun _ : Fin j => E) F := |
| 27 | { toFun := toMultilinearMap, map_add' := by intros; rfl, map_smul' := by intros; rfl } |
| 28 | exact FiniteDimensional.of_injective C toMultilinearMap_injective |
| 29 | |
| 30 | variable {j : ℕ} |
| 31 | |
| 32 | def Sym (A : T E F j) := ∀ v : Fin j → E, ∀ s : Equiv.Perm (Fin j), A (v ∘ s) = A v |
| 33 | |
| 34 | def diagonal (A : T E F j) : E → F := fun x => A (fun _ => x) |
| 35 | |
| 36 | lemma same_slot (A : T E F (j+1)) (h : Sym A) (x v : E) (i : Fin (j+1)) : |
| 37 | A (Function.update (fun _ ↦ x) i v) = A (Fin.cons v (fun _ => x)) := by |
| 38 | rw [← h _ (Equiv.swap 0 i), Function.update_comp_equiv] |
| 39 | congr 1 |
| 40 | simp only [Equiv.symm_swap, Equiv.swap_apply_right] |
| 41 | ext k |
| 42 | refine Fin.cases ?_ (fun n ↦ ?_) k <;> simp |
| 43 | |
| 44 | lemma differential_diagonal (A : T E F (j+1)) (h : Sym A) (x v : E) : |
| 45 | fderiv ℝ (diagonal A) x v = (j+1) • A.curryLeft v (fun _ => x) := by |
| 46 | let c : E →L[ℝ] Fin (j+1) → E := ContinuousLinearMap.pi fun _ => ContinuousLinearMap.id _ _ |
| 47 | have hd : HasFDerivAt (diagonal A) ((A.linearDeriv (fun _ => x)).comp c) x := |
| 48 | (A.hasFDerivAt (c x)).comp x c.hasFDerivAt |
| 49 | rw [hd.fderiv] |
| 50 | simp only [ContinuousLinearMap.comp_apply, linearDeriv_apply] |
| 51 | change ∑ i : Fin (j+1), A (Function.update _ i v) = _ |
| 52 | simp_rw [same_slot A h x] |
| 53 | simp |
| 54 | |
| 55 | lemma freeze_sym (A : T E F (j+1)) (h : Sym A) (x : E) : Sym (A.curryLeft x) := by |
| 56 | intro v s |
| 57 | rw [curryLeft_apply, curryLeft_apply, ← h (Fin.cons x v) (Equiv.Perm.decomposeFin.symm (0,s))] |
| 58 | congr 1 |
| 59 | ext i |
| 60 | refine Fin.cases ?_ (fun n ↦ ?_) i <;> simp [Equiv.Perm.decomposeFin_symm_apply_succ] |
| 61 | |
| 62 | lemma ext_diag (A B : T E F j) (ha : Sym A) (hb : Sym B) (he : diagonal A = diagonal B) : A = B := by |
| 63 | induction j with |
| 64 | | zero => |
| 65 | apply ContinuousMultilinearMap.ext |
| 66 | intro v |
| 67 | rw [show v = fun _ ↦ 0 from Subsingleton.elim ..] |
| 68 | exact congr_fun he 0 |
| 69 | | succ j ih => |
| 70 | have hc : A.curryLeft = B.curryLeft := by |
| 71 | apply ContinuousLinearMap.ext |
| 72 | intro x |
| 73 | refine ih _ _ (freeze_sym A ha x) (freeze_sym B hb x) (funext fun y ↦ ?_) |
| 74 | have hh := (differential_diagonal A ha y x).symm.trans (he ▸ differential_diagonal B hb y x) |
| 75 | rw [← Nat.cast_smul_eq_nsmul ℝ, ← Nat.cast_smul_eq_nsmul ℝ] at hh |
| 76 | exact (smul_right_injective F (show ((j+1 : ℕ) : ℝ) ≠ 0 by positivity)) hh |
| 77 | rw [← uncurry_curryLeft A, hc, uncurry_curryLeft] |
| 78 | end YM.Tensor |