Yes, we can convert set Interval to Boolean object,using as_relational().
In [4]: Interval(0,1).as_relational(x) Out[4]: 0 ≤ x ∧ x ≤ 1 Thanks Sergey, for clearing the doubt. Cheers! Amit Kumar. -- 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/4780296c-a5ed-48cf-9305-395eb7feaf5b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.