I'm trying to prove the following lemma left as an exercise in my course notes.
If $x$ is a well-founded set, then $$ \mathrm{rank}(x) = \sup \{ \mathrm{rank}(y) + 1 : y \in x \} $$
Proof. Let $\alpha = \sup \{ \mathrm{rank}(y) + 1 : y \in x \}$. It suffices to show that $x \in V_{\alpha + 1}$ but $x \notin V_\alpha$. Notice that for any $y \in x$, $\mathrm{rank}(y) < \alpha$ by definition. Hence, $y \in V_\alpha$. Since $\forall y \in x : y \in V_\alpha$, $x \subseteq V_\alpha$, so by definition $x \in V_{\alpha + 1}$.
The part I'm struggling to show is that $x \notin V_\alpha$. I don't see how assuming this leads to a contradiction.