HOME

TheInfoList



OR:

In
theoretical computer science Theoretical computer science (TCS) is a subset of general computer science and mathematics that focuses on mathematical aspects of computer science such as the theory of computation, lambda calculus, and type theory. It is difficult to circumsc ...
, the Aanderaa–Karp–Rosenberg conjecture (also known as the Aanderaa–Rosenberg conjecture or the evasiveness conjecture) is a group of related
conjecture In mathematics, a conjecture is a conclusion or a proposition that is proffered on a tentative basis without proof. Some conjectures, such as the Riemann hypothesis (still a conjecture) or Fermat's Last Theorem (a conjecture until proven in 1 ...
s about the number of questions of the form "Is there an edge between vertex u and vertex v?" that have to be answered to determine whether or not an undirected graph has a particular property such as planarity or bipartiteness. They are named after
Stål Aanderaa Stål Aanderaa (born 1 February 1931) is a Norwegian mathematician. Biography Aanderaa was born in Beitstad. He completed the mag.scient. degree in 1959 and his doctorate at Harvard University in 1966. He was a professor at the University of O ...
, Richard M. Karp, and Arnold L. Rosenberg. According to the conjecture, for a wide class of properties, no algorithm can guarantee that it will be able to skip any questions: any
algorithm In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for performing ...
for determining whether the graph has the property, no matter how clever, might need to examine every pair of vertices before it can give its answer. A property satisfying this conjecture is called evasive. More precisely, the Aanderaa–Rosenberg conjecture states that any
deterministic algorithm In computer science, a deterministic algorithm is an algorithm that, given a particular input, will always produce the same output, with the underlying machine always passing through the same sequence of states. Deterministic algorithms are by far ...
must test at least a constant fraction of all possible pairs of vertices, in the worst case, to determine any non-trivial monotone graph property; in this context, a property is monotone if it remains true when edges are added (so planarity is not monotone, but non-planarity is monotone). A stronger version of this conjecture, called the evasiveness conjecture or the Aanderaa–Karp–Rosenberg conjecture, states that exactly \tbinom=n(n-1)/2 tests are needed. Versions of the problem for
randomized algorithm A randomized algorithm is an algorithm that employs a degree of randomness as part of its logic or procedure. The algorithm typically uses uniformly random bits as an auxiliary input to guide its behavior, in the hope of achieving good performa ...
s and quantum algorithms have also been formulated and studied. The deterministic Aanderaa–Rosenberg conjecture was proven by , but the stronger Aanderaa–Karp–Rosenberg conjecture remains unproven. Additionally, there is a large gap between the conjectured lower bound and the best proven lower bound for randomized and quantum query complexity.


Example

The property of being non-empty (that is, having at least one edge) is monotone, because adding another edge to a non-empty graph produces another non-empty graph. There is a simple algorithm for testing whether a graph is non-empty: loop through all of the pairs of vertices, testing whether each pair is connected by an edge. If an edge is ever found in this way, break out of the loop, and report that the graph is non-empty, and if the loop completes without finding any edges, then report that the graph is empty. On some graphs (for instance the
complete graph In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices ...
s) this algorithm will terminate quickly, without testing every pair of vertices, but on the empty graph it tests all possible pairs before terminating. Therefore, the query complexity of this algorithm is \tbinom=n(n-1)/2: in the worst case, the algorithm performs n(n-1)/2 tests. The algorithm described above is not the only possible method of testing for non-emptiness, but the Aanderaa–Karp–Rosenberg conjecture implies that every deterministic algorithm for testing non-emptiness has the same worst-case query complexity, n(n-1)/2. That is, the property of being non-empty is ''evasive''. For this property, the result is easy to prove directly: if an algorithm does not perform n(n-1)/2 tests, it cannot distinguish the empty graph from a graph that has one edge connecting one of the untested pairs of vertices, and must give an incorrect answer on one of these two graphs.


Definitions

