I'm trying to get a grasp of what a set represents from set-builder notation and have been working through two interesting problems. I've also attached my reasoning, althought I'm not sure if it's the correct way to approach the problem. I was hoping someone could clarify.
$\{x \in 2^{\mathbb{Z}} : 5 \in x \}$ This set represents the set of numbers $x$ which are a power of $2$ to some integer, where 5 is in $x$. $x$ is an integer and not a set, therefore $5$ cannot be in $x$, therefore this set represents the empty set, with cardinality 0.
$\{x \in 2^{\mathbb{Z}} : x \subseteq \{ 1, 2, 3\} \}$ This set represents the set of numbers $x$ which are a power of $2$ to some integer, where $x$ is also a subset of the set $\{1,2,3\}$. $x$ is an integer and not a set, therefore it cannot be a subset. Cardinality: $0$.
Is my assumption that this condition failing results in the empty set, or is this a vacuous truth and both sets are just $2^{\mathbb{Z}}$?