• Nenhum resultado encontrado

Composition theorem for majority

4 Applications

4.4 Composition theorem for majority

In this section using Theorem 14 we give a composition theorem forF2-sketching of the composedM aj3function. Unlike in the deterministic case for which the composition theorem is easy to show (see Lemma 53) in the randomized case composition results require more work.

IDefinition 27 (Composition). For f:Fn2F2 and g: Fm2F2 their compositionfg:Fmn2F2 is defined as:

(fg)(x) =f(g(x1, . . . , xm), g(xm+1, . . . , x2m), . . . , g(xm(n−1)+1, . . . , xmn)).

Consider the recursive majority functionM aj3kM aj3M aj3◦ · · · ◦M aj3 where the composition is takenktimes.

ITheorem 28. For any dn,k= log3nandξ > 4dn it holds that dimξ M aj3k

> d.

First, we show a slighthly stronger result for standard subspaces and then extend this result to arbitrary subspaces with a loss of a constant factor. Fix any setS⊆[n] of variables. We associate this set with a collection of standard unit vectors corresponding to these variables.

Hence in this notation∅ corresponds to the all-zero vector.

ILemma 29. For any standard subspace whose basis consists of singletons from the set S⊆[n]it holds that:

X

Zspan(S)

M aj\3k(Z)2

≤ |S|

n

Proof. The Fourier expansion ofM aj3is given as M aj3(x1, x2, x3) =1

2(x1+x2+x3x1x2x3).

Fori∈ {1,2,3} letNi={(i−1)n/3 + 1, . . . , in/3}. LetSi=SNi. Letαi be defined as:

αi= X

Zspan(Si)

M aj\k−13 (Z) 2

.

Then we have:

X

Zspan(S)

M aj\3k(Z)2

=

3

X

i=1

X

Zspan(Si)

M aj\3k(Z)2 + X

Zspan(S)−∪3i=1span(Si)

M aj\3k(Z)2 .

For each Si we have X

Zspan(Si)

M aj\3k(Z)2

= 1 4

X

Zspan(Si)

M aj\3k−1(Z) 2

= αi

4. Moreover, for eachZspan(S)− ∪3i=1span(Si) we have:

M aj\3k(Z) =

