Post · 12 min read· pp. 112–117

Who’s Afraid of Natural Proofs?

Obstacles to circuit lower bounds

images15

Alexander Razborov is one of the world experts on circuit lower bounds. Perhaps the expert. In 1990 he won the Nevanlinna Prize for his work on lower bounds, more recently in 2007 he won the Gödel Prize (with Steven Rudich) for their beautiful work on Natural proofs (NaP).

His joint work on NaP is the subject of today’s post. Should we be worried about the so-called “Natural proof obstacle” to resolving P=NP? Or is this obstacle not an obstacle? I do not know, but would like to discuss this issue with you today.

Do “impossibility proofs” matter? I mean proofs that show that “you cannot solve problem X{X} by method Y{Y}”? Sometimes they do: the Godel Incompleteness Theorem is a perfect example, it essentially destroyed any attempt to complete David Hilbert’s program and prove arithmetic consistent. Yet, Gerhard Gentzen carried on and proved that first order arithmetic is consistent, although he had to use transfinite induction up to ϵ0{\epsilon_{0}}. This is the limit ordinal of the sequence,

ω,ωω,ωωω,…\displaystyle \omega, \omega^{\omega},\omega^{\omega^{\omega}},\dots

The great logician Alfred Tarski on hearing of Gentzen’s Theorem was asked if he now was more confident in arithmetic’s consistency–he answered “by an epsilon.” (Gentzen’s work was based on a logic that he called “natural dedcution”–curious coincidence?)

Another example is the work of Paul Cohen on set theory. I met Paul Cohen at a Royal Society workshop on the notion of “mathematical proof”: this has nothing to do with NaP. It was focused on the growing number of computer aided proofs, and what the math community should think about proofs that are not checkable by humans. There is now a growing list of such proofs; first there was the four color theorem, then Kepler’s problem, then again the four color theorem, then some results in geometry, the list is growing. I will have a post in the future on this interesting issue.

Cohen is, of course, world famous for creating the notion of forcing, and for using forcing to prove that the Axiom of Choice and the Continuum Hypothesis are independent from ZF set theory. After he proved this great result he was asked if he had been worried about his approach, since it came very close to violating a known impossibility theorem. He–it is claimed–said what result?

I find this story, true or not, revealing. Perhaps to make progress on hard problems one needs to have a certain world view, keep positive, and believe that a solution is possible. We must not let impossibility theorems scare us into not thinking about problems. We can let them guide us, we can let them show us what we cannot do, and what we can do. But we must move forward.

The Obstacle

Suppose that you want to prove that a boolean function f{f} has high complexity–in some sense. Then, you might think that you could use special properties of this particular boolean function. Makes sense. Perhaps the function is the determinant of a square matrix, and your goal is a non-linear lower bound on its complexity. The determinant has many special properties that perhaps you can use in your lower bound proof: for example, the determinant of a invertible matrix is non-zero, or that certain determinants count the number of spanning trees of a graph, and so on.

The obstacle is, roughly, that a large class of approaches to circuit lower bounds must prove more. Your lower bound for f{f} must also prove that many other unrelated functions also have large complexity. Thus, you cannot use any special properties of your function. None. This seems like a major obstacle. Imagine that I ask you to prove that a certain number is prime, but your proof must at the same time prove many other unrelated numbers are prime. That sounds nuts. When you prove that a number is prime, you prove that it is prime: nothing else.

I think of the obstacle as a kind of drag-along principle: if you prove f{f} is complex, then you prove much more.

The Obstacle One: Bait and Switch

There are two concrete theorems that show different versions of the drag-along principle. I like to call the first one “Bait and Switch”: it is close to a question that I posed in the first post of this blog. However, it is a bit different from what I had in mine at the time, I was looking for a stronger result. More on this in the future.

Let B{B} be the set {0,1}{\{0,1\} }. Then, we plan to study the circuit and formula complexity of boolean functions. We use Bn{ {\cal B}_n} to denote the space of all boolean functions with n{n}-inputs, i.e. all f{f} so that f:Bn→B{f:B^n \rightarrow B}. We also use Mn{ {\cal M}_n} to denote the space of all n{n}-input monotone functions.

