Definition (Conditional distance). Let X,Y,U,V be G-valued random variables (in fact, U and V don’t have to be G-valued for the definition to make sense). Then the conditional distance is

d[X|U;Y|V]=u,v[U=u][V=v]d[X|U=u;Y|V=v].