
CUUS063 main CUUS063 Goldreich 978 0 521 88473 0 March 31, 2008 18:49
EXERCISES
Guideline: As usual, start by assuming the existence of a s
-size circuit that computes
h with success probability exceeding ε. Consider two correlated random variables X
and Y , each distributed over {0, 1}
(n)
,whereX represents the value of h(U
n
)and
Y represents the circuit’s guess for this value. Prove that, for a uniformly distributed
r ∈{0, 1}
(n)
, it holds that Pr[b(X, r) = b(Y, r)] = (1 + p)/2, where p
def
= Pr[X = Y ].
Exercise 7.16 (derandomization via averaging arguments): Let C : {0, 1}
n
×
{0, 1}
m
→{0, 1}
be a circuit, which may represent a “probabilistic circuit” that pro-
cesses the first input using a sequence of choices that are given as a second input. Let
X and Z be two independent random variables distributed over {0, 1}
n
and {0, 1}
m
,
respectively, and let χ be a Boolean predicate (which may represent a success event
regarding the behavior of C). Prove that there exists a string z ∈{0, 1}
m
such that for
C
z
(x)
def
= C(x, z) it holds that Pr[χ(X, C
z
(X ))=1] ≥ Pr[χ(X, C(X, Z))=1].
Exercise 7.17 (reducing “selective XOR” to “standard XOR”): Let f be a Boolean
function, and b(y, r) denote the inner-product modulo 2 of the equal-length strings y and
r. Suppose that F
(x
1
,...,x
t(n)
, r)
def
= b( f (x
1
) ··· f (x
t(n)
), r), where x
1
,...,x
t(n)
∈
{0, 1}
n
and r ∈{0, 1}
t(n)
,isT
-inapproximable. Assuming that n !→ t(n) · n is 1-1,
prove that F(x)
def
= F
(x, 1
t
(|x |)
), where t
(t(n) · n) = t(n), is T -inapproximable for
T (m) = T
(m +t
(m)) − O(m).
Guideline: Reduce the approximation of F
to the approximation of F. An important
observation is that for any x = (x
1
,...,x
t(n)
), x
= (x
1
,...,x
t(n)
), and r = r
1
···r
t(n)
such that x
i
= x
i
if r
i
= 1, it holds that F
(x , r ) = F(x
) ⊕⊕
i:r
i
=0
f (x
i
). This suggests
a non-uniform reduction of F
to F, which uses “adequate” z
1
,...,z
t(n)
∈{0, 1}
n
as
well as the corresponding values f (z
i
)’s as advice. On input x
1
,...,x
t(n)
, r
1
···r
t(n)
,
the reduction sets x
i
= x
i
if r
i
= 1andx
i
= z
i
otherwise, makes the query x
=
(x
1
,...,x
t(n)
)toF ,andreturnsF(x
) ⊕
i:r
i
=0
f (z
i
). Analyze this reduction in the case
that z
1
,...,z
t(n)
∈{0, 1}
n
are uniformly distributed, and infer that they can be set to
some fixed values (see Exercise 7.16).
35
Exercise 7.18 (reducing “standard XOR” to “selective XOR”): In continuation of
Exercise 7.17, show a reduction in the opposite direction. That is, for F and F
as in
Exercise 7.17, show that if F is T -inapproximable then F
is T
-inapproximable, where
T
(m +t
(m)) = min(T (m) − O(m), exp(t
(m)/O(1)))
1/3
.
Guideline: Reduce the approximation of F to the approximation of F
,usingthefact
that for any x = ( x
1
,...,x
t(n)
)andr = r
1
···r
t(n)
it holds that ⊕
i∈S
r
f (x
i
) = F
(x , r ),
where S
r
={i ∈[t(n)] : r
i
=1}. Note that, with probability 1 −exp(−(t(n)), the set
S
r
contains at least t(n)/3 indices. Thus, the XOR of t(n)/3valuesof f can be
reduced to the selective XOR of t(n) such values (by using some of the ideas used
in Exercise 7.17 for handling the case that |S
r
| > t(n)/3). The XOR of t(n)values
can be obtained by three XORs (of t(n)/3 values each), at the cost of decreasing the
advantage by raising it to a power of three.
Exercise 7.19 (reducing “selective XOR” to direct product): Recall that, in §7.2.1.2,
the approximation of the “selective XOR” predicate P
was reduced to the guessing
35
That is, assume first that the reduction is given t(n) samples of the distribution (U
n
, f (U
n
)), and analyze
its success probability on a uniformly distributed input (x, r) = (x
1
,...,x
t(n)
, r
1
···r
t(n)
). Next, apply Exercise 7.16
when X represents the distribution of the actual input (x , r), and Z represents the distribution of the auxiliar y sequence
of samples.
281