Computing probabilities of compound events in a uniform probability model