Better Pseudorandom Generators from Milder Pseudorandom Restrictions

Parikshit Gopalan, Raghu Meka, Omer Reingold, Luca Trevisan, Salil Vadhan

Introduction

These results, however, remain conditional on a circuit complexity assumption whose proof seems far off at present. Since PRG\mathsf{PRG}s that fool a class of Boolean circuits also imply lower bounds for that class, we cannot hope to remove the assumption. Thus unconditional generators are only possible for restricted models of computation for which we have lower bounds.

Bounded-depth circuits and bounded-space algorithms are two models of computations for which we know how to construct PRG\mathsf{PRG}s with O(log⁡O(1)(n/ε))O(\log^{O(1)}(n/\varepsilon)) seed length [Nis91, Nis92]. Known PRG\mathsf{PRG} constructions for these classes have found several striking applications including the design of streaming algorithms [Ind06], algorithmic derandomization [Siv02], randomness extractors [Tre01], hashing [CRSW11], hardness amplification [HVV06], almost kk-wise independent permutations [KNR05], and cryptographic PRG\mathsf{PRG}s [HHR06]. Arguably, constructing PRG\mathsf{PRG}s with the optimal O(log⁡(n/ε))O(\log(n/\varepsilon)) seed length for these classes are two of the outstanding open problems in derandomization.

Indeed, there are few models of computations for which we know how to construct PRG\mathsf{PRG}s with the optimal seed length O(log⁡(n/ε))O(\log(n/\varepsilon)) or even log⁡1+o(1)(n/ε)\log^{1+o(1)}(n/\varepsilon). The most prominent examples are bounded-degree polynomials over finite fields [NN93, AGHP92, BV10a, Lov08, Vio08], with parities (which are fooled by small-bias distributions [NN93]) as a special case, and models that can be reduced to these cases, such as width-2 branching programs [SZ95, BDVY09].

In summary, there are several interesting models of computation for which a polylogarithmic dependence on nn and 1/ε1/\varepsilon is known, and the dependence on one parameter is logarithmic on its own (e.g. seed length O(log⁡nlog⁡(1/ε))O(\log n\log(1/\varepsilon))), but a logarithmic bound in both parameters together has been elusive. Finally, we remark that not having a logarithmic dependence on the error ε\varepsilon is often a symptom of a more fundamental bottleneck. For instance, HSG\mathsf{HSG}s with constant error for width 44 branching programs imply HSG\mathsf{HSG}s with polynomially small error for width 33 branching programs, so achieving the latter is a natural first step towards the former. A polynomial-time computable PRG\mathsf{PRG} for CNF\mathsf{CNF}s with seed length O(log⁡n/ε)O(\log n/\varepsilon) would imply the existence of a problem in exponential time that requires depth-3 circuits of size 2Ω(n)2^{\Omega(n)} and that cannot be solved by general circuits of size O(n)O(n) and depth O(log⁡n)O(\log n), which is a long-standing open problem in circuit complexity [Val77].

2 Our Results

PRG\mathsf{PRG}s for combinatorial rectangles. Previously, it was known how to construct HSG\mathsf{HSG}s with seed length O(log⁡(n/ε))O(\log(n/\varepsilon)) [LLSZ97], but the best seed length for PRG\mathsf{PRG}s was O(log⁡n+log⁡3/2(1/ε))O(\log n+\log^{3/2}(1/\varepsilon)) [Lu02].

PRG\mathsf{PRG}s for read-once CNF\mathsf{CNF} and DNF\mathsf{DNF} formulas. Previously, De, Etesami, Trevisan, and Tulsiani [DETT10] and Klivans, Lee and Wan [KLW10] had constructed PRG\mathsf{PRG}s with seed length O(log⁡n⋅log⁡(1/ε))O(\log n\cdot\log(1/\varepsilon)).

HSG\mathsf{HSG}s for width 3 branching programs. Previously, Sima and Zak [SZ11] had constructed hitting set generators for width 3 branching programs with seed length O(log⁡n)O(\log n) in case the error parameter ε\varepsilon is very large (greater than 5/6).

As a corollary of our PRG\mathsf{PRG} for combinatorial rectangles we get improved hardness amplification in NP by combining our results with those of Lu Tsai and Wu [LTW07] - we refer to Section 5 for detailsWe thank an anonymous referee for pointing out this application..

3 Techniques

Our generators are all based on a general new technique — the iterative application of “mild” (pseudo)random restrictions.

We illustrate our technique below with a toy example.

Consider a read-once CNF\mathsf{CNF} formula ff of width ww with m=2w+1m=2^{w+1} clauses in which the variables appear in order (aka the Tribes function of [BL85]). That is,

where each fif_{i} is the OR function. ff has constant bias and can be computed both by a combinatorial rectangle and a width-3 branching program. De et al. showed that fooling this function with error ε\varepsilon using small-bias spaces requires seed-length Ω(wlog⁡(1/ε)/log⁡log⁡(1/ε))\Omega(w\log(1/\varepsilon)/\log\log(1/\varepsilon)).

Assume we partition the input bits into two parts: xx which contains the first w/2w/2 variables of each clause and yy which contains the rest. Let x∘yx\circ y denote the concatenation of the two strings. We would like to show that for D{{\cal D}} a small-bias distribution and U\mathcal{U} the uniform distribution,

A naive approach might be to view setting y∼Uy\sim\mathcal{U} as applying a random restriction with probability 1/21/2. If this simplified the function ff to the extent that it can be fooled by small-bias spaces, we would be done. Unfortunately, this is too much to hope for; it is not hard to see that such a random restriction is very likely to give another Tribes-like function with width w/2w/2, which is not much easier to fool using small bias than ff itself.

Rather, we need to shift our attention to the bias function of ff. For each partial assignment xx, we define the bias function F(x)F(x) as

Our key insight is that for restrictions as above, the function FF is in fact easy to fool using a small-biased space. This is despite the fact that F(x)F(x) is an average of functions f(x∘y)f(x\circ y) (by Equation (1.2)), most of which are Tribes-like and hence are not easy to fool.

Let us give some intuition for why this happens. Since f(x∘y)=∏i=1mfi(x∘y)f(x\circ y)=\prod_{i=1}^{m}f_{i}(x\circ y),

where Fi(x)F_{i}(x) is the bias function of the ithi^{th} clause. But note that over a random choice of yy, fi(x)f_{i}(x) is set to 11 with probability 1−2−w/21-2^{-w/2} and is a clause of width w/2w/2 otherwise. Hence

As a consequence, over a random choice of xx, we now have

where SkS_{k} denotes the kthk^{th} elementary symmetric polynomial and ck∈c_{k}\in.In the toy example we are currently studying, an alternative and simpler approach is to write Fi(x)=(1−2−w/2)1−hi(x)F_{i}(x)=(1-2^{-w/2})^{1-h_{i}(x)}, where hi(x)=∨j=1w/2xw(i−1)+jh_{i}(x)=\vee_{j=1}^{w/2}x_{w(i-1)+j} is the indicator for whether xx already satisfies the ii’th clause on its own. Then F(x)=∏iFi(x)F(x)=\prod_{i}F_{i}(x) expands as a power series in ∑i(1−hi(x)−2−w/2)\sum_{i}(1-h_{i}(x)-2^{-w/2}), and higher moment bounds can be used to analyze what happens when we truncate this expansion. However, this expansion is rather specific to the highly symmetric Tribes function, whereas we are able to apply the expansion in terms of symmetric polynomials much more generally.

Under the uniform distribution, one can show that

Towards this end, we prove the following inequality for any real numbers z1,…,zmz_{1},\ldots,z_{m}:

The proof uses the Newton–Girard formulas (see [CLO07]) which relate the symmetric polynomials and power sums. This lets us repeat the same truncation argument, provided that S1(g1(x),…,gm(x))S_{1}(g_{1}(x),\ldots,g_{m}(x)) and S2(g1(x),…,gm(x))S_{2}(g_{1}(x),\ldots,g_{m}(x)) are tightly concentrated even under small-bias distributions. We prove this concentration holds via suitable higher moment inequalities.These inequalities actually require higher moment bounds for the gig_{i}’s. We ignore this issue in this description for clarity, and because we suspect that this requirement should not be necessary.

This lets us show that small bias fools F(x)F(x). By iterating this argument log⁡w\log w times, we get a PRG\mathsf{PRG} for ff with polynomially small error and seed-length O((log⁡n)(log⁡w))=O((log⁡n)(log⁡log⁡n))O((\log n)(\log w))=O((\log n)(\log\log n)).

Read-Once 𝖢𝖭𝖥𝖢𝖭𝖥\mathsf{CNF}s.

Combinatorial Rectangles.

