If the action of the algebra is isometric, as would be the case for Riemannian or pseudo-Riemannian manifolds endowed with a metric and the symmetry groups SO(N) and SO (P, Q), respectively, one can then contract upper and lower indices (with the metric tensor) to obtain more interesting structures. For the quadratic Casimir invariant, this is the Laplacian. Quartic Casimir operators allow one to square the stress–energy tensor, giving rise to the Yang-Mills action. The Coleman–Mandula theorem restricts the form that these can take, when one considers ordinary Lie algebras. However, the Lie superalgebras are able to evade the premises of the Coleman–Mandula theorem, and can be used to mix together space and internal symmetries.