AdS3 metrics using SageManifolds

  • Thread starter Thread starter ShayanJ
  • Start date Start date
AI Thread Summary
The discussion revolves around the implementation of SageManifolds to model the AdS_3 spacetime. The user has created a manifold for AdS_3 and its polar coordinates, along with a four-dimensional R22 manifold and a Lorentzian metric. They are seeking guidance on how to associate multiple metrics, specifically the global and Poincaré coordinates, to a single manifold since they currently have one metric commented out in their code. The user also references a code example for AdS_4, suggesting that it could be adapted for AdS_3, indicating a desire for clarity on handling multiple coordinate systems within the SageManifolds framework.
ShayanJ
Science Advisor
Insights Author
Messages
2,801
Reaction score
606
I've written the following code using SageManifolds both for practice and for when I need different quantities related to the ## AdS_3 ## spacetime.
Code:
AdS3=Manifold(3,'AdS3')

AdS3_Polar=AdS3.open_subset('AdS3_Polar')
#AdS3_Poincare=AdS3.open_subset('AdS3_Poincare')

Global.<tau,rho,phi>=AdS3_Polar.chart(r'tau:(-oo,+oo) rho:(0,+oo) phi:(0,2*pi)')
#Poincare.<t,y,z>=AdS3_Poincare.chart(r't:(-oo,+oo) y:(-oo,+oo) z:(0,+oo)')

R22=Manifold(4,'R22')
X22.<X,Y,Z,W>=R22.chart()
h=R22.metric('h',signature=0)
h[0,0],h[1,1],h[2,2],h[3,3]=-1,-1,1,1

var('R',domain='real')
assume(R>0)
Phi=AdS3.diff_map( R22, [ R*cosh(rho)*cos(tau),R*cosh(rho)*sin(tau),R*sinh(rho)*cos(phi),R*sinh(rho)*sin(phi) ] , name='Phi' )
#Phi=AdS3.diff_map( R22, [ (R/(2*z))*(y^2-t^2+z^2+1),R*t/z,R*y/z,(R/(2*z))*(y^2-t^2+z^2-1) ], name='Phi' )

g=AdS3.lorentzian_metric('g')
g.set( Phi.pullback(h) )

#g=AdS3.lorentzian_metric('g')
#g.set( Phi.pullback(h) )

As you can see, the codes for computing the metric in the Poincare coordinates are commented. That's because I need the metric in both global and Poincare coordinates but I don't know how to associate both of them to the manifold. So one of them is commented at a given time. How can I associate more than one metric to a single manifold?

Thanks
 
Physics news on Phys.org
You can find some SageManifolds code for AdS spacetime, including the use of both global and Poincaré coordinates, here.
This is for ## AdS_4 ##, but I guess you can easily adapt it to ## AdS_3 ##.
 
Back
Top