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.Analytic.Binomial |
| 2 | import Mathlib.Analysis.Calculus.BumpFunction.Convolution |
| 3 | import Mathlib.Analysis.Calculus.ContDiff.RestrictScalars |
| 4 | import Mathlib.Analysis.Calculus.ImplicitContDiff |
| 5 | import Mathlib.Analysis.Calculus.IteratedDeriv.FaaDiBruno |
| 6 | import Mathlib.Analysis.Calculus.LineDeriv.Measurable |
| 7 | import Mathlib.Analysis.Calculus.VectorField |
| 8 | import Mathlib.Analysis.Complex.RemovableSingularity |
| 9 | import Mathlib.Analysis.Normed.Group.Tannery |
| 10 | import Mathlib.Analysis.ODE.ExistUnique |
| 11 | import Mathlib.LinearAlgebra.Multilinear.Pi |
| 12 | import Mathlib.LinearAlgebra.PiTensorProduct.Generators |
| 13 | import YM.Ac.Table |
| 14 | import YM.Analysis.Polydisc |
| 15 | import YM.Bid.Drops |
| 16 | import YM.Bid.Fuels |
| 17 | import YM.Pressure.Seeds |
| 18 | import YM.Work.A05.Read |
| 19 | import YM.Work.A07 |
| 20 | |
| 21 | set_option warningAsError false |
| 22 | |
| 23 | /-! |
| 24 | # The real position filtration to use about an anchor |
| 25 | |
| 26 | Using span of exactly homogeneous expressible polynomial functions |
| 27 | (here equivalent to Tensor diagonal via real dilation differentiation |
| 28 | at zero -- so says the same as usual polynomial degree). Doesn't |
| 29 | commit to a p before testing. |
| 30 | -/ |
| 31 | set_option autoImplicit false |
| 32 | noncomputable section |
| 33 | namespace YM.MultiNext.SignedSource.Powers |
| 34 | open Function Filter Finset Tensor Work |
| 35 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators Classical |
| 36 | variable {V E F X : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 37 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 38 | |
| 39 | def home (f : V → E) (k : ℕ) := ContDiff ℝ ω f ∧ ∀ (t : ℝ) (v : V), f (t • v) = t^k • f v |
| 40 | |
| 41 | |
| 42 | lemma tensor_form {k : ℕ} {p : V→ E} (h : home p k) : p = diagonal (Tensor.coeff p k 0) := by |
| 43 | funext v |
| 44 | let W : ℝ →L[ℝ] V := (ContinuousLinearMap.id ℝ ℝ).smulRight v |
| 45 | have hw := W.iteratedFDeriv_comp_right h.1 0 (show (k:WithTop ℕ∞) ≤ ω from le_top) |
| 46 | have hh : (k.factorial:ℝ) • p v=(iteratedFDeriv ℝ k p 0) (fun _ => v) := by |
| 47 | have ht := congrArg (fun F : T ℝ E k => F (fun _ => 1)) hw |
| 48 | rw [map_zero] at ht |
| 49 | change iteratedDeriv k _ 0=(iteratedFDeriv ℝ k p 0) (fun _ => (1:ℝ) • v) at ht |
| 50 | rw [one_smul, show p ∘ W = (fun t : ℝ => t^k • p v) from funext (fun t => h.2 t v), |
| 51 | iteratedDeriv_smul_const (contDiffAt_id.pow _), iteratedDeriv_fun_pow_zero] at ht |
| 52 | simpa using ht |
| 53 | change _=( (k.factorial:ℝ)⁻¹ • ((iteratedFDeriv ℝ k p 0) _)) |
| 54 | rw [← hh,inv_smul_smul₀ (by positivity)] |
| 55 | |
| 56 | /-- Space of polynomial functions of degree ≤k. -/ |
| 57 | def space (V E : Type*) [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedAddCommGroup E] [NormedSpace ℝ E] (k : ℕ) := |
| 58 | Submodule.span ℝ {f : V → E|∃ i,i ≤ k ∧ home f i} |
| 59 | variable {d k : ℕ} {f f' : V→ E} {g : V→ F} |
| 60 | |
| 61 | lemma residence (h : home f k) (hk : k ≤ d) : f∈space V E d := Submodule.subset_span (Set.mem_setOf.mpr ⟨_,hk,h⟩) |
| 62 | lemma constants (x : E) (i : ℕ) : (fun _ : V => x)∈space V E i := residence |
| 63 | (k:=0) ⟨contDiff_const,fun _ _ => by simp⟩ (Nat.zero_le _) |
| 64 | lemma add (h : f∈space V E k) (hh : f'∈space V E k) : (fun x => f x + f' x) ∈ space V E k := (space ..).add_mem h hh |
| 65 | lemma smul (h : f∈space V E k) (v : ℝ) : (fun x => v • f x) ∈ space V E k := (space ..).smul_mem _ h |
| 66 | lemma sums {i : Type*} (s : Finset i) (R : i→V→E) (h : ∀ j∈s,R j∈space V E k) : |
| 67 | (fun v => ∑ j∈s,R j v)∈space V E k := by |
| 68 | rw [← show (∑ j∈s,R j)= (fun v => ∑ j∈s,R j v) from funext fun _ => Finset.sum_apply ..]; exact (space ..).sum_mem h |
| 69 | lemma widen (k d : ℕ) (h : k ≤ d) : space V E k ≤ space V E d := |
| 70 | Submodule.span_mono (fun _ ⟨j,hj,hv⟩ => ⟨j,hj.trans h,hv⟩) |
| 71 | |
| 72 | lemma next {p : (V→E)→Prop} |
| 73 | (hi : ∀ f∈({f : V → E|∃ i,i ≤ k ∧ home f i} : Set _), p f) (hz : p 0) |
| 74 | (ha : ∀ (x y : V→E), p x → p y → p (x+y)) (hs : ∀ (a : ℝ) (x : V→E),p x→p (a • x)) (h : f∈space V E k) : p f := |
| 75 | Submodule.span_induction (p:=fun i _ => p i) hi hz (fun x y _ _ => ha x y) (fun a x _ => hs a x) h |
| 76 | |
| 77 | lemma carried (Y : E→L[ℝ]F) (h : f ∈ space V E k) : (fun x => Y (f x))∈space V F k := by |
| 78 | refine next (p:=fun f => (fun x => Y (f x))∈space V F k) (k:=k) ?_ ?_ ?_ ?_ h |
| 79 | · rintro f ⟨i,hi,hH,h⟩; exact residence ⟨Y.contDiff.comp hH, fun v x => by dsimp only; rw [h v,map_smul]⟩ hi |
| 80 | · simp only [Pi.zero_apply, map_zero]; exact constants 0 k |
| 81 | · intro f g h1 h2; simp only [Pi.add_apply,map_add]; exact add h1 h2 |
| 82 | intro a x hx; simp only [Pi.smul_apply,map_smul]; exact smul hx a |
| 83 | |
| 84 | lemma genie (Y : E →L[ℝ] F →L[ℝ] X) (h : f∈space V E k) (hg : g∈space V F d) : |
| 85 | (fun x => Y (f x) (g x))∈space V X (k+d) := by |
| 86 | let Q (f : V→E) (g : V→F) := (fun x => Y (f x) (g x))∈space V X (k+d) |
| 87 | refine next (p:=fun f => Q f g) ?_ ?_ ?_ ?_ h |
| 88 | · rintro f ⟨i,hi,hc⟩ |
| 89 | refine next (p:=Q f) ?_ ?_ ?_ ?_ hg |
| 90 | · rintro g ⟨j,hj,ht⟩ |
| 91 | exact residence ⟨(Y.contDiff.comp hc.1).clm_apply ht.1,fun t q => by dsimp only; simp only [hc.2,ht.2,map_smul,smul_apply, |
| 92 | smul_smul, pow_add,mul_comm]⟩ (Nat.add_le_add hi hj) |
| 93 | · simp only [Q,Pi.zero_apply, map_zero]; exact constants 0 (k+d) |
| 94 | · intro x y hh hi; simp only [Q,Pi.add_apply,map_add]; exact add hh hi |
| 95 | intro a x hx; simp only [Q,Pi.smul_apply,map_smul]; exact smul hx a |
| 96 | · simp only [Q,Pi.zero_apply,map_zero,zero_apply]; exact constants 0 (k+d) |
| 97 | · intro i j hi hj; simp only [Q,Pi.add_apply,map_add,add_apply]; exact add hi hj |
| 98 | intro a x hx; simp only [Q,Pi.smul_apply,map_smul,smul_apply]; exact smul hx a |
| 99 | |
| 100 | lemma interact {n : ℕ} (P : V → T E F n) (u : Fin n → V→E) (a b : ℕ) (k : Fin n→ℕ) |
| 101 | (hA : P∈space V (T E F n) a) (h : ∀ i, u i∈space V E (k i)) (hx : a +∑ i,k i ≤ b) : (fun x => P x (fun i => u i x))∈space V F b := by |
| 102 | induction n generalizing a with |
| 103 | | zero => |
| 104 | have he : a ≤ b := by simpa using hx |
| 105 | let i : (T E F 0) →L[ℝ] F := ContinuousMultilinearMap.apply ℝ (fun i => E) F (fun _ => 0) |
| 106 | convert carried i (widen _ _ he hA) using 1; funext x; exact congr_arg (P x) (Subsingleton.elim ..) |
| 107 | | succ n ih => |
| 108 | let Y : T E F (n+1) →L[ℝ] E →L[ℝ] T E F n := (continuousMultilinearCurryLeftEquiv ℝ (fun _ : Fin (n+1) => E) F).toContinuousLinearEquiv |
| 109 | have he := genie Y hA (h 0) |
| 110 | have ht : a + k 0 + ∑ i,k (i : Fin n).succ ≤ b := by rw [Fin.sum_univ_succ] at hx; omega |
| 111 | convert ih (fun x => Y (P x) (u 0 x)) (u ∘ Fin.succ) _ (k ∘ Fin.succ) he (fun i => h _) ht using 1 |
| 112 | funext x |
| 113 | exact congr_arg (P x) (show (fun i => u i x)=Fin.cons (u 0 x) (fun i => u i.succ x) from funext fun i => Fin.cases (by simp) (fun j => by simp) i) |
| 114 | |
| 115 | lemma many {n : ℕ} (A : T E F n) (u : Fin n → V→E) (b : ℕ) (k : Fin n→ℕ) |
| 116 | (h : ∀ i,u i∈space V E (k i)) (hx : ∑ i,k i ≤ b) : (fun x => A (fun i => u i x))∈space V F b := |
| 117 | interact (fun _ => A) u 0 b k (constants A 0) h (by rw [zero_add]; exact hx) |
| 118 | |
| 119 | |
| 120 | end YM.MultiNext.SignedSource.Powers |