Let (Ω,F,P) be a probability space and let (X,d) be a metric space with Borel σ-algebra B(X).
A random element of (X,d) on (Ω,F,P) is a map Y:Ω→X that is measurable with respect to F and B(X).
The law of a random element Y of (X,d) is the image measure PY of P under Y, that is, the measure on (X,B(X)) given by
PY(B)=P(Y−1(B))for B∈B(X).