A combinatorial rectangle f:[W]m→{0,1}f:[W]^{m}\rightarrow\{0,1\} is a function of the form f(x1,…,xm)=∧i=1mfi(xi)f(x_{1},\ldots,x_{m})=\wedge_{i=1}^{m}f_{i}(x_{i}) for some Boolean functions f1,…,fmf_{1},\ldots,f_{m}. Thus, here we know which parts of the input correspond to which clauses (like the toy example above), but our clauses are arbitrary functions rather than ORs. To handle this, we use a more powerful family of gradual restrictions. Rather than setting w/2w/2 bits of each co-ordinate, we instead (pseudo)randomly restrict the domain of each xix_{i} to a set of size W1/2W^{1/2}. More precisely, we use a small-bias space to pseudorandomly choose hash functions h1,…,hm:[W1/2]→[W]h_{1},\ldots,h_{m}:[W^{1/2}]\rightarrow[W] and replace ff with the restricted function f′(z1,…,zm)=∧i=1m(fi∘hi)(zi)f^{\prime}(z_{1},\ldots,z_{m})=\wedge_{i=1}^{m}(f_{i}\circ h_{i})(z_{i}).

Width 333 Branching Programs.

For width 3 branching programs, inspired by Sima and Zak [SZ11] we reduce the task of constructing HSG\mathsf{HSG}s for width 3 to that of constructing HSG\mathsf{HSG}s for read-once CNF\mathsf{CNF} formulas where we also allow some clauses to be parities. Our PRG\mathsf{PRG} construction for read-once CNF\mathsf{CNF}s directly extends to also handle such formulas with parities (intuitively because small-bias spaces treat parities just like individual variables). The first step of our reduction actually works for any width dd, and shows how to reduce the the task of constructing HSG\mathsf{HSG}s for width dd to constructing hitting set generators for width dd branching programs with sudden death, where the states in the bottom level are all assumed to be Reject states.

Organization.

Section 5 describes our PRG\mathsf{PRG} construction for combinatorial rectangles. The reduction from hitting sets for width 33 branching programs to hitting sets for CNF\mathsf{CNF}s with parity is in Section 6. The generator for read-once CNF\mathsf{CNF}s and for CNF\mathsf{CNF}s with parity are presented in Section 7 and Section 8 respectively.

Preliminaries

We shall make extensive use of small-bias spaces, introduced in the seminal work of Naor and Naor [NN93]. Usually these are defined as distributions over {0,1}n\{0,1\}^{n}, but it is more convenient for us to work with {±1}n\{\pm 1\}^{n}.

There exist explicit constructions of ε\varepsilon-biased spaces which can be sampled from with O(log⁡n+log⁡(1/ε))O(\log n+\log(1/\varepsilon)) random bits [NN93]. These give efficient pseudorandom generators for the class of parity functions.

Let 0<α,δ<1/20<\alpha,\delta<1/2. We say a distribution on D{\cal D} on 2[n]2^{[n]} is δ\delta-almost independent with bias α\alpha if I←DI\leftarrow{\cal D} satisfies the following conditions:

For any distinct indices i1,…,ik∈[n]i_{1},\ldots,i_{k}\in[n] and b1,…,bk∈{0,1}kb_{1},\ldots,b_{k}\in\{0,1\}^{k},

There exist explicit constructions of distributions in D{\cal D} as above which only need O(log⁡n+log⁡(1/αδ))O(\log n+\log(1/\alpha\delta)) random bits [NN93]. We will write I←D(α,δ)I\leftarrow{\cal D}(\alpha,\delta) for short whenever II is sampled from a δ\delta-almost independent distribution with bias α\alpha as above.

Sandwiching Approximators.

It is easy to see that the existence of such approximations implies that ff is δ+tε\delta+t\varepsilon fooled by any ε\varepsilon-biased distribution. In fact, as was implicit in the work of Bazzi [Baz09] and formalized in the work of De et. al. [DETT10], being fooled by small-bias spaces is essentially equivalent to the existence of good sandwiching approximators.

Pseudorandom Generators for 𝖢𝖭𝖥𝖢𝖭𝖥\mathsf{CNF}s.

A Conjunctive normal form formula (CNF\mathsf{CNF}) is a conjunction of disjunctions of literals. Throughout we view CNF\mathsf{CNF}s as functions on {±1}n\{\pm 1\}^{n}, where we identify −1-1 with false\mathtt{false} and 11 with true\mathtt{true}. We say a CNF\mathsf{CNF} f=C1∧C2∧⋯∧Cmf=C_{1}\wedge C_{2}\wedge\cdots\wedge C_{m} is a read-once CNF\mathsf{CNF} (RCNF\mathsf{RCNF}), if no variable appears (by itself or as is its negation) more than once. We call mm the size of ff and the maximum number of variables in C1,…,CmC_{1},\ldots,C_{m} the width of ff. We shall also use the following results of [DETT10], [KLW10] which say that RCNF\mathsf{RCNF}s with small number of clauses have very good sandwiching approximators.

Let f:{±1}n→{0,1}f:\{\pm 1\}^{n}\rightarrow\{0,1\} be a RCNF\mathsf{RCNF} with at most mm clauses. Then, for every ε>0\varepsilon>0, ff has ε\varepsilon-sandwiching polynomials with L1⁡\operatorname*{\mathsf{L_{1}}}-norm at most mO(log⁡(1/ε))m^{O(\log(1/\varepsilon))}.

Let f:{±1}n→{0,1}f:\{\pm 1\}^{n}\rightarrow\{0,1\} be a CNF\mathsf{CNF} with at most mm clauses and width at most ww. Then, for every ε>0\varepsilon>0, ff has ε\varepsilon-sandwiching polynomials with L1⁡\operatorname*{\mathsf{L_{1}}}-norm at most (m/ε)O(wlog⁡w)(m/\varepsilon)^{O(w\log w)}.

Sandwiching Approximators for Symmetric Functions

Our main result on sandwiching approximators for symmetric functions is the following:

Let σ2=(∑iσi2)/m\sigma^{2}=(\sum_{i}\sigma_{i}^{2})/m and δ∈(0,1)\delta\in(0,1) and ε,k>0\varepsilon,k>0 be such that

Let P(x)=∑i=0mciSi(g1(x),…,gm(x))P(x)=\sum_{i=0}^{m}c_{i}S_{i}(g_{1}(x),\ldots,g_{m}(x)) be a symmetric multilinear function of the gig_{i}s that computes a bounded function P:{±1}n→[−B,B]P:\{\pm 1\}^{n}\rightarrow[-B,B], with ∣ci∣≤C|c_{i}|\leq C for all i∈[m]i\in[m]. Then,

For every ε\varepsilon-biased distribution D\mathcal{D}, we have

PP has O(B+C)δO(B+C)\delta sandwiching approximations of L1⁡\operatorname*{\mathsf{L_{1}}} norm O((B+C)(mt+1)2kδ−3)O((B+C)(mt+1)^{2k}\delta^{-3}).

As an illustration of this theorem, we state the following immediate corollary which formalizes the argument for the toy example in the introduction.

To derive Theorem 3.2 from Theorem 3.1, observe that in the notation from Section 1.3, m=2w+1m=2^{w+1}, σ2≈2−3w/2\sigma^{2}\approx 2^{-3w/2} and all the other conditions hold.

In the rest of this section, we prove the first statement of Theorem 3.1. The second statement follows from the first by Lemma 2.6. We first sketch the steps involved in the proof.

Let k,εk,\varepsilon be as in the theorem and let D{\cal D} be a ε\varepsilon-biased distribution. Let P≤k≡∑i=0kciSi(g1,…,gm)P_{\leq k}\equiv\sum_{i=0}^{k}c_{i}S_{i}(g_{1},\ldots,g_{m}). We will prove the theorem by showing that PP cannot distinguish the uniform distribution from D{\cal D} by a series of inequalities:

To do this, we first show that there is an event E\mathcal{E} that happens with high probability under any ε\varepsilon-biased distribution, and conditioned on which P≤kP_{\leq k} is a very good approximation for PP. We then prove the last inequality by conditioning on the event E\mathcal{E} and using Cauchy-Schwarz to bound the error when E\mathcal{E} does not occur. The event E\mathcal{E} will correspond to ∣S1(g1,…,gm)∣|S_{1}(g_{1},\ldots,g_{m})|, ∣S2(g1,…,gm)∣|S_{2}(g_{1},\ldots,g_{m})| being small, which we show happens with high probability using classical moment bounds. Finally, we show that P≤kP_{\leq k} approximates PP well if E\mathcal{E} happens by using the Newton-Girard Identities for symmetric polynomials (see Lemma 3.6).

Our first task will be to show that under the assumptions of the theorem, ∣∑igi(x)∣|\sum_{i}g_{i}(x)| and ∣∑igi(x)2∣|\sum_{i}g_{i}(x)^{2}| are small with high probability. We do so by first bounding the kk’th moments of these variables and applying Markov’s inequality. For this we will use Rosenthal’s inequalities ([Ros72], [JSZ85], [Pin94]) which state the following:

