There a many questions about this Theorem: There is no set of all sets. But I have not found a proof of it using first-order logic. I follow the Textbook Ciesielski, 1997, that has a proof with plain English.
My understanding: If we define $\varphi(x)=\neg(x\in x)$, and we apply the schema of separation: $\forall z\exists y\forall x[x\in y\Leftrightarrow (x\in z\land \varphi(x))]$, we should get some contradiction.
Is my understanding correct? Is the proof difficult?
I studied the rudiments of Propositional Logic (incl. Soundness and Completeness), but for FOL I just finished the syntax.
EDIT 1
Ciesielski introduce the Theorem above with the following words: An interesting consequence of the comprehension scheme [meaning the schema of separation as synonym] axiom is the following theorem. Is he wrong?
Here is a formal proof in Fitch: