Find the cardinality of the set of all equivalence relations in $\mathbb{R}$.
Hello all. My attempt: Let $B=\{X\subseteq \mathbb{R}\times\mathbb{R}|Id_\mathbb{R}\subseteq X \land X\circ X \subseteq X \land X^{-1}=X\}$ be the set of all equivalence relations in $\mathbb{R}$. (is this correct?)
We'll claim $|B|=2^{\aleph}$.
First, it is trivial that $|B|\le |P(\mathbb{R\times R})|=2^\aleph$ since $B\subseteq P(\mathbb{R\times R}) $
Now, I had already proved that the cardinality of $A$= {The set of all reflexive relations in $\mathbb{R}$} is $2^{\aleph}$ so I want to use the set A in this current proof. We'll show an injective map $\psi:A\rightarrow B$ and by that we'll prove $|A|\le |B| \Rightarrow 2^{\aleph}\le |B|\le 2^{\aleph} \Rightarrow |B|=2^{\aleph}$ according to CSBT.
Let $\psi:A\rightarrow B$ be the function $\psi(X)= X\cup X^{-1} \cup X\circ X \cup (X\circ X)^{-1} $. Yes, this is indeed inelegant and possibly not even correct. I would love to get your help on that question. Thanks in advance.
It may be simpler to count the number of nonempty subsets $S$ of $\mathbb R$ (it is easy to see it is $2^{\mathfrak c}$). Each induces an equivalence relation whose classes are $S$ and singletons. This shows there are at least $2^{\mathfrak c}$ equivalence relations, and since this is largest possible, you are done.
(It may be best to consider simply sets $S$ of size at least $2$, as all sets of size $1$ generate the same equivalence relation: the identity. And it is easy to check that there are $2^{\mathfrak c}$ sets $S$ of size at least $2$.)