Hi!
On 2012-10-05 02:46, Leo Stein wrote:
> Whoops, sorry about that ... I didn't realize that VarD imposed
> symmetries, even though I recently looked at the code! I should have
> scrolled down farther.
>
> Regarding having several distinct traces: it seems to me you need to
> be able to decompose some tensor into its irreps in order to do so. Is
> that something the group theory part of xTensor knows how to do? I
> know that the spinors package knows how to do this.
The spinors package only gives a template for the irreducible
decomposition, but the SymManipulator package does the complete
irreducible decomposition for spinors. Unfortunately this is much more
difficult with tensors. We have been working on it and discussed things,
but nothing is released. I think this is what is needed: The first part
you have to do is to write the expression in terms of Young
symmetrizers, then you have to split all these into trace and trace-free
parts with respect to the symmetric indices. Then you have to consider
Hodge duals of all sets of antisymmetric indices larger than half the
dimension. Finally if your space is even dimensional you have to
consider all antisymmetric index sets with number of indices equal to
half the dimension. You have to split these tensors into self dual and
anti self dual parts.
I am not even sure that this would give you a unique splitting -- if not
we can at least hope for a canonical splitting.
The most difficult part of this is to construct tools to handle the
Young symmetrizers. I wrote the entire SymManipulator package to handle
symmetrized tensor expressions so I could do the irreducible
decomposition of spinors. I suppose something similar has to be written
for Young symmetrizers to do this for tensors.
Regards
Thomas
>>>>> Yes, you can teach Mma that a tensor should be traceless�or that the