In the context of this article, all graphs will be simple and
undirected In discrete mathematics, and more specifically in graph theory, a graph is a structure amounting to a set of objects in which some pairs of the objects are in some sense "related". The objects correspond to mathematical abstractions called '' ...
, unless stated otherwise. This means that the edges of the graph form a set (and not a
multiset In mathematics, a multiset (or bag, or mset) is a modification of the concept of a set that, unlike a set, allows for multiple instances for each of its elements. The number of instances given for each element is called the multiplicity of that ...
) and each edge is a pair of distinct vertices. Graphs are assumed to have an implicit representation in which each vertex has a unique identifier or label and in which it is possible to test the adjacency of any two vertices, but for which adjacency testing is the only allowed primitive operation. Informally, a graph property is a property of a graph that is independent of labeling. More formally, a graph property is a mapping from the class of all graphs to \ such that isomorphic graphs are mapped to the same value. For example, the property of containing at least one vertex of degree two is a graph property, but the property that the first vertex has degree two is not, because it depends on the labeling of the graph (in particular, it depends on which vertex is the "first" vertex). A graph property is called non-trivial if it does not assign the same value to all graphs. For instance, the property of being a graph is a trivial property, since all graphs possess this property. On the other hand, the property of being empty is non-trivial, because the empty graph possesses this property, but non-empty graphs do not. A graph property is said to be monotone if the addition of edges does not destroy the property. Alternately, if a graph possesses a monotone property, then every supergraph of this graph on the same vertex set also possesses it. For instance, the property of being
nonplanar In graph theory, a planar graph is a graph that can be embedded in the plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. In other words, it can be drawn in such a way that no edges cro ...
is monotone: a supergraph of a nonplanar graph is itself nonplanar. However, the property of being
regular The term regular can mean normal or in accordance with rules. It may refer to: People * Moses Regular (born 1971), America football player Arts, entertainment, and media Music * "Regular" (Badfinger song) * Regular tunings of stringed instrum ...
is not monotone. The big O notation is often used for query complexity. In short, f(n) is O(g(n)) (read as "of the order of g(n)") if there exist positive constants c and N such that, for all n\ge N, f(n)\le c\cdot g(n). Similarly, f(n) is \Omega(g(n)) if there exist positive constants c and N such that, for all n\ge N, f(n)\ge c\cdot g(n). Finally, f(n) is \Theta(g(n)) if it is both O(g(n)) and \Omega(g(n)).


Query complexity

The deterministic query complexity of evaluating a function on n bits (where the bits may be labeled as x_1,x_2,\dots x_n) is the number of bits x_i that have to be read in the worst case by a deterministic algorithm that computes the function. For instance, if the function takes the value 0 when all bits are 0 and takes value 1 otherwise (this is the OR function), then its deterministic query complexity is exactly n. In the worst case, regardless of the order it chooses to examine its input, the first n-1 bits read could all be 0, and the value of the function now depends on the last bit. If an algorithm doesn't read this bit, it might output an incorrect answer. (Such arguments are known as adversary arguments.) The number of bits read are also called the number of queries made to the input. One can imagine that the algorithm asks (or queries) the input for a particular bit and the input responds to this query. The randomized query complexity of evaluating a function is defined similarly, except the algorithm is allowed to be randomized. In other words, it can flip coins and use the outcome of these coin flips to decide which bits to query in which order. However, the randomized algorithm must still output the correct answer for all inputs: it is not allowed to make errors. Such algorithms are called
Las Vegas algorithm In computing, a Las Vegas algorithm is a randomized algorithm that always gives correct results; that is, it always produces the correct result or it informs about the failure. However, the runtime of a Las Vegas algorithm differs depending on the ...
s. (A different class of algorithms, Monte Carlo algorithms, are allowed to make some error.) Randomized query complexity can be defined for both Las Vegas and Monte Carlo algorithms, but the randomized version of the Aanderaa–Karp–Rosenberg conjecture is about the Las Vegas query complexity of graph properties. Quantum query complexity is the natural generalization of randomized query complexity, of course allowing quantum queries and responses. Quantum query complexity can also be defined with respect to Monte Carlo algorithms or Las Vegas algorithms, but it is usually taken to mean Monte Carlo quantum algorithms. In the context of this conjecture, the function to be evaluated is the graph property, and the input can be thought of as a string of size n(n-1)/2, describing for each pair of vertices whether there is an edge with that pair as its endpoints. The query complexity of any function on this input is at most n(n-1)/2, because an algorithm that makes n(n-1)/2 queries can read the whole input and determine the input graph completely.


Deterministic query complexity

