Monotonicity testing over general poset domains

Size: px
Start display at page:

Download "Monotonicity testing over general poset domains"

Transcription

1 Monotonicity testing over general poset domains [Extended Abstract] Eldar Fischer Technion Haifa, Israel Sofya Raskhodnikova Ý LCS, MIT Cambridge, MA Eric Lehman LCS, MIT Cambridge, MA e lehman@mit.edu Ronitt Rubinfeld NEC Research Institute Princeton, NJ ronitt@research.nj.nec.com Ilan Newman University of Haifa Haifa, Israel ilan@cs.haifa.ac.il Alex Samorodnitsky Þ Hebrew University Jerusalem, Israel salex@cs.huji.ac.il ABSTRACT The field of property testing studies algorithms that distinguish, using a small number of queries, between inputs which satisfy a given property, and those that are far from satisfying the property. Testing properties that are defined in terms of monotonicity has been extensively investigated, primarily in the context of the monotonicity of a sequence of integers, or the monotonicity of a function over the Ò-dimensional hypercube ½ Ñ Ò. These works resulted in monotonicity testers whose query complexity is at most polylogarithmic in the size of the domain. We show that in its most general setting, testing that Boolean functions are close to monotone is equivalent, with respect to the number of required queries, to several other testing problems in logic and graph theory. These problems include: testing that a Boolean assignment of variables is close to an assignment that satisfies a specific -CNF formula, testing that a set of vertices is close to one that is a vertex cover of a specific graph, and testing that a set of vertices is close to a clique. We then investigate the query complexity of monotonicity testing of both Boolean and integer functions over general partial orders. We give algorithms and lower bounds for the general problem, as well as for some interesting special cases. In proving a general lower bound, we construct graphs with combinatorial properties that may be of independent interest. Work done while at NEC Research Institute, Princeton, NJ. Ý Supported by NTT grant. Some work done while at NEC Research Institute, Princeton, NJ. Þ Work done while at Institute for Advanced Study and at NEC Research Institute, Princeton, NJ. Supported in part by NSF (grant number CCR ) and by a State of NJ grant. Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. STOC 02, May 19-21, 2002, Montréal, Québec, Canada. Copyright 2002 ACM /02/ $5.00. Keywords Algorithms, property testing, monotone functions. 1. INTRODUCTION Property testing [24, 15] deals with a relaxation of decision problems where one is to determine whether an input satisfies a particular property or is far from satisfying it. This has recently become quite an active research area; see [23, 12] for surveys on the topic. Monotonicity is a natural property of functions on posets. Given a poset È Î È µ and a linear order Ä, a function Î Ä is monotone if Ùµ Úµ for all Ù Ú Î with Ú È Ù. A function is -close to monotone if we can make monotone by changing its value on at most an fraction of the domain. Along with linearity and low-degree testing, monotonicity is one of the more studied properties in the context of property testing (see [10, 16, 8, 4, 2, 14, 11]). Virtually all previous works deal with posets È that happen to be hypercubes of different sizes and dimensions, and provide 1-sided error testers whose complexity is at most polylogarithmic in the size of the domain. For the case where È is the linear order of size Æ, and Ä is large enough, there is an optimal testing algorithm which uses Ç ÐÓ Æµ time and queries [10]. The case when È is the Ò-dimensional hypercube Å Ò, Å ½ Ñ, where Ù Ù ½ Ù Òµ Ú Ú ½ Ú Òµ if Ù Ú for every, was first studied and shown to have monotonicity testers with query complexity Ç Ò Ñ Äµ by [16]. The most efficient known tester for this case has complexity Ç Ò ÐÓ Ñµ ÐÓ Äµµ [8]. For Boolean functions, this complexity can be made independent of Ñ [8]. Very little was known regarding lower bounds for monotonicity testing. For the case where È is the linear order of size Æ, the lower bound in [11] which shows that the algorithm of [10] is tight gives the only previously known nonconstant lower bound for any monotonicity testing problem. In particular, no nonconstant lower bound was known for any poset when Ä ¼ ½, namely, for Boolean functions. The lower bound question for the case of the Boolean hypercube, as well as for general posets, remained unresolved. Our Results. The main objective of this work is a systematic

2 study of the query complexity of monotonicity testing on general posets. Our results fall into three categories: reductions between testing monotonicity and other testing problems, algorithms for testing monotonicity and lower bounds. We begin by showing that monotonicity testing of Boolean functions over general posets is equivalent to the following three testing problems. The first is that of testing if a given assignment to Boolean variables is close to one that satisfies a fixed 2-CNF formula. The second is that of testing if a set of vertices (in a fixed) graph is close to a vertex cover. Here closeness captures the number of vertices that need to be added to make the set into a vertex cover. The third problem is that of testing if a set of vertices is close to a clique, where closeness refers to the number of vertices that need to be removed to make the set into a clique. These reductions provide additional motivation for studying monotonicity over general posets. We next present an algorithm with an Ç ÔƵ query complexity for testing monotonicity over general posets with Æ elements, addressing an open problem posed by [8, 22]. This, in turn, yields Ç ÔƵ query tests for all the above equivalent properties. We then show that no non-adaptive test which makes only a polylogarithmic number of queries exists. Our main hardness result is a lower bound of Æ Å ½ ÐÓ ÐÓ Æ µ queries for general Boolean non-adaptive monotonicity testing. This implies an adaptive lower bound of Å µ. This addresses the open problem raised in [8, 22], for which no previous lower bound was known. It also shows that for the above equivalent properties, monotonicity testing is the essential difficult part. To achieve our lower bound, we show that there is a graph ÐÓ Æ ÐÓ ÐÓ Æ ÐÓ ½ with Æ vertices that can be partitioned into Æ Å ÐÓ ÐÓ Æ µ induced matchings of size Æ. The latter result is of independent interest: graphs with a similar property were constructed by Ruzsá and Szemerédi [25] to provide a lower bound for a Turán-like theorem. Recently they have been used by Håstad and Wigderson [18] for constructing better linearity tests 1. Motivated by conjectures in graph theory, Meshulam [21] constructed similar graphs with different parameters. Our approach is different from all of the above. We also present lower bounds for non-adaptive monotonicity tests over the (Boolean) Ò-dimensional hypercube. We prove an Å ÔÒµ lower bound for 1-sided error algorithms, and an Å ÐÓ Òµ lower bound for 2-sided error algorithms. These results imply the corresponding adaptive lower bounds of Å ÐÓ Òµ and Å ÐÓ ÐÓ Òµ, respectively. These are the first nontrivial lower bounds for the Boolean hypercube, for both 1- sided and 2-sided error algorithms, answering the open questions raised by the works of [16, 8, 22]. Finally, the question arises as to what other posets can be tested more efficiently than the general lower bound. We show that functions over certain types of posets have tests with a number of queries that is independent of the size of the poset. For Boolean functions, this includes posets whose Hasse diagrams are trees, posets having constant size antichains, and what we call top-parallel posets. For functions with arbitrary ½ Substituting the graphs we construct for the graphs of Ruzsá and Szemerédi in [18] yields a family of linearity tests. These tests are incomparable to these of Håstad and Wigderson, they could be better or worse depending on the distance of the tested function to the closest linear function. ranges, this applies to posets with a linear number of comparable element pairs. We also prove that for posets derived from graphs with bounded separators, monotonicity testing of functions with arbitrary ranges requires only a logarithmic number of queries. Organization. Section 2 introduces basic definitions and general tools. Section 3 shows the equivalence to testing 2-CNF, vertex cover and clique. Section 4 provides the test for general posets. Section 5 prepares the tools for the lower bound for general posets, while the specific constructions are given in Section 6. Section 7 presents the lower bounds for monotonicity testing over the hypercube. Finally, Section 8 contains efficient algorithms for several special classes of posets. 2. PRELIMINARIES Property testing. A property is a collection of functions with a fixed domain Î and a fixed range Ä. The distance between functions and ¼, denoted by Ø ¼ µ, is the number of domain elements on which they differ. The distance Ø Èµ of a function to a property È is ÑÒ ¼ È Ø ¼ µ. Its relative distance to È is its distance to È divided by the size of the domain. A function is -far from È if its relative distance to È is at least. A property is Õµ-testable if there is a randomized algorithm that for every input function queries the values of on at most Õ points of the domain, and with probability at least distinguishes between the case that has the property and the case that is -far from the property. The algorithm is referred to as an Õµ-test or simply an -test. An algorithm is non-adaptive if its queries do not depend on the answers to previous queries. An algorithm has 1-sided error if it always accepts an input that has the property. Monotone functions and graph labelings. Let Î µ be a directed graph. Let Î Ä be a labeling of Î with members of a linear order Ä. Then is monotone on if Ú µ Ú µ for all Ú Ú µ. The monotonicity property, denoted by ÑÓÒ, is the set of monotone labelings of. If there is a directed path from Ú to Ú in, we say that Ú is below Ú (or Ú is above Ú ) and denote it by Ú Ú (which is not an order relation in general). Every such pair of vertices of imposes a constraint Ú µ Ú µ. A pair of vertices Ú Ú µ is violated if Ú Ú and Ú µ Ú µ. Vertices Ú and Ú are equivalent in if Ú Ú and Ú Ú, namely, if both are in the same strongly connected component. Note that monotonicity of labelings of acyclic graphs corresponds to monotonicity of functions on posets. We often consider a special case of monotonicity restricted to Boolean functions or labelings (namely, with Ä ¼ ½), which we call Boolean monotonicity. Handy lemmas for monotonicity testing. A transitive closure of a graph Î µ, denoted by Ì µ, is a graph Î ¼ µ where Ú ½ Ú µ is in ¼ if there is a directed path from Ú ½ to Ú in. Observe that two graphs with the same transitive closure give rise to the same monotonicity property ÑÓÒ. LEMMA 1. Let be a labeling for a graph Î µ. If is monotone on an induced subgraph ¼ Î ¼ ¼ µ of Ì µ, then s distance to monotone is at most Î Î ¼.