If f{f} is n{n}-input boolean function, i.e. f∈Bn{f \in {\cal B}_n}, then we use C(f){C(f)} to denote the size of the smallest circuit for f{f}: in our circuits all the negations are at the inputs and we only allow {∨,∧}{\{\vee,\wedge\}} as operations. We use Cm(f){C_{m}(f)} to denote the monotone complexity of f{f} for f∈Mn{f \in {\cal M}_{n}}.

I follow the treatment of Sanjeev Arora and Boaz Barak. The key idea is to look at complexity measures on boolean functions. A measure μ(f){\mu(f)} is a complexity measure if it assigns positive values to each boolean function. It is normalized so that it assigns 1{1} to variables and their negations. Also it must satisfy the following two simple rules:

μ(f∨g)≤μ(f)+μ(g)\displaystyle \mu(f \vee g) \le \mu(f) + \mu(g)

and

μ(f∧g)≤μ(f)+μ(g).\displaystyle \mu(f \wedge g) \le \mu(f) + \mu(g).

As they point out, a lower bound on μ(f){\mu(f)} yields a lower bound on the size of the formula complexity of f{f}: this follows by a simple induction. The Bait and Switch Lemma is the following:

Theorem: Suppose μ{\mu} is a complexity measure and there exists a function f∈Bn{f \in {\cal B}_{n}} such that μ(f)>s{\mu(f) > s}. Then, for at least 1/4{1/4} of all g{g} in Bn{{\cal B}_{n}}, μ(g)>s/4.{\mu(g) > s/4.}

Proof: Let g{g} be any function in Bn{{\cal B}_{n}}. Define f=h⊕g{f = h \oplus g} where h=f⊕g{h=f \oplus g}. Then, μ(f)≤μ(g)+μ(gˉ)+μ(h)+μ(hˉ){\mu(f) \le \mu(g) + \mu(\bar g) + \mu(h) + \mu(\bar h)}: this follows from the definition of exclusive “or”, since

f=(f⊕g)⊕g=h⊕g=h∧g∨hˉ∧gˉ.\displaystyle f = (f \oplus g) \oplus g = h \oplus g = h \wedge g \vee {\bar h} \wedge {\bar g}.

By way of contradiction assume that {g:μ(g)<s/4}{\{g : \mu(g) < s/4\}} contains more than 3/4{3/4} of all of Bn{{\cal B}_{n}}. If we pick the above function g{g} randomly, then gˉ,h,hˉ{\bar g, h, \bar h} are also random functions (though not independent). Using the trivial union bound we have

Prob[All of h,hˉ,g,gˉ have μ≤s/4]>0.\displaystyle Prob[ \text{All of } h,\bar h,g,\bar g \text{ have } \mu \le s/4 ] > 0.

This implies by the definition of complexity measure that μ(f)≤s{\mu(f) \le s}, which is a contradiction. □\Box

The reason this is an interesting theorem is that it shows that any formula lower bound based on a complexity measure would have to prove more. It would have to prove that not only f{f} but many other functions are hard. Thus, it would not be able to use the special structure of the boolean function f{f}.

This is a blog. Right. Well I must point out that about twenty-five years ago, a famous complexity theorist circulated a proof using exactly this method to show that SAT had super-polynomial complexity. The proof of course was wrong, but it took “us” a while to find the bug. No it was not me, and I will not say who.

Obstacle Two: Natural Proofs

The second drag-along principle is NaP, and is much more sophisticated. I will not explain the details of the notion of NaP’s. The main idea is suppose that we wish to prove that a boolean function f∈Bn{f \in {\cal B}_{n}} has large complexity. A “natural” idea is to find a predicate Φ\Phi on boolean functions in Bn{{\cal B}_{n}} so that (i) Φ(f)\Phi(f) is true and (ii) Φ(g)\Phi(g) is true for a large fraction of Bn{{\cal B}_{n}}.

Then, it should follow that C(f){C(f)} is large. This is reasonable, since the conditions roughly say that f{f} has some key property in common with random boolean functions. Standard counting methods prove that most boolean functions are hard. Making all this work is the brilliance of the NaP paper. Note, they need a stronger condition on the predicate Φ\Phi and other assumptions. See their paper for the details.

They show most (all?) of the standard lower bound proofs follow the above structure. That is the reason that NaP seems to such a powerful idea. A lower bound is forced to drag-along too much.

Monotone Circuits

