Suppose that $X$ and $Y$ are two independent random variable on the same probability space. We assume: $$P(X=x) = P(Y=x) = 0$$ and I want to prove $P(X=Y) = 0$. But we don't know whether the distribution of r.v-s are continuous or not.
I tried to solve with the fact that $$ P(X = Y) = E(1_{X=Y})$$ But unfortunately it didn't work well. How to solve this problem in measure theory-wise?
Let $\mu$ be the distribution of $X$ and $\nu$ the distribution of $Y$. "Independent" tells us that $$ \mathbb P\big[(X,Y) \in E\big] = (\mu \otimes \nu) (E) $$ for all Borel sets $E \subseteq \mathbb R \times \mathbb R$. In particular, when $E$ is the "diagonal" $E = \{(x,x) : x \in \mathbb R\}$ we get $$ \mathbb P\big[X=Y\big] =\mathbb P\big[(X,Y) \in E\big] = (\mu \otimes \nu) (E) $$ And by Fubini (or Tonelli), $$ (\mu \otimes \nu) (E) = \int_\Omega \nu\{y : (x,y) \in E\}\;d\mu(x) =\int_\Omega \nu\{x\}\;d\mu(x) =\int_\Omega 0\;d\mu(x) = 0 . $$