The Exercise
A random variable takes values in a finite set with probability distribution . A function from to the set of strings of bits is drawn uniformly at random from a family , and is replaced by its hashed value , where stands for the random choice. The family is universal when any two distinct inputs collide, , for at most a fraction of its members. The uncertainty left in the hashed value for someone who knows which function was drawn is measured by the conditional Shannon entropy and the conditional collision entropy . For a universal family, Theorem 12.16 bounds both from below by the collision entropy of the input: (1)
Entropies of a Hashed Variable
The law of a random variable on a finite sample space under weights is the function on the values of that gives each value the total weight of the outcomes at which takes it, (2)✦ For a probability distribution , the law is the distribution of . Under , the law of a hash function is the distribution of the hashed value on .
The collision probability of a distribution on a finite set is .✦ For a probability distribution, is the probability that two independent draws from agree. For the hashed value, the average collision probability is the mean of over the family, (3)✦ The conditional collision entropy of the hashed value given the choice of function is the negative logarithm in base two of : (4)✦
The conditional Shannon entropy of the hashed value given the choice of function is the mean over the family of the Shannon entropy in bits of the hashed value, (5)✦
The Claim
Theorem 1. Let be a random variable on a finite set with distribution , and let be a member drawn uniformly from a finite nonempty family of functions from to a finite set . Then (6)✦ If the family is universal, then also (7)✦ There exist a universal family of functions from a set of elements to a set of elements and a probability distribution on with (8)✦
What Is Checked
The claims are stated over the conditional entropies (4) and (5) of the hashed value, together with the collision probability of the input distribution.
These are inequalities (6) and (7), and the existence claim (8).