Let Zi=gi(x)Z_{i}=g_{i}(x), x∼{±1}n{x\sim\{\pm 1\}^{n}}. Then, ZiZ_{i}’s are independent mean-zero variables. Now, by Rosenthal’s inequality, Equation (3.2),

The second bound follows similarly by applying Rosenthal’s inequality,Equation (3.3), to the non-negative random variables Zi2=gi2Z_{i}^{2}=g_{i}^{2}:

A consequence of Lemma 3.4 is the following:

For all k≥2k\geq 2, under any ε\varepsilon-biased distribution D\mathcal{D},

Next we show that ∣∑igi∣|\sum_{i}g_{i}|, ∑igi2\sum_{i}g_{i}^{2} being small implies the smallness in absolute value of Sk(g1,…,gm)S_{k}(g_{1},\ldots,g_{m}) for every k≥2k\geq 2. Note that there is no probability involved in this statement.

Let z1,…,zmz_{1},\ldots,z_{m} be real numbers that satisfy

To prove this lemma, we first bound the power sums Ek(z1,…,zm)E_{k}(z_{1},\ldots,z_{m}) which are defined as

Hence we have ∣Ek(z1,…,zm)∣≤μk|E_{k}(z_{1},\ldots,z_{m})|\leq\mu^{k}.

The relation between the power sums and elementary symmetric polynomials is given by the Newton-Girard identities (see [CLO07], Chapter 7.1 for instance) discovered in the 17th century.

We use these to show by induction on kk that ∣Sk∣≤μk|S_{k}|\leq\mu^{k}. For k=2k=2, we have

Assume we have proved the bound up to k−1k-1. Using the Newton-Girard formula,

denote the truncation of PP to degree kk. We use the following bounds for P≤kP_{\leq k}.

We observe that the symmetric polynomials S0=1,…,SkS_{0}=1,\ldots,S_{k} on g1,…,gmg_{1},\ldots,g_{m} are mutually orthogonal under the uniform distribution, i.e., for i≠ji\neq j,

For brevity, we shall omit writing out the argument xx in the following. For i≥1i\geq 1, we have

Therefore, assuming that mσ2≤1/2m\sigma^{2}\leq 1/2,

Since L1⁡[gj]≤t\operatorname*{\mathsf{L_{1}}}[g_{j}]\leq t, we have

which guarantees δ5/2≤(mσ2)k≤δ5\delta^{5}/2\leq(m\sigma^{2})^{k}\leq\delta^{5}. By Equation (3.1) we have

Finally, for all ε\varepsilon small enough so that ε⋅(mt+1)2k≤δ4\varepsilon\cdot(mt+1)^{2k}\leq\delta^{4}, the following bounds will hold under the assumptions of Theorem 3.1, by Corollary 3.5 and Lemma 3.7,

We now proceed to prove Statement (1) in Theorem 3.1, which we restate below with specific constants.

With the notation from Theorem 3.1, we have

We will show that under any ε\varepsilon-biased distribution D\mathcal{D},

Note that U\mathcal{U} is ε\varepsilon-biased for ε=0\varepsilon=0, so the above bound applies to it. We derive Equation (3.16) from Equation (3.17) as follows:

The first and last terms are bounded using Equation (3.17). We bound the middle term by

Equation (3.16) follows by plugging these bounds into Equation (3.18):

We now prove Equation (3.17). Define a good event G⊆{±1}nG\subseteq\{\pm 1\}^{n} containing those xx for which the following bounds hold:

We now bound the probability of ¬G\neg G using Markov’s inequality applied to a kk’th moment bound obtained from Equations (3.14) and (3.15):

Let 1G(x)\mathbf{1}_{G}(x) and 1¬G(x)\mathbf{1}_{\neg G}(x) denote the indicators of GG and ¬G\neg G respectively. We have

Plugging Equations (3.23) and (3.1) into Equation (3.22) we get Equation (3.17). ∎

An XOR Lemma for ε𝜀\varepsilon-biased spaces

Let f1,…,fk:{±1}n→f^{1},\ldots,f^{k}:\{\pm 1\}^{n}\rightarrow be functions on disjoint input variables such that each fif^{i} has ε\varepsilon-sandwiching approximations of L1⁡\operatorname*{\mathsf{L_{1}}} norm tt. Let H:k→H:^{k}\rightarrow be a multilinear function in its inputs. Let h:{±1}n→h:\{\pm 1\}^{n}\rightarrow be defined as h(x)=H(f1(x),…,fk(x))h(x)=H(f^{1}(x),\ldots,f^{k}(x)). Then hh has (16kε)(16^{k}\varepsilon)-sandwiching approximations of L1⁡\operatorname*{\mathsf{L_{1}}} norm 4k(t+1)k4^{k}(t+1)^{k}.

We will show using a hybrid argument, that

For simplicity, we only do the case S=[k]S=[k]. We define a sequence of polynomials MuS=M0,M1…,Mk=MSM^{S}_{u}=M_{0},M_{1}\ldots,M_{k}=M^{S} where

To construct a lower-sandwiching approximator, we observe that

Finally, let 1S∈{0,1}k\mathbf{1}_{S}\in\{0,1\}^{k} denote the indicator vector of the set SS. Since HH is multilinear, we can write

A 𝖯𝖱𝖦𝖯𝖱𝖦\mathsf{PRG} for Combinatorial Rectangles

We start by defining combinatorial rectangles (CR\mathsf{CR}s).

A combinatorial rectangle is a function f:({±1}w)m→{0,1}f:\left(\{\pm 1\}^{w}\right)^{m}\rightarrow\{0,1\} of the form f(x1,…,xm)=⋀i=1mfi(xi)f(x_{1},\ldots,x_{m})=\bigwedge_{i=1}^{m}f_{i}(x_{i}), where fi:{±1}w→{0,1}f_{i}:\{\pm 1\}^{w}\rightarrow\{0,1\}, and each xi∈{±1}wx_{i}\in\{\pm 1\}^{w}.We refer to the fif_{i}s as the co-ordinate functions of ff. We refer to mm as the sizeThis is usually referred to as the dimension in the literature; we use this terminology for the CNF\mathsf{CNF} analogy. of ff and ww as the width.

There is an explicit pseudorandom generator for the class of combinatorial rectangles of width ww and size mm with error at most δ\delta and seed-length O((log⁡w)(log⁡(m)+w+log⁡(1/δ))+log⁡(1/δ)log⁡log⁡(1/δ)log⁡log⁡log⁡(1/δ))O((\log w)(\log(m)+w+\log(1/\delta))+\log(1/\delta)\log\log(1/\delta)\log\log\log(1/\delta)).

Consider the following two-step process for generating a uniformly element xx from ({±1}w)m\left(\{\pm 1\}^{w}\right)^{m}.

Choose a sequence of multi-sets S1,…,Sm⊆{±1}wS_{1},\ldots,S_{m}\subseteq\{\pm 1\}^{w} each of size 2v2^{v} by picking 2v2^{v} elements of {±1}w\{\pm 1\}^{w} independently and uniformly at random.

Sample xi∼Six_{i}\sim S_{i} and set x=(x1,…,xm)x=(x_{1},\ldots,x_{m}).

Our final generator is obtained by iterating the one-step procedure for T=O(log⁡log⁡m))T=O(\log\log m)) steps: At step tt we choose multi-sets S1t⊆S1t−1,…,Smt⊆Smt−1S_{1}^{t}\subseteq S_{1}^{t-1},\ldots,S_{m}^{t}\subseteq S_{m}^{t-1} each of cardinality exactly 2(3/4)tw2^{(3/4)^{t}w} using small-bias. After TT steps, we are left with a rectangle of width w=O(log⁡log⁡m)w=O(\log\log m). Such rectangles can be fooled by ε\varepsilon-bias spaces where ε=1/mO(log⁡log⁡m)\varepsilon=1/m^{O(\log\log m)}. The total randomness used over all the steps is O((log⁡m)⋅(log⁡log⁡m))O((\log m)\cdot(\log\log m)).

In the following, let ff be a CR\mathsf{CR} of width ww and coordinate functions f1,…,fm:{±1}w→{0,1}f_{1},\ldots,f_{m}:\{\pm 1\}^{w}\rightarrow\{0,1\}. We describe a restriction of ff which reduces the width from ww to v=3w/4v=3w/4.

For every a∈{±1}va\in\{\pm 1\}^{v}, we sample string xa=(xa,1,…,xa,m)∼{{±1}w}mx_{a}=(x_{a,1},\ldots,x_{a,m})\sim\{\{\pm 1\}^{w}\}^{m}.

For i∈[m]i\in[m], we define restricted co-ordinate functions fivf^{v}_{i} on inputs yiy_{i} by fiv(yi)=f(xyi,i)f^{v}_{i}(y_{i})=f(x_{y_{i},i}).

Define the restricted rectangle fv:({±1}v)m→{0,1}f^{v}:\left(\{\pm 1\}^{v}\right)^{m}\rightarrow\{0,1\} on y1,…,ymy_{1},\ldots,y_{m} by

