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

When I use 'sort_product' in the following code

{\mu,\nu,\rho,sigma}::Indices(vector).
a^{\mu}::SelfNonCommuting.
{a^{\mu},b^{\mu}}::NonCommuting.
\nabla{#}::Derivative.
tr{#}::Trace.
ex:=tr{a^{\mu}\nabla^{\nu}{a^{\mu}}b^{\nu}\nabla^{\rho}{a^{\rho}}};
sort_product(_);
sort_product(_);

I find that cadabra don't know where to stop. This bug is similar to this and this.

in Bug reports by (1.4k points)

Please log in or register to answer this question.

...