I would use a separate function (solve_boolean() or something like
that). The problem with using solve is that there's no way to tell if
a Symbol is supposed to be a boolean Symbol, other than that it lives
in a boolean expression (see
http://code.google.com/p/sympy/issues/detail?id=1887#c26). So
something like solve(x) would be ambiguous.
Also, solve() currently accepts boolean expressions as assumptions, so
there may be some ambiguity there.
Actually, if all you're doing is simplifying them, wouldn't simplify()
be better than solve()? Can you give an explicit example of what you
are suggesting?
Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/sympy/-/132XAqK9qcoJ.
> To post to this group, send email to
sy...@googlegroups.com.
> To unsubscribe from this group, send email to
>
sympy+un...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/sympy?hl=en.