4-dimensional anti-de Sitter spacetime
This Jupyter/SageMath worksheet presents the computation of the curvature tensor and the Ricci tensor of the 4-dimensional anti-de Sitter spacetime . See the SageManifolds home page for more details about tensor calculus with the free computer algebra system SageMath.
We declare first the spacetime manifold and the chart of Poincaré coordinates:
The AdS metric is then defined as
The Christoffel symbols are (the vanishing ones and those that can be deduced by symmetry on the last two indices are not displayed)
The components of the Riemann curvature tensor are
while those of the Ricci tensor are
Another view of the same thing:
The Ricci scalar turns out to be constant (as on any maximally symmetric spacetime):
Finally, we check that the Einstein equation with the negative cosmological constant is satisfied: