Reading some exam material, I found this property:
Let $f :\mathbb{R}\rightarrow\mathbb{R} $ a measurable function. If $X$ and $f(X)$ are independent, then $f(X)$ is almost surely constant.
Most of the properties come with a proof, but this one doesn't. So I assume that it's trivial, but I just can't see it. Any thoughts?