imageset() is the simplified image of sets under a map, as SymPy's
imageset(): the map is a Lambda, a function name such as "cos", or
a symbol (or list of symbols) followed by an expression, and the sets
come after it. Contains(x, s) is the membership condition, and
PowerSet(s) the set of all subsets of a finite set.