My question is related to this question (Meaning of the Axiom of regularity (foundation)).
Why wouldn't $p\neq q$ be ruled out without axiom of foundation? And how does Axiom of foundation helps in rolling it out?
Also I appreciate if someone tells me why the first program of @Asaf's answer in mentions question hold which is.
"Such sets $(x=\{ x\} )$are sometimes called Quine Atoms. And indeed if x,y are two different Quine atoms, then $x\neq y$ because $x\notin y $ and $y \in y$ (and vice versa) "?
I am fairly new to this topic, therefore I am sorry if my question sounds naive.