I'm trying this question for days but no luck, if someone can give me a lead or an article that solves this.. it would be great:
A uniform bit generator is a function $f:\{0,1\}^n \times \{0,1\}^n \to \{0,1\}$ such that given two inputs which are uniformly distributed over a large domain, outputs a bit which is close to uniform.
Mathematically: for two sets $A,B \subseteq \{0,1\}^n$ such that $|A||B|\geq (2^n)/(\varepsilon^2)$ the following holds: $E[(-1)^{f(x,y)}]\leq\varepsilon$, when $E$ is the expectation when $x,y$ get values at $A,B$ respectively. I am required to show that $f(x,y)=\langle x,y \rangle$ is a uniformal bit generator. Nothing I have done worked, Cauchy-Schwarz, and Jensen's inequality failed as well. Thank you