Is there a software tool (perhaps Mathematica extension?) designed to help with doing algebraic manipulations of non-commutative objects? Specifically, what I'm after is an interface along the lines of
set [A,B] = C
set [A,D] = A
set [A,C] = 0
move_right(ABCD, A)
==> BCDA + BCA + C^2 D
I've implemented something like this in Python, but before sinking any more time into it I wanted to check I wasn't reinventing the wheel.
//.
orReplaceRepeated
) to expand out the commutators and move a particular operator to the right. There are also third-part packages written likeNCAlgebra
, although I don't know if that has this specific operation. $\endgroup$