Hi, it's slightly out of topic, but SymPy is really missing the ability to define assumptions on sets (that is, that a variable belongs to a set, e.g. x in [1, 3]).
There are some PR that could be continued: - https://github.com/sympy/sympy/pull/11615 - https://github.com/sympy/sympy/pull/2721 The idea is to implement how the sets propagate when subject to arithmetic operations and functions. For example, one could define *SetAdd*, *SetMul*, *SetPow* objects to represent additions, multiplications and powers of sets by other sets. Once we have such operations, we could add support for range/set assumptions, at last. -- 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 https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/7c7c1bab-e076-4e31-999b-d5347db64652%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.