Take $\mathcal M_D$ the space of measurable functions from a compact set $D\subseteq \mathbb R_n$ to ℂ.
I'm wondering if a Stone-Weierstrass-like theorem holds in this space, with the convergence in measure.
In other words, suppose $\mathcal A \subseteq \mathcal M_D$ is a closed proper subalgebra with identity(constant function 1), also closed by conjugation. Is it true that there exists $E\subseteq D$ measurable set with positive measure such that all functions in $\mathcal A$ are constant (almost everywhere) on $E$?
A similar question was asked here for $L^p$ functions, where the answer is positive, but here we haven't a norm.