Let $(\Omega,\mathcal{F},\mathbb{P})$ be a probability space. Let $X$ be a random variable. Let $\mathcal{A}\subseteq\mathcal{F}$ be a sub $\sigma$-algebra of $\mathcal{F}$. Further suppose that $X$ is $\mathcal{A}$-measurable.
I want to prove the following:
- $\mathbb{E}[Y\mid \mathcal{A}]=X\Rightarrow\mathbb{E}[Y\mid X]=X$
- $\mathbb{E}[Y\mid \mathcal{A}]=X \not\Leftarrow\mathbb{E}[Y\mid X]=X$
One idea I had for 1. was as follows: $X=\mathbb{E}[Y\mid \mathcal{A}]=\mathbb{E}[\mathbb{E}[Y\mid \mathcal{A}]\mid X]=\mathbb{E}[Y\mid X]$ since $\sigma(X)$ is the smallest $\sigma$-algebra generated by $X$ and thus $\sigma(X)\subseteq\mathcal{A}$ and the smallest $\sigma$-algebra wins. Is this reasoning correct?
As for 2., I am uncertain as to how to proceed.
Thank you!