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.Spin.Close |
| 2 | |
| 3 | /-! |
| 4 | # Algebraic criterion to descend weak matrices, proof (avoids Spin cover integration) |
| 5 | |
| 6 | Admissible orth data in fixed closed constrained real subgroup of intertwiner space. |
| 7 | No complete reducibility of actual adjoint assumed. Only perfect commutator identities |
| 8 | needed if supply `Limbs`. P(n) canonical function of D (pre-L vs finite here at IN continuum levels). |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.Spin |
| 13 | open Function Set Filter |
| 14 | open scoped Topology BigOperators |
| 15 | variable {I : Type*} [Fintype I] [Nonempty I] {X : Type*} |
| 16 | variable [NormedAddCommGroup X] [NormedSpace ℂ X] [CompleteSpace X] |
| 17 | |
| 18 | abbrev Mat (X : Type*) [NormedAddCommGroup X] [NormedSpace ℂ X] := X →L[ℂ] X |
| 19 | abbrev End (X : Type*) [NormedAddCommGroup X] [NormedSpace ℂ X] := Mat (Mat X) |
| 20 | |
| 21 | def effect (f g : Mat X) : End X := (ContinuousLinearMap.mul ℂ _ f)-((ContinuousLinearMap.mul ℂ _).flip g) |
| 22 | omit [CompleteSpace X] in |
| 23 | lemma atAct (f g i : Mat X) : effect f g i=f*i-i*g := rfl |
| 24 | omit [Fintype I] [Nonempty I] [CompleteSpace X] in |
| 25 | lemma relations (l r : I → I) (B C : I → Mat X) (h : Relations B l r) (hp : Relations C l r) : |
| 26 | Relations (fun i => effect (B i) (C i)) l r := by |
| 27 | intro i; ext1 x |
| 28 | change effect (B i) (C i) x=effect (B (l i)) (C (l i)) (effect (B (r i)) (C (r i)) x)-effect (B (r i)) (C (r i)) (effect (B (l i)) (C (l i)) x) |
| 29 | simp_rw [atAct] -- rhs comp rewrite |
| 30 | -- substitute only left |
| 31 | conv_lhs => rw [h i,hp i] |
| 32 | noncomm_ring |
| 33 | omit [CompleteSpace X] in |
| 34 | lemma cont (g : Mat X) : Continuous fun f : Mat X => effect f g := |
| 35 | Continuous.sub (ContinuousLinearMap.mul ℂ (Mat X)).continuous continuous_const |
| 36 | |
| 37 | def preserves (S : AddSubgroup (Mat X)) : Subring (End X) where |
| 38 | carrier := {P | MapsTo P S S} |
| 39 | add_mem' {_ _} hf hg _ hx := S.add_mem (hf hx) (hg hx) |
| 40 | neg_mem' {_} hf _ hx := S.neg_mem (hf hx) |
| 41 | mul_mem' {_ _} hf hg _ hx := hf (hg hx) |
| 42 | one_mem' _ hx := hx |
| 43 | zero_mem' _ _ := S.zero_mem |
| 44 | |
| 45 | omit [CompleteSpace X] in |
| 46 | lemma closed (S : AddSubgroup (Mat X)) (h : IsClosed (S : Set (Mat X))) : IsClosed (preserves S : Set (End X)) := by |
| 47 | rw [show (preserves S:Set (End X))=⋂ x:S, (fun u : End X => u x.val) ⁻¹' S from ?eq] |
| 48 | · exact isClosed_iInter fun x => h.preimage ((ContinuousLinearMap.apply ℂ (Mat X) x.val).continuous) |
| 49 | case eq => |
| 50 | ext x; simp only [mem_iInter]; constructor |
| 51 | · exact fun h i => (show MapsTo x S S from h) i.property |
| 52 | exact fun h => (show MapsTo x S S from fun i hi => h ⟨i,hi⟩) |
| 53 | |
| 54 | /-- c's Casimir polynomial. Powers ascending, Horner. -/ |
| 55 | def evaluate (p : List ℝ) (A : End X) : End X := p.foldr (fun i s => (i:ℂ) • 1 + A*s) 0 |
| 56 | |
| 57 | def wave (p : List ℝ) (B C : I → Mat X) : End X := evaluate p (∑ i, effect (B i) (C i)^2) -- negative semidef free |
| 58 | |
| 59 | omit [CompleteSpace X] [Nonempty I] in |
| 60 | lemma wave_c (p : List ℝ) (B : I → ℕ → Mat X) (C' C : I → Mat X) |
| 61 | (h : ∀ i, Tendsto (B i) atTop (𝓝 (C' i))) : Tendsto (fun n => wave p (fun i => B i n) C) atTop (𝓝 (wave p C' C)) := by |
| 62 | induction p with |
| 63 | | nil => exact tendsto_const_nhds |
| 64 | | cons a p ih => exact Tendsto.add tendsto_const_nhds (Tendsto.mul (tendsto_finsetSum Finset.univ |
| 65 | (fun i hi => ((cont (C i)).continuousAt.tendsto.comp (h i)).pow 2)) ih) |
| 66 | |
| 67 | /-- Concrete closed inputs. Don't assume normal S on the ACTUAL one; root polynomial needs construction on C only. -/ |
| 68 | structure Works (p : List ℝ) (C : I → Mat X) : Prop where |
| 69 | idempotent : wave p C C*wave p C C=wave p C C |
| 70 | fixes : wave p C C 1=1 |
| 71 | kills (i : I) : effect (C i) (C i) * wave p C C = 0 |
| 72 | |
| 73 | /-- e.g. commute with signed reality and H. -/ |
| 74 | def Tracks (S : AddSubgroup (Mat X)) (p : List ℝ) (C : I → Mat X) (B : I → Mat X) := |
| 75 | wave p B C ∈ preserves S ∧ ∀ i, Commute (wave p B C) (effect (B i) (C i)) |
| 76 | |
| 77 | lemma realize (B : ℕ → I → Mat X) (C : I → Mat X) (l r : I → I) (hb : ∀ i, Tendsto (fun n => B n i) atTop (𝓝 (C i))) |
| 78 | (hf : ∀ᶠ n in atTop, Relations (B n) l r) (hc : Relations C l r) (p : List ℝ) (hA : Works p C) (S : AddSubgroup (Mat X)) |
| 79 | (h : 1∈S) (hs : IsClosed (S : Set (Mat X))) (ht : ∀ᶠ i in atTop, Tracks S p C (B i)) : ∀ᶠ i in atTop, |
| 80 | ∃ f : Mat X, IsUnit f ∧ f∈S ∧ ∀ j, B i j*f = f*C j := by |
| 81 | let D j n := effect (B n j) (C j) |
| 82 | have he j := (cont (C j)).continuousAt (x := C j) |>.tendsto.comp (hb j) |
| 83 | have hv : ∀ᶠ i in atTop, Relations (flip D i) l r := hf.mono (fun i hi => relations _ _ _ _ hi hc) |
| 84 | obtain ⟨Q,hQ,hy⟩ := onto _ _ D _ he hv _ _ (wave_c p (flip B) C C hb) hA.idempotent hA.kills (preserves S) |
| 85 | (closed S hs) (ht.mono (fun i hi => hi.1)) (ht.mono (fun i hi => hi.2)) |
| 86 | let f n := Q n 1 |
| 87 | have hp : Tendsto f atTop (𝓝 1) := by |
| 88 | rw [← hA.fixes] |
| 89 | exact ((ContinuousLinearMap.apply ℂ (Mat X) (1 : Mat X)).continuous.tendsto _).comp hQ |
| 90 | filter_upwards [hy, hp.eventually (Units.isOpen.mem_nhds isUnit_one)] with i hi hw |
| 91 | refine ⟨f i,hw, (show MapsTo (Q i) S S from hi.1) h,fun j => sub_eq_zero.mp ?_⟩ |
| 92 | change effect _ _ ((Q i) 1)=0 |
| 93 | exact congr_arg (fun A : End X => A 1) (hi.2.2 j).2 |
| 94 | end YM.Spin |