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.MultipleContact.Taylor |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.Symmetric |
| 3 | |
| 4 | /-! Mixed test derivatives: symmetry and total-jet budget. -/ |
| 5 | set_option autoImplicit false |
| 6 | set_option maxHeartbeats 800000 |
| 7 | noncomputable section |
| 8 | namespace YM.MultipleContact.Panel |
| 9 | open Set Function Filter MeasureTheory |
| 10 | open scoped ContDiff Classical BigOperators |
| 11 | variable {E:Type*}[NormedAddCommGroup E][NormedSpace ℝ E] |
| 12 | def blade (v:E)(f:E→ℂ)(x:E):ℂ:=fderiv ℝ f x v |
| 13 | lemma blade_smooth {f:E→ℂ}(hf:ContDiff ℝ ∞ f)(v:E):ContDiff ℝ ∞ (blade v f):=(hf.fderiv_right (by simp)).clm_apply contDiff_const |
| 14 | |
| 15 | def blades (L:List E)(f:E→ℂ):E→ℂ:=match L with |[]=>f | v :: t=>blade v (blades t f) |
| 16 | lemma blades_smooth {f:E→ℂ}(hf:ContDiff ℝ ∞ f)(L:List E):ContDiff ℝ ∞ (blades L f):=by induction L with |nil=> exact hf | cons v _ IH=> exact blade_smooth IH _ |
| 17 | lemma blades_join {f:E→ℂ}(L T:List E): blades (L++T) f=blades L (blades T f):=by induction L with |nil=>rfl |cons v s IH=> exact congr_arg (blade v) IH |
| 18 | lemma blades_eval {f:E→ℂ}(hf:ContDiff ℝ ∞ f)(k:ℕ)(m:Fin k→E)(x:E): blades (List.ofFn m) f x=iteratedFDeriv ℝ k f x m:=by |
| 19 | induction k generalizing x with |
| 20 | |zero=>rfl |
| 21 | |succ k IH=> |
| 22 | rw [List.ofFn_succ]; change blade (m 0) (blades _ f) x =_; rw [blade,funext (IH (fun i=>m i.succ))] |
| 23 | exact (DifferentiableAt.iteratedFDeriv_succ_apply_left' (hf.differentiable_iteratedFDeriv (by change (k:WithTop ℕ∞)<(↑(⊤:ℕ∞));exact_mod_cast (show (k:ℕ∞)<⊤ by simp)) x)).symm |
| 24 | lemma norm_blades {f:E→ℂ}(hf:ContDiff ℝ ∞ f)(L:List E)(hv:∀v∈L,‖v‖≤1)(x:E): ‖blades L f x‖ ≤ ‖iteratedFDeriv ℝ L.length f x‖:=by |
| 25 | let m:=L.get; have h:List.ofFn m=L:=List.ofFn_get L |
| 26 | rw [← h,blades_eval hf,List.length_ofFn] |
| 27 | exact (ContinuousMultilinearMap.le_opNorm ..).trans (mul_le_of_le_one_right (norm_nonneg _) (Finset.prod_le_one (fun _ _=>norm_nonneg _) (fun i _=>hv _ (List.get_mem ..)))) |
| 28 | private lemma blade_double {f:E→ℂ}(hf:ContDiff ℝ ∞ f)(v w x:E):blade v (blade w f) x=fderiv ℝ (fderiv ℝ f) x v w:=by |
| 29 | unfold blade |
| 30 | rw [fderiv_clm_apply ((hf.fderiv_right (by simp)).differentiable (by simp : (∞:WithTop ℕ∞)≠0) x) (differentiableAt_const w)] |
| 31 | simp |
| 32 | lemma blade_commute {f:E→ℂ}(hf:ContDiff ℝ ∞ f)(v w:E): blade v (blade w f)=blade w (blade v f):= |
| 33 | funext fun x=> (blade_double hf ..).trans (((hf.of_le (show (2:ℕ∞ω)≤∞ by change ((2:ℕ∞):WithTop ℕ∞) ≤ (↑(⊤:ℕ∞));exact WithTop.coe_le_coe.mpr le_top)).contDiffAt.isSymmSndFDerivAt (by simp) v w).trans (blade_double hf ..).symm) |
| 34 | lemma blades_pin {f:E→ℂ}(hf:ContDiff ℝ ∞ f)(L:List E)(v:E):blade v (blades L f)=blades L (blade v f):=by |
| 35 | induction L with |
| 36 | |nil=> rfl |
| 37 | |cons w L IH=>change blade v (blade w (blades L f))=_;rw [blade_commute (blades_smooth hf L) v,IH]; rfl |
| 38 | lemma blades_add {f g:E→ℂ}(hf:ContDiff ℝ ∞ f)(hg:ContDiff ℝ ∞ g)(L:List E): blades L (f+g) = blades L f + blades L g:=by |
| 39 | induction L with |
| 40 | |nil=>rfl |
| 41 | |cons v T IH=> funext x;dsimp only [blades];rw [IH]; change blade v (_ + _) x=_; rw [blade, fderiv_add ((blades_smooth hf T).differentiable (by simp) x) ((blades_smooth hg T).differentiable (by simp) x)];rfl |
| 42 | lemma blades_sub {f g:E→ℂ}(hf:ContDiff ℝ ∞ f)(hg:ContDiff ℝ ∞ g)(L:List E): blades L (f-g) = blades L f - blades L g:=by |
| 43 | induction L with |
| 44 | |nil=>rfl |
| 45 | |cons v T IH=>funext x;dsimp only [blades]; rw [IH]; change blade v (_ - _) x=_;rw [blade,fderiv_sub ((blades_smooth hf T).differentiable (by simp) x) ((blades_smooth hg T).differentiable (by simp) x)];rfl |
| 46 | lemma blades_smul (a:ℝ){f:E→ℂ}(hf:ContDiff ℝ ∞ f)(L:List E): blades L (a • f)=a • (blades L f):=by |
| 47 | induction L with |
| 48 | |nil=>rfl |
| 49 | |cons v T IH=>funext x;dsimp only [blades];rw [IH];rw [blade,fderiv_const_smul ((blades_smooth hf T).differentiable (by simp) x)]; rfl |
| 50 | lemma blades_zero (L:List E):blades L (0:E→ℂ)=0:=by induction L with |nil=>rfl |cons v L IH=>funext x; rw [blades,IH,blade]; simp |
| 51 | lemma blades_sum {ι:Type*}(w:Finset ι) (g:ι→E→ℂ)(hg:∀i,ContDiff ℝ ∞ (g i))(L:List E) (x:E): blades L (fun y=>∑i∈w,g i y) x=∑i∈w,blades L (g i) x:=by |
| 52 | induction w using Finset.cons_induction with |
| 53 | |empty=> change blades L 0 x=0; rw [blades_zero]; rfl |
| 54 | |cons a w hw IH=> |
| 55 | rw [Finset.sum_cons]; conv_lhs => arg 2; ext; rw [Finset.sum_cons] |
| 56 | have hf : ContDiff ℝ ∞ (fun y=>∑i∈w,g i y):=ContDiff.sum (fun i _=>hg i) |
| 57 | change blades L (g a + (fun y=>∑i∈w,g i y)) x = _ |
| 58 | rw [blades_add (hg a) hf,Pi.add_apply,IH] |
| 59 | end YM.MultipleContact.Panel |