Prove that $A =\{\omega\in\Omega: X(\omega)\neq Y(\omega)\}$ is a event of $\mathcal{F}$.
How to prove $\left\{ \omega|X(\omega)=Y(\omega)\right\} \in\mathcal{F}$ is measurable, if $X$ and $Y$ are measurable?