In "Analysis I", Tao 2006, the Axiom of Regularity is defined on p. 54 as "If A is a non-empty set, then there is at least one element x of A which is either not a set, or is disjoint from A."
Let $A$ be the set (and pair) $\{ 1 , A \}$.
$A \neq \emptyset$ because it contains some element. The Axiom of Regularity tells us we must find an $x \in A$ such that $x$ is not a set or $x \cap A = \emptyset$. $1$ is not a set and $1 \in A$, in consequence of which the first condition is satisfied and the axiom is not violated, making $A = \{1, A\}$ a legal set.
But I know this reasoning must be incorrect because the goal of the Axiom of Regularity is precisely to prevent the existence of sets that contain themselves to avoid Russell's paradox.
I already read multiple threads on this topic on MSE, including:
- Axiom of Regularity allows for this set be an element of itself
- Why $\{x:x=E \mbox{ or } x=\{E\} \mbox{ or } x=\{E,\{E,\{E\}\}\} \,\}$ contradicts Axiom of Regularity?
- Set containing set containing set containing...
- How does the axiom of regularity forbid self containing sets?
... but unfortunately I still couldn't understand why my reasoning above is incorrect. I would much appreciate some help.