3 PROOF. Assuming that is monotone on an induced subgraph ¼ Î ¼ ¼ µ of Ì µ, we make monotone on Ì µ by relabeling only vertices in Î Î ¼. Indeed, fix Î ¼ and let Î ¼ be the partial labeling on Î ¼ that is monotone on ¼ Î ¼ ¼ µ. We extend Î ¼ to Î for one vertex Ú Î Î ¼ at a time, always keeping the partial labeling monotone on the induced current graph. We now show how to extend the domain of by one vertex. Let Ú Î Î ¼ be a minimal element in Î Î ¼ (namely, Ú is unreachable from any other vertex Û Î Î ¼ that is not equivalent to it). Let Ì Ù Î ¼ Ù Ú. We extend to Î Ú by letting Úµ be ÑÜ ÙÌ Ùµ if Ì and the minimum value in the range otherwise. By transitivity, since was monotone on Î ¼, the extended is monotone on Î Ú. COROLLARY 2. Let be a labeling of Î µ. Then Ø ÑÓÒ µ is equal to the minimum vertex cover of the graph of violated edges of Ì µ. A matching in a graph is a collection of edges that share no common vertex. The next two lemmas relate a function s distance to monotone to the number of edges it violates in the transitive closure of the graph. The first of them follows from Corollary 2 and the fact that the size of a maximum matching is at least 1/2 of the size of a minimum vertex cover. LEMMA 3 ([8]). Let be a labeling which is -far from monotone on a graph with Æ nodes. Then Ì µ has a matching of violated edges of size Æ. LEMMA 4. Let be a Boolean labeling which is -far from monotone over a graph with Æ nodes. Then Ì µ has a matching of violated edges of size Æ. PROOF. Let È ¼ be a poset of vertices in Î with partial order defined by Ú Ù if Ú Ùµ is a violated pair in. Let Î be a maximal antichain in È ¼. Certainly, is monotone on the subgraph of Ì µ induced by, as contains no violated pairs. Then by Lemma 1, Ø ÑÓÒ µ Î. By Dilworth s theorem [7], is equal to the minimum number of disjoint chains that cover È ¼. However, a chain in È ¼ consists of at most two vertices as Ú Ùµ and Ù Ûµ cannot be both violated by a Boolean function. Hence, to cover Î elements, at least Î out of chains have to be of length exactly two (otherwise, less than Î elements are covered). This collection of at least Î Ø ÑÓÒ µ disjoint chains of size two is a matching of violated pairs. Reduction from monotonicity on general graphs to monotonicity on bipartite graphs. We now prove that testing monotonicity on arbitrary graphs is equivalent to testing monotonicity on bipartite DAG s (which naturally correspond to posets). Definition 1. For each directed graph Ú ½ Ú Æ µ, let be the bipartite graph Ú ½ Ú Æ Ú½ ¼ ÚÆ ¼ µ where Ú Úµ ¼ Ú ÖÐ ÖÓÑ Ú Ò. For each labeling of, define the corresponding labeling of by Ú µ Úµ ¼ Ú µ. Note that is a transitively closed DAG with Æ vertices and the same number of edges as Ì µ. CLAIM 5. Let be a labeling on a graph. Then Ø ÑÓÒ µ Ø ÑÓÒ µ PROOF. The proof is straightforward, and we omit it. In fact Ø ÑÓÒ µ Ø ÑÓÒ µ We postpone the proof of this stronger claim to the full version of the paper. THEOREM 6. If ÑÓÒ is Õµ-testable for a graph then ÑÓÒ is Õµ-testable. The reduction preserves 1-sided error: a 1-sided test for ÑÓÒ gives a 1-sided test for ÑÓÒ. PROOF. Let be a labeling of and let be the associated graph with labeling as defined above. By Claim 5, Ø ÑÓÒ µ Ø ÑÓÒ µ. If is -far from monotone on then is -far from monotone on because has twice as many nodes. A test for on input can simulate a test for on input, asking at most the same number of queries. 3. EQUIVALENCE OF BOOLEAN MONO- TONICITY AND OTHER PROBLEMS Testing 2-CNF assignments is equivalent to testing Boolean monotonicity. Recall that a Boolean formula is in conjunctive normal form (CNF) if it consists of clauses joined by s, where every clause is an of literals. (A literal is a Boolean variable or a negated Boolean variable.) If all clauses have two literals, the formula is a 2-CNF. Let be a 2-CNF formula with variables ½ Æ, and ½ Æ ¼ ½ be an assignment to its variables. The property ËÌ µ is the set of satisfying assignments of. We show that the testability question of ËÌ µ for a 2-CNF formula is equivalent to the testability of Boolean monotonicity on digraphs. THEOREM 7. For every graph with Æ vertices, there is a corresponding 2-CNF on Æ variables such that if ËÌ µ is Õµ-testable then ÑÓÒ is also Õµ-testable for Boolean labelings. The reduction preserves 1-sided error. PROOF. Let Î µ be a digraph. With each Ú Î associate a Boolean variable Ü Ú. Define the 2-CNF formula on the set of variables Ü Ú Ú Î as follows: for each edge Ù Úµ, form the clause Ü Ù Ü Úµ. A Boolean labeling on Î µ defines an assignment on by Ü Úµ Úµ. Clearly, Ø ÑÓÒ µ Ø ËÌ µµ. Thus, a test for ËÌ µ can be used as a test for ÑÓÒ. THEOREM 8. For every 2-CNF on Æ variables, there is a corresponding graph with Æ vertices such that if ÑÓÒ is Õµ-testable for Boolean labelings then ËÌ µ is Õµ-testable. The reduction preserves 1-sided error. PROOF. Let be a satisfiable 2-CNF formula on a set of Æ variables. (If is unsatisfiable, it has a trivial test that rejects all assignments). With each Boolean variable Ü,

4 associate two vertices Ú Ü and Ú Ü that represent literals corresponding to Ü. We use the convention Ú Ü Ú Ü and Ú Ü Ú Ü. Define the implication graph,, on the set of the corresponding Æ vertices, as follows: for each clause ÜÝ, where Ü and Ý are literals, add edges Ú Ý Ú Üµ and Ú Ü Ú Ýµ. For any edge Ù Úµ call edge Ú Ùµ its dual edge. Note that dual edges appear in the implication graph in pairs, with the exception of edges of the form Ù Ùµ, which are dual to themselves. Let ¼ ½ be an assignment to. Define the associated Boolean labeling of by Ú Üµ ܵ for all literals Ü. If satisfies, the corresponding labeling is monotone on. It remains to prove that Ø ËÌ µµ Ø ÑÓÒ µ. To show this we transform into a satisfying assignment for by changing at most Ø ÑÓÒ µ variable assignments. To this end, a Boolean labeling of an implication graph is called negation-compliant if Ú Ü and Ú Ü have different labels for all literals Ü. Note that every negationcompliant labeling of has a corresponding assignment to. Furthermore, if is monotone and negation-compliant for then the corresponding assignment for, given by ܵ Ú Üµ for every literal Ü, is a satisfying assignment for. Note that for every literal Ü, Ú Ü and Ú Ü are never in the same strongly connected component because is satisfiable. Also, if Ú Ü is equivalent to Ú Ý in then Ú Ü is equivalent to Ú Ý. The following algorithm transforms into a nearby monotone, negation-compliant labeling. 1. Convert to a nearest monotone assignment on. ( is not necessarily negation-compliant.) 2. While has nodes Ú Ü with Ú Üµ Ú Üµ ¼ Find a maximal Ú Ü (with respect to ) among those with Ú Üµ Ú Üµ ¼. Change Ú Þµ to 1 for all Ú Þ that are equivalent to Ú Ü (including Ú Ü itself). 3. While has nodes Ú Ü with Ú Üµ Ú Üµ ½ Find a minimal Ú Ü among those with Ú Üµ Ú Üµ ½. Change Ú Þµ to 0 for all Ú Þ that are equivalent to Ú Ü (including Ú Ü itself). First, we show that the resulting labeling is monotone on. Indeed, is monotone after step 1. Since it is monotone, nodes in the same strongly connected component (i.e., equivalent nodes with respect to ) have the same labels. Hence, after each change in step 2, equivalent nodes still have the same labels. Suppose is monotone on before some iteration of step 2 and is not monotone after it. Then some edge Ú Ü Ú Ýµ is violated by changing Ú Üµ to 1. Then Ú Ýµ ¼ both before and after this iteration, and Ú Ý is not equivalent to Ú Ü. Since Ú Ý Ú Ü, it must be that Ú Ýµ ½ (otherwise, Ú Ý would have changed before Ú Ü). But then the dual edge Ú Ý Ú Üµ is violated before the iteration, giving a contradiction. Similarly, if is monotone on before some iteration of step 3 then it is monotone after it. Secondly, the resulting labeling is negation-compliant because step 2 relabels all nodes Ú Ü with Ú Üµ Ú Üµ ¼, and step 3 relabels all nodes with Ú Üµ Ú Üµ ½. Finally, let be the assignment to with ܵ Ú Üµ for every literal Ü. By the remarks above, is a satisfying assignment for. It is not hard to show that Ø µ Ø ÑÓÒ µ. Other testing problems equivalent to 2-CNF testing. Recall that a monotone CNF is a CNF with only positive literals. We prove that testing 2CNF is equivalent to testing monotone 2CNF. Since we have shown that 2-CNF testing is equivalent to testing Boolean monotonicity over general graphs, which is equivalent to testing Boolean monotonicity on special kind of bipartite graphs, it is enough to prove the following theorem. THEOREM 9. Let µ be a bipartite digraph with all edges directed from to and Æ. For each there is a corresponding monotone 2-CNF on Æ variables s.t. if ËÌ µ is Õµ-testable then monotonicity of Boolean functions over is also Õµ-testable. PROOF. Associate a variable Þ Ú with every node Ú in. Each node Ý in is represented by Þ Ý, while each node Ü in is represented by Þ Ü. Define a Boolean formula on the set of variables Þ Ú Ú as follows: form a clause Þ Ü Þ Ýµ for each edge Ü Ý µ. A Boolean labeling of defines an assignment for by Þ Üµ ½ ܵ if Ü and Þ Üµ ݵ if Ý. Then an edge Ü Ýµ is violated if and only if the corresponding clause Þ ÜÞ Ýµ is unsatisfied. Therefore, Ø ÑÓÒ µ Ø ËÌ µµ, and each test for can be used as a test for ÑÓÒ. Let Í Î µ be an undirected graph. For a Ë Î, let Ë Î ¼ ½ be a characteristic function of Ë, i.e. Úµ ½ if and only if Ú Ë. A vertex cover of Í is a subset of the vertices where every edge of Í touches one of those vertices. A clique in Í is a subset of the vertices that induces a complete graph in Í. The property Π͵ is the set of all characteristic functions Ë such that Ë is a vertex cover of Í. Similarly, the property ÄÁÉÍ Íµ is the set of all characteristic functions Ë such that Ë is clique of Í. THEOREM 10. The following statements are equivalent: ËÌ µ is Õµ-testable for every monotone 2-CNF on Æ variables. Π͵ is Õµ-testable for every graph Í on Æ nodes. ÄÁÉÍ Íµ is Õµ-testable for every graph Í on Æ nodes. Moreover, the reductions preserve 1-sided error. The theorem follows from the following three lemmas. LEMMA 11. For every undirected graph Í on Æ nodes there is a corresponding monotone 2-CNF Í on Æ variables s. t. if ËÌ Íµ is Õµ-testable then so is Π͵. PROOF. Let Í Î µ be an undirected graph. Associate a Boolean variable Ü Ú with each Ú Î. Define the 2- CNF formula Í on the set of variables Ü Ú Ú Î as follows: form the clause Ü Ù Ü Úµ for each edge Ù Úµ. A subset Ë of vertices in Î defines an assignment to variables in by Ü Úµ Ë Úµ. Clearly Ø Ë Î Íµµ Ø ËÌ Íµµ, and every -test for ËÌ µ can be used as a test for Î Í µ.

5 LEMMA 12. For every undirected graph Í on Æ nodes there is a corresponding graph Í ¼ on Æ nodes s. t. if Î Í ¼ µ is Õµ-testable then so is ÄÁÉÍ Íµ. PROOF. Let Í Î µ be an undirected graph. Define Í ¼ Î ¼ µ where ¼ is the set of vertex pairs that are not edges in. For a subset Ë of Î, let Ë ¼ Î ÒË. Clearly, Ø Ë ÄÁÉÍ Íµµ Ø Ë ¼ Î Í ¼ µµ, and every - test for Î Í ¼ µ can be used as an -test for ÄÁÉÍ Íµ. LEMMA 13. For every monotone 2-CNF on Æ variables, there is a corresponding undirected graph Í on Æ nodes s.t. if ÄÁÉÍ Í µ is Õµ-testable then so is ËÌ µ. PROOF. Let be a monotone 2-CNF. Associate a node Ú Ü with each variable Ü of. Define the undirected graph Í on the set of vertices Î Ú Ü Ü as follows: start with a complete graph on Î and then for each clause Ü Ýµ in delete an edge Ù Ü Ù Ýµ from Í. An assignment to the variables of defines a subset Ë of the vertices of Î by Ë Ú Ü Üµ ¼. Clearly, Ø ËÌ Íµµ Ø Ë ÄÁÉÍ Í µµ, and every -test for ÄÁÉÍ Íµ can be used as a test for ËÌ Íµ. 4. GENERAL UPPER BOUND We present a simple 1-sided error -test for monotonicity (not necessarily Boolean) on bipartite graphs µ with Æ and all edges are directed from to. TEST Ì ½ FOR µ Ð 1. Query Õ Ô Ñ Æ vertices uniformly and independently from each of and. 2. Reject if a violated pair of vertices is found; otherwise, accept. THEOREM 14. If µ as above, then algorithm Ì ½ is a 1-sided error Ç ÔƵ -test for ÑÓÒ. PROOF. The test accepts all monotone functions. Suppose a function is -far from monotone. Then by Lemma 3, there are Æ vertex-disjoint violated pairs. Call them witnesspairs and their vertices, witnesses. A randomly chosen - vertex is a witness with probability. Let be the event that no violated pair is detected, be the event that Õ -witnesses are queried, and be the event that Õ -witnesses are queried. ÈÖ ÈÖ ÈÖ ÈÖ Õ Õ ½ Õ Æ ½ Æ Thus, the test fails with probability less than 1/3. By Theorems 6 10, monotonicity over general graphs and properties in Section 3 have 1-sided error Ç ÔƵ -tests. 5. GENERAL LOWER BOUNDS This section addresses lower bounds for testing monotonicity on general graphs. We restrict our attention to the Boolean case which implies matching lower bounds for all properties in Theorem 10. We first define what we call Ruzsá-Szemerédi type graphs. We then show that monotonicity over such graphs (with suitable parameters) is hard to test non-adaptively. Let Í Î µ be an undirected graph and let Å be a matching in Í, i.e. no two edges in Å have a vertex in common. Let Πŵ be the set of the endpoints of edges in Å. A matching Å in Í is called induced if the induced graph ÍΠŵ contains only the edges of Å. Namely, Ù Úµ ͵ if and only if Ù Úµ Å for all Ù Ú Î Åµ. A (bipartite) graph Í µ is called ص- Ruzsá- Szemerédi if its edge set can be partitioned into at least induced matchings Å ½ Å, each of size at least Ø. THEOREM 15. Let Í µ be an Ñ Æµ-Ruzsá- Szemerédi graph with Æ. Direct all edges of Í from to to obtain a graph. Then any non-adaptive -test for ÑÓÒ requires Å Ôѵ queries. PROOF. We use Yao s principle, which says that to show a lower bound on the complexity of a randomized test, it is enough to present an input distribution on which any deterministic test with that complexity is likely to fail. Namely, we define distributions È Æ on positive (monotone) and negative (-far from monotone) inputs, respectively. Our input distribution first chooses È or Æ with equal probability and then draws an input according to the chosen distribution. We show that every deterministic non-adaptive test with Õ Ó Ôѵ queries has error probability larger than ½ (with respect to the induced probability on inputs). We now define the distributions È and Æ, as well as the auxiliary distribution Æ. For È and Æ, choose a random ½ Ñ uniformly. For all nodes Ü and Ý outside of matching Å, set ܵ ½ and ݵ ¼. For È, uniformly choose ܵ ݵ ¼ or ܵ ݵ ½ independently for all edges Ü Ýµ Å. For Æ, uniformly choose ܵ ½ ݵ ¼ or ܵ ½ ݵ ½ independently for all Ü Ýµ Å. È is supported only on monotone labelings, but Æ is not supported only on negative inputs. However, for Æ large enough, with probability more than 8/9 at least 1/3 of the edges of Å are violated when the input is chosen according to Æ, making the input -far from monotone. Denote the latter event by and define Æ Æ, namely, Æ is Æ conditioned on the event. Note that for Æ an edge is violated only if it belongs to Å, since the matchings are induced. Given a deterministic non-adaptive test that makes a set Î ¼ of Õ queries, the probability that one or more of Å s edges have both endpoints in Î ¼ is at most Õ Ñµ for both È Æ. This is because the matchings are disjoint, and the vertex set Î ¼ induces at most Õ edges of. For Õ Ó Ôѵ, with probability more than ½ Ó ½µ no edge of Å has both endpoints in Î ¼. Conditioned on any choice of for which Å has no such edge, the distribution of Î ¼ is identical for both Æ and È : every vertex outside of Å is fixed to 1 if it is in and to 0 if it is in, and the value of every other vertex is uniform and independent over ¼ ½. Let µ denote the

6 set of inputs consistent with query answers Î ¼ ¼ ½. ÈÖ È µno edge in Å ÈÖ Æ µno edge in Å. For every tuple of answers, the error probability under the above conditioning (with negative inputs chosen under Æ rather than Æ ) is 1/2. As the probability of the condition is ½ Ó ½µ, the overall error probability without the conditioning is ½ Ó ½µ. Since negative inputs are chosen under Æ, not Æ, the success probability is ½ Ó ½µµ ÈÖ µ ½ ½ Ó ½µµ ½ Ó ½µ Thus, the error probability is ½ Ó ½µ. 6. CONSTRUCTION OF HARD TO TEST GRAPHS This section constructs Ruzsá-Szemerédi graphs that yield Æ Å ½ ÐÓ ÐÓ Æ non-adaptive lower bounds for monotonicity testing. We then discuss the parameters of Ruzsá-Szemerédi graphs that are currently attainable. THEOREM 16. There exist an Æ Å ½ ÐÓ ÐÓ Æ Æ Ó Æµµ- Ruzsá-Szemerédi graphs Í µ with Æ. COROLLARY 17. For some Æ-vertex graphs, every nonadaptive ½ ½ queries. Å Ó ½µµ-test for ÑÓÒ requires Æ ½ ÐÓ ÐÓ Æ PROOF OF THEOREM 16. Let Ñ Ò be two integers where Ò is divisible by 3 and Ò Ó Ñµ. The vertex set of Í is Ñ Ò, thus Æ Ñ Ò. We define a family of (partial) matchings on the vertices of Í and take the edge-set of the graph to be the union of the edge-sets of these matchings. The matchings are indexed by a family of Ò -subsets of Ò. Let Ì Ò, Ì Ò. Let Ô Ò. Definition of a matching Å Ì. Color the points in the two copies of Ñ Ò by blue, red and white. The color of a point Ü is determined by È Ì Ü. First, partition the vertex set into levels, where the level Ä is the set Ü È Ì Ü. Then combine levels into strips, where for an integer ½Ñ, the strip Ë Ä Ô Ä ½µÔ ½. Color the strips Ë with ¼ ÑÓ µ blue, the strips with ½ ÑÓ µ red, and the remaining strips white. The matching Å Ì is defined by matching blue points in to red points in as follows: If a blue point in has all its Ì -coordinates greater than, match it to a point Ö ½ Ì in. The vector ½ Ì is the characteristic vector of Ì ; it is ½ on Ì and ¼ outside Ì. Note that Ö is necessarily red. Å Ì is clearly a matching. Our next step is to show that it is large. LEMMA 18. Å Ì Æ Ó Æµ PROOF. Consider the projected matching Å on the vertices of the bipartite graph Í Ì Ñ Ì Ñ Ì, which is defined by Ì. Namely, partition the points of Ñ Ì as described above, coloring them by blue, red and white, and match a blue point in one copy of Ñ Ì to a red one in another, by subtracting ½ Ì. Since Å Ì is determined by the coordinates in Ì, it is enough to show that Å È Ó È µ, where È Ñ Ô. Let Ê Ï Ñ Ì be the sets of the blue, red and white points, respectively. Then È Ê Ï First, we claim that Ï Ê Ü Ü ½. Indeed, consider a new matching between Ï and Ê defined by matching Û Ï to Û ½ Ì. Assume that Ñ ¼ ÑÓ µ. Then the only unmatched points in Ï are contained in the set Ü Ü ½, proving this claim. Similarly Ï Ü Ü Ñ. Next, observe that the only blue and red points (in the corresponding copies of Ñ Ì ) unmatched by Å are these which have a coordinate whose value is in ½ Ñ ½ Ñ. It follows that Å Ê µ Ü Ü ½ Ñ ½ Ñ È Ü Ü ½ Ñ ½ Ñ Ü Ü ½ Ñ Ô Ñ È Since Ô Ó Ñµ, the claim of the lemma fol- È lows. Now, let Ì Ì ½ be two Ò -sets in Ò, such that Ì Ì½ Ò. We claim that no edge of Å Ì is induced by Š̽. Indeed, let be matched to Ö by Å Ì, in particular Ö ½ Ì. If the edge Öµ is induced by Š̽, then is colored blue and Ö is colored red in the coloring defined by Ì ½. By the definition of the coloring, since È Ò ½ È Ò ½ Ö, is located in a blue level separated by a white level from the red level of Ö. This implies that È Ì ½ ÈÌ ½ Ö Ò On the other hand, È Ì ½ ÈÌ ½ Ö È Ì ½ Ö µ È Ì ½ ½ Ì µ Ì Ì½ Ò Ò reaching a contradiction. We would like to have a large family of Ò -subsets of Ò, such that the intersection between any two of them is of size at most Ò, or, equivalently, such that the Hamming distance between any two of them is at least Ò Ò Ò. So we ½ need a lower bound on the size of a constant weight binary error-correcting code with the following parameters: block length Ò, weight Û Ò, distance Ò. Applying the ½ Gilbert-Varshamov bound for constant weight codes [19], we get ½ Ò ÐÓ À ½µ ½ À µ À µ Ó ½µ ¼¼½ Ó ½µ Choose Ñ Ò and define the edge-set ͵ of Í by Ë Íµ Ì ÅÌ By the preceding discussion, Í is a graph on Æ Ò Ò vertices, whose edge-set is a disjoint union of Å Òµ Æ Å ½ ÐÓ ÐÓ Æ induced matchings of size Æ Ó Æµ. ص-Ruzsá-Szemerédi Graphs. For which values of and Ø is there an ص-Ruzsá-Szemerédi graph? We are interested in the asymptotic version of this question as Æ ½. Call a sequence of pairs Ƶ Ø Æµµ-realizable if there is an infinite sequence of Æ, and graphs Í Æ with Æ vertices, that are Ƶ Ø Æµµ-Ruzsá-Szemerédi. Define È to be the set Ƶ Ø Æµµ of realizable sequences. Note that È is monotone in the natural order on pairs, namely if it contains ص, and ¼, Ø ¼ Ø, then it contains ¼ Ø ¼ µ. Therefore it is defined by its set of maximal points. Æ Two trivial maximal points in È are ½, coming from a complete graph on Æ vertices, and ½ Ƶ, coming from a perfect matching on Æ vertices. A much more interesting point in È is given by a construction of Ruzsá and Szemerédi

