Short notation for indix (anti) commutation

16 views
Skip to first unread message

Nils Marion

unread,
7:46 AM (15 hours ago) 7:46 AM
to xAct Tensor Computer Algebra

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?

Capture d’écran 2025-11-06 à 13.43.07.png


Best regards,

Nils


Thomas Bäckdahl

unread,
7:52 AM (15 hours ago) 7:52 AM
to xa...@googlegroups.com

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.

Nils Marion

unread,
10:24 AM (12 hours ago) 10:24 AM
to xAct Tensor Computer Algebra

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

Reply all
Reply to author
Forward
0 new messages