FC08 Assignment 1
From Theory
Back to CS 8803FC - Foundations of Cryptography. Spring 2008.
Contents |
Problem 1: Discrete Probability.
(1) Read the following notes on discrete probability due to Luca Trevisan ps notes
We assume that the range of all the random variables below is contained in the reals.
(2) Let X,Y be finite random variables. Prove that E[X + Y] = E[X] + E[Y]. (This equality can be generalized to n random variables.)
(3) Let X,Y be independent finite random variables. Prove that E[XY] = E[X]E[Y]. (This equality can be generalized to n mutually independent random variables.)
(4) Optional: Let X be a finite random variable, and let a,b be reals. Prove that Var[aX + b] = a2Var[X].
(5) Optional: Let X1,...,Xn be pairwise independent finite random variables (i.e, Xi,Xj are independent for every
).
Prove that Var[X1 + ... + Xn] = Var[X1] + ... + Var[Xn]
(6) Give an example for two random variables X,Y such that
.
(7) Give an example for two random variables X,Y such that
.
(8) Let E1,E2 be two events. Prove that
.
(This inequality can be generalized to n events, and is known as the union bound.)
Problem 2.
Prove that Shannon secrecy implies perfect secrecy. (The other direction was proved in class. The proof for both direction appears in the lecture notes, though I strongly encourage the students to try to write the proof on their known. You can check the notes for assistance; however, avoid mere copying.)
Problem 3.
Let
be a boolean function, let
be a polynomial, and let A be a probabilistic polynomial time algorithm such that for every
,
.
Prove that there exists a probabilistic polynomial time algorithm A' such that for every
,
.
Hint: Use Chernoff's Inequality, given in the appendix of the lecture notes.
Problem 4.
Prove that there exists a collection of OWFs if and only if there exists a single strong OWF. (The highlevel idea of the proof was given in class, and appears in the lecture notes. Here the students are required to formalize this highlevel idea, and in particular, prove that the construction given in class works.)
Problem 5.
Prove that for any integer n>0, and for every integers a,b>0,
1.
2.