7 [25], following Behrend [5]. Their result, with some abuse of notation, can be stated as follows: Æ Ç ÔÐÓ Æ Æµ È We have already seen that for Å ½µ there is an absolute constant, such that Æ ÐÓ ÐÓ Æ Æµ È. This trivially implies that there is a constant such that for any positive, ½ Æ ÐÓ ÐÓ Æ Æ È. A more technically involved generalization of the construction in this section, postponed to the full version of the paper, gives: there is a constant such that for any constant positive ½, Æ ÐÓ ½ µðó ÐÓ Æ Æ È. Letting go to ¼ as Æ grows, it can be shown for ½ Ô Å ÐÓ ÆÐÓ ÐÓ Æ, that there is an absolute constant Ô ½, s.t. Æ ÆÇ ÐÓ Æ ÐÓ ÐÓ Æ È 7. HYPERCUBE LOWER BOUNDS 1-sided non-adaptive lower bound. Consider the set inclusion order on the vertices of the Boolean hypercube ¼ ½ Ò. For Ü ¼ ½ Ò, let Ü be its Hamming weight. THEOREM 19. ¼ such that every non-adaptive 1- sided error -test for monotonicity of Boolean functions on the Ò-dimensional Boolean hypercube requires Å ÔÒµ queries. PROOF. Note that a 1-sided error test must accept if no violation is uncovered; otherwise, the test fails on monotone functions consistent with the query results. For ½ Ò define a function ¼ ½ Ò ¼ ½ by ½ if Ü Ò ÔÒ Ô Ü ½ Ü Òµ ¼ if Ü Ò Ò ½ Ü otherwise It is easy to see that for all ½ Ò, is -far from monotone, for some constant ¼ independent of Ò. The following immediately implies our theorem. LEMMA 20. For every non-adaptive Õ-query monotonicity test, there exists an index Ò, such that the test succeeds (finds a violation) on with probability at most Ç Õ Ô Òµ. PROOF. It suffices to prove the claim for tests that only query vertices with Hamming weight in the range Ò Ô Ò, as queries out of this range do not participate in any violation. We show that every set of Õ queries reveals a violation for at most Ç Õ Ô Òµ of the functions. It follows that for every test that makes Õ queries, È Ò ½ ÈÖa violation for is found Ç Õ Ô Òµ and so there exists an for which the test finds a violation with probability at most Ç Õ Ô Òµ, as claimed. Let É be the set of queried vertices of ¼ ½ Ò of size Õ. The queries detect a pair of vertices violated by only if É contains comparable vertices Ù and Ú that differ in coordinate. Construct an undirected graph with vertex set É, by drawing an edge between Ü and Ý if they are comparable. Consider a spanning forest of this graph. If such vertices Ù and Ú exist, they must lie in the same tree. Furthermore, there must exist adjacent vertices on the path between Ù and Ú that differ in coordinate. Therefore, the number of functions for which the queries reveal a violation is at most the maximum number of edges in the forest (which is at most Õ ½) multiplied by the maximum possible distance between adjacent vertices ( Ô Ò). The total is at most Ç Õ Ô Òµ. 2-sided lower bound. We give a logarithmic lower bound for non-adaptive 2-sided monotonicity tests of Boolean functions over ¼ ½ Ò. This implies a non-constant (though doubly logarithmic) lower bound for adaptive testing of this property. THEOREM 21. ¼ such that every non-adaptive -test for monotonicity of Boolean functions on the Ò-dimensional Boolean hypercube requires Å ÐÓ Òµ queries. PROOF. The lower bound uses Yao s method. Namely, we define two distributions over input functions, È and Æ, such that for any set of Õ ½ ÐÓ Ò vertices of the hypercube, the distributions induced on ¼ ½ Õ by restricting the ¼ functions to the Õ vertices are ½ close, while an input chosen according to È is monotone, and an input chosen according to Æ is -far from monotone for a constant. Two distributions. For Ü ¼ ½ Ò, we view Ü both as a binary vector of length Ò and a subset Ü ½ of Ò. Definition 2. Let «½. Given Ò, let Ñ Üµ ½¼¼ be 1 when Ü ½ and 0 otherwise. The trimmed oligarchy function according to is ½ if Ü Ò «Ô Ò Üµ ¼ if Ü Ò «Ô Ò Ñ Ü µ otherwise The trimmed anti-oligarchy function according to is ½ if Ü Ò «Ô Ò Üµ ¼ if Ü Ò «Ô Ò ½ Ñ Ü µ otherwise The theorem follows from the next two lemmas. LEMMA 22. There exists ¼, such that for any nonempty set, is monotone and is -far from monotone. PROOF. It is easy to see that trimmed oligarchy functions are monotone. For trimmed anti-oligarchy functions, we will find Ò vertex-disjoint violated pairs. Let Ñ. For every integer Û such that ½ Ò «Ô Ò Û ½ Ò, and every integer Ú such that ¼ Ú ½ Ñ, let ÍÛÚ denote the set Ü ¼ ½ Ò Ü Û and Ü Ú, and Î ÛÚ denote the set Ü ¼ ½ Ò Ü Ò Û and Ü Ñ Ú. By definition, ܵ ½ for every Ü Í ÛÚ and ܵ ¼ for every Ü Î ÛÚ. Í ÛÚ and Î ÛÚ have the same size, since Ü is in Í ÛÚ iff the complement of Ü is in Î ÛÚ. We want to find a bijection Í ÛÚ Î ÛÚ such that Ü Üµ for every Ü Í ÛÚ. Consider the bipartite graph over Í ÛÚ Î ÛÚ with the poset relations as edges. It is easy to see that this graph has a constant degree, so a matching exists (by Hall s Theorem) if this degree is nonzero. This happens if Û Ú satisfy ½ Ñ Ú ½ Ò Û in addition to the conditions above. The union over all such Û Ú of the sets Í ÛÚ Î ÛÚ covers a fixed fraction of the hypercube, so we are done.

8 To define È and Æ pick a random set Ò by independently choosing each coordinate to lie in with probability ½ ½¼ Ò ½. For È, take the corresponding and for Æ, take the corresponding. ½ ¼ LEMMA 23. Æ and È restricted to any set of Õ ÐÓ Ò queries are -close, for any ¼. PROOF SKETCH. Let Õ ½ ÐÓ Ò. Let ܽ ÜÕ be ¼ a fixed subset of ¼ ½ Ò. We can assume, without loss of generality, that the points satisfy Ò «Ô Ò Ü Ò «Ô Ò. This is because the functions in È and Æ are constant and identical outside this range. Inside the range, for any, the corresponding oligarchy and anti-oligarchy functions complement each other. Therefore, the induced distributions È and Æ on ¼ ½ Õ are mirror images of each other: È µ Æ µ for any ¼ ½ Õ, where is the complement of. For a distribution on ¼ ½ Õ, let be its mirror image. Call symmetric if. Our claim amounts to showing È to be almost symmetric. In fact, we construct a symmetric distribution, such that È ½ Ó ½µ. This implies our claim since È Æ ½ È È ½ È ½ È ½ È ½ We get to by a sequence of four distributions, each one close to its predecessor. The first element in the sequence is ½ È and the last is. The triangle inequality then implies that the distance between È and is at most the sum of the distances between the consecutive elements of the sequence. For ½ Õ, let Ý ¼ ½ Ò be such that Ý Ò and Ü Ý «Ô Ò. Let be the distribution on ¼ ½ Õ induced by restricting the functions in È to Ý ½ Ý Õ. Then is close to ½ because w.h.p. over the choice of a function from È, changing the queries by at most Ç ÔÒµ bits, does not change the value of the on the queries. The Ò-sets Ý ½Ý Õ induce a standard partition of Ò into Õ disjoint subsets, indexed by ¼ ½ Õ. For Á ¼ ½ Õ, the Á th element of the partition is Ì Á Á ½ Ý Ì Á ¼ Ý. Here Ý is the set complement of Ý. We define Õ random variables depending on by setting Ê Á µ Á. If Á is empty, Ê Á is identically ¼. Note that Ê Á are independent binomially distributed variables, and that they determine the restriction of to Ý ½Ý Õ. In fact, is Ý µ ½ if and only if Ý Ý, which is equivalent to È ÁÁ ÊÁ È Á Á ÊÁ. Since È ÁÁ ÊÁ ÒÔ È Á Á ÊÁ, we can replace each Ê Á by a random variable Á Ê Á Ê Á with zero expectation. Next, we would like to replace each Á by a symmetric 2 random variable Ë Á. Observe that once we do so, provided the new distribution on ¼ ½ Õ is close to, we are basically done. Indeed, a choice of a point in ¼ ½ Õ according to is determined by the signs of Õ linear expressions in Ë Á. Since is invariant under flipping the sign of all the Ë Á, a point A real random variable is symmetric if for all Ø, È Ö Ø È Ö Ø. The two notions of symmetric distributions in the proof should, hopefully, cause no confusion. and its complement would be chosen with almost 3 the same probability. Therefore, is close to a symmetric distribution on ¼ ½ Õ, completing the proof. We know, say by the Berry-Esseen theorem ([9], p. 126) that a binomial distribution with parameters and Ô, such that Ô ½, is, in some sense, close to the normal distribution which is, of course, symmetric. We give a precise meaning to this intuition, proving directly that such a binomial distribution is stochastically close to a symmetric one. This allows us to replace Á with large parameter Á by symmetric random variables. As to Á for which the parameter is small, it turns out that we can get rid of them simply by replacing them with ¼. 8. FAMILIES OF GRAPHS WITH EFFI- CIENT MONOTONICITY TESTS This section describes several families of efficiently testable graphs, including graphs with few edges in the transitive closure, graphs with small width, top-parallel graphs, trees and graphs with small separators. All tests presented have 1-sided error. Hence, we only need to analyze the probability of error for functions that are far from monotone. Throughout the section, we denote the transitive closure of a graph by Ì µ. 8.1 Tests with query complexity independent of graph size Our first test Ì Õµ works when the fraction of vertex pairs violated by the input function is high and is useful for testing graphs with few edges in the transitive closure, as well as small width graphs. Note that test Ì Õµ queries at most Õ vertices. TEST Ì Õµ 1. Pick Õ edges from the transitive closure of the graph uniformly and independently. 2. For each edge, query its endpoints. Reject if it is violated; otherwise, accept. LEMMA 24. If is a graph with at most Æ edges in Ì µ, then algorithm Ì with parameter Õ set to is a 1-sided error µ-test for monotonicity on. A graph has width Û if every set of mutually incomparable vertices has size at most Û. The following shows that Ì can be used to test small width graphs. LEMMA 25. If is a graph of width Û, then algorithm Ì with Õ set to Û is a 1-sided error Û µ-test for monotonicity of Boolean functions on. PROOF OF LEMMA 25. Let be a graph of width Û and let be a Boolean labeling of Î µ that is -far from monotone. We will show that the number of violated edges in the transitive closure is at least Æ Ûµ Ó ½µ. Since the total number of edges in the graph is at most Æ, the test will find a violated edge with probability at least ½ Õ. Because in order to get ½ in -th coordinate we need the corresponding linear expression to be strictly positive, and to get ¼ we need it to be only non-positive (zero included).

