3
/* This file proves that the Schwarzschild line element satisfies
4
the Einstein vacuum equations as well as computing other tensors
6
/* .mc version is presently available in DOE MACSYMA */
8
/* the following allows the batch program to run by presetting flags */
10
/* this calls for the rational simplification of geometrical objects */
12
/* the dimension of the manifold */
14
/* the coordinate labels */
16
/* THIS IS THE SCHWARZSCHILD METRIC IN STANDARD COORDINATES */
18
MATRIX([1/(1-2*M/X),0,0,0],[0,X^2,0,0],[0,0,X^2*SIN(Y)^2,0],[0,0,0,2*M/X-1]);
19
/* computes metric inverse and determines diagonality */
21
/* computes and displays mixed Christoffel symbols */
23
/* computes and ratsimps Ricci tensor */
25
/* computes scalar curvature */
27
/* computes Riemann tensor */
29
/* computes contravariant Riemann tensor */
31
/* computes the Kretchmann invariant Rijkl^2 */