Seol mar théacs é seo: Linking Theories in Probabilistic Programming