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.MultiNext.SIGNED_SOURCE_CONTINUATION.Powers |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! |
| 6 | # Translation lowers certain position degrees |
| 7 | |
| 8 | All expressions at real positions first, so we can account grad |
| 9 | and averaged link calculus. Neither translation nor gradient in |
| 10 | this file is modulo a periodic torus. Shift along the full UNIT |
| 11 | segment (not necessarily times L^-1), giving power with values in |
| 12 | bounded continuous paths for later hol. -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.MultiNext.SignedSource.Powers |
| 16 | open Function Filter Finset Tensor Work Set MeasureTheory |
| 17 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators Classical |
| 18 | variable {V E F : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 20 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 21 | |
| 22 | def shade (n : ℕ) : E →L[ℝ] C(unitInterval,E) := |
| 23 | let f : E →ₗ[ℝ] C(unitInterval,E) := {toFun := fun x => ⟨fun t => (t:ℝ)^n • x,(continuous_subtype_val.pow n).smul continuous_const⟩, |
| 24 | map_add' := fun i j => ContinuousMap.ext fun t => (by change ((t:ℝ)^n) • (i+j)=((t:ℝ)^n) • i+((t:ℝ)^n) • j; rw [smul_add]), |
| 25 | map_smul' := fun r j => ContinuousMap.ext fun t => (by change ((t:ℝ)^n) • (r•j)=r • (((t:ℝ)^n) • j); rw [smul_comm]) } |
| 26 | f.toContinuousLinearMap |
| 27 | |
| 28 | |
| 29 | private def picks {k : ℕ} (A : T V E k) (x : V) (f : Finset (Fin k)) (v : V) := A (f.piecewise (fun _ => v) (fun _ => x)) |
| 30 | |
| 31 | variable {k d : ℕ} |
| 32 | omit [FiniteDimensional ℝ E] in |
| 33 | private theorem scaling (A : T V E k) (x : V) (f : Finset (Fin k)) (t : ℝ) (v : V) : |
| 34 | picks A x f (t • v) = t^f.card • picks A x f v ∧ picks A (t • x) f v=t^fᶜ.card • picks A x f v := by |
| 35 | unfold picks |
| 36 | let Y := f.piecewise (fun _ => v) (fun _ => x) |
| 37 | have hh (s : Finset (Fin k)) : A (fun i => (if i∈s then t else 1) • Y i)=t^s.card • A Y := by |
| 38 | rw [A.map_smul_univ, prod_ite_mem]; simp |
| 39 | constructor |
| 40 | · rw [← hh f] |
| 41 | apply congrArg A; funext i; by_cases H:i∈f <;> simp [Y,H,Finset.piecewise] |
| 42 | rw [← hh fᶜ]; apply congrArg A; funext i; by_cases H:i∈f <;> simp [Y,H,Finset.piecewise] |
| 43 | |
| 44 | omit [FiniteDimensional ℝ E] in |
| 45 | private lemma blend (A : T V E k) (x : V) (f : Finset (Fin k)) : home (picks A x f) f.card := by |
| 46 | refine ⟨A.contDiff.comp (contDiff_pi.mpr (fun i => ?_)),fun t v => (scaling A x f t v).1⟩ |
| 47 | change ContDiff ℝ ω fun v : V => f.piecewise (fun _ => v) (fun _ => x) i |
| 48 | by_cases he : i∈ f |
| 49 | · simp only [Finset.piecewise,if_pos he]; exact contDiff_id |
| 50 | simp only [Finset.piecewise,if_neg he]; exact contDiff_const |
| 51 | |
| 52 | /-- Power into time-polynomial paths. -/ |
| 53 | private def sprig (A : T V E k) (x : V) (B : Finset (Fin k)) (v : V) : C(unitInterval,E) := shade Bᶜ.card (picks A x B v) |
| 54 | |
| 55 | def sparse (A : T V E k) (x v : V) : C(unitInterval,E) := ∑ B ∈ Finset.univ.erase (Finset.univ : Finset (Fin k)), sprig A x B v |
| 56 | |
| 57 | lemma sparse_mem (A : T V E k) (x : V) : (fun v => sparse A x v)∈ space V C(unitInterval,E) (k-1) := by |
| 58 | unfold sparse; refine sums (k:=k-1) _ (sprig A x) fun i hi => ?_ |
| 59 | refine carried (shade iᶜ.card) (residence (blend A x i) ?_) |
| 60 | have he := Finset.card_lt_card (Finset.ssubset_iff_subset_ne.mpr ⟨Finset.subset_univ i,(mem_erase.mp hi).1⟩) |
| 61 | rw [card_univ,Fintype.card_fin] at he; omega |
| 62 | |
| 63 | lemma diag_sparse (A : T V E k) (x : V) (v : V) (s : unitInterval) : |
| 64 | diagonal A (v + (s:ℝ) • x) = diagonal A v + sparse A x v s := by |
| 65 | let f (B) := picks A ((s:ℝ) • x) B v |
| 66 | change A ((fun _ => v)+(fun _ => (s:ℝ) • x)) = _ |
| 67 | rw [A.map_add_univ]; change ∑ B,f B= _ |
| 68 | rw [← Finset.add_sum_erase _ f (Finset.mem_univ (Finset.univ : Finset (Fin k))), |
| 69 | show f _=diagonal A v from congrArg A (by ext; simp [Finset.piecewise])] |
| 70 | unfold sparse; rw [ContinuousMap.sum_apply]; apply congrArg (Tensor.diagonal A v+·); exact sum_congr rfl fun i _ => (scaling A x i (s:ℝ) v).2 |
| 71 | |
| 72 | /-- Differencing an arbitrary polynomial yields polynomial of one lower degree. -/ |
| 73 | lemma discrete {f : V → E} (x : V) (h : f ∈ space V E k) : (fun v => f (v+x)-f v)∈space V E (k-1) := by |
| 74 | let Q (f : V→E) := (fun v => f (v+x)-f v)∈space V E (k-1) |
| 75 | refine next (p:=Q) (k:=k) ?_ ?_ ?_ ?_ h |
| 76 | · rintro f ⟨i,hi,hf⟩ |
| 77 | let A := Tensor.coeff f i 0 |
| 78 | have hp : f=diagonal A := tensor_form hf |
| 79 | let L : C(unitInterval,E) →L[ℝ] E := ContinuousMap.evalCLM ℝ 1 |
| 80 | have he : (fun v => f (v+x)-f v)=(fun v => L (sparse A x v)) := funext fun v => by |
| 81 | change _ = sparse A x v 1; conv_lhs => rw [hp, ← one_smul ℝ x, ← show ((1:unitInterval):ℝ)=1 from rfl,diag_sparse,add_sub_cancel_left] |
| 82 | unfold Q; rw [he]; exact widen _ _ (Nat.sub_le_sub_right hi _) (carried L (sparse_mem A x)) |
| 83 | · unfold Q; simp only [Pi.zero_apply,sub_zero]; exact constants 0 _ |
| 84 | · intro u v hu hv; unfold Q; rw [show (fun i => (u+v) (i+x) - (u+v) i)=(fun i => u (i+x)-u i + (v (i+x)-v i)) from funext fun i => by simp; abel] |
| 85 | exact add hu hv |
| 86 | intro c u hu; unfold Q; simp only [Pi.smul_apply,← smul_sub]; exact smul hu c |
| 87 | end YM.MultiNext.SignedSource.Powers |