Let $(\Omega,\mathcal{F},\mathbb{P})$ be a probability space, $\mathcal{G\subseteq F}$ be a sub-$\sigma$-algebra and $X:\Omega\to \mathbb{R}$ be an integrable random variable. Can we conclude that $X$ is $\mathcal{G}$-mensurable if $X=\mathbb{E}[X|\mathcal{G}]$ a.e.?
I don't know if it's true or false, however, according to some arguments in statistics (as you can see in this link, for instance), that proposition should be true.
EDIT: The following is the definition of conditional expectation I'm using.
Let $(\Omega,\mathcal{F},\mathbb{P})$ be a probability space, $\mathcal{G\subseteq F}$ be a sub-$\sigma$-algebra and $X:\Omega\to \mathbb{R}$ be an integrable random variable. We say that $f:\Omega\to \mathbb{R}$ is a conditional expectation of $X$ given $\mathcal{G}$ if the following propositions are true:
- $f$ is $\mathcal{G}$-measurable and $\mathbb{P}$-integrable;
- $\int _Gfd\mathbb{P}=\int _GXd\mathbb{P}$ for all $G\in\mathcal{G}$.