Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

I have three examples

(I) Combine automatically assumes object commuting.
ex:=(A^a)^\alpha (B^b)_{\alpha};

gives, (B^b A^a). How did it know they are commuting?

(II) If I explicitly tell A^a and B^b AntiCommute then i.e.

ex:=(A^a)^\alpha (B^b)_{\alpha};

Gives (-B^b A^a). This is technically correct, but, would prefer it still gives (A^a B^b).

(III) This one is perhaps even more serious?

ex:=(A^a)^\alpha (B^b)_{\alpha};

still gives, (B^b A^a). It fails to understand that I told A^a and B^b should not be commuted.

I think all of the problems will go away once it just gives (A^a B^b) as the answer in all the cases. Please have a look. Thanks

asked in Bug reports by (560 points)

1 Answer

0 votes

I can confirm the behaviour of your code.

Just a comment: It seems that combine privilege the position of the indices (lower like a covariant and upper like contravariant) over the property of the objects.


answered by (7k points)