Let $Y \in L^2(\Omega, \mathcal{M}, P)$, $\mathcal{F}$-$\sigma$-algebra, $\mathcal{F} \subset \mathcal{M}$. Prove that for all $X \in L^2(\Omega, \mathcal{F}, P)$ $$ \mathbb{E}[X-Y]^2 \geq \mathbb{E}[Y-\mathbb{E}[Y \mid \mathcal{F}]]^2. $$
I would appreciate any tips or hints.
This is false. Take $X=Y$. As long as $Y \neq E(Y|\mathcal F)$ the inequality cannot be satisfied. For example take $\mathcal F=\{\emptyset, \Omega\}$ and $Y$ to be any non-constant random variable.
If you assume that $X \in L^{2}(\Omega, \mathcal F, P)$ then the inequality is true: $E(X-Y)^{2} =E (E(X-Y)^{2}|\mathcal F)\geq E (E(X-Y)|\mathcal F)^{2}$ which reduces to RHS since $E(X|\mathcal F)=X$. [I have used conditional Jensen's inequality].