9 CLAIM 26. If Ø µ for a Boolean labeling, then there is a set Ì Ì Û, of 0-labeled vertices, s.t. Ì is incident to at least violated pairs. PROOF OF CLAIM. If Ø ÑÓÒ µ, by Lemma 4, Ì µ has a matching of violated edges of size. Call endpoints of the edges in the matching witnesses. Let be the set of 0-labeled witnesses and let Ì be a minimal set of vertices s.t. Þ Ø Ì with Þ Ø. Clearly, Ì contains no comparable pairs, and hence is of size at most Û. Each 1- labeled witness is below one of the nodes in and hence in Ì. Applying the claim to Ì µ and removing the nodes in Ì from the graph repeatedly until no vertices are left, we observe that the number of violated edges in Ì µ is at least Æ Æ Ûµ Æ Ûµ Æ ÑÓ Ûµ Æ µ Ûµ Top-parallel graphs. Let ½ Î ½ ½µ and Î µ be disjoint graphs. Graph obtained by connecting ½ and in parallel is defined by Î ½ Î ½ µ. Graph obtained by connecting ½ and using the top operation is defined by Î ½ Î ½ ܵ, where Ü Ú Ú ½µÚ ½ Î ½ and Ú Î. Top-parallel graphs are defined recursively: the 1-vertex graph is top-parallel, and a graph formed by top or parallel operations from two topparallel graphs is also top-parallel. Examples of top-parallel graphs include the transitive closure of a rooted tree with all edges directed either towards the root or away from the root, and the transitive closure of a complete layered graph. The proof of the following lemma is omitted. LEMMA 27. If is a top-parallel graph, it has a 1-sided µ-test for Boolean monotonicity. Tree-like graphs. A directed graph Î µ is tree-like if it is obtained by arbitrarily directing each edge of a forest Î µ. LEMMA 28. If is a tree-like graph, it has a 1-sided error ½ µ-test for Boolean monotonicity. The full proof is technical, and we omit it. We sketch a simplified proof for the case of a rooted tree which is obtained from a tree Ì Î µ by choosing a special vertex Ö Î and directing the edges along paths from other vertices to Ö. Let ÄÓÛ Úµ denote Ù Î Ù Ú for Ú Î. Observe that in a rooted tree, ÄÓÛ Üµ ÄÓÛ Ýµ for all incomparable vertices Ü Ý. A vertex Ú Î is -bad with respect to a Boolean labeling if Úµ ¼ and more than fraction of vertices in ÄÓÛ Úµ are labeled 1 by. Ì FOR BOOLEAN LABELINGS ON ROOTED TREES 1. Query nodes uniformly and independently. 2. For each queried node with label 0, query nodes below it uniformly and independently. Reject if a violated pair is found; otherwise, accept. If at least an fraction of vertices in are -bad with respect to the input labeling, the test rejects with probability. Otherwise, we can obtain a monotone ¼ by changing on less than fraction of the vertices. Let be the set of 0-labeled vertices which are not -bad, and Ë be the set of maximal nodes of. Set ¼ ܵ to 0 if Ü ÄÓÛ Úµ for some Ú Ë and to 1 otherwise. It is not hard to show that ¼ is monotone and close to, as claimed, which implies the correctness of the test. A generalization of a bad vertex yields a similar test for tree-like graphs. 8.2 A test for graphs with small separators Here we consider graphs that can be broken into relatively small connected components by removing a few vertices. Definition 3. Let Í be an infinite family of undirected graphs that is closed under taking subgraphs. We say that Í is - separable if every Æ-vertex graph Í Í can be broken into connected components of size at most Æ by removing a subset of at most vertices, called a separator. E.g., forests are ½-separable, bounded tree-width graphs have bounded separators and planar graphs are Ç ÔƵ-separable [20]. In the sequel might be a sublinear non-decreasing function of Æ. Let Î µ be a directed graph. Let Í be the undirected graph obtained from by undirecting its edges. Call -separable if Í belongs to a -separable family of graphs. Consider a standard tree structure over disjoint subgraphs of generated by inductively taking out separators. Namely, generate a rooted tree Ì where each node Ü in Ì is associated with a set of vertices Πܵ of. Let Î ¼ be a separator for Í of size, and suppose that Í Î Î ¼µ has Ð components. The root Ü of Ì is associated with Î ¼ (i.e., Πܵ Î ¼) and has Ð children, one for each component. The subtrees of the children are generated recursively from their respective components by the same procedure. The recursion stops at components of size less than ÐÓ Æ. The leaves are associated with vertex sets of their components. Note that the depth of the tree is Ç ÐÓ Æµ. Let Ö Ü ¼ Ü ½ Ü Ü be the path from the root to a node Ü in Ì. Denote ¼Î ܵ by È Ø Üµ. Namely, È Ø Üµ contains all vertices of associated with Ü and all vertices from separators that appear on the path from the root of Ì to Ü. For a vertex Ú Î let Ì Úµ denote the node Ü of Ì so that Ú Î Üµ. We present a 1-sided error test for using the structure Ì. TEST FOR GRAPHS WITH SMALL SEPARATORS, Ì µ 1. Pick nodes of uniformly and independently. 2. For each node Ú, query all nodes in È Ø Ì Úµµ. Reject if a violated pair is found; otherwise, accept. Call a vertex Ú bad if È Ø Ì Úµµ contains a violated pair. CLAIM 29. If a function is -far from monotone, at least fraction of vertices are bad. PROOF. Consider a violated pair Ú Ùµ. We will prove that either Ú or Ù is bad. The claim then follows as the graph has at least Æ vertex-disjoint violated pairs (by Lemma 3).

10 If Ì Úµ and Ì Ùµ are on the same path from the root to a leaf in Ì, then Ú È Ø Ì Ùµµ or Ù È Ø Ì Úµµ. W.l.o.g., suppose Ú È Ø Ì Ùµµ, then Ù is bad because È Ø Ì Ùµµ contains a violated pair Ú Ùµ. If Ì Úµ and Ì Ùµ are not on the same path from the root to a leaf, they got separated when Ì was constructed, i.e., some vertex Û on a directed path from Ú to Ù, in, is in a common ancestor of Ì Úµ and Ì Ùµ. Since Ú Ûµ or Û Ùµ has to be violated, either Ú or Ù is bad. LEMMA 30. Let Î µ be a -separable Æ-vertex graph. Then algorithm Ì is a 1-sided error Ç ÐÓ Æ - test for monotonicity of functions (with general ranges) on. This generalizes the more efficient tests for Boolean functions over tree-like graphs and bounded-width graphs for which tighter results (by ÐÓ Æ factor) are obtained in lemmas 28 and 25. It also provides an alternative Ç ÔÆ ÐÓ Æ - test for planar graphs, which performs more queries than the general algorithm from section 4, but requires fewer label comparisons. We note that this result cannot be dramatically improved as the general monotonicity test for the line (which is 1-separable) requires Å ÐÓ Æµ queries [11]. Acknowledgment: We would like to thank Michael Sipser for helpful discussions. 9. REFERENCES [1] N. Alon, E. Fischer, M. Krivelevich and M. Szegedy, Efficient testing of large graphs, Combinatorica 20 (2000), [2] N. Alon, M. Krivelevich, I. Newman and M. Szegedy, Regular languages are testable with a constant number of queries, SIAM Journal on Computing 30 (2001), [3] N. Alon, J. Spencer, em The probabilistic method, Second edition, Wiley press, New York, [4] T. Batu, R. Rubinfeld and P. White, Fast approximation PCPs for multidimensional bin-packing problems, Proceedings of the Ö International Workshop on Randomization and Approximation Techniques in Computer Science (1999), [5] F. A. Behrend, On sets of integers which contain no three terms in arithmetic progression, Proceedings of the National Academy of Sciences of the United States of America 32 (1946), [6] A. Czumaj, C. Sohler and M. Ziegler, Property testing in computational geometry, Proceedings of the 8th Annual European Symposium on Algorithms (2000), [7] R. P. Dilworth, A decomposition theorem for partially ordered sets, Annals of Math (2) 51 (1950), [8] Y. Dodis, O. Goldreich, E. Lehman, S. Raskhodnikova, D. Ron and A. Samorodnitsky, Improved testing algorithms for monotonicity, Proceedings of the Ö International Workshop on Randomization and Approximation Techniques in Computer Science (1999), [9] R. Durrett, Probability: theory and examples, Second edition, Duxbury Press, Belmont, [10] F. Ergün, S. Kannan, R. Kumar, R. Rubinfeld and M. Viswanathan, Spot checkers, Journal of Computer and System Science 60 (2000), (a preliminary version appeared in Proc. ¼ Ø STOC, 1998). [11] E. Fischer, On the strength of comparisons in property testing, manuscript (available as ECCC TR00-083). [12] E. Fischer, The art of uninformed decisions: A primer to property testing, The Computational Complexity Column of The Bulletin of the European Association for Theoretical Computer Science 75 (2001), [13] E. Fischer and I. Newman, Functions that have read-twice constant width branching programs are not necessarily testable, Proceedings of the 17th conference on computational complexity (2002), to appear. [14] E. Fischer and I. Newman, Testing of matrix properties, Proceedings of the Ö ACM STOC (2001), [15] O. Goldreich, S. Goldwasser and D. Ron, Property testing and its connection to learning and approximation, Journal of the ACM 45 (1998), [16] O. Goldreich, S. Goldwasser, E. Lehman, D. Ron and A. Samorodnitsky, Testing monotonicity, Combinatorica 20 (2000), [17] O. Goldreich and D. Ron, Property testing in bounded degree graphs, Proceedings of the Ø ACM STOC (1997), [18] J. Håstad and A. Wigderson, Simple Analysis of Graph Tests for Linearity and PCP, Proceedings of the 16th IEEE Conference on Computational Complexity, [19] V. I. Levenšteĭn, Upper bounds for codes with a fixed weight of vectors (in Russian), Problemy Peredači Informacii 7 (1971), [20] R. J. Lipton, and R. E. Tarjan, A Separator Theorem for Planar Graphs, SIAM Journal on Applied Mathematics 36 (1979), [21] Roy Meshulam, Personal communication. [22] S. Raskhodnikova, Monotonicity testing, Master Thesis, MIT, [23] D. Ron, Property testing (a tutorial), In: Handbook of Randomized Computing (S. Rajasekaran, P. M. Pardalos, J. H. Reif and J. D. P. Rolim eds), Kluwer Press (2001). [24] R. Rubinfeld and M. Sudan, Robust characterization of polynomials with applications to program testing, SIAM Journal of Computing 25 (1996), (first appeared as a technical report, Cornell University, 1993). [25] I. Z. Ruzsá and E. Szemerédi, Triple systems with no six points carrying three triangles, Colloquia Mathematica Societatis János Bolyai 18 (1978),

