Proof (Mostowski collapse)

Clearly $T$ is transitive and $π$ is a surjective homomorphism.

Show by induction on $x\in X$ the statement $$ \begin{align*} \forall y\in X \ (π(y) = π(x) \iff y = x). \end{align*} $$ Given the induction hypothesis $$ \begin{align*} \forall u<x \ \forall v\ (π(u) = π(v) \iff u = v), \end{align*} $$ fix $y\in X$ and suppose $π(y) = π(x)$.

Let $z\in X$.

Therefore $z<x\iff z<y$. By extensionality, $x=y$.