reenmachine said:
tell me if I'm right: If ##\{x\in A~\vert ~ x~\text{is a set}\}## , then this is equal to set A and perfectly acceptable.But if ##\{x\in x~\vert ~ x~\text{is a set}\}## , then this is a contradiction because a set can't be an element of itself?
thanks
According to the ZFC axioms, the following set is well-defined:
\{x\in A~\vert~\varphi(x)\}
where ##A## is a set that does not depend on x, and where ##\varphi(x)## is a property with ##x## as a variable.
You should interpret the set as "the set of all elements ##x## of ##A## such that ##\varphi(x)## is true.
For example:
##\{x\in \{0,1,2\}~\vert~x=1\}##
Here we have ##A=\{0,1,2\}## and ##\varphi(x)## is the formula ##x=1##.
The interpretation of the set is: "the set of all elements ##x## of ##\{0,1,2\}## such that ##x=1##. Clearly, the set is just equal to ##\{1\}##.
##\{x\in \mathbb{R}~\vert~x^2 = 1\}##
Here the set ##A=\mathbb{R}## and ##\varphi(x)## is ##x^2 =1##.
This set is the set of all real numbers ##x## such that ##x^2 =1##. Clearly, the set is ##\{1,-1\}##.
Some stranger examples that are well-defined sets:
##\{x\in \{0,1,2\}~\vert~x\in x\}##
This is the set of all ##x## in ##\{0,1,2\}## with the proporty that ##x## belongs to itself. There are no such ##x## in ##\{0,1,2\}## with that property. So the set is just the empty set.
##\{x\in \mathbb{R}~\vert~1=1\}##
This is a very pathological example, but it is a well-defined set. The set is the set of all real numbers such that 1=1 is true. To check that an element is in the set, we pick a real number ##x\in \mathbb{R}## and we check that ##1=1## is true. But it is always true. So all ##x\in \mathbb{R}## are in the set. So the set equals entire ##\mathbb{R}##.
This is
very weird since we have a property ##\varphi(x)## that apparently does not depend on ##x##. Such sets are well-defined but never show up in practice.
Some counterexamples:
##\{x~\vert~x~\text{is a set}\}##
This is not a good definition of a set since the set ##A## is missing.
##\{x~\vert~x=1\}##
This is not a good definition of a set, since the set ##A## is again missing.
This is a bit strange, since clearly the set that it would define is just ##\{1\}##. So
if the above is a set, then it would equal ##\{1\}##.
We are not saying that ##\{1\}## is not a set (it is a set). But we are saying that ##\{x~\vert~x=1\}## is not a "well-formed".
##\{x\in x~\vert~x=1\}##
This is not a good definition of a set, since the set ##A## is not independent of ##x##. We want a set ##A## that has nothing to do with our dummy variable.
So, the only set builder notation that we accept is:
\{x\in A~\vert~\varphi(x)\}
This is the
only well-formed formula.
Now, this implies that the follwing is also not a good definition:
##\{x^3\in \mathbb{R}~\vert~x\geq 0\}##
It is clear what I mean with this set. I want to pick all the elements of ##\mathbb{R}## that have the form ##x^3## for some ##x\geq 0##. For example, the element 8 is in the set, because we can pick ##x=2##.
The element -8 is not in the set. If we pick ##x=-2##, then ##-8=x^3##, ,but our ##x## does not satisfy ##x\geq 0##.
Anyway, this is not a well-formed formula. Our formula is not in the form
\{x\in A~\vert~\varphi(x)\}
The problem is that we have an ##x^3## instead of an ##x##.
We can write rewrite our formula as
##\{x\in \mathbb{R}~\vert ~\exists y\in \mathbb{R}: ~y\geq 0~\text{and}~x=y^3\}##
This is a well-formed formula. Indeed, we can take ##A=\mathbb{R}## and ##\varphi(x)## is the formula ##\exists y \in \mathbb{R}:~y\geq 0 ~\text{and}~x=y^3##.
The elements of the set are the real numbers ##x## such that a real number ##y## exists such that ##y^3 = x## and ##y\geq 0##.
The problem is that the above set is very difficult to write. I'm sure that people find ##\{x^3\in \mathbb{R}~\vert~x\geq 0\}## much easier to read than ##\{x\in \mathbb{R}~\vert ~\exists y\in \mathbb{R}: ~y\geq 0~\text{and}~x=y^3\}##. This is why the notation ##\{x^3\in \mathbb{R}~\vert~x\geq 0\}## is used in math texts and is allowed. Allowing this
is an abuse of notation since strictly, the notation wouldn't be allowed.