Hi,
This is the code I tried
{u, r, z1 , z2}::Coordinate:
{a , b , c , d , e , f#}::Indices(values={z1 , z2}, position=fixed):
{a,b,c,d}::Indices(position=fixed);
g^{a b}::InverseMetric;
g{a b}::Metric;
g{a b}::Depends( a , b , c , d);
g^{a b}::Depends( a , b , c , d);
\partial{#}::PartialDerivative;
ex4:=g^{a b} \partial{c}{g{b d}};
eliminate_metric(ex4);
I guess the problem is that I have not included the partial dependence in the metric and the error might be due to that. Can you please confirm?
Also is it possible that in this case I can restrict the dependance of the metric only on the {a,b,c,d} indices which runs over z1 and z2 only and make the metric independant of "u" and "r" coordinate. so that when i get the following contraction
\begin{align}
g^{a b}\partial{r}g{b c}=\partial{r} g^{a}{c}
\end{align}
but not the contraction in the following expression
\begin{align}
g^{a b}\partial{c} g{b c}
\end{align}