Comment #8 on issue 4009 by [email protected]: Incorrect
behaviour in simplify when used with And and Equality
http://code.google.com/p/sympy/issues/detail?id=4009
I think that, perhaps, simplify_logic should descend through the expression
tree, and any node it finds that is not an instance of BooleanFunction (ie.
And, Or, Not, etc.) should be treated as a predicate. So my very first
example would have predicates of "Equality(a, 2)" and "c" and would work
through the truth table by substituting 0 and 1 for each of those
expressions.
Perhaps also the generic simplify() should be called on each predicate so
that simplification can happen through the whole expression tree (also, I
would need this for my current application :)).
If that seems like a good fix to everyone, I can implement it and submit a
patch sometime in the next few days.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.