Special Topics in Complexity Theory, Fall 2017. Instructor: Emanuele Viola
1 Lecture 89, Scribe: Xuangui Huang
In these lectures, we finish the proof of the approximate degree lower bound for ANDOR function, then we move to the surjectivity function SURJ. Finally we discuss quasirandom groups.
1.1 Lower Bound of ANDOR
Recall from the last lecture that ANDOR is the composition of the AND function on bits and the OR function on bits. We also proved the following lemma.
Lemma 1. Suppose that distributions over are wise indistinguishable distributions; and distributions over are wise indistinguishable distributions. Define over as follows:
: draw a sample from , and replace each bit by a sample of (independently).
Then and are wise indistinguishable.
To finish the proof of the lower bound on the approximate degree of the ANDOR function, it remains to see that ANDOR can distinguish well the distributions and . For this, we begin with observing that we can assume without loss of generality that the distributions have disjoint supports.
Claim 2. For any function , and for any wise indistinguishable distributions and , if can distinguish and with probability then there are distributions and with the same properties (wise indistinguishability yet distinguishable by ) and also with disjoint supports. (By disjoint support we mean for any either or .)
Proof. Let distribution be the “common part” of and . That is to say, we define such that multiplied by some constant that normalize into a distribution.
Then we can write and as
where , and are two distributions. Clearly and have disjoint supports.
Then we have
Therefore if can distinguish and with probability then it can also distinguish and with such probability.
Similarly, for all such that , we have
Hence, and are wise indistinguishable.
Equipped with the above lemma and claim, we can finally prove the following lower bound on the approximate degree of ANDOR.
Theorem 3. ANDOR.
Proof. Let be wise indistinguishable distributions for AND with advantage , i.e. . Let be wise indistinguishable distributions for OR with advantage . By the above claim, we can assume that have disjoint supports, and the same for . Compose them by the lemma, getting wise indistinguishable distributions . We now show that ANDOR can distinguish :
 : First sample . As there exists a unique such that , . Thus by disjointness of support . Therefore when sampling we always get a string with at least one “”. But then “” is replaced with sample from . We have , and when , ANDOR.
 : First sample , and we know that with probability at least . Each bit “” is replaced by a sample from , and we know that by disjointness of support. Then ANDOR.
Therefore we have ANDOR.
1.2 Lower Bound of SURJ
In this subsection we discuss the approximate degree of the surjectivity function. This function is defined as follows.
Definition 4. The surjectivity function SURJ, which takes input where for all , has value if and only if .
First, some history. Aaronson first proved that the approximate degree of SURJ and other functions on bits including “the collision problem” is . This was motivated by an application in quantum computing. Before this result, even a lower bound of had not been known. Later Shi improved the lower bound to , see [AS04]. The instructor believes that the quantum framework may have blocked some people from studying this problem, though it may have very well attracted others. Recently Bun and Thaler [BT17] reproved the lower bound, but in a quantumfree paper, and introducing some different intuition. Soon after, together with Kothari, they proved [BKT17] that the approximate degree of SURJ is .
We shall now prove the lower bound, though one piece is only sketched. Again we present some things in a different way from the papers.
For the proof, we consider the ANDOR function under the promise that the Hamming weight of the input bits is at most . Call the approximate degree of ANDOR under this promise ANDOR. Then we can prove the following theorems.
Theorem 6. ANDOR for some suitable .
In our settings, we consider . Theorem 5 shows surprisingly that we can somehow “shrink” bits of input into bits while maintaining the approximate degree of the function, under some promise. Without this promise, we just showed in the last subsection that the approximate degree of ANDOR is instead of as in Theorem 6.
Proof of Theorem 5. Define an matrix s.t. the 0/1 variable is the entry in the th row th column, and iff . We can prove this theorem in following steps:
 SURJANDOR under the promise that each row has weight ;
 let be the sum of the th column, then ANDOR under the promise that each row has weight , is at least ANDOR under the promise that ;
 ANDOR under the promise that , is at least ANDOR;
 we can change “” into “”.
Now we prove this theorem step by step.
 Let be a polynomial for SURJ, where . Then we have
Then the polynomial for ANDOR is the polynomial with replaced as above, thus the degree won’t increase. Correctness follows by the promise.
 This is the most extraordinary step, due to Ambainis [Amb05]. In this notation, ANDOR becomes the indicator function of . Define