Monotonicity testing over general poset domains

Monotonicity testing over general poset domains Monotonicity testing over general poset domains [Extended Abstract] Eldar Fischer Technion Haifa, Israel eldar@cs.technion.ac.il Sofya Raskhodnikova LCS, MIT Cambridge, MA 02139 sofya@mit.edu Eric Lehman

More information

Efficiency versus Convergence of Boolean Kernels for On-Line Learning Algorithms

Efficiency versus Convergence of Boolean Kernels for On-Line Learning Algorithms Efficiency versus Convergence of Boolean Kernels for On-Line Learning Algorithms Roni Khardon Tufts University Medford, MA 02155 roni@eecs.tufts.edu Dan Roth University of Illinois Urbana, IL 61801 danr@cs.uiuc.edu

More information

Optimal Time Bounds for Approximate Clustering

Optimal Time Bounds for Approximate Clustering Optimal Time Bounds for Approximate Clustering Ramgopal R. Mettu C. Greg Plaxton Department of Computer Science University of Texas at Austin Austin, TX 78712, U.S.A. ramgopal, plaxton@cs.utexas.edu Abstract

More information

Comparing the strength of query types in property testing: The case of testing k-colorability

Comparing the strength of query types in property testing: The case of testing k-colorability Comparing the strength of query types in property testing: The case of testing k-colorability Ido Ben-Eliezer Tali Kaufman Michael Krivelevich Dana Ron Abstract We study the power of four query models

More information

Testing random variables for independence and identity

Testing random variables for independence and identity Testing rom variables for independence identity Tuğkan Batu Eldar Fischer Lance Fortnow Ravi Kumar Ronitt Rubinfeld Patrick White Abstract Given access to independent samples of a distribution over, we

More information

Fast Approximate PCPs for Multidimensional Bin-Packing Problems

Fast Approximate PCPs for Multidimensional Bin-Packing Problems Fast Approximate PCPs for Multidimensional Bin-Packing Problems Tuğkan Batu, Ronitt Rubinfeld, and Patrick White Department of Computer Science, Cornell University, Ithaca, NY 14850 batu,ronitt,white @cs.cornell.edu

More information

Treewidth and graph minors

Treewidth and graph minors Treewidth and graph minors Lectures 9 and 10, December 29, 2011, January 5, 2012 We shall touch upon the theory of Graph Minors by Robertson and Seymour. This theory gives a very general condition under

More information

Scan Scheduling Specification and Analysis

Scan Scheduling Specification and Analysis Scan Scheduling Specification and Analysis Bruno Dutertre System Design Laboratory SRI International Menlo Park, CA 94025 May 24, 2000 This work was partially funded by DARPA/AFRL under BAE System subcontract

More information

RSA (Rivest Shamir Adleman) public key cryptosystem: Key generation: Pick two large prime Ô Õ ¾ numbers È.

RSA (Rivest Shamir Adleman) public key cryptosystem: Key generation: Pick two large prime Ô Õ ¾ numbers È. RSA (Rivest Shamir Adleman) public key cryptosystem: Key generation: Pick two large prime Ô Õ ¾ numbers È. Let Ò Ô Õ. Pick ¾ ½ ³ Òµ ½ so, that ³ Òµµ ½. Let ½ ÑÓ ³ Òµµ. Public key: Ò µ. Secret key Ò µ.

More information

RSA (Rivest Shamir Adleman) public key cryptosystem: Key generation: Pick two large prime Ô Õ ¾ numbers È.

RSA (Rivest Shamir Adleman) public key cryptosystem: Key generation: Pick two large prime Ô Õ ¾ numbers È. RSA (Rivest Shamir Adleman) public key cryptosystem: Key generation: Pick two large prime Ô Õ ¾ numbers È. Let Ò Ô Õ. Pick ¾ ½ ³ Òµ ½ so, that ³ Òµµ ½. Let ½ ÑÓ ³ Òµµ. Public key: Ò µ. Secret key Ò µ.

More information

Discrete mathematics , Fall Instructor: prof. János Pach

Discrete mathematics , Fall Instructor: prof. János Pach Discrete mathematics 2016-2017, Fall Instructor: prof. János Pach - covered material - Lecture 1. Counting problems To read: [Lov]: 1.2. Sets, 1.3. Number of subsets, 1.5. Sequences, 1.6. Permutations,

More information

Testing subgraphs in large graphs

Testing subgraphs in large graphs Testing subgraphs in large graphs Noga Alon Abstract Let H be a fixed graph with h vertices, let G be a graph on n vertices and suppose that at least ɛn 2 edges have to be deleted from it to make it H-free.

More information

Lecture and notes by: Nate Chenette, Brent Myers, Hari Prasad November 8, Property Testing

Lecture and notes by: Nate Chenette, Brent Myers, Hari Prasad November 8, Property Testing Property Testing 1 Introduction Broadly, property testing is the study of the following class of problems: Given the ability to perform (local) queries concerning a particular object (e.g., a function,

More information

A sharp threshold in proof complexity yields lower bounds for satisfiability search

A sharp threshold in proof complexity yields lower bounds for satisfiability search A sharp threshold in proof complexity yields lower bounds for satisfiability search Dimitris Achlioptas Microsoft Research One Microsoft Way Redmond, WA 98052 optas@microsoft.com Michael Molloy Ý Department

More information

Disjoint directed cycles

Disjoint directed cycles Disjoint directed cycles Noga Alon Abstract It is shown that there exists a positive ɛ so that for any integer k, every directed graph with minimum outdegree at least k contains at least ɛk vertex disjoint

More information

Correlation Clustering

Correlation Clustering Correlation Clustering Nikhil Bansal Avrim Blum Shuchi Chawla Abstract We consider the following clustering problem: we have a complete graph on Ò vertices (items), where each edge Ù Úµ is labeled either

More information

The strong chromatic number of a graph

The strong chromatic number of a graph The strong chromatic number of a graph Noga Alon Abstract It is shown that there is an absolute constant c with the following property: For any two graphs G 1 = (V, E 1 ) and G 2 = (V, E 2 ) on the same

More information

The Structure of Bull-Free Perfect Graphs

The Structure of Bull-Free Perfect Graphs The Structure of Bull-Free Perfect Graphs Maria Chudnovsky and Irena Penev Columbia University, New York, NY 10027 USA May 18, 2012 Abstract The bull is a graph consisting of a triangle and two vertex-disjoint

More information

The Encoding Complexity of Network Coding

The Encoding Complexity of Network Coding The Encoding Complexity of Network Coding Michael Langberg Alexander Sprintson Jehoshua Bruck California Institute of Technology Email: mikel,spalex,bruck @caltech.edu Abstract In the multicast network

More information

Matching Algorithms. Proof. If a bipartite graph has a perfect matching, then it is easy to see that the right hand side is a necessary condition.

Matching Algorithms. Proof. If a bipartite graph has a perfect matching, then it is easy to see that the right hand side is a necessary condition. 18.433 Combinatorial Optimization Matching Algorithms September 9,14,16 Lecturer: Santosh Vempala Given a graph G = (V, E), a matching M is a set of edges with the property that no two of the edges have

More information

SFU CMPT Lecture: Week 8

SFU CMPT Lecture: Week 8 SFU CMPT-307 2008-2 1 Lecture: Week 8 SFU CMPT-307 2008-2 Lecture: Week 8 Ján Maňuch E-mail: jmanuch@sfu.ca Lecture on June 24, 2008, 5.30pm-8.20pm SFU CMPT-307 2008-2 2 Lecture: Week 8 Universal hashing

More information

Designing Networks Incrementally

Designing Networks Incrementally Designing Networks Incrementally Adam Meyerson Kamesh Munagala Ý Serge Plotkin Þ Abstract We consider the problem of incrementally designing a network to route demand to a single sink on an underlying

More information

Testing Euclidean Spanners

Testing Euclidean Spanners Testing Euclidean Spanners Frank Hellweg Melanie Schmidt Christian Sohler Department of Computer Science Technical University of Dortmund 44227 Dortmund, Germany Abstract In this paper we develop a property

More information

On the Performance of Greedy Algorithms in Packet Buffering

On the Performance of Greedy Algorithms in Packet Buffering On the Performance of Greedy Algorithms in Packet Buffering Susanne Albers Ý Markus Schmidt Þ Abstract We study a basic buffer management problem that arises in network switches. Consider input ports,

More information

Probabilistic analysis of algorithms: What s it good for?

Probabilistic analysis of algorithms: What s it good for? Probabilistic analysis of algorithms: What s it good for? Conrado Martínez Univ. Politècnica de Catalunya, Spain February 2008 The goal Given some algorithm taking inputs from some set Á, we would like

More information

On Covering a Graph Optimally with Induced Subgraphs

On Covering a Graph Optimally with Induced Subgraphs On Covering a Graph Optimally with Induced Subgraphs Shripad Thite April 1, 006 Abstract We consider the problem of covering a graph with a given number of induced subgraphs so that the maximum number

More information

Partitions and Packings of Complete Geometric Graphs with Plane Spanning Double Stars and Paths

Partitions and Packings of Complete Geometric Graphs with Plane Spanning Double Stars and Paths Partitions and Packings of Complete Geometric Graphs with Plane Spanning Double Stars and Paths Master Thesis Patrick Schnider July 25, 2015 Advisors: Prof. Dr. Emo Welzl, Manuel Wettstein Department of

More information

On the Relationships between Zero Forcing Numbers and Certain Graph Coverings

On the Relationships between Zero Forcing Numbers and Certain Graph Coverings On the Relationships between Zero Forcing Numbers and Certain Graph Coverings Fatemeh Alinaghipour Taklimi, Shaun Fallat 1,, Karen Meagher 2 Department of Mathematics and Statistics, University of Regina,

More information

Property Testing of Massively Parametrized problems - A survey

Property Testing of Massively Parametrized problems - A survey Property Testing of Massively Parametrized problems - A survey Ilan Newman April 21, 2010 Abstract We survey here property testing results for the so called massively parametrized model (or problems).

More information

Testing st-connectivity

Testing st-connectivity Testing st-connectivity Sourav Chakraborty Eldar Fischer Oded Lachish Arie Matsliah Ilan Newman Abstract We continue the study, started in [9], of property testing of graphs in the orientation model. A

More information

Sublinear Algorithms Lectures 1 and 2. Sofya Raskhodnikova Penn State University

Sublinear Algorithms Lectures 1 and 2. Sofya Raskhodnikova Penn State University Sublinear Algorithms Lectures 1 and 2 Sofya Raskhodnikova Penn State University 1 Tentative Topics Introduction, examples and general techniques. Sublinear-time algorithms for graphs strings basic properties

More information

The Online Median Problem

The Online Median Problem The Online Median Problem Ramgopal R. Mettu C. Greg Plaxton November 1999 Abstract We introduce a natural variant of the (metric uncapacitated) -median problem that we call the online median problem. Whereas

More information

Property Testing in Computational Geometry

Property Testing in Computational Geometry Property Testing in Computational Geometry (Extended Abstract) Artur Czumaj 1, Christian Sohler 2, and Martin Ziegler 2 1 Department of Computer and Information Science, New Jersey Institute of Technology,

More information

SFU CMPT Lecture: Week 9

SFU CMPT Lecture: Week 9 SFU CMPT-307 2008-2 1 Lecture: Week 9 SFU CMPT-307 2008-2 Lecture: Week 9 Ján Maňuch E-mail: jmanuch@sfu.ca Lecture on July 8, 2008, 5.30pm-8.20pm SFU CMPT-307 2008-2 2 Lecture: Week 9 Binary search trees

More information

Optimal Static Range Reporting in One Dimension

Optimal Static Range Reporting in One Dimension of Optimal Static Range Reporting in One Dimension Stephen Alstrup Gerth Stølting Brodal Theis Rauhe ITU Technical Report Series 2000-3 ISSN 1600 6100 November 2000 Copyright c 2000, Stephen Alstrup Gerth

More information

Theorem 2.9: nearest addition algorithm

Theorem 2.9: nearest addition algorithm There are severe limits on our ability to compute near-optimal tours It is NP-complete to decide whether a given undirected =(,)has a Hamiltonian cycle An approximation algorithm for the TSP can be used

More information

Expander-based Constructions of Efficiently Decodable Codes

Expander-based Constructions of Efficiently Decodable Codes Expander-based Constructions of Efficiently Decodable Codes (Extended Abstract) Venkatesan Guruswami Piotr Indyk Abstract We present several novel constructions of codes which share the common thread of

More information

Sublinear Algorithms January 12, Lecture 2. First, let us look at a couple of simple testers that do not work well.

Sublinear Algorithms January 12, Lecture 2. First, let us look at a couple of simple testers that do not work well. Sublinear Algorithms January 12, 2012 Lecture 2 Lecturer: Sofya Raskhodnikova Scribe(s): Madhav Jha 1 Testing if a List is Sorted Input: Goal: a list x 1,..., x n of arbitrary numbers. an -tester for sortedness

More information

THE LEAFAGE OF A CHORDAL GRAPH

THE LEAFAGE OF A CHORDAL GRAPH Discussiones Mathematicae Graph Theory 18 (1998 ) 23 48 THE LEAFAGE OF A CHORDAL GRAPH In-Jen Lin National Ocean University, Taipei, Taiwan Terry A. McKee 1 Wright State University, Dayton, OH 45435-0001,

More information

Decreasing the Diameter of Bounded Degree Graphs

Decreasing the Diameter of Bounded Degree Graphs Decreasing the Diameter of Bounded Degree Graphs Noga Alon András Gyárfás Miklós Ruszinkó February, 00 To the memory of Paul Erdős Abstract Let f d (G) denote the minimum number of edges that have to be

More information

PLANAR GRAPH BIPARTIZATION IN LINEAR TIME

PLANAR GRAPH BIPARTIZATION IN LINEAR TIME PLANAR GRAPH BIPARTIZATION IN LINEAR TIME SAMUEL FIORINI, NADIA HARDY, BRUCE REED, AND ADRIAN VETTA Abstract. For each constant k, we present a linear time algorithm that, given a planar graph G, either

More information

Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1

Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1 CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) January 11, 2018 Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1 In this lecture

