I notice that Russell's paradox, Burali-Forti's paradox, and even Cantor's paradox, all depend on our tolerance of sets that contain themselves (at one level of depth or another). Thus, I was thinking if it wouldn't be a good way to stop the paradoxes, to just prohibit sets containing themselves, via a modification in the axiom scheme of comprehension, probably.
But is there some branch of mathematics, maybe something close to recursion theory, that depends on sets that contain themselves at some level of depth?
Also, is there any other paradox of naive set theory that doesn't depend on sets that contain themselves?
Thanks in advance.
This question from today discusses paradoxes of set theory that don't exactly depend on sets that contain themselves. But in set theory all you have is sets and containment, so if you rule those out, as a source of paradoxes or anything else, there's not much left to work with.
Peter Aczel's theory of non-well-founded sets is a mathematical theory all about sets that do contain themselves, or contain sets that contain them, and variations thereof.
In J.H. Conway's theory of combinatorial games, certain games are represented by structures that do contain themselves. A game is defined to be an ordered pair of sets of games. The left set is the set of game positions to which the Left player can move, and the right set similarly. So for example $(\emptyset, \emptyset)$ is the trivial game in which neither player has any legal moves. Some real-world game positions correspond to ${\bf On} = (\{{\bf On}\}, \emptyset)$ where the Left player can make as many moves as necessary, or:
$$\begin{eqnarray} {\bf tis} & = & (\{{\bf tisn}\}, \emptyset) \\ {\bf tisn} & = & (\emptyset, \{{\bf tis}\}) \end{eqnarray}$$
where the two players can keep moving indefinitely, but neither player can move twice in a row. These "loopy games" might be represented by non-well-founded sets.