I wonder if the following can avoid the drag-along obstacles: use monotone complexity. The idea is simple, in order to get a lower bound on a boolean function f{f}, for the “right” g{g},

 prove a monotone lower bound on g\displaystyle \textit { prove a monotone lower bound on } g

then

 get a general lower bound on f.\displaystyle \textit { get a general lower bound on } f.

To carry out this program we will study an old idea that defines a transformation on boolean functions that has several interesting properties. If f{f} is a boolean function, then \unicodex0141(f){\unicode{x0141} (f)} is a monotone boolean function where \unicodex0141{\unicode{x0141}} is the transformation. Moreover, its monotone circuit complexity is almost the same as f{f}‘s non-monotone circuit complexity. More precisely,

Theorem: For any boolean function f{f},

C(f)≤Cm(\unicodex0141(f))≤C(f)+4n.\displaystyle C(f) \le C_m(\unicode{x0141} (f)) \le C(f) + 4n.

If you believe what I just said, then feel free to skip to the open problem section. Or you can read on and see the details. Or you can come back later. Or you can do something else. Your choice.

§§§\displaystyle \S\S\S

Now let us turn to defining our transformation. We need two simple auxiliary functions α{\alpha} and β{\beta}. Let α(x1,…,xn,y1,…,yn){\alpha(x_1, \dots ,x_n,y_1, \dots ,y_n)} equal

⋀i(xi∨yi)\displaystyle \bigwedge_i (x_i \lor y_i)

and let β(x1,…,xn,y1,…,yn){\beta(x_1, \dots ,x_n,y_1, \dots ,y_n)} equal

⋁i(xi∧yi).\displaystyle \bigvee_i (x_i \land y_i) .

Let f:Bn→B{f:B^n \rightarrow B}. Then, \unicodex0141(f){\unicode{x0141} (f) } is equal to

α(x1,…,xn,y1,…,yn)∧f(x1,…,xn)∨β(x1,…,xn,y1,…,yn).\displaystyle { \alpha(x_1, \dots ,x_n,y_1, \dots ,y_n) \land f(x_1, \dots ,x_n) \lor \beta(x_1, \dots ,x_n,y_1, \dots ,y_n). }

Note, that \unicodex0141(f){\unicode{x0141} (f)} is a function of 2n{2n} variables, i.e. \unicodex0141(f):B2n→B{ {\unicode{x0141} (f)}:B^{2n} \rightarrow B}. The main properties of our transformation are contained in the next theorems.

Theorem 1 For any boolean function f{f}, \unicodex0141(f){\unicode{x0141} (f)} is a monotone function.

Proof: Suppose that f{f} is an n{n}-input boolean function. Let \unicodex0141(f){ \unicode{x0141} (f)} be equal to g(x,y){g(x,y)}. If g{g} is not monotone, there must be a,b{a,b} so that g(a,b)=1{g(a,b) = 1} and changing some input from 0{0} to 1{1} makes g=0{g = 0}. Clearly, β(a,b)=0{\beta(a,b) = 0}; otherwise, after the change β{\beta} would still be 1{1}. Since g(a,b)=1{g(a,b) = 1} it must be the case that α(a,b)=1{\alpha(a,b) = 1}. But then after the change β{\beta} must be equal to 1{1}. This is a contradiction. □\Box

Theorem 2 For any boolean function f{f},

\unicodex0141(f)(x1,…,xn,¬x1,…,¬xn)=f(x1,…,xn).\displaystyle \unicode{x0141} (f)(x_1, \dots ,x_n,\lnot x_1, \dots ,\lnot x_n) = f(x_1, \dots ,x_n).

Proof: Suppose that f(x1,…,xn){f(x_1, \dots ,x_n)} is a boolean function. Let y{y} be equal to ¬x1,…,¬xn{\lnot x_1, \dots ,\lnot x_n}. Then, by definition α(x,y)=1{\alpha(x,y) = 1} and β(x,y)=0{\beta(x,y) = 0}. Thus, \unicodex0141(f){ \unicode{x0141} (f)} is equal to f(x){f(x)}. □\Box

Theorem 3 For any boolean function f{f},

C(f)≤Cm(\unicodex0141(f))≤C(f)+4n.\displaystyle C(f) \le C_m(\unicode{x0141} (f)) \le C(f) + 4n.