More information

Matching Theory. Figure 1: Is this graph bipartite?

Matching Theory. Figure 1: Is this graph bipartite? Matching Theory 1 Introduction A matching M of a graph is a subset of E such that no two edges in M share a vertex; edges which have this property are called independent edges. A matching M is said to

More information

A Comparison of Structural CSP Decomposition Methods

A Comparison of Structural CSP Decomposition Methods A Comparison of Structural CSP Decomposition Methods Georg Gottlob Institut für Informationssysteme, Technische Universität Wien, A-1040 Vienna, Austria. E-mail: gottlob@dbai.tuwien.ac.at Nicola Leone

More information

Time-space tradeoff lower bounds for randomized computation of decision problems

Time-space tradeoff lower bounds for randomized computation of decision problems Time-space tradeoff lower bounds for randomized computation of decision problems Paul Beame Ý Computer Science and Engineering University of Washington Seattle, WA 98195-2350 beame@cs.washington.edu Xiaodong

More information

Three Theorems Regarding Testing Graph Properties*

Three Theorems Regarding Testing Graph Properties* Three Theorems Regarding Testing Graph Properties* Oded Goldreich, 1, Luca Trevisan 1 Department of Computer Science and Applied Mathematics, Weizmann Institute of Science, Rehovot, Israel; e-mail: oded@wisdom.weizmann.ac.il

More information

Graphs (MTAT , 4 AP / 6 ECTS) Lectures: Fri 12-14, hall 405 Exercises: Mon 14-16, hall 315 või N 12-14, aud. 405

Graphs (MTAT , 4 AP / 6 ECTS) Lectures: Fri 12-14, hall 405 Exercises: Mon 14-16, hall 315 või N 12-14, aud. 405 Graphs (MTAT.05.080, 4 AP / 6 ECTS) Lectures: Fri 12-14, hall 405 Exercises: Mon 14-16, hall 315 või N 12-14, aud. 405 homepage: http://www.ut.ee/~peeter_l/teaching/graafid08s (contains slides) For grade:

More information

Chordal Graphs: Theory and Algorithms

Chordal Graphs: Theory and Algorithms Chordal Graphs: Theory and Algorithms 1 Chordal graphs Chordal graph : Every cycle of four or more vertices has a chord in it, i.e. there is an edge between two non consecutive vertices of the cycle. Also

More information

Structure and Complexity in Planning with Unary Operators

Structure and Complexity in Planning with Unary Operators Structure and Complexity in Planning with Unary Operators Carmel Domshlak and Ronen I Brafman ½ Abstract In this paper we study the complexity of STRIPS planning when operators have a single effect In

More information

Testing Hypergraph Coloring

Testing Hypergraph Coloring Testing Hypergraph Coloring Artur Czumaj 1 and Christian Sohler 2 1 Department of Computer and Information Science, New Jersey Institute of Technology, University Heights, Newark, NJ 07102-1982, USA. czumaj@cis.njit.edu

More information

HW Graph Theory SOLUTIONS (hbovik) - Q

HW Graph Theory SOLUTIONS (hbovik) - Q 1, Diestel 9.3: An arithmetic progression is an increasing sequence of numbers of the form a, a+d, a+ d, a + 3d.... Van der Waerden s theorem says that no matter how we partition the natural numbers into

More information

A Modality for Recursion

A Modality for Recursion A Modality for Recursion (Technical Report) March 31, 2001 Hiroshi Nakano Ryukoku University, Japan nakano@mathryukokuacjp Abstract We propose a modal logic that enables us to handle self-referential formulae,

More information

Superconcentrators of depth 2 and 3; odd levels help (rarely)

Superconcentrators of depth 2 and 3; odd levels help (rarely) Superconcentrators of depth 2 and 3; odd levels help (rarely) Noga Alon Bellcore, Morristown, NJ, 07960, USA and Department of Mathematics Raymond and Beverly Sackler Faculty of Exact Sciences Tel Aviv

More information

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS PAUL BALISTER Abstract It has been shown [Balister, 2001] that if n is odd and m 1,, m t are integers with m i 3 and t i=1 m i = E(K n) then K n can be decomposed

More information

CS521 \ Notes for the Final Exam

CS521 \ Notes for the Final Exam CS521 \ Notes for final exam 1 Ariel Stolerman Asymptotic Notations: CS521 \ Notes for the Final Exam Notation Definition Limit Big-O ( ) Small-o ( ) Big- ( ) Small- ( ) Big- ( ) Notes: ( ) ( ) ( ) ( )

More information

Testing Hereditary Properties of Non-Expanding Bounded-Degree Graphs

Testing Hereditary Properties of Non-Expanding Bounded-Degree Graphs Electronic Colloquium on Computational Complexity, Report No. 83 (2007) Testing Hereditary Properties of Non-Expanding Bounded-Degree Graphs Artur Czumaj Asaf Shapira Christian Sohler Abstract We study

More information

Edge-Disjoint Cycles in Regular Directed Graphs

Edge-Disjoint Cycles in Regular Directed Graphs Edge-Disjoint Cycles in Regular Directed Graphs Noga Alon Colin McDiarmid Michael Molloy February 22, 2002 Abstract We prove that any k-regular directed graph with no parallel edges contains a collection

More information

From Static to Dynamic Routing: Efficient Transformations of Store-and-Forward Protocols

From Static to Dynamic Routing: Efficient Transformations of Store-and-Forward Protocols From Static to Dynamic Routing: Efficient Transformations of Store-and-Forward Protocols Christian Scheideler Ý Berthold Vöcking Þ Abstract We investigate how static store-and-forward routing algorithms

More information

On the Max Coloring Problem

On the Max Coloring Problem On the Max Coloring Problem Leah Epstein Asaf Levin May 22, 2010 Abstract We consider max coloring on hereditary graph classes. The problem is defined as follows. Given a graph G = (V, E) and positive

More information

Parameterized graph separation problems

Parameterized graph separation problems Parameterized graph separation problems Dániel Marx Department of Computer Science and Information Theory, Budapest University of Technology and Economics Budapest, H-1521, Hungary, dmarx@cs.bme.hu Abstract.

More information

Vertex-Colouring Edge-Weightings

Vertex-Colouring Edge-Weightings Vertex-Colouring Edge-Weightings L. Addario-Berry a, K. Dalal a, C. McDiarmid b, B. A. Reed a and A. Thomason c a School of Computer Science, McGill University, University St. Montreal, QC, H3A A7, Canada

More information

3 No-Wait Job Shops with Variable Processing Times

3 No-Wait Job Shops with Variable Processing Times 3 No-Wait Job Shops with Variable Processing Times In this chapter we assume that, on top of the classical no-wait job shop setting, we are given a set of processing times for each operation. We may select

More information

These notes present some properties of chordal graphs, a set of undirected graphs that are important for undirected graphical models.

These notes present some properties of chordal graphs, a set of undirected graphs that are important for undirected graphical models. Undirected Graphical Models: Chordal Graphs, Decomposable Graphs, Junction Trees, and Factorizations Peter Bartlett. October 2003. These notes present some properties of chordal graphs, a set of undirected

More information

4 Fractional Dimension of Posets from Trees

4 Fractional Dimension of Posets from Trees 57 4 Fractional Dimension of Posets from Trees In this last chapter, we switch gears a little bit, and fractionalize the dimension of posets We start with a few simple definitions to develop the language

More information

Time-Space Tradeoffs, Multiparty Communication Complexity, and Nearest-Neighbor Problems

Time-Space Tradeoffs, Multiparty Communication Complexity, and Nearest-Neighbor Problems Time-Space Tradeoffs, Multiparty Communication Complexity, and Nearest-Neighbor Problems Paul Beame Computer Science and Engineering University of Washington Seattle, WA 98195-2350 beame@cs.washington.edu

More information

Online Facility Location

Online Facility Location Online Facility Location Adam Meyerson Abstract We consider the online variant of facility location, in which demand points arrive one at a time and we must maintain a set of facilities to service these

More information

2386 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 52, NO. 6, JUNE 2006

