Jensen's inequality is well known as

$$E\big[f(X)\big]\le f\big(E[X]\big)$$

where $X$ is a integrable random variable and $f: R\to R$ is a bounded concave function, see also http://en.wikipedia.org/wiki/Jensen%27s_inequality

Now I have a question about whether we may have a generalized result for a more abstract space. Let $\Omega:=D([0,1],R)$ be the space of all cadlag functions defined on $[0,1]$. Denote by $X$ the canonical process, i.e. $X_t(\omega)=\omega_t$. Let $f: \Omega\to R$ be a bounded concave function and $P$ be a martingale measure, i.e. $f\big(\alpha \omega+(1-\alpha)\omega'\big)\ge \alpha f(\omega)+(1-\alpha)f(\omega')$ for any $\omega, \omega'\in\Omega$, $\alpha\in [0,1]$ and $X=(X_t)_{0\le t\le 1}$ is a $P-$martingale.

Could we also show that

$$E^P\big[f(X)\big]\le f\big(E^P[X]\big),$$

where $E^P[X]\in \Omega$ is a constant function taking $E^{P}[X_0]$. Thx for the reply!