For two random variables, define $d(X,Y)=\mathbb{E}\dfrac{|X-Y|}{1+|X+Y|}$
The text I am reading claims that $d(X, Y)$ is a metric on the a.e. equivalence class of $L_0$. I am not familiar with using metric on random variables. If I wanted to show that this were indeed a metric, how would I go about doing this?
I know already that for a general metric such as $\dfrac{|x-y|}{1 + |x+y|}$ with no randomness, it would be relatively straigforward to show it was a metric space. Is it the same idea with random variables? For example: $d(X, Y)=0 \iff \mathbb{E}(|X-Y|)=0 \iff E(X)=E(Y)$
Or is there a different process? I did see similar questions such as this one here: Show that $d_2$ defined by $d_2(x,y)=\frac{|x-y|}{1+|x-y|}$ is a metric, but none of them involve random variables.