Proof: Suppose that f{f} is an n{n}-input boolean function. C(f)≤Cm(\unicodex0141(f)){C(f) \le C_m(\unicode{x0141} (f))} follows from [Theorem 2](#Theorem 2). Now suppose that f{f} has a circuit of length l{l}: let the circuit for f{f} be f1,…,fl.{f_1, \dots ,f_l.} We will construct a monotone circuit for \unicodex0141(f){\unicode{x0141} (f)}. Use x1,…,xn{x_1, \dots ,x_n} and y1,…,yn{y_1, \dots ,y_n} as the inputs. To start let g1,…,gl{g_1, \dots ,g_l} be the circuit where gi{g_i} is constructed as follows:

  1. if fi{f_i} is equal to the input xj{x_j}, then gi{g_i} is the same input xj{x_j};
  2. if fi{f_i} is equal to the negated input ¬xj{\lnot x_j}, then gi{g_i} is the input yj{y_j};
  3. if fi=fj∨fk{f_i = f_j \lor f_k}, then gi=gj∨gk{g_i = g_j \lor g_k};
  4. if fi=fj∧fk{f_i = f_j \land f_k}, then gi=gj∧gk{g_i = g_j \land g_k}.

Next compute gm=α∧gl∨β{g_m = \alpha \land g_l \lor \beta}:

g1,…,gl,…,gm.\displaystyle {g_1, \dots ,g_l, \dots ,g_m.}

This takes at most 4n{4n} extra steps. So the total computation is now l+4n{l + 4n} long.

The key is the following claim: gm=\unicodex0141(f){g_m = \unicode{x0141} (f)}. Suppose that gm{g_m} is different from \unicodex0141(f){\unicode{x0141} (f)} for some values of the inputs x{x} and y{y}. Then, clearly, β(x,y)=0{\beta(x,y) = 0}; otherwise, they would agree. Also α(x,y){\alpha(x,y)} must equal 1{1}; again, if not, the two values could not disagree. We now claim that for each k{k}, xk=¬yk{x_k = \lnot y_k}. Suppose that this was false. Then, let xk=yk{x_k = y_k} for some k{k}. Clearly, the common value cannot be 1{1} since β=0{\beta = 0}. Also the common value cannot be 0{0} since α=1{\alpha = 1}. This proves that for each k{k}, xk=¬yk{x_k = \lnot y_k}.

Finally, a simple induction proves that gi=fi{g_i = f_i} for i≤l{i \le l}. This is clear since the only difference in the two computations is that yk{y_k} takes the place of ¬xk{\lnot x_k}. This shows that gl=f{g_l = f} and that gm=α∧f∨β{g_m = \alpha \land f \lor \beta}. □\Box

All the above can be generalized to handle formula complexity instead of circuit complexity. There is essentially no difference in the proofs.

Open Problems

My question is does the following violate either the Bait and Switch Lemma or the NaP result. Suppose that f{f} is a boolean function that you wish to show has a certain complexity t(n)t(n). Prove that the monotone complexity of L(f){L(f)} is at least t(n)−4nt(n)-4n . Then, use [Theorem 3](#Theorem 3) to conclude that the general complexity of f{f} is t(n)t(n). Note, the above is interesting even for t(n)=cnt(n)=cn, provided c≫4.c \gg 4.

Bait and Switch Lemma (BSL): This does not seem to obviously apply. The problem is that we get a lower bound on \unicodex0141(f){\unicode{x0141}(f)} which is a monotone function. There does not appear to be a BSL for monotone functions. The problem is how can we “add” something to a monotone function and then remove it later on?

Natural Proofs: This also does not seem to directly apply. The problem now is that \unicodex0141(f){\unicode{x0141}(f)} is highly not random. It is a monotone function, but even more: it is almost always 1{1}. As a matter of fact, it will be equal to 0{0} with probability at most 1−(3/4)n1- (3/4)^n. How can a function that is essentially a constant look like a random one?

I think these questions may be easy to resolve, and that the two obstacles are indeed obstacles. But I am confused. For Arora’s view on NaP see his comments here.

By the way this is the 32nd32^{nd} post of this blog. As Knuth pointed when he turned 6464, such events are important to computer scientists. So thanks for your support and interest, and I hope that together we can get to many more posts. Thanks again….dick lipton.