Comment #6 on issue 3095 by ronan.l...@gmail.com: Set.contains should behave symbolically
http://code.google.com/p/sympy/issues/detail?id=3095

We have the following test:

assert Union(Interval(0,5), FiniteSet(['Ham'])).intersect(FiniteSet(2,3,4,5,6)) == FiniteSet(2,3,4,5)

which is actually wrong because it assumes that Ham != 6. However, returning the correct result in all cases isn't trivial and I'm not even sure how that result should be expressed.

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

Reply via email to