Define manifold as a whole
This notebook illustrates how to define a manifold as a whole using Atlas package. To do this we use 3-sphere as an example.
What we do?
- 3-dimensional sphere is defined as an Atlas {N, S}=S3 of two charts - north (N) and south (S). Each chart has its own coframe 1-forms, frame vectors etc.
One can use the mapping procedure to define chart changes and the pullback operator to transfer forms and tensors from one chart into another.
| Constants[c1,c2,...,ci,...,cn] | c1,c2,...,ci,...,cn - constants identifiers. |
| Curvature[id] | id - variable - curvature identifier. |
Necessary functions.
Sphere:
First of all we load Atlas package:
| Out[8]= |  |
| Out[9]= |  |
| Out[10]= |  |
| Out[11]= |  |
North chart of the sphere - N.
| Out[12]= |  |
Coframe for the north chart:
| Out[13]= |  |
Frame for the north chart:
| Out[14]= |  |
Metric for the north chart:
| Out[15]= |  |
Connection calculation for the north chart:
| Out[16]= |  |
Curvature calculation for the north chart:
| Out[17]= |  |
Riemanninan tensor calculation:
| Out[18]= |  |
Ricci tensor calculation:
| Out[19]= |  |
Ricci scalar calculation:
| Out[20]= |  |
South chart of the sphere - S.
| Out[21]= |  |
Coframe declaration for the south chart:
| Out[22]= |  |
Frame declaration for the south chart:
| Out[23]= |  |
Metric declaration for the south chart:
| Out[24]= |  |
Connection calculation for the south chart:
| Out[25]= |  |
Curvature calculation for the south chart:
| Out[26]= |  |
Riemannian tensor calculation for the south chart:
| Out[27]= |  |
Ricci tensor calculation for the south chart:
| Out[28]= |  |
Ricci scalar calculation for the south chart:
| Out[29]= |  |
Chart changings -
and 
Chart changing

from S to N:

.
| Out[30]= |  |
| Out[31]= |  |
| Out[32]= |  |
Out[33]//TableForm= |
| |  |
Chart changing

from N to S:

.
| Out[34]= |  |
| Out[35]= |  |
Out[36]//TableForm= |
| |  |
Verify calculation of Riemannian and Ricci tensor using restriction operator `&/`:
| Out[37]= |  |
| Out[38]= |  |
| Out[39]= |  |
| Out[40]= |  |
For metric tensors we have:
| Out[41]= |  |
| Out[42]= |  |
Out[43]//TableForm= |
| |  |