
CUUS063 main CUUS063 Goldreich 978 0 521 88473 0 March 31, 2008 18:49
PSEUDORANDOM GENERATORS
Guideline: First show that, without loss of generality, it suffices to consider determin-
istic (adaptive) testers. Next, show that the probability that such a tester sees any fixed
sequence of t values at the locations selected adaptively (in the generator’s output)
equals 2
−t·b(k)
,whereb(k) is the block-length.
Exercise 8.30 (a t-wise independence generator): Prove that G as defined in Proposi-
tion 8.24 produces a t-wise independent sequence over GF(2
b(k)
).
Guideline: For every t fixed indices i
1
,...,i
t
∈ [
(k)], consider the distribution
of G(U
k
)
i
1
,...,i
t
(i.e., the projection of G(U
k
) on locations i
1
,...,i
t
). Show that for
every sequence of t possible values v
1
,...,v
t
∈ GF(2
b(k)
), there exists a unique seed
s ∈{0, 1}
k
such that G(s)
i
1
,...,i
t
= (v
1
,...,v
t
).
Exercise 8.31 (pairwise independence generators): As a warm-up, consider a con-
struction analogous to the one in Proposition 8.25, except that here the seed speci-
fies an arbitrary affine b(k)-by-m(k) transformation. That is, for s ∈{0, 1}
b(k)·m(k)
and
r ∈{0, 1}
b(k)
, where k = b (k) · m(k) +b(k), let
G(s, r)
def
= ( A
s
v
1
+r , A
s
v
2
+r ,..., A
s
v
(k)
+r) (8.23)
where A
s
is a b(k)-by-m(k) matrix specified by the string s. Show that G as in Eq. (8.23)
is a pairwise independence generator of block-length b and stretch . (Note that a related
construction appears in the proof of Theorem 7.7; see also Exercise 7.5.) Next, show
that G as in Eq. (8.17) is a pairwise independence generator of block-length b and
stretch .
Guideline: The following description applies to both constructions. First, note that
for every fixed i ∈ [
(k)], the i
th
element in the sequence G(U
k
), denoted G(U
k
)
i
,is
uniformly distributed in {0, 1}
b(k)
. Actually, show that for every fixed s ∈{0, 1}
k−b(k)
,
it holds that G(s, U
b(k)
)
i
is uniformly distributed in {0, 1}
b(k)
. Next, note that it suffices
to show that, for every j = i, conditioned on the value of G(U
k
)
i
,thevalueofG(U
k
)
j
is uniformly distributed in {0, 1}
b(k)
. The key technical detail is showing that, for any
non-zero vector v ∈{0, 1}
m(k)
and a uniformly selected s ∈{0, 1}
k−b(k)
, it holds that
A
s
v (resp., T
s
v) is uniformly distributed in {0, 1}
b(k)
. This is easy in the case of a
random b(k)-by-m(k) matrix, and can also be proven for a random Toeplitz matrix.
Exercise 8.32 (adaptive t-wise independence tests, revisited): Note that in contrast to
Exercise 8.29, with respect to non-perfect indistinguishability, there is a discrepancy
between adaptive and non-adaptive tests that inspects t locations.
1. Present a distribution over 2
t−1
-bit long strings in which every t fixed bit positions
induce a distribution that is t · 2
−t
-close to uniform, but there exists a test that
adaptively inspects t positions and distinguish this distribution from the uniform
one with gap 1/2.
Guideline: Modify the uniform distribution over ((t − 1) + 2
t−1
)-bit long strings such that
the first t −1 locations indicate a bit position (among the rest) that is set to zero.
2. On the other hand, prove that if every t fixed bit positions in a distribution X induce
a distribution that is ε-close to uniform, then every test that adaptively inspects t
positions can distinguish X from the uniform distribution with gap at most 2
t
· ε.
Guideline: See Exercise 8.29.
344