Note that each fˉi\bar{f}_{i} only depends on column ii of xˉ\bar{x}. Define the bias function of xˉ\bar{x} as

The main lemma of this section shows that this bias function can be fooled by small-bias spaces.

For the sample average functions fˉi\bar{f}_{i} defined as in Equation (5.2), we have

where the last inequality holds for any Boolean function on ww input bits. The bound on the expectation follows directly from Equation (5.2). ∎

The justification for the name bias function comes from the following lemma.

For fvf^{v} and FF as defined in Equation (5.1) and Equation (5.3),

We will need the following technical lemma, which helps us show that the functions gig_{i} satisfy the moment conditions needed to apply Theorem 3.1. For brevity, let U\mathcal{U} denote ({±1}v)2v×m\left(\{\pm 1\}^{v}\right)^{2^{v}\times m} in the remainder of this section.

W start by bounding the moments of (fˉi(xˉ)−pi)(\bar{f}_{i}(\bar{x})-p_{i}). We have

which is the sum of 2v2^{v} i.i.d pip_{i}-biased random variables with mean . Hence we can apply Rosenthal’s inequality (Equation (3.2)) to get

For j∈j\in, let Fj(xˉ)=∏i∈Sjfˉi(xˉ)F_{j}(\bar{x})=\prod_{i\in S_{j}}\bar{f}_{i}(\bar{x}) so that F(xˉ)=∏j=13Fj(xˉ)F(\bar{x})=\prod_{j=1}^{3}F_{j}(\bar{x}). We will construct sandwiching approximations for each FjF_{j} and then combine them via Theorem 4.1. We assume without loss of generality that pi≤1−2−wp_{i}\leq 1-2^{-w}. Else, the ii’th coordinate has bias 11 and can be ignored without changing the rest of the proof.

We show that L1⁡[F1]\operatorname*{\mathsf{L_{1}}}[F_{1}] is itself small. Observe that δ≤p=∏i=1mpi≤∏i∈S1pi≤2−v∣S1∣/10\delta\leq p=\prod_{i=1}^{m}p_{i}\leq\prod_{i\in S_{1}}p_{i}\leq 2^{-v|S_{1}|/10}, which implies that ∣S1∣≤10log⁡(1/δ)/v|S_{1}|\leq 10\log(1/\delta)/v. Thus, by Claim 5.4,

Hence Theorem 3.1 implies the existence of O(δ)O(\delta) (B=1B=1 and C=∏i∈S2pi≤1C=\prod_{i\in S_{2}}p_{i}\leq 1) sandwiching approximations with L1⁡\operatorname*{\mathsf{L_{1}}} norm bounded by (mt+1)2k(mt+1)^{2k} where

By Theorem 3.1, F3F_{3} has O(δ)O(\delta) sandwiching approximations with L1⁡\operatorname*{\mathsf{L_{1}}} norm bounded by (mt+1)2k(mt+1)^{2k} where

Sandwiching F𝐹F.

The last inequality holds since at each step, we at most double the acceptance probability of the chosen co-ordinate, and hence of the overall formula. Hence we have

2 A Recursive Sampler for Combinatorial Rectangles

We now use Lemma 5.3 recursively to prove Theorem 5.2. Our generator is based on a derandomized recursive sampling procedure which we describe below. The inputs are the width ww and the size mm of the rectangles we wish to fool and an error parameter δ≤1/2w\delta\leq 1/2^{w}.

Let v0=wv_{0}=w, vj=(34)jwv_{j}=\left(\frac{3}{4}\right)^{j}w.

While vj≥50log⁡log⁡(1/δ)v_{j}\geq 50\log\log(1/\delta) we sample xˉj∈{{±1}vj−1}2vj×m\bar{x}_{j}\in\{\{\pm 1\}^{v_{j-1}}\}^{2^{v_{j}}\times m} according to an ε1\varepsilon_{1}-biased distribution for ε≤(1/δ)c1\varepsilon\leq(1/\delta)^{c_{1}} for some large constant c1c_{1}.

Assume that at step tt (where t=O(log⁡w)t=O(\log w)), vt≤50log⁡log⁡(1/δ)v_{t}\leq 50\log\log(1/\delta). Sample an input xˉt∈({±1}vt−1)m\bar{x}_{t}\in\left(\{\pm 1\}^{v_{t-1}}\right)^{m} from an ε2\varepsilon_{2}-biased distribution where, for some large constant c2c_{2},

We next describe how we use x=(xˉ1,…,xˉt)\mathbf{x}=(\bar{x}_{1},\ldots,\bar{x}_{t}) to output an element of ({±1}w)m\left(\{\pm 1\}^{w}\right)^{m}. For k∈{1,…,t−1}k\in\{1,\ldots,t-1\} we denote by sks_{k} the recursive sampling function which takes strings xˉj∈{{±1}vj−1}2vj×m\bar{x}_{j}\in\{\{\pm 1\}^{v_{j-1}}\}^{2^{v_{j}}\times m} for j∈{k+1,…,t−1}j\in\{k+1,\ldots,t-1\} and xˉt∈({±1}vt)m\bar{x}_{t}\in\left(\{\pm 1\}^{v_{t}}\right)^{m} and produces an output string sk(xˉk+1,…,xˉt)∈({±1}vk)ms_{k}(\bar{x}_{k+1},\ldots,\bar{x}_{t})\in\left(\{\pm 1\}^{v_{k}}\right)^{m}. Set st−1(xˉt)≡xˉts_{t-1}(\bar{x}_{t})\equiv\bar{x}_{t}. Fix k<t−1k<t-1 and let z=sk+1(xˉk+2,…,xˉt)z=s_{k+1}(\bar{x}_{k+2},\ldots,\bar{x}_{t}) be already defined. To define sks_{k}, we will use zz to look up entries from the matrix xˉk+1\bar{x}_{k+1}, so that the ii’th coordinate of sks_{k} will be the entry of xˉk+1\bar{x}_{k+1} in the ziz_{i}’th row and ii’th column:

The above definition, though intuitive is a bit cumbersome to work with. It will be far easier for analysis to fix the input combinatorial rectangle f:({±1}w)m→{0,1}f:\left(\{\pm 1\}^{w}\right)^{m}\rightarrow\{0,1\} and study the effect of the samplers sks_{k} on ff. Let f0=ff^{0}=f. Each matrix xˉj\bar{x}_{j} gives a restriction of fj−1f^{j-1}: it defines restricted co-ordinate functions fij:{±1}vj→{0,1}f_{i}^{j}:\{\pm 1\}^{v_{j}}\rightarrow\{0,1\} and a corresponding restricted rectangle fj:{{±1}vj}m→{0,1}f^{j}:\{\{\pm 1\}^{v_{j}}\}^{m}\rightarrow\{0,1\}. We only use the following property of the sjs_{j}s:

To analyze the last step, we use the following corollary that follows from [DETT10].

Every combinatorial rectangle f:{{±1}v}m→{±1}f:\{\{\pm 1\}^{v}\}^{m}\rightarrow\{\pm 1\} is δ\delta-fooled by ε\varepsilon-bias spaces for ε=(m2v/δ)−O(vlog⁡v)\varepsilon=\left(m2^{v}/\delta\right)^{-O(v\log v)}.

Each co-ordinate function fif_{i} can be expressed as a CNF\mathsf{CNF} formula with 2v2^{v} clauses of width vv. Hence we can write ff as a CNF\mathsf{CNF} formula with m2vm2^{v} clauses of width vv. Now apply Theorem 2.8. ∎

be the domain of x\mathbf{x} as defined in the generator construction.

Let Dj{{\cal D}}^{j} denote the distribution on U\mathcal{U} where xˉi\bar{x}_{i} are sampled from an ε\varepsilon-biased distribution for i<ji<j and uniformly for i≥ji\geq j. Then, s0(D0)s_{0}({{\cal D}}^{0}) is the uniform distribution on {{±1}w}m\{\{\pm 1\}^{w}\}^{m} whereas s0(Dt)s_{0}({{\cal D}}^{t}) is the output of our Recursive Sampler.

Let f:{{±1}w}m→{0,1}f:\{\{\pm 1\}^{w}\}^{m}\rightarrow\{0,1\} be a combinatorial rectangle with width ww and size mm. For distributions D0{{\cal D}}^{0} and Dt{{\cal D}}^{t} defined above, we have

Let δ′=δ/t\delta^{\prime}=\delta/t. We will show by a hybrid argument that for all j∈{1,…,t}j\in\{1,\ldots,t\}

In both Dj−1{{\cal D}}^{j-1} and Dj{{\cal D}}^{j}, xˉi\bar{x}_{i} is drawn from an ε\varepsilon-biased distribution for i<ji<j, and from the uniform distribution for i>ji>j. The only difference is xˉj\bar{x}_{j} which is sampled uniformly in Dj−1{{\cal D}}^{j-1} and from an ε\varepsilon-biased distribution in Dj{{\cal D}}^{j}.

