I do not think that reimplementing hashable_content is the best idea.
These objects are different even though after some operations they can
be shown to evaluate to the same thing.

Why do you need the permutations? Can't you just add some degeneracy
factor if you need the sum of the permutations? And do you think that
your permutation method makes sense for expressions like Tr(A**n*B)?

I know that I am searching for workaround and not answering your exact
question, however this may turn out to be a better alternative.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to