def as_relational(self, symbol):
        return And(*[set.as_relational(symbol) for set in self.args])
Rewrite an Intersection in terms of equalities and logic operators
dataset/ETHPy150Open sympy/sympy/sympy/sets/sets.py/Intersection.as_relational