Clearly it is a good approximation of ANDOR. It remains to show that it’s a polynomial of degree in ’s if is a polynomial of degree in ’s.
Let’s look at one monomial of degree in : . Observe that all ’s are distinct by the promise, and by over . By chain rule we have
By symmetry we have , which is linear in ’s. To get , we know that every other entry in row is , so we give away row , average over ’s such that under the promise and consistent with ’s. Therefore
In general we have
which has degree in ’s. Therefore the degree of is not larger than that of .
 Note that , . Hence by replacing ’s by ’s, the degree won’t increase.
 We can add a “slack” variable , or equivalently ; then the condition actually means .
Proof idea for Theorem 6. First, by the duality argument we can verify that if and only if there exists wise indistinguishable distributions such that:
 can distinguish ;
 and are supported on strings of weight .
Claim 7. OR.
The proof needs a little more information about the weight distribution of the indistinguishable distributions corresponding to this claim. Basically, their expected weight is very small.
Now we combine these distributions with the usual ones for And using the lemma mentioned at the beginning.
What remains to show is that the final distribution is supported on Hamming weight . Because by construction the copies of the distributions for Or are sampled independently, we can use concentration of measure to prove a tail bound. This gives that all but an exponentially small measure of the distribution is supported on strings of weight . The final step of the proof consists of slightly tweaking the distributions to make that measure .
1.3 Groups
Groups have many applications in theoretical computer science. Barrington [Bar89] used the permutation group to prove a very surprising result, which states that the majority function can be computed efficiently using only constant bits of memory (something which was conjectured to be false). More recently, catalytic computation [BCK14] shows that if we have a lot of memory, but it’s full with junk that cannot be erased, we can still compute more than if we had little memory. We will see some interesting properties of groups in the following.
Some famous groups used in computer science are:
 with bitwise addition;
 with addition mod ;
 , which are permutations of elements;
 Wreath product , whose elements are of the form where is a “flip bit”, with the following multiplication rules:
 ;
 in ;
 is the operation;
An example is . Generally we have
 matrices over with determinant in other words, group of matrices such that .
The group was invented by Galois. (If you haven’t, read his biography on wikipedia.)
Quiz. Among these groups, which is the “least abelian”? The latter can be defined in several ways. We focus on this: If we have two highentropy distributions over , does has more entropy? For example, if and are uniform over some elements, is close to uniform over ? By “close to” we mean that the statistical distance is less that a small constant from the uniform distribution. For , if uniform over , then is the same, so there is not entropy increase even though and are uniform on half the elements.
Definition 8.[Measure of Entropy] For , we think of for “high entropy”.
Note that is exactly the “collision probability”, i.e. . We will consider the entropy of the uniform distribution as very small, i.e. . Then we have
Theorem 9.[[Gow08], [BNP08]] If are independent over , then
where is the minimum dimension of irreducible representation of .
By this theorem, for high entropy distributions and , we get , thus we have
If is large, then is very close to uniform. The following table shows the ’s for the groups we’ve introduced.

Here is the alternating group of even permutations. We can see that for the first groups, Equation ((1)) doesn’t give nontrivial bounds.
But for we get a nontrivial bound, and for we get a strong bound: we have .
References
[Amb05] Andris Ambainis. Polynomial degree and lower bounds in quantum complexity: Collision and element distinctness with small range. Theory of Computing, 1(1):37–46, 2005.
[AS04] Scott Aaronson and Yaoyun Shi. Quantum lower bounds for the collision and the element distinctness problems. J. of the ACM, 51(4):595–605, 2004.
[Bar89] David A. Mix Barrington. Boundedwidth polynomialsize branching programs recognize exactly those languages in NC. J. of Computer and System Sciences, 38(1):150–164, 1989.
[BCK14] Harry Buhrman, Richard Cleve, Michal Koucký, Bruno Loff, and Florian Speelman. Computing with a full memory: catalytic space. In ACM Symp. on the Theory of Computing (STOC), pages 857–866, 2014.
[BKT17] Mark Bun, Robin Kothari, and Justin Thaler. The polynomial method strikes back: Tight quantum query bounds via dual polynomials. CoRR, arXiv:1710.09079, 2017.
[BNP08] LÃ¡szlÃ³ Babai, Nikolay Nikolov, and LÃ¡szlÃ³ Pyber. Product growth and mixing in finite groups. In ACMSIAM Symp. on Discrete Algorithms (SODA), pages 248–257, 2008.
[BT17] Mark Bun and Justin Thaler. A nearly optimal lower bound on the approximate degree of AC0. CoRR, abs/1703.05784, 2017.
[Gow08] W. T. Gowers. Quasirandom groups. Combinatorics, Probability & Computing, 17(3):363–387, 2008.