I would like to know if $\forall xx=x$ is an axiom in axiomatic set theory like in other first order languages, or a theorem? If it is a theorem, how to prove it?
Update: In the first order language materials I read,the equality is one of the logical symbols, and $\forall xx=x$ is given as one of the logical axioms. In the ZFC materials I read, the axiom of extensionality is given as $\forall x\forall y(x=y\leftrightarrow\forall z(z\in x\leftrightarrow z\in y))$.
It seems I can have a proof from $\forall x\forall y(x=y\leftrightarrow\forall z(z\in x\leftrightarrow z\in y))$ to $\forall xx=x$ as follows(correct me if I am wrong):
$\forall x\forall y(x=y\leftrightarrow\forall z(z\in x\leftrightarrow z\in y))$
$\forall x\forall x(x=x\leftrightarrow\forall z(z\in x\leftrightarrow z\in x))$
$\forall x\forall x(x=x\leftrightarrow\forall z(T))$
$\forall x\forall x(x=x\leftrightarrow T)$
$\forall x\forall x(x=x)$
$\forall x(x=x)$
If the proof is valid, the logical axiom $\forall x(x=x)$ seems not necessary.
