def powerset( s ) = s.subsets().toSet()