suppose that formula_33 can take values from some set formula_34. if each pair of values formula_35 has an associated probability formula_36 of being selected (shared randomness is allowed, i.e., formula_33 can be correlated), then one can average over this distribution to obtain a formula for the joint probability of each measurement result: