In ZFC, an ordered pair is defined as $\langle a,b\rangle=\{\{a\},\{a,b\}\}$. Can we define it as $\langle a,b\rangle=\{a, \{a,b\}\}$, does $\langle a,b\rangle=\langle x,y\rangle\Rightarrow a=x\wedge b=y$ hold?
The most similar searched results using Google and MathtSackExchange are defined ordered pair as $\langle a,b\rangle=\{a,\{b\}\}$ or $\langle a,b\rangle=\{\{a,\emptyset\},\{b,\emptyset\}\}$, but their answers don't help my problem.
I went to the professor for further consultation, he tell me it was incorrect to define ordered pair as $\langle a,b\rangle=\{a, \{a,b\}\}$ and asked me to find a counterexample to illustrate.
I have been thinking about it for two days and have no idea. Can you give me some help, for example, suggestions on directions or reference materials. : )
A counterexample: $a=\{b,\phi\}$ and $b=\{a,\phi\}$, thank the answer of @bof, and thank the further explanation of @TonyK and @Hope Duncan : )
Further problem: If we don't need the Axiom of Foundation, is there such a set?