collections a and b of random variables which share common symbols
    Output: dict mapping RVs in a to RVs in b
    c