>
|
|
Example 1.
First create a vector bundle over M with base coordinates [t, x, y, z] and fiber coordinates [z1, z2, w1, w2].
M >
|
|
| (2.1) |
Define a metric g on M. For this example we use the Godel metric. (See (12.26) in Exact Solutions to Einstein's Field Equations.) Note that we have adjusted the metric to conform to the signature conventions [1, -1, -1, -1] used by the spinor formalism in the DifferentialGeometry package. See SpacetimeConventions.
M >
|
|
| (2.2) |
Use DGGramSchmidt to calculate an orthonormal frame F for the metric g.
M >
|
|
| (2.3) |
Use SolderForm to compute the solder form sigma from the frame F.
M >
|
|
| (2.4) |
Calculate the Ricci spinor from the solder form sigma.
M >
|
|
| (2.5) |
Example 2.
In this example we first calculate the Ricci tensor of the metric g and then use the second calling sequence for RicciSpinor.
M >
|
|
| (2.6) |
M >
|
|
| (2.7) |
Example 3.
We can check the result of Example 1 by direct computation, starting from the solder form sigma. First use the command SpinorInnerProduct to calculate the metric g3 from sigma. (Note that g3 coincides with the original metric g.)
M >
|
|
| (2.8) |
Second, calculate the curvature tensor C, the Ricci tensor R, and the Ricci scalar S.
M >
|
|
| (2.9) |
M >
|
|
| (2.10) |
M >
|
|
| (2.11) |
Calculate the trace-free Ricci tensor T.
M >
|
|
| (2.12) |
Convert T to a spinor U.
M >
|
|
| (2.13) |
Rearrange the indices of U and scale by (-1/2) to arrive at the Ricci spinor Phi1 (or Phi2).
M >
|
|
| (2.14) |