Hello,

I'm newcomer  to sympy and just read some document from sympy website, 
sympy does a very good job on simplify Boolean expression. I would greatly 
appreciate it if someone could let me know whether I can customer sympy to 
support below cases

simplify( x == 1 or x == 2 or x ==3 ) 
                                                             get result  x 
in [ 1, 2, 3 ] 

simplify( x != 1 and x != 2 and x !=3 ) 
                                                            get result x 
not in [1, 2, 3]

Simon.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/8d68708e-a94d-4b89-b5ed-db5cd00b2217%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to