In: MakeTraceless[RiemannCD[-a,-b,-c,-d]]The output uses the implicit symmetrizations of the SymManipulator package. But we can also symmetrize explicitly by expanding the symmetries:
Out: Rabcd+2RSym1234(gacgbd)2−3d+d2+−4Sym1234(gbdRac)−2+d
In: ToCanonical@ExpandSym@MakeTraceless[RiemannCD[-a, -b, -c, -d]]Of course, this is just the Weyl tensor in d dimensions:
Out: −gbdRac−2+d+gbcRad−2+d+gadRbc−2+d−gacRbd−2+d−gadgbcR2−3d+d2+gacgbdR2−3d+d2+Rabcd
In: Simplification@ RiemannToWeyl@ExpandSym@MakeTraceless[RiemannCD[-a, -b, -c, -d]]Another new function is ConstructDDIs, which construct dimensional dependent identities (DDIs). Say we have a two-dimensional manifold. We can then ask for a list of all DDIs which have one curvature tensor and two free indices:
Out: Wabcd
In: ConstructDDIs[RiemannCD[a,b,c,d],IndexList[a,b]It returns just one DDI, namely the vanishing of the Einstein tensor. This is well know fact, namely that gravity in two dimensions is purely topological, because the Einstein-Hilbert action is equal to the two-dimensional Euler density.
Out: Rab−12gabR
As always, you can grab the newest version of xTras from its www.xact.es/xtras, or have a look at the changelog for all the new features.