We couple the two distributions by drawing xˉi\bar{x}_{i} for i<ji<j according to an ε\varepsilon-biased distribution. By Equation (5.4), we get

Define the bias function Fj−1F^{j-1} of the rectangle fj−1f^{j-1} as in Equation (5.3). The string xˉj\bar{x}_{j} defines a restricted rectangle fj:{{±1}vj}m→{0,1}f^{j}:\{\{\pm 1\}^{v_{j}}\}^{m}\rightarrow\{0,1\}. Applying Claim 5.5 we get

In both distributions Dj−1{{\cal D}}^{j-1} and Dj{{\cal D}}^{j}, xˉj+1,…,xˉt\bar{x}_{j+1},\ldots,\bar{x}_{t} are distributed uniformly at random, hence sj(Dj−1)=sj(Dj)∼({±1}vj)ms_{j}({{\cal D}}^{j-1})=s_{j}({{\cal D}}^{j})\sim\left(\{\pm 1\}^{v_{j}}\right)^{m} are uniformly distributed, and this variable is independent of xˉj\bar{x}_{j}. So we have

For j=tj=t, note that this is equivalent to showing that ε2\varepsilon_{2}-bias fools the rectangle ftf^{t}. By Corollary 5.7, ftf^{t} is δ′\delta^{\prime} fooled by ε2\varepsilon_{2}-biased spaces where

Plugging these back into Equation (5.5), the error is bounded by t⋅δ′≤δt\cdot\delta^{\prime}\leq\delta. ∎

To complete the proof of Theorem 5.2, we observe that the total seed-length is

𝖧𝖲𝖦𝖧𝖲𝖦\mathsf{HSG}s for Read-Once Branching Programs

In thsi section, we reduce the problem of constructing an HSG\mathsf{HSG} for width 33 branching programs to the problem of HSG\mathsf{HSG} construction for CNF\mathsf{CNF} formulas which are allowed to have parity functions as clauses. We start with some definitions.

A read-once branching program (ROBP) BB of width dd has a vertex set VV partitioned into n+1n+1 layers V0∪⋯∪VnV_{0}\cup\cdots\cup V_{n} where

Vt={(t,i)}i∈[d]V_{t}=\{(t,i)\}_{i\in[d]} for t∈{1,…,n−1}t\in\{1,\ldots,n-1\}.

The vertex (0,0)(0,0) is referred to as the Start state, while (n,1)(n,1) and (n,d)(n,d) are referred to as Acc and Rej, respectively. Each vertex in v∈Vtv\in V_{t} has two out-edges labeled and 11, which lead to vertices N0(v)N_{0}(v) and N1(v)N_{1}(v) respectively in Vt+1V_{t+1}. We refer to the set of states {(t,1)}t=1n\{(t,1)\}_{t=1}^{n} as the top level and {(t,d)}t=1n\{(t,d)\}_{t=1}^{n} as the bottom level.

Let BP(d,n)\mathsf{BP(d,n)} denote the set of all f:{0,1}n→{0,1}f:\{0,1\}^{n}\rightarrow\{0,1\} that can be computed by width dd ROBPs. Our hitting set generator for BP(3,n)\mathsf{BP(3,n)} uses a reduction to the problem of hitting CNF\mathsf{CNF} formulas where clauses can be disjunctions of variables or parity functions.

Let CNF⊕(n)\mathsf{CNF^{\oplus}}(n) denote the class of read once formulas f:{0,1}n→{0,1}f:\{0,1\}^{n}\rightarrow\{0,1\} of the form f=∧i=1mTif=\wedge_{i=1}^{m}T_{i} where each TiT_{i} is either a disjunction of literals or a parity function of literals and the TiT_{i}s are on disjoint variables.

Given this reduction, we get a HSG\mathsf{HSG} for BP(3,n)\mathsf{BP(3,n)} by using the PRG\mathsf{PRG} for CNF⊕\mathsf{CNF^{\oplus}} that we construct in Theorem 8.2:

For every ε>0\varepsilon>0, there exists an explicit (ε,(ε/n)O(1))(\varepsilon,(\varepsilon/n)^{O(1)})-HSG\mathsf{HSG} G:{0,1}r→{0,1}nG:\{0,1\}^{r}\rightarrow\{0,1\}^{n} for BP(3,n)\mathsf{BP(3,n)} with a seed-length of O((log⁡(n/ε))⋅(log⁡log⁡(n/ε))3)O((\log(n/\varepsilon))\cdot(\log\log(n/\varepsilon))^{3}).

We remark that using similar techniques, we can also achieve a seed-length of O((log⁡n)(log⁡(1/ε)))O((\log n)(\log(1/\varepsilon))) which is better than the above bound for large values of ε\varepsilon. We defer the details of this to the full version.

The reduction in Theorem 6.2 is carried out in three steps.

The first step (for the sake of HSG\mathsf{HSG}s) reduces arbitrary width 33 programs to “sudden death” width 33 programs, where the last state in every layer is a Rej state. (This step in fact works for all widths.)

The second step reduces “sudden death” width 33 programs to intersections of width 22 programs.

The third step reduces intersections of width 22 programs to CNF⊕\mathsf{CNF^{\oplus}} formulae.

A width dd BP with sudden death is a BP where the bottom level states are all Rej{\sf Rej} states. Formally this means N0((t,d))=N1((t,d))=(t+1,d)N_{0}((t,d))=N_{1}((t,d))=(t+1,d) for all t=1,…,n−1t=1,\ldots,n-1. Let BPRej(d,n)\mathsf{BP^{Rej}(d,n)} denote the set of functions computable by such programs.

We reduce the problem of constructing hitting sets for width dd BPs to for ones with sudden death.

We first setup some notation. For a vertex v∈Vv\in V let p(v)p(v) denote the probability of reaching Acc starting from vv over a uniformly random choice of xi+1,…,xnx_{i+1},\ldots,x_{n}. We call a state v∈Vv\in V such that p(v)=0p(v)=0 a Rej state. We order states in VtV_{t} so that

Observe that, if v∈Vjv\in V_{j} is such that p(v)≤μp(v)\leq\mu, then p((i,d))≤μp((i,d))\leq\mu for all i≥ji\geq j.

Let B∈BP(d,n)B\in\mathsf{BP(d,n)}. Let RR be a set of states such that p(v)≤μ ∀v∈Rp(v)\leq\mu\ \forall v\in R and let jj be the first layer such that R∩Vj≠∅R\cap V_{j}\neq\emptyset. Let B′B^{\prime} be obtained from BB by converting all states in RR into Rej states by redirecting the edges out of v∈R∩Viv\in R\cap V_{i}, i≥ji\geq j, to ((i+1,d))((i+1,d)). Let p′(v)p^{\prime}(v) denote the accepting probabilities of vertices in B′B^{\prime}. Then for all v∈Vv\in V, we have p′(v)≥p(v)−μp^{\prime}(v)\geq p(v)-\mu.

If p(v)≤μp(v)\leq\mu the claim is trivial, so fix vv such that p(v)>μp(v)>\mu. Let R(x)R(x) denote the event that we visit a vertex in RR if we follow xx from vv in BB and let u(x)u(x) denote the first vertex in RR that is visited by this path. Let Acc(x){\sf Acc}(x) denote the event that BB accepts. We have

where we use Pr⁡x[Acc(x)∣u(x)=r]=p(r)≤μ\Pr_{x}[{\sf Acc}(x)|u(x)=r]=p(r)\leq\mu for all r∈Rr\in R. But then

Finally, note that if we accept xx without ever reaching RR in BB, then xx is also accepted by B′B^{\prime}. Hence p′(v)≥p(v)−μp^{\prime}(v)\geq p(v)-\mu. ∎

Thus, a random walk starting at vv reaches the top level with probability at least ε/2\varepsilon/2 (since this is a necessary condition for B′B^{\prime} to accept). For j∈{i,…,n−1}j\in\{i,\ldots,n-1\}, let q(j)q(j) denote the probability that we reach the top level for the first time at layer jj. So

Hence there exists jj so that q(j)≥ε/2nq(j)\geq\varepsilon/2n.

We now make the following modifications to B′B^{\prime} to get a program B′′B^{\prime\prime} which is a width dd program with sudden death:

For t∈{i,…,j−1}t\in\{i,\ldots,j-1\} we convert the states (t,1)(t,1) into Rej states.

For t∈{j,…,n+1}t\in\{j,\ldots,n+1\} we convert the states (t,d)(t,d) into Rej states.

We don’t need to add an additional layer for making these modifications since we are turning one state in each layer to a Rej state.

It is clear that B′′B^{\prime\prime} computes a function f′′≤f′f^{\prime\prime}\leq f^{\prime}. Our goal is to show that B′′B^{\prime\prime} accepts a large subset of inputs accepted by B′B^{\prime}. Indeed, we claim that

