I am getting problems when I try to use Antisymmetrize inside the body of an IndexSetDelayed rule like
IndexSetDelayed[B[i_, j_, k_, l_], Antisymmetrize[A[i, j, k, l]]]
For example:
In[1]:= Needs["xAct`xTras`"]
$PrePrint = ScreenDollarIndices;
$CovDFormat = "Prefix";
$CVVerbose = False;
$DefInfoQ = False;
In[6]:= DefManifold[S4, 4, IndexRange[i, t]]
DefMetric[1, met4[-i, -j], CD4, {";", "\[Del]"}, PrintAs -> "g"]
DefTensor[A[-i, -j, -k, -l], {S4}]
DefTensor[B[-i, -j, -k, -l], {S4}]
IndexSetDelayed[B[i_, j_, k_, l_], Antisymmetrize[A[i, j, k, l]]]
In[11]:= DownValues[B]
During evaluation of In[11]:= Validate::inhom: Found inhomogeneous indices: {IndexList[], IndexList[i, j, k, l]}.
During evaluation of In[11]:= Throw::nocatch: Uncaught Throw[Null] returned to top level. >>
Out[11]= Hold[Throw[Null]] °
What is the problem here?
thanks
Daniel