Hi, when I try to collect all powers, but I have a negative power from the product, then collect_factors doesn't work. Applying expand_power before that has no effect either.
for example:
collect_factors($a b c (a b c)**(-1)$);
is not equel 1, but still abc (abc)**(-1).