We observe that the probability that a random walk starting at vv reaches the top level for the first time in layer jj is the same in B′′B^{\prime\prime} as in B′B^{\prime}, hence it equals q(j)≥ε/2nq(j)\geq\varepsilon/2n. Further, using Lemma 6.6 (to the sub-program of B′B^{\prime} starting at (j,1)(j,1)) we claim that

where we use the fact that p′(j,1)=p(j,1)≥p(1,1)≥εp^{\prime}(j,1)=p(j,1)\geq p(1,1)\geq\varepsilon. Note that the probability that B′′B^{\prime\prime} accepts is at least q(j)p′′(j,1)≥ε2/4nq(j)p^{\prime\prime}(j,1)\geq\varepsilon^{2}/4n, which comes from strings which reach state (j,1)(j,1) and then reach Acc.

The theorem now follows by setting g≡f′′g\equiv f^{\prime\prime}. By definition, f′′∈BPRej(d,n−k)f^{\prime\prime}\in\mathsf{BP^{Rej}(d,n-k)} and

We now reduce width 33 programs with sudden death to intersections of width 22 programs.

Throughout this section, we are given B∈BPRej(d,n)B\in\mathsf{BP^{Rej}(d,n)} computing f:{0,1}n→{0,1}f:\{0,1\}^{n}\rightarrow\{0,1\}. Let Bad{\sf Bad} denote the set of non-reject states that have an out-edge leading to a Rej{\sf Rej} state (which are all states such that p(v)=0p(v)=0). Further for each x∈{0,1}nx\in\{0,1\}^{n}, let Bad(x){\sf Bad}(x) denote the number of Bad{\sf Bad} states visited by xx.

Suppose that t≥1t\geq 1. For i∈[n]i\in[n], let YiY_{i} denote the number of vertices in Bad{\sf Bad} visited by Path(x)\mathsf{Path}(x) in the first ii layers. Then, Yn=Bad(x)Y_{n}={\sf Bad}(x). We claim that,

This is because, if Pathi(x)∈Bad\mathsf{Path}_{i}(x)\in{\sf Bad}, then with probability at least 1/21/2, Pathi+1(x)\mathsf{Path}_{i+1}(x) is a Rej state, in which case Pathj(x)\mathsf{Path}_{j}(x) is a Rej state for every j≥i+1j\geq i+1.

Further, if Yn≥tY_{n}\geq t, then there must be an index i<ni<n, where Yi≥t−1Y_{i}\geq t-1, Pathi(x)∈Bad\mathsf{Path}_{i}(x)\in{\sf Bad} and Yn>YiY_{n}>Y_{i} (for instance ii can be the least jj such that Yj=t−1Y_{j}=t-1). Therefore,

where the last two inequalities follow from Equation (6.1) and the fact that YiY_{i}’s are non-decreasing. The claim now follows by induction. ∎

Let Pr⁡x∼{0,1}n[f(x)=1]=p\Pr_{x\sim\{0,1\}^{n}}[f(x)=1]=p. Then

The rest of our argument is specific to d=3d=3. We restrict our attention to the accepting strings x∈f−1(1)x\in f^{-1}(1). For each vertex v∈Vv\in V let q(v)=Pr⁡x∼f−1(1)[v∈Path(x)]q(v)=\Pr_{x\sim f^{-1}(1)}[v\in\mathsf{Path}(x)]. Each layer tt has three states (t,1),(t,2)(t,1),(t,2) and (t,3)∈Rej(t,3)\in{\sf Rej}. We assume that q((t,1))≥q((t,2))≥q(t,3)=0q((t,1))\geq q((t,2))\geq q(t,3)=0 (since accepting strings never visit a Rej{\sf Rej} state). We first bound the probability mass on states in the set Bad{\sf Bad}.

We partition the set Bad{\sf Bad} based on the value of q(v)q(v):

Since for all tt, q((t,1))≥1/2q((t,1))\geq 1/2 we have (t,1)∉Bads(t,1)\not\in{\sf Bad}^{s}. Sort the vertices in Bads{\sf Bad}^{s} according to layer, so that Bads={(t1,2),…,(tw,2)}{\sf Bad}^{s}=\{(t_{1},2),\ldots,(t_{w},2)\}. We have

Note that if (ti−1,2)∉Path(x)(t_{i-1},2)\not\in\mathsf{Path}(x) then (ti−1,1)∈Path(x)(t_{i-1},1)\in\mathsf{Path}(x). Hence conditioning on not visiting (t1,2),…,(ti−1,2)(t_{1},2),\ldots,(t_{i-1},2) is the same as conditioning on visiting (t1,1),…,(ti−1,1)(t_{1},1),\ldots,(t_{i-1},1). Further, conditioning on visiting (t1,1),…,(ti−1,1)(t_{1},1),\ldots,(t_{i-1},1) is the same as conditioning on (ti−1,1)(t_{i-1},1). Therefore,

because q(ti−1,1)=1−q(ti−1,2)≥3/4q(t_{i-1},1)=1-q(t_{i-1},2)\geq 3/4. Hence we have

where we used the fact that for z≤1/4z\leq 1/4, (1−4z/3)≥e−2z(1-4z/3)\geq e^{-2z} and ∑v∈Badsq(v)≤2log⁡(2/p)\sum_{v\in{\sf Bad}^{s}}q(v)\leq 2\log(2/p). ∎

We only need to argue that B′(a)B^{\prime}(a) and hence B′′B^{\prime\prime} is an intersection of width 22 branching programs. Note that B′(a)B^{\prime}(a) is a width 22 program but with Rej states for every vertex in Bads={(t1,2),…,(tw,2)}{\sf Bad}^{s}=\{(t_{1},2),\ldots,(t_{w},2)\}. But we can view B′(a)B^{\prime}(a) as an intersection of branching programs Bi′B^{\prime}_{i} for i∈{1,…,w−1}i\in\{1,\ldots,w-1\}, where Bi′B^{\prime}_{i} has start state (ti,1)(t_{i},1) and accept state (ti+1,1)(t_{i+1},1). This completes the proof of the claim. ∎

We now perform the final step in our sequence of reductions to prove Theorem 6.2.

Let f∈BP(2)f\in\mathsf{BP(2)} be computed by a read-once, width 22 branching program that reads variables xSx_{S} for S⊆[n]S\subseteq[n]. Then ff is computable by a decision list Lf\mathcal{L}_{f} of the following form.

Lf\mathcal{L}_{f} reads variables xVx_{V} for some V⊂SV\subset S of size kk.

We derive two consequences of Theorem 6.13.

4 𝖧𝖲𝖦𝖧𝖲𝖦\mathsf{HSG} for 𝖡𝖯​(𝟥,𝗇)𝖡𝖯3𝗇\mathsf{BP(3,n)}

We now combine the previous sections to prove Theorems 6.2, 6.3.

Follows immediately from combining Theorem 6.5, 6.7, 6.12. ∎

Define, G:{0,1}log⁡n+s→{0,1}nG:\{0,1\}^{\log n+s}\rightarrow\{0,1\}^{n} as follows:

Sample r∼[n]r\sim[n] and y∼{0,1}sy\sim\{0,1\}^{s}.

Output rr s followed by the first n−rn-r bits of G′(y)G^{\prime}(y).

We claim that GG is a (ε,(ε/n)c+1)(\varepsilon,(\varepsilon/n)^{c+1})-HSG\mathsf{HSG} for BP(3,n)\mathsf{BP(3,n)}.

𝖯𝖱𝖦𝖯𝖱𝖦\mathsf{PRG}s for Read-Once 𝖢𝖭𝖥𝖢𝖭𝖥\mathsf{CNF}s

For every ε>0\varepsilon>0, there exists an explicit PRG\mathsf{PRG} G:{0,1}r→{±1}nG:\{0,1\}^{r}\rightarrow\{\pm 1\}^{n} that fools all RCNF\mathsf{RCNF}s on nn-variables with error at most ε\varepsilon and seed-length r=O((log⁡(n/ε))⋅(log⁡log⁡(n/ε))3)r=O((\log(n/\varepsilon))\cdot(\log\log(n/\varepsilon))^{3}).

The core of our construction will be a structural lemma that can be summarized as follows: The bias function of a random restriction of ff where each variable has a small constant probability of being set has small L1⁡\operatorname*{\mathsf{L_{1}}}-norm sandwiching approximators.

For a function f:{±1}n→f:\{\pm 1\}^{n}\rightarrow, a subset I⊆[n]I\subseteq[n] and x∈{±1}Ix\in\{\pm 1\}^{I}, define fI(x):{±1}I→f_{I}(x):\{\pm 1\}^{I}\rightarrow by

where x∘yx\circ y denotes the appropriate concatenation: (x∘y)i=xi(x\circ y)_{i}=x_{i} if i∈Ii\in I and (x∘y)i=yi(x\circ y)_{i}=y_{i} if i∉Ii\notin I. We call fIf_{I} the “bias function” of the restriction (x,I)(x,I).

