Recently I encountered an odd result while using Sagemanifolds to calculate the Ricci scalar for a specific 2D metric. I was trying to reproduce Eq. (37) of this paper, but the result was quite different. Here is the code
N = Manifold(2,'N')The result is a high order rational function not resembling the paper result. However, taking
R = N.scalar_field(1/(4*M^2)*(sqrt(1-J^2/M^4)-2)/sqrt(1-J^2/M^4),name='R')Results True.
How to express the Ricci scalar as shown in the paper?
Thanks in advance!