Suppose we are given two random variable $U$ and $V$ on the interval $[0,1]$ with respective probability measure $p_U$ and $p_V$.
When is there a coupling measure $p_{U,V}$, that respect the marginals $p_U$ and $p_V$, such that $\mathbb E[U|V]=V$.
I have tried few approach, like expressing this as a linear program and looking at the dual, but the following seemed to be the most promising.
Suppose we have a measurable convex set $S\subseteq [0,1]$, if we are given $V$, then what is the maximal amount of probability we can give to $U\in S$. Observe that the conditional expectation constraint gives \begin{align*} V &= \mathbb E[U|V]\\ &=\mathbb E[1_S(U)|V]\cdot \inf_{a\in S}a+\mathbb E[(U-\inf_{a\in S} a) 1_S(U)|V]+\mathbb E[U1_{S^c}(U)|V]\\ &\geq \mathbb E[1_S(U)|V]\cdot \inf_{a\in S}a \end{align*} So that we have $\mathbb E[1_S(U)|V]\leq\sup_a\frac{V}{a}$, similarly, we can also get \begin{align*} 1-V&= 1-\mathbb E[U|V]\\ &\geq \mathbb E[1_S(U)|V]\cdot \inf_{a\in S}(1-a) \end{align*} So that $\mathbb E[1_S(U)|V]\leq\sup_a\frac{1-V}{1-a}$, and finally we also know that $\mathbb E[1_S(U)|V]\leq 1$.
If we average we get that \begin{align*} P_U(S) &= \mathbb E[\mathbb E[1_S(U)|V]]\\ &\leq \mathbb E\left[ \min\left(\sup_{a\in S}\frac{V}{a},\sup_{a\in S}\frac{1-V}{1-a},1\right) \right] \end{align*} Now if we have $\mathbb E[U|V]=V$, this needs to be satisfied for all $S$, but it feels like if we add the constraint that $\mathbb E[U]=\mathbb E[V]$, then we get that this is an if and only if. In order to prove this I don't think I have another choice than giving the conditional $p_{U|V}$ but I am not sure how to do that. It would also be nice to have a modification of that constraint that will also enforce that $\mathbb E[U]=\mathbb E[V]$ (because I don't think it is the case right now).
In the following I will try to motivate the problem and explain why it would be useful to solve. In short it would improve a lot my (and hopefully other's) understanding of Markov chains.
Let us be given a random variable $X$ with support $\mathcal X$. For $x\in\mathcal X$, define $\delta_x$ as the probability measure that gives $1$ to any set containing $x$ and $0$ otherwise. We can see $p_{X|X}=\delta_X$ as a random measure. for any random variable $U$, let $p_{X|U}=\mathbb E[p_{X|X}|U]$ where this conditional expectation is defined as $\forall A$, $p_{X|U}(A)=\mathbb E[p_{X|X}(A)|U]$.
We can prove a lot of things of those object and we can convince ourselves that this is indeed a conditional distribution since conditioned on $U=u$, we get that $p_{X|U}$ is the measure $p_{X|U=u}$. We can also show that this is a minimally sufficient statistic i.e. $X-U-p_{X|U}$ and $X-p_{X|U}-U$ are both Markov chains plus for any other sufficient statistic with $X-U-V$ and $X-V-U$, we have that $p_{X|U}=p_{X|V}$ almost surely (hence minimality).
Now of course $p_{X|U}$ is a random variable on the simplex of $\mathcal X$ with some distribution $\mu$, similarly we can have $p_{X|V}$ with distribution $\nu$ and I think it is important to wonder about when there can be a Markov chain $X-p_{X|U}-p_{X|V}$ by looking only at the distribution $\mu$ and $\nu$. And this is answered by
Is there a joint measure $\lambda$ with marginals $\mu$ and $\nu$ such that $\mathbb E[p_{X|U}|V]=p_{X|V}$.
And hence my question (which corresponds to the $X$ binary case), I think if I can solve the binary cases, there is chances the solution generalizes.