We will show that for a RCNF\mathsf{RCNF} ff, and II chosen in an almost kk-wise independent manner, the bias function fIf_{I} has small L1⁡\operatorname*{\mathsf{L_{1}}}-norm sandwiching approximators with very high probability (over the choice of II).

There exists a constant α\alpha and c>0c>0 such that the following holds for every ε>0\varepsilon>0 and δ<(ε/n)c\delta<(\varepsilon/n)^{c}. Let f:{±1}n→{0,1}f:\{\pm 1\}^{n}\rightarrow\{0,1\} be a RCNF\mathsf{RCNF} and I∼D(α,δ)I\sim{\cal D}(\alpha,\delta). Then, with probability at least 1−ε1-\varepsilon, fIf_{I} has ε\varepsilon-sandwiching approximators with L1⁡\operatorname*{\mathsf{L_{1}}}-norm at most

Let f=C1∧C2∧⋯∧Cmf=C_{1}\wedge C_{2}\wedge\cdots\wedge C_{m}. By abuse of notation, we will let CiC_{i} denote the set of variables appearing in CiC_{i} as well. In our analysis we shall group the clauses based on their widths. Let β=1+1/6\beta=1+1/6.

Fix a w∈WBw\in W_{B}. Note that fwf_{w} has mw<2βwlog⁡(1/ε)m_{w}<2^{\beta w}\log(1/\varepsilon) clauses. Without loss of generality, suppose that fw=C1∧C2∧⋯∧Cmwf_{w}=C_{1}\wedge C_{2}\wedge\cdots\wedge C_{m_{w}}. Let I∼D(α,δ)I\sim{\cal D}(\alpha,\delta).

For brevity, suppose that fw′=C1∧⋯∧Cm′f^{\prime}_{w}=C_{1}\wedge\cdots\wedge C_{m^{\prime}} and let wj=∣Cj∣∈[w,βw)w_{j}=|C_{j}|\in[w,\beta w). For x∈{±1}Ix\in\{\pm 1\}^{I}, and j∈[m′]j\in[m^{\prime}], define gj′:{±1}I→g_{j}^{\prime}:\{\pm 1\}^{I}\rightarrow by

Let gj(x)=gj′(x)/pjg_{j}(x)=g_{j}^{\prime}(x)/p_{j}. Then,

By expanding the above expression we can write (fw′)I(x)=∑k=1m′ckSk(g1,…,gm′)(f_{w}^{\prime})_{I}(x)=\sum_{k=1}^{m^{\prime}}c_{k}S_{k}(g_{1},\ldots,g_{m^{\prime}}) where the coefficients ckc_{k} are at most 11 in absolute value. We will show that g1,…,gm′g_{1},\ldots,g_{m^{\prime}} satisfy the conditions of Theorem 3.2.

Clearly, g1,…,gm′g_{1},\ldots,g_{m^{\prime}} are on disjoint subsets of xx. Note that gj′(x)∈[−1/22w/3,1/22w/3]g_{j}^{\prime}(x)\in[-1/2^{2w/3},1/2^{2w/3}]. Hence, as pj≥1/2p_{j}\geq 1/2, gj(x)∈[−σ,σ]g_{j}(x)\in[-\sigma,\sigma] for σ=2/22w/3\sigma=2/2^{2w/3}. Now, as w≥c1log⁡log⁡(1/ε)w\geq c_{1}\log\log(1/\varepsilon), m′≤2βwlog⁡(1/ε)≤2(β+1/c1)wm^{\prime}\leq 2^{\beta w}\log(1/\varepsilon)\leq 2^{(\beta+1/c_{1})w}. Thus, for c1>12c_{1}>12,

Finally, note that each gjg_{j} has L1⁡\operatorname*{\mathsf{L_{1}}}-norm at most 22. This is because any clause, and hence gj′g_{j}^{\prime}, has L1⁡\operatorname*{\mathsf{L_{1}}}-norm at most 11. Therefore, the functions gjg_{j} satisfy the conditions of Theorem 3.2. Thus,

We are almost done, but for (fw′′)(f_{w}^{\prime\prime}). We will show that with high probability over II, (fw′′)(f_{w}^{\prime\prime}) has O(log⁡(n/ε))O(\log(n/\varepsilon)) clauses. To do so we will follow a standard argument for showing large deviation bounds using bounded independence.

For i∈[w]i\in[w] and j∈[mw]j\in[m_{w}], let XijX_{ij} be the indicator variable that is 11 if the variable corresponding to the ii’th literal in the jj’th clause of fwf_{w} is included in II and otherwise. Let

To see this observe that whenever size(fw′′)≥ksize(f_{w}^{\prime\prime})\geq k, XX is at least 11. Let us first calculate this expectation when the variables XijX_{ij} are truly independent. In this case, as mw≤2wlog⁡(1/ε)m_{w}\leq 2^{w}\log(1/\varepsilon), and each clause has at most βw\beta w variables,

for δ≤(ε/n)c\delta\leq(\varepsilon/n)^{c} for cc a sufficiently large constant. Combining the above equations and applying Theorem 2.7, we get that with probability at least 1−ε/n1-\varepsilon/n, (fw′′)(f_{w}^{\prime\prime}) has ε1\varepsilon_{1}-sandwiching polynomials with L1⁡\operatorname*{\mathsf{L_{1}}}-norm at most

Therefore, from Equation (7.3) and Theorem 4.1, with probability at least 1−ε/n1-\varepsilon/n,

A careful examination of the argument for fwf_{w} reveals that we used two main properties: there are at most 2βwlog⁡(1/ε)2^{\beta w}\log(1/\varepsilon) clauses in fwf_{w} and every clause has length at least ww. Both of these are trivially true for fuf_{u} with w=Wuw=W_{u}. Thus, the same argument applies. In particular, with probability at least 1−ε/n1-\varepsilon/n,

Therefore, we can apply Theorem 4.1. In particular, by Equations 7.2, 7.4, 7.5, and a union bound, for b=∣WB∣+2=O(log⁡log⁡n)b=|W_{B}|+2=O(\log\log n) we have: with probability at least 1−ε1-\varepsilon, fIf_{I} has (16bε1)(16^{b}\varepsilon_{1})-sandwiching polynomials with L1⁡\operatorname*{\mathsf{L_{1}}}-norm at most

The lemma now follows by setting ε1=ε/nO(1)\varepsilon_{1}=\varepsilon/n^{O(1)}.

Handling Small Bias Case.

2 Restrictions Simplify 𝖱𝖢𝖭𝖥𝖱𝖢𝖭𝖥\mathsf{RCNF}s

We next argue that for restrictions (x,I)(x,I) where (x,I)(x,I) are chosen from almost-independent distributions as in the previous section, RCNF\mathsf{RCNF}s simplify significantly and in particular have few surviving clauses with very high probability.

Let fwf_{w} have mwm_{w} clauses, where mw>8log⁡(1/ε)m_{w}>8\log(1/\varepsilon), otherwise there is nothing to prove. Without loss of generality, suppose that fw=C1∧C2∧⋯∧Cmwf_{w}=C_{1}\wedge C_{2}\wedge\cdots\wedge C_{m_{w}} and wj=∣Cj∣w_{j}=|C_{j}|. Let YjY_{j} be the indicator variable that is 11 if CjC_{j} survives in gg (i.e., is not fixed to be true) and otherwise. We first do the calculations assuming that the variables in xx and II are truly independent and later transfer these bounds to the almost independent case.

Here, the first inequality follows from observing that if ∑jYj>M\sum_{j}Y_{j}>M, then Sk(Y1,…,Ym2)S_{k}(Y_{1},\ldots,Y_{m_{2}}) is at least (Mk)\binom{M}{k}. Therefore,

Now, setting M=mw1−γ(elog⁡(1/ε))M=m_{w}^{1-\gamma}(e\log(1/\varepsilon)) for a sufficiently small constant γ\gamma and using the fact that mw<2βwlog⁡(1/ε)m_{w}<2^{\beta w}\log(1/\varepsilon), it follows that

where the first inequality follows from the power-mean inequality. The claim now follows. ∎

In our recursive analysis we will also have to handle RCNF\mathsf{RCNF}s that need not have high acceptance probabilities. The following corollary will help us do this.

3 A Recursive 𝖯𝖱𝖦𝖯𝖱𝖦\mathsf{PRG} Construction for 𝖱𝖢𝖭𝖥𝖱𝖢𝖭𝖥\mathsf{RCNF}s

We now use Lemmas 7.2 and 7.3 recursively to prove Theorem 7.1. The main intuition is as follows.

