This is a fundamental result in learning theory and crypto.
Discussion based on some lecture notes by Ryan O’Donnel.
Def: 
Fact: OWP + hardcore predicate ⇒ PRG
GL Theorem:
If 
- is also a OWP, 
- and is a hardcore predicate. 
Apparently this follows as a simple corollary of a related thing:
GL Theorem prime
Given query access to 
More specifically, given 
Lemma
Can estimate Fourier coefficients by sampling to approx 
Let’s prove GL theorem prime:
Lemma 1
At most 
Pf:
We have
. 
Lemma 2
Suppose we have a “wild card indicator string” something like this 10xx110xx0x110x.
What this really refers to is the set of all ways of completing this thing to a binary string by replacing the 
proof: Deferred
vibes are just “this is a reasonably nice expression — so we are justified in guessing it has a nice fourier analytic interpretation”.
Suppose that we had the above thing figured out. Then you can do the classic tree thing to find all large Fourier coefficients.
Remark
If your function has a 
how does this relate to the crypto thing?
well, if 
This means that