Dear xAct community,
I wanted to know if it is possible to automatically replace an expression involving (anti-)commutation of indices, such as
Ta Rb ± Tb Ra
by a compact (anti)symmetrized form like
T_[a R_b]
in the output of xAct.
Is there a built-in function or a recommended way to achieve this?

Best regards,
Nils
Hi!
Yes. You can use the SymMaipulator package for this.
See for instance
https://groups.google.com/g/xact/c/O6oTsKzfd8c/m/oZjINA3oAgAJ
for an example on how this can be done.
It is important to not have several terms in the left hand side of
your replacement rules. Therefore one needs to replace one term by
the sum of its symmetric and antisymmetric parts.
Regards
Thomas
--
You received this message because you are subscribed to the Google Groups "xAct Tensor Computer Algebra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xact+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xact/4072f35a-b788-4e71-a2a9-f0ea28d8e6ecn%40googlegroups.com.
Dear Thomas,
Thank you very much for your quick reply. I had completely missed the SymManipulator package, which looks like it perfectly fits my needs.
Have a great day,
Nils