(−12M aj\3k−1(Z1)M aj\k−13 (Z2)M aj\3k−1(Z3) ifZ∈ ×3i=1(span(Si)\ ∅)

0 otherwise.

Thus, we have:

X

Z∈(span(S1)\∅)×(span(S2)\∅)×(span(S3)\∅)

M aj\3k(Z)2

= X

Z∈(span(S1)\∅)×(span(S2)\∅)×(span(S3)\∅)

1 4

M aj\k−13 (Z1) 2

·

M aj\3k−1(Z2) 2

·

M aj\3k−1(Z3) 2

=1 4

X

Z∈(span(S1)\∅)

M aj\3k−1(Z1) 2

·

X

Z∈(span(S2)\∅)

M aj\k−13 (Z2) 2

·

X

Z∈(span(S3)\∅)

M aj\3k−1(Z3) 2

=1

4α1α2α3.

where the last equality holds sinceM aj\k−13 (∅) = 0. Putting this together we have:

X

Zspan(S)

M aj\3k(Z)2

= 1

4(α1+α2+α3+α1α2α3)

≤1 4

α1+α2+α3+1

3(α1+α2+α3)

=1

3(α1+α2+α3).

Applying this argument recursively to each αi fork−1 times we have:

X

Zspan(S)

M aj\3k(Z)2

≤ 1 3k

3k

X

i=1

γi,

whereγi = 1 ifiS and 0 otherwise. Thus,P

Zspan(S)

M aj\3k(Z)2

|S|n . J

To extend the argument to arbitrary linear subspaces we show that any such subspace has less Fourier weight than a collection of three carefully chosen standard subspaces. First we show how to construct such subspaces in Lemma 30.

For a linear subspace LFn2 we denote the set of all vectors in L of odd Hamming weight asO(L) and refer to it as theodd set ofL. For two vectorsv1, v2Fn2 we say that v1 dominatesv2if the set of non-zero coordinates ofv1 is a (not necessarily proper) subset of the set of non-zero coordinates ofv2. For two sets of vectorsS1, S2Fn2 we say thatS1

dominates S2(denoted as S1S2) if there is a matching M betweenS1 andS2 of size|S2| such that for each (v1S1, v2S2)∈M the vectorv1dominates v2.

ILemma 30(Standard subspace domination lemma). For any linear subspaceLFn2 of dimension dthere exist three standard linear subspaces S1, S2, S3Fn2 such that:

O(L)≺ O(S1)∪ O(S2)∪ O(S3),

anddim(S1) =d−1,dim(S2) =d,dim(S3) = 2d.

Proof. Let AFd×n2 be the matrix with rows corresponding to the basis in L. We will assume thatAis normalized in a way described below. First, we apply Gaussian elimination to ensure thatA= (I, M) where I is a d×didentity matrix. If all rows of A have even Hamming weight then the lemma holds trivially sinceO(L) =∅. By reordering rows and columns of A we can always assume that for some k ≥1 the firstk rows of A have odd Hamming weight and the lastdk have even Hamming weight. Finally, we add the first column to each of the lastdkrows, which makes all rows have odd Hamming weight. This results inAof the following form:

A=

1 0· · ·0 0· · ·0 a

0...

I k−1 0 M 1

0

1...

0 I dk M 2

1

We use the following notation for submatrices: A[i1, j1;i2, j2] refers to the submatrix of A with rows betweeni1 andj1 and columns betweeni2 andj2 inclusive. We denote to the first row byv, the submatrixA[2, k; 1, n] asAand the submatrixA[k+ 1, d; 1, n] asB. Each x∈ O(L) can be represented asP

iSAi where the setS is of odd size and the sum is over Fn2. We consider the following three cases corresponding to different types of the setS.

Case 1. Srows(A)∪rows(B). This corresponds to all odd size linear combinations of the rows ofAthat don’t include the first row. Clearly, the set of such vectors is dominated byO(S1) whereS1 is the standard subspace corresponding to the span of the rows of the submatrixA[2, d; 2, d].

Case 2. Scontains the first row,|Srows(A)|and|Srows(B)|are even. All such linear combinations have their first coordinate equal 1. Hence, they are dominated by a standard subspace corresponding to span of the rows thed×didentity matrix, which we refer to as S2.

Case 3. S contains the first row, |Srows(A)|and|Srows(B)|are odd. All such linear combinations have their first coordinate equal 0. This implies that the Hamming weight of the firstdcoordinates of such linear combinations is even and hence the other coordinates cannot be all equal to 0. Consider the submatrixM =A[1, d;d+ 1, n] corresponding to the lastndcolumns of A. Since the rank of this matrix is at mostdby running Gaussian elimination onM we can construct a matrixM0 containing as rows the basis for the row space ofM of the following form:

M0=

It M1

0 0

wheret =rank(M). This implies that any non-trivial linear combination of the rows of M contains 1 in one of the first t coordinates. We can reorder the columns ofA in such a way that theset coordinates have indices fromd+ 1 tod+t. Note that now the set of vectors spanned by the rows of the (d+t)×(d+t) identity matrixId+t dominates the set of linear combinations we are interested in. Indeed, each such linear combination has even Hamming weight in the firstdcoordinates and has at least one coordinate equal to 1 in the set{d+ 1, . . . , d+t}. This gives a vector of odd Hamming weight that dominates such linear combination. Since this mapping is injective we have a matching. We denote the standard linear subspace constructed this way byS3 and clearlydim(S3)≤2d. J The following proposition shows that the spectrum of theM aj3k is monotone decreasing under inclusion if restricted to odd size sets only:

IProposition 31. For any two setsZ1Z2 of odd size it holds that:

M aj\k3 (Z1) ≥

M aj\k3 (Z2) .

Proof. The proof is by induction onk. Consider the Fourier expansion ofM aj3(x1, x2, x3) =

1

2(x1+x2+x3x1x2x3). The casek= 1 holds since all Fourier coefficients have absolute value 1/2. SinceM aj3k =M aj3◦(M aj3k−1) all Fourier coefficients ofM aj3k result from substituting either a linear or a cubic term in the Fourier expansion by the multilinear expansions ofM ajk−13 . This leads to four cases.

Case 1. Z1and Z2 both arise from linear terms. In this case ifZ1 andZ2 aren’t disjoint then they arise from the same linear term and thus satisfy the statement by the inductive hypothesis.

Case 2. IfZ1 arises from a cubic term and Z2 from the linear term then it can’t be the case thatZ1Z2 sinceZ2contains some variables not present inZ1.

Case 3. IfZ1andZ2both arise from the cubic term then we have (Z1Ni)⊆(Z2Ni) for eachi. By the inductive hypothesis we then have

M aj\k−13 (Z1Ni)

M aj\3k−1(Z2Ni) . Since for j = 1,2 we haveM aj\3k(Zj) = −12Q

iM aj\3k−1(ZjNi) the desired inequality follows.

Case 4. IfZ1arises from the linear term and Z2 from the cubic term then w.l.o.g. assume thatZ1 arises from the x1 term. Note thatZ1⊆(Z2N1) sinceZ1∩(N2N3) =∅. By the inductive hypothesis applied toZ1 andZ2N1 the desired inequality holds. J

We can now complete the proof of Theorem 28

Proof of Theorem 28. By combining Proposition 31 and Lemma 29 we have that any setT of vectors that is dominated byO(S) for some standard subspaceSsatisfiesP

S∈TM aj\k3 (S)2

dim(S)

n . By the standard subspace domination lemma (Lemma 30) any subspaceLFn2 of dimensiondhasO(L) dominated by a union of three standard subspaces of dimension 2d,d andd−1 respectively. Thus, we haveP

S∈O(L)M aj\3k(S)22dn +dn+d−1n4dn. J We have the following corollary of Theorem 28 that proves Theorem 5.

ICorollary 32. For any ∈[0,12],ξ >42 andk= log3nit holds that:

Dlin,U1−ξ

2

(M aj3k)> 2n, D,U1−ξ 6

(M ajk3 +)>2n 6 .

Proof. Fixd=2n. For this choice ofdTheorem 28 implies that forξ >42 it holds tha t dimξ M aj3k

> d. The first part follows from Part 2 of Theorem 14. The second part is by

Part 3 of Theorem 14. J