2386 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 52, NO. 6, JUNE 2006 2386 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 52, NO. 6, JUNE 2006 The Encoding Complexity of Network Coding Michael Langberg, Member, IEEE, Alexander Sprintson, Member, IEEE, and Jehoshua Bruck,

More information

A Fast Algorithm for Optimal Alignment between Similar Ordered Trees

A Fast Algorithm for Optimal Alignment between Similar Ordered Trees Fundamenta Informaticae 56 (2003) 105 120 105 IOS Press A Fast Algorithm for Optimal Alignment between Similar Ordered Trees Jesper Jansson Department of Computer Science Lund University, Box 118 SE-221

More information

Acyclic Edge Colorings of Graphs

Acyclic Edge Colorings of Graphs Acyclic Edge Colorings of Graphs Noga Alon Benny Sudaov Ayal Zas Abstract A proper coloring of the edges of a graph G is called acyclic if there is no 2-colored cycle in G. The acyclic edge chromatic number

More information

PCP and Hardness of Approximation

PCP and Hardness of Approximation PCP and Hardness of Approximation January 30, 2009 Our goal herein is to define and prove basic concepts regarding hardness of approximation. We will state but obviously not prove a PCP theorem as a starting

More information

Lecture Notes on GRAPH THEORY Tero Harju

Lecture Notes on GRAPH THEORY Tero Harju Lecture Notes on GRAPH THEORY Tero Harju Department of Mathematics University of Turku FIN-20014 Turku, Finland e-mail: harju@utu.fi 2007 Contents 1 Introduction 2 1.1 Graphs and their plane figures.........................................

More information

On Universal Cycles of Labeled Graphs

On Universal Cycles of Labeled Graphs On Universal Cycles of Labeled Graphs Greg Brockman Harvard University Cambridge, MA 02138 United States brockman@hcs.harvard.edu Bill Kay University of South Carolina Columbia, SC 29208 United States

More information

Trees. 3. (Minimally Connected) G is connected and deleting any of its edges gives rise to a disconnected graph.

Trees. 3. (Minimally Connected) G is connected and deleting any of its edges gives rise to a disconnected graph. Trees 1 Introduction Trees are very special kind of (undirected) graphs. Formally speaking, a tree is a connected graph that is acyclic. 1 This definition has some drawbacks: given a graph it is not trivial

More information

Acyclic Edge Colorings of Graphs

Acyclic Edge Colorings of Graphs Acyclic Edge Colorings of Graphs Noga Alon Ayal Zaks Abstract A proper coloring of the edges of a graph G is called acyclic if there is no 2-colored cycle in G. The acyclic edge chromatic number of G,

More information

Advanced Algorithms Class Notes for Monday, October 23, 2012 Min Ye, Mingfu Shao, and Bernard Moret

Advanced Algorithms Class Notes for Monday, October 23, 2012 Min Ye, Mingfu Shao, and Bernard Moret Advanced Algorithms Class Notes for Monday, October 23, 2012 Min Ye, Mingfu Shao, and Bernard Moret Greedy Algorithms (continued) The best known application where the greedy algorithm is optimal is surely

More information

In this lecture, we ll look at applications of duality to three problems:

In this lecture, we ll look at applications of duality to three problems: Lecture 7 Duality Applications (Part II) In this lecture, we ll look at applications of duality to three problems: 1. Finding maximum spanning trees (MST). We know that Kruskal s algorithm finds this,

More information

Directed Single Source Shortest Paths in Linear Average Case Time

Directed Single Source Shortest Paths in Linear Average Case Time Directed Single Source Shortest Paths in inear Average Case Time Ulrich Meyer MPI I 2001 1-002 May 2001 Author s Address ÍÐÖ ÅÝÖ ÅܹÈÐÒ¹ÁÒ ØØÙØ ĐÙÖ ÁÒÓÖÑØ ËØÙÐ ØÞÒÙ Û ½¾ ËÖÖĐÙÒ umeyer@mpi-sb.mpg.de www.uli-meyer.de

More information

6. Lecture notes on matroid intersection

6. Lecture notes on matroid intersection Massachusetts Institute of Technology 18.453: Combinatorial Optimization Michel X. Goemans May 2, 2017 6. Lecture notes on matroid intersection One nice feature about matroids is that a simple greedy algorithm

More information

Unit 8: Coping with NP-Completeness. Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems. Y.-W.

Unit 8: Coping with NP-Completeness. Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems. Y.-W. : Coping with NP-Completeness Course contents: Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems Reading: Chapter 34 Chapter 35.1, 35.2 Y.-W. Chang 1 Complexity

More information

Subdivided graphs have linear Ramsey numbers

Subdivided graphs have linear Ramsey numbers Subdivided graphs have linear Ramsey numbers Noga Alon Bellcore, Morristown, NJ 07960, USA and Department of Mathematics Raymond and Beverly Sackler Faculty of Exact Sciences Tel Aviv University, Tel Aviv,

More information

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18 601.433/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18 22.1 Introduction We spent the last two lectures proving that for certain problems, we can

More information

Lecture 22 Tuesday, April 10

Lecture 22 Tuesday, April 10 CIS 160 - Spring 2018 (instructor Val Tannen) Lecture 22 Tuesday, April 10 GRAPH THEORY Directed Graphs Directed graphs (a.k.a. digraphs) are an important mathematical modeling tool in Computer Science,

More information

Complexity Results on Graphs with Few Cliques

Complexity Results on Graphs with Few Cliques Discrete Mathematics and Theoretical Computer Science DMTCS vol. 9, 2007, 127 136 Complexity Results on Graphs with Few Cliques Bill Rosgen 1 and Lorna Stewart 2 1 Institute for Quantum Computing and School

More information

A New Algorithm for the Reconstruction of Near-Perfect Binary Phylogenetic Trees

A New Algorithm for the Reconstruction of Near-Perfect Binary Phylogenetic Trees A New Algorithm for the Reconstruction of Near-Perfect Binary Phylogenetic Trees Kedar Dhamdhere ½ ¾, Srinath Sridhar ½ ¾, Guy E. Blelloch ¾, Eran Halperin R. Ravi and Russell Schwartz March 17, 2005 CMU-CS-05-119

More information

Computing optimal linear layouts of trees in linear time

Computing optimal linear layouts of trees in linear time Computing optimal linear layouts of trees in linear time Konstantin Skodinis University of Passau, 94030 Passau, Germany, e-mail: skodinis@fmi.uni-passau.de Abstract. We present a linear time algorithm

More information

Covering the edges of a graph by a prescribed tree with minimum overlap

Covering the edges of a graph by a prescribed tree with minimum overlap Covering the edges of a graph by a prescribed tree with minimum overlap Noga Alon Yair Caro Raphael Yuster Abstract Let H = (V H, E H ) be a graph, and let k be a positive integer. A graph G = (V G, E

More information

Discrete Mathematics

Discrete Mathematics Discrete Mathematics 310 (2010) 2769 2775 Contents lists available at ScienceDirect Discrete Mathematics journal homepage: www.elsevier.com/locate/disc Optimal acyclic edge colouring of grid like graphs

More information

New Constructions of Non-Adaptive and Error-Tolerance Pooling Designs

New Constructions of Non-Adaptive and Error-Tolerance Pooling Designs New Constructions of Non-Adaptive and Error-Tolerance Pooling Designs Hung Q Ngo Ding-Zhu Du Abstract We propose two new classes of non-adaptive pooling designs The first one is guaranteed to be -error-detecting

More information

Fast algorithms for max independent set

Fast algorithms for max independent set Fast algorithms for max independent set N. Bourgeois 1 B. Escoffier 1 V. Th. Paschos 1 J.M.M. van Rooij 2 1 LAMSADE, CNRS and Université Paris-Dauphine, France {bourgeois,escoffier,paschos}@lamsade.dauphine.fr

More information

Assignment 4 Solutions of graph problems

Assignment 4 Solutions of graph problems Assignment 4 Solutions of graph problems 1. Let us assume that G is not a cycle. Consider the maximal path in the graph. Let the end points of the path be denoted as v 1, v k respectively. If either of

More information

Problem Set 2 Solutions

Problem Set 2 Solutions Problem Set 2 Solutions Graph Theory 2016 EPFL Frank de Zeeuw & Claudiu Valculescu 1. Prove that the following statements about a graph G are equivalent. - G is a tree; - G is minimally connected (it is

More information

CS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department

CS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department CS473-Algorithms I Lecture 3-A Graphs Graphs A directed graph (or digraph) G is a pair (V, E), where V is a finite set, and E is a binary relation on V The set V: Vertex set of G The set E: Edge set of

More information

Packing Edge-Disjoint Triangles in Given Graphs

Packing Edge-Disjoint Triangles in Given Graphs Electronic Colloquium on Computational Complexity, Report No. 13 (01) Packing Edge-Disjoint Triangles in Given Graphs Tomás Feder Carlos Subi Abstract Given a graph G, we consider the problem of finding

More information

Theoretical Computer Science. Testing Eulerianity and connectivity in directed sparse graphs

Theoretical Computer Science. Testing Eulerianity and connectivity in directed sparse graphs Theoretical Computer Science 412 (2011) 6390 640 Contents lists available at SciVerse ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs Testing Eulerianity and connectivity

More information

Embedded Width, A Variation of Treewidth for Planar Graphs

Embedded Width, A Variation of Treewidth for Planar Graphs Embedded Width, A Variation of Treewidth for Planar Graphs Robert Weber Advisor: Glencora Borradaile Abstract A commonly studied property of graphs is treewidth, a measure of how tree-like a graph is.

More information

Progress Towards the Total Domination Game 3 4 -Conjecture

Progress Towards the Total Domination Game 3 4 -Conjecture Progress Towards the Total Domination Game 3 4 -Conjecture 1 Michael A. Henning and 2 Douglas F. Rall 1 Department of Pure and Applied Mathematics University of Johannesburg Auckland Park, 2006 South Africa

More information

3 Fractional Ramsey Numbers

3 Fractional Ramsey Numbers 27 3 Fractional Ramsey Numbers Since the definition of Ramsey numbers makes use of the clique number of graphs, we may define fractional Ramsey numbers simply by substituting fractional clique number into

More information

Reachability in K 3,3 -free and K 5 -free Graphs is in Unambiguous Logspace

Reachability in K 3,3 -free and K 5 -free Graphs is in Unambiguous Logspace CHICAGO JOURNAL OF THEORETICAL COMPUTER SCIENCE 2014, Article 2, pages 1 29 http://cjtcs.cs.uchicago.edu/ Reachability in K 3,3 -free and K 5 -free Graphs is in Unambiguous Logspace Thomas Thierauf Fabian

More information

Distributed minimum spanning tree problem

Distributed minimum spanning tree problem Distributed minimum spanning tree problem Juho-Kustaa Kangas 24th November 2012 Abstract Given a connected weighted undirected graph, the minimum spanning tree problem asks for a spanning subtree with

More information

An upper bound for the chromatic number of line graphs

An upper bound for the chromatic number of line graphs EuroComb 005 DMTCS proc AE, 005, 151 156 An upper bound for the chromatic number of line graphs A D King, B A Reed and A Vetta School of Computer Science, McGill University, 3480 University Ave, Montréal,

More information