Fix ε>0\varepsilon>0 and let constants α,c\alpha,c be as in Lemma 7.2. Let D(α,δ){\cal D}(\alpha,\delta) be a δ\delta-almost independent distribution on 2[n]2^{[n]} with bias α\alpha. Finally, let D(δ1),D(δ2){\cal D}(\delta_{1}),{\cal D}(\delta_{2}) denote δ1\delta_{1}-biased and δ2\delta_{2}-biased distributions on {±1}n\{\pm 1\}^{n} respectively for δ1,δ2\delta_{1},\delta_{2} to be chosen later. Let T=Clog⁡log⁡nT=C\log\log n for CC to be chosen later. Consider the following randomized algorithm for generating a string z∈{±1}nz\in\{\pm 1\}^{n}.

For t=1,…,Tt=1,\ldots,T, generate independent samples z1,…,zT∼D(δ1)z^{1},\ldots,z^{T}\sim{\cal D}(\delta_{1}) and J1,…,JT∼D(α,δ)J_{1},\ldots,J_{T}\sim{\cal D}(\alpha,\delta).

Let I1=J1I_{1}=J_{1} and It=Jt∖(∪r=1t−1Ir)I_{t}=J_{t}\setminus\left(\cup_{r=1}^{t-1}I_{r}\right) for 2≤t≤T2\leq t\leq T. This is equivalent to sampling ItI_{t} from a δ\delta-almost independent distribution with bias α\alpha from the set of subsets of as yet “uncovered” elements [n]∖∪r=1t−1Ir[n]\setminus\cup_{r=1}^{t-1}I_{r}.

Let xt=(zt)Itx^{t}=(z^{t})_{I_{t}}. This is equivalent to sampling xtx^{t} using a δ1\delta_{1}-biased distribution over {±1}It\{\pm 1\}^{I_{t}}.

Let I=∪t=1TItI=\cup_{t=1}^{T}I_{t} and x=x1∘x2∘⋯∘xT∈{±1}Ix=x^{1}\circ x^{2}\circ\cdots\circ x^{T}\in\{\pm 1\}^{I} be the appropriate concatenation: for i∈Ii\in I, (xi)=(xt)i(x_{i})=(x^{t})_{i} if i∈Iti\in I_{t}.

Let y∼D(δ2)y\sim{\cal D}(\delta_{2}). The final generator output is defined by

To analyze our generator we first show that the restriction (x,I)(x,I) preserves the bias of RCNF\mathsf{RCNF}s. Let L(n,ε)L(n,\varepsilon) be the bound from Lemma 7.2.

For x,Ix,I defined as above, with probability at least 1−ε T1-\varepsilon\,T over the choice of II, for every RCNF\mathsf{RCNF} f:{±1}n→{0,1}f:\{\pm 1\}^{n}\rightarrow\{0,1\},

We will prove the claim by a hybrid argument. For j≤Tj\leq T, let yj∼{±1}Ijy^{j}\sim\{\pm 1\}^{I_{j}} and let Dj{{\cal D}}^{j} denote the distribution of x1∘x2∘⋯∘xj∘yj+1∘⋯∘yTx^{1}\circ x^{2}\circ\cdots\circ x^{j}\circ y^{j+1}\circ\cdots\circ y^{T}(the concatenation is done as in the definition of xx). Note that Dj−1{{\cal D}}^{j-1} and Dj{{\cal D}}^{j} differ only in the jj’th concatenation element, xj,yjx^{j},y^{j}. Further, D0{{\cal D}}^{0} is uniformly distributed on {±1}I\{\pm 1\}^{I} and DT{{\cal D}}^{T} is the distribution of xx. We will show that with probability at least 1−ε1-\varepsilon, over the choice of II,

We couple the distributions Dj−1{{\cal D}}^{j-1} and Dj{{\cal D}}^{j} by drawing xix^{i} for i<ji<j and let Ij=∪r≤jIrI^{j}=\cup_{r\leq j}I_{r}. Now, as yj+1,…,yTy^{j+1},\ldots,y^{T} are chosen uniformly at random,

Consider any fixing of the variables x1,…,xj−1x^{1},\ldots,x^{j-1} and I1,…,Ij−1I_{1},\ldots,I_{j-1} and let g:{±1}[n]∖∪r<jIr→{0,1}g:\{\pm 1\}^{[n]\setminus\cup_{r<j}I_{r}}\rightarrow\{0,1\} be the RCNF\mathsf{RCNF} obtained from ff under this fixing. Then, by Lemma 7.2, gIjg_{I_{j}} is fooled by small-bias spaces: with probability 1−ε1-\varepsilon over the choice of IjI_{j},

Combining the above three equations, we have with probability at least 1−ε1-\varepsilon over IjI_{j},

The claim now follows by taking a union bound for j=1,…,Tj=1,\ldots,T. ∎

We are now ready to prove our main PRG\mathsf{PRG} construction. The idea is to combine Lemmas 7.3, 7.5. For (x,I)(x,I) chosen as in Lemma 7.5 we do not change the bias of the restricted function, on the other hand by iteratively applying 7.3 we can show that the resulting restricted RCNF\mathsf{RCNF} has (log⁡n)O(log⁡log⁡n)(\log n)^{O(\log\log n)} clauses and hence is fooled by n−O((log⁡log⁡n)2)n^{-O((\log\log n)^{2})}-biased distributions.

Let I,x,y,zI,x,y,z be as defined in Equation (7.6). Fix a RCNF\mathsf{RCNF} f:{±1}n→{0,1}f:\{\pm 1\}^{n}\rightarrow\{0,1\}. Let g:{±1}[n]∖I→{0,1}g:\{\pm 1\}^{[n]\setminus I}\rightarrow\{0,1\} be the RCNF\mathsf{RCNF} obtained by from ff by fixing the variables in II to xx. Let I′=[n]∖II^{\prime}=[n]\setminus I. Note that

Finally, note that for any I⊆[n]I\subseteq[n],

Combining the above two equations with Lemma 7.5, we get

Therefore, by setting δ1=ε/L\delta_{1}=\varepsilon/L the above error is at most O(εT)O(\varepsilon T). The number of bits used by the generator is

The theorem now follows by rescaling ε=ε′/c′(log⁡log⁡n)\varepsilon=\varepsilon^{\prime}/c^{\prime}(\log\log n) for a large constant c′c^{\prime}. ∎

We construct a PRG\mathsf{PRG} for the class of CNF⊕\mathsf{CNF^{\oplus}}. The generator will be the same as in Theorem 7.1. The analysis will also be similar and in fact follow easily from Theorem 7.1. To do this, we shall use the following simple claim.

Let f:{±1}n→{0,1}f:\{\pm 1\}^{n}\rightarrow\{0,1\} be a conjunction of parity constraints on nn variables. Then, ff has L1⁡\operatorname*{\mathsf{L_{1}}}-norm at most 11.

Let S1,S2,…,SmS_{1},S_{2},\ldots,S_{m} be the subsets defining the parity constraints in ff. Then,

For every ε>0\varepsilon>0, there exists an explicit PRG\mathsf{PRG} G:{0,1}r→{±1}nG:\{0,1\}^{r}\rightarrow\{\pm 1\}^{n} that fools all CNF⊕\mathsf{CNF^{\oplus}} formulas on nn-variables with error at most ε\varepsilon and seed-length r=O((log⁡(n/ε))⋅(log⁡log⁡(n/ε))3)r=O((\log(n/\varepsilon))\cdot(\log\log(n/\varepsilon))^{3}).

Let GG be the generator from Theorem 7.1. We will show that GG fools CNF⊕\mathsf{CNF^{\oplus}} as well. This does not follow in a black-box manner from Theorem 7.1, but we will show analogues of Theorem 2.7, Lemma 7.2 and Lemma 7.3 hold so that the rest of the proof of Theorem 7.1 can be used as is.

Let f:{±1}n→{0,1}f:\{\pm 1\}^{n}\rightarrow\{0,1\} be a CNF⊕\mathsf{CNF^{\oplus}} of size mm. Let f=g∧hf=g\wedge h, where gg has all the parity constraints of ff and hh the clauses.

Note that for any subset I⊆[n]I\subseteq[n], gI:{±1}I→{0,1}g_{I}:\{\pm 1\}^{I}\rightarrow\{0,1\} is a constant function. Therefore, fI(x)=cI⋅hI(x)f_{I}(x)=c_{I}\cdot h_{I}(x), where cI≤1c_{I}\leq 1. Thus, by applying Lemma 7.2 to hh, we get an analogous statement for ff.

Finally, we show an analogue of Lemma 7.3. Suppose that ff has acceptance probability at least ε\varepsilon. Then, gg has at most log⁡2(1/ε)\log_{2}(1/\varepsilon) clauses. Therefore, by Lemma 7.3 applied to hh, we also get a similar statement for ff with a slightly worse constant of c2′=c2+1c_{2}^{\prime}=c_{2}+1. By arguing as in the proof of Corollary 7.4, we get a similar statement for ff.

Examining the proof of Lemma 7.1 shows that given the above analogues of Theorem 2.7, Lemma 7.2 and Lemma 7.3, the rest of the proof goes through. The theorem follows. ∎

References