Hi all (probably Jose),
I am not sure if I am misunderstanding some fundamental GR topic or if I am using the package wrong. I would at some point like to contract over the components of the metric tensor which should involve expanding covariant derivatives into Christoffels then into derivatives of the metric (c.f. my last question). I then assume that I would need to have my elements expressed in a specific basis, say cartesian for ease. So, the way I call elements changes from u[-a] to u[{-a,-cartesian}].
So, I'm a little confused though when I take the covariant derivative of an arbitrary vector and depending on using or not using a basis get different answers. Consider the following:
Clear["Global`*"]
<< xAct`xCoba`
$PrePrint = ScreenDollarIndices
DefManifold[M,4,{a,b,c,d,e,f,i,j,k,m,n,p,q,r,s}]
DefBasis[cartesian, TangentM, {0,1,2,3}]
DefTensor[u[-a],M]
CovDToChristoffel[PDcartesian[-a][u[b]]]
CovDToChristoffel[PDcartesian[{-a,-cartesian}][u[b]]]
CovDToChristoffel[PDcartesian[-a][u[{b,cartesian}]]]
CovDToChristoffel[PDcartesian[{-a,-cartesian}][u[{b,cartesian}]]]
Which gives me 4 output lines of:

Beyond the color coding to indicate a basis, I don't think I understand why the Christoffels are vanishing in the last two examples. Appologies if this is a fundamental geometry question I'm missing.
It seems obvious now but I kind of assumed that the basis in the notation was basically book keeping until an eventual contraction over the indices. Whereas, this is much more literal in how I should think about it. Thanks Jose! :)
– akozi Jan 18 '23 at 22:00