Let (Ω,F,P) be a probability space, let N be the set of natural numbers with N0=N∪{0}, and let r∈N. Let X1,…,Xr be random variables such that Xi(ω)∈N0 for every ω∈Ω and every i. Suppose that for each i there is a function gi:N0→[0,1] with ∑c=0∞gi(c)=1 such that for all (c1,…,cr)∈N0r,
P(i=1⋂r{Xi=ci})=i=1∏rgi(ci),
with the finite product notation. Then:
1. for every i and every Borel set B,
P(Xi∈B)=c∈B∩N0∑gi(c),
the sum over the countable index set B∩N0 being the supremum of its finite partial sums (all terms are nonnegative); in particular P(Xi=c)=gi(c);
2. the random variables X1,…,Xr are independent.