My print out for rct (ricci curvature tensor) attempts to partially differentiate some terms however for my work i need my solution to be in terms of partial derivatives (hopefully this makes sense). It’s towards Birkhoffs uniqueness theorem if this adds context. thankyou in advance
d = 4 ; y = {t, r, \[Theta], \[Phi]} ;
G = {{-(E^(2 X[t, r])), 0, 0, 0}, {0, (E^(2 Y[t, r])), 0, 0}, {0, 0,
r^2, 0}, {0, 0, 0, r^2 Sin[\[Theta]]^2}};
IG = Inverse[G];
\[CapitalGamma] =
Table[1/2*
Sum[IG[[i,
l]]*(D[G[[j, l]], y[[k]]] + D[G[[k, l]], y[[j]]] -
D[G[[j, k]], y[[l]]]), {l, 1, d}], {i, 1, d}, {j, 1, d}, {k,
1, d}];
Rct = Table[
D[\[CapitalGamma] [[i, l, j]], y[[k]]] -
D[\[CapitalGamma] [[i, l, k]], y[[j]]] +
Sum[\[CapitalGamma] [[i, k, a]]*\[CapitalGamma] [[a, l, j]], {a,
1, d}] -
Sum[\[CapitalGamma] [[i, l, b]]*\[CapitalGamma] [[b, k, j]], {b,
1, d}], {i, 1, d}, {j, 1, d}, {k, 1, d}, {l, 1, d}];
rct = Table[Sum[Rct[[c, i, c, j]], {c, 1, d}], {i, 1, d}, {j, 1, d}];
rct