For deterministic algorithms, originally conjectured that for all nontrivial graph properties on n vertices, deciding whether a graph possesses this property requires \Omega(n^2) The non-triviality condition is clearly required because there are trivial properties like "is this a graph?" which can be answered with no queries at all. The conjecture was disproved by Aanderaa, who exhibited a directed graph property (the property of containing a "sink") which required only O(n) queries to test. A ''sink'', in a directed graph, is a vertex of indegree n-1 and outdegree zero. The existence of a sink can be tested with less than 3n queries . An undirected graph property which can also be tested with O(n) queries is the property of being a scorpion graph, first described in . A scorpion graph is a graph containing a three-vertex path, such that one endpoint of the path is connected to all remaining vertices, while the other two path vertices have no incident edges other than the ones in the path. Then Aanderaa and Rosenberg formulated a new conjecture (the Aanderaa–Rosenberg conjecture) which says that deciding whether a graph possesses a non-trivial monotone graph property requires \Omega(n^2) queries. This conjecture was resolved by by showing that at least \tfracn^2 queries are needed to test for any nontrivial monotone graph property. The bound was further improved to \tfracn^2 by , to \bigl(\tfrac-\varepsilon\bigr)n^2 (for any \varepsilon>0) by , to \bigl(\tfrac-\varepsilon\bigr)n^2 by , and to \bigl(\tfrac-\varepsilon\bigr)n^2 by . Richard Karp conjectured the stronger statement (which is now called the evasiveness conjecture or the Aanderaa–Karp–Rosenberg conjecture) that "every nontrivial monotone graph property for graphs on n vertices is evasive." A property is called ''evasive'' if determining whether a given graph has this property sometimes requires all n(n-1)/2 possible queries. This conjecture says that the best algorithm for testing any nontrivial monotone property must (in the worst case) query all possible edges. This conjecture is still open, although several special graph properties have shown to be evasive for all n. The conjecture has been resolved for the case where n is a
prime power In mathematics, a prime power is a positive integer which is a positive integer power of a single prime number. For example: , and are prime powers, while , and are not. The sequence of prime powers begins: 2, 3, 4, 5, 7, 8, 9, 11, 13, 16, ...
by using a topological approach. The conjecture has also been resolved for all non-trivial monotone properties on bipartite graphs by . Minor-closed properties have also been shown to be evasive for large n . In the conjecture was generalized to properties of other (non-graph) functions too, conjecturing that any non-trivial monotone function that is weakly symmetric is evasive. This case is also solved when n is a prime power .


Randomized query complexity

Richard Karp also conjectured that \Omega(n^2) queries are required for testing nontrivial monotone properties even if randomized algorithms are permitted. No nontrivial monotone property is known which requires less than \tfracn^2 queries to test. A linear lower bound (i.e., \Omega(n)) on all monotone properties follows from a very general relationship between randomized and deterministic query complexities. The first superlinear lower bound for all monotone properties was given by who showed that \Omega\bigl(n(\log n)^\bigr) queries are required. This was further improved by to \Omega(n^), and then by This was subsequently improved to the current best known lower bound (among bounds that hold for all monotone properties) of \Omega\bigl(n^(\log n)^\bigr) by . Some recent results give lower bounds which are determined by the critical probability p of the monotone graph property under consideration. The critical probability p is defined as the unique number p in the range ,1/math> such that a random graph G(n,p) (obtained by choosing randomly whether each edge exists, independently of the other edges, with probability p per edge) possesses this property with probability equal to \tfrac12. showed that any monotone property with critical probability p requires \Omega\left(\min\left\\right) queries. For the same problem, showed a lower bound of \Omega(n^/p^). As in the deterministic case, there are many special properties for which an \Omega(n^2) lower bound is known. Moreover, better lower bounds are known for several classes of graph properties. For instance, for testing whether the graph has a subgraph isomorphic to any given graph (the so-called subgraph isomorphism problem), the best known lower bound is \Omega(n^) due to .


Quantum query complexity

For bounded-error
quantum query complexity In computational complexity the decision tree model is the model of computation in which an algorithm is considered to be basically a decision tree, i.e., a sequence of ''queries'' or ''tests'' that are done adaptively, so the outcome of the previ ...
, the best known lower bound is \Omega\bigl(n^(\log n)^\bigr) as observed by Andrew Yao.The result is unpublished, but mentioned in . It is obtained by combining the randomized lower bound with the quantum adversary method. The best possible lower bound one could hope to achieve is \Omega(n), unlike the classical case, due to Grover's algorithm which gives an O(n)-query algorithm for testing the monotone property of non-emptiness. Similar to the deterministic and randomized case, there are some properties which are known to have an \Omega(n) lower bound, for example non-emptiness (which follows from the optimality of Grover's algorithm) and the property of containing a triangle. There are some graph properties which are known to have an \Omega(n^) lower bound, and even some properties with an \Omega(n^2) lower bound. For example, the monotone property of nonplanarity requires \Theta(n^) queries and the monotone property of containing more than half the possible number of edges (also called the majority function) requires \Theta(n^2) queries .


Notes


References

* * * * * * * * * * * * * * * * * * * * * *


Further reading

*. * * * {{DEFAULTSORT:Aanderaa-Karp-Rosenberg conjecture Conjectures Graph theory Combinatorics Unsolved problems in computer science Computational complexity theory