G 2(X) X SOLVABILITY OF GRAPH INEQUALITIES. 1. A simple graph inequality. Consider the diagram in Figure 1.

Size: px
Start display at page:

Download "G 2(X) X SOLVABILITY OF GRAPH INEQUALITIES. 1. A simple graph inequality. Consider the diagram in Figure 1."

Transcription

1 SOLVABILITY OF GRAPH INEQUALITIES MARCUS SCHAEFER AND DANIEL ŠTEFANKOVIČ Abstract. We inestigate a new type of graph inequality (in the tradition of Cetkoić and Simić [Contributions to Graph Theory and Its Applications, Technische Hochschule Ilmenau, Ilmenau, Germany, 977, pp ] and Capobianco [Ann. New York Acad. Sci., 39 (979), pp. 4 8]) which is based on the subgraph relation and which allows as terms fixed graphs, graph ariables with specified ertices, and the operation of identifying ertices. We present a simple graph inequality that does not hae a solution and show that the solability of inequalities with only one graph ariable and one specified ertex can be decided (in nondeterministic exponential time). The solability of graph inequalities oer directed graphs, howeer, turns out to be undecidable.. A simple graph inequality. Consider the diagram in Figure. G () G 2() Fig.. A graph inequality G () G 2 (). Is there a solution to this inequality? More precisely, is there an undirected graph with a ertex such that if we construct a graph G 2 () by taking two copies of and connecting their ertices by an edge, and a graph G () by adding two new ertices to and connecting them with, then G () occurs as a subgraph of G 2 ()? A moment s reflection will show that the answer is yes: Take to be a path of length two together with an isolated ertex. What happens if we restrict ourseles to connected graphs? Again the answer is yes: Take a rooted infinite ternary tree and connect its root by an edge to a new ertex. What about finite and connected School of CTI, DePaul Uniersity, 243 S. Wabash Ae., Chicago, IL (mschaefer@ cs.depaul.edu). Department of Computer Science, Uniersity of Chicago, 00 East 58th St., Chicago, IL (stefanko@cs.uchicago.edu).

2 graphs? the patient reader will ask. The answer in this case is no, there is no finite, connected graph fulfilling the inequality in Figure, and this is the main result of this section. Theorem.. There is no connected, finite solution of the Figure inequality. A simpler ersion of this theorem (for finite trees) was used in the first author s thesis [Sch99, Sch0] to determine the computational complexity of the arrowing relation in graph Ramsey theory: deciding F (T,K n ) is complete for the second leel of the polynomial-time hierarchy (where F is a finite graph, T is a finite tree of size at least two, and K n is the complete graph on n ertices). Graph equations (more so than graph inequalities) hae been studied for a while, and there are two surey papers dating back to the late 970s [CS77, CS79, Cap79]. The equalities and inequalities considered in these papers are more general in that they allow arbitrary operations on graphs such as complementation, tensor products, and squaring. Capobianco, Losi, and Riley, for example, showed that there are no (nontriial) trees whose square is the same as their complement [CLR89]. The more general question of which graphs fulfill G 2 = G is still open [BST94], but it is known that the equation has infinitely many solutions [CK95]. We conclude this section with a proof of Theorem.. Section 2 contains a generalization of this result: The solability of graph inequalities with only one ariable haing one specified ertex can be decided. In section 3 we show that a natural generalization of graph inequalities leads to an undecidable solability problem. Section 4 contains stronger results for graph inequalities oer directed graphs: While the solability of directed graph inequalities with only one ariable and one specified ertex remains decidable, we can show that the solability of directed graph inequalities is undecidable (een with at most three ariables and two specified ertices for each ariable). Before we begin the proof we introduce some standard notation [Die97]. We write G =(V,E) for a graph G with ertex set V = V (G) and an edge set E = E(G). The edge between ertices u, V is written as (u, ). The order of a graph is defined as V (G), and the size G is defined as E(G). A graph is finite if it has finite order and connected if there is a path between any two of its ertices. Proof of Theorem.. Let be a minimal solution of the inequality. Denote the copies of in G 2 () by i, i =, 2. An element of is either its edge or ertex. Gien an element x of, we denote the corresponding element of i by x i. Let φ be the embedding of G () intog 2 (). Clearly (, 2 ) Im φ, since otherwise G () would map into or 2. Assume that there is an edge e such that neither e nor e 2 is in Im φ. Let Y be the connected component of {e} containing. From the connectedness of G () it follows that Im φ G 2 (Y ). Now the restriction of φ to G (Y ) is an embedding of G (Y )intog 2 (Y ), contradicting the minimality of. Thus for eery e either e or e 2 is in Im φ. Note that this implies that for eery ertex u either u or u 2 is in Im φ. Let Y i be the subgraph of corresponding to Im φ i (as a subgraph of i ). Then for each e either e Y or e Y 2. We know that () (2) (3) Y Y 2 =, V (Y ) + V (Y 2 ) = V (Im φ) = V (G ()) = V () +2, E(Y ) + E(Y 2 ) = E(Im φ) = E(G ()) = E() +. The first equality in (3) follows from the fact that (, 2 ) Im φ, but (, 2 ) Im φ

3 Im φ = u Y Y u u 2 2 Imφ 2 = Y 2 Y 2 G () Im o Fig. 2. Im φ and G (). ( 2 ). From (), (2), (3) we conclude that V (Y Y 2 ) = 2 and E(Y Y 2 ) =, which implies that the intersection of Y and Y 2 is a single edge f. We know that V (Y ) V (Y 2 ), and hence f =(, u) for some u V (). Figure 2 illustrates the situation. Let a i be the number of ertices from V (Y i ) \{u, } which hae degree in. Let b beifu has degree in and 0 otherwise. The number of ertices of degree ing () isa + a 2 + b + 2. The number of ertices of degree in Im φ is at most a + a 2 + b +. Hence Im φ and G () are not isomorphic, a contradiction. 2. Decidability of graph inequalities. We could now start considering all kinds of diagrams inoling graphs, ertices, edges, and the subgraph relationship. How hard is it to settle these questions? In this section we will show that the solability of graph inequalities of the type presented in the preious section, i.e., haing only one graph ariable with one specified ertex, is decidable. This will follow from an (exponential) upper bound on the size of a minimal solution (if there is one). This result will be complemented by the undecidability result of the next section. Let us formalize the question. A graph ariable with a set of specified ertices,..., m represents an unknown finite, connected graph whose ertex set includes ertices,..., m. Gien seeral graph ariables,..., n and a graph G, we can construct a graph term G(,..., n ) (called gterm) by taking seeral copies of each i and identifying some specified ertices of the copies with some ertices of G. Since we are working with connected graphs we require G(,..., n ) to be connected (for any assignment of connected graphs to,..., n ). Note that G itself does not hae to be connected and that if G(,..., n ) is connected for some assignment of connected graphs to,..., n, then it is connected for all assignments. Gien two such gterms G (,..., n ), G 2 (,..., n ), we can ask whether there exists an assignment of connected finite graphs to the ariables,..., n such that G (,..., n ) is a subgraph of G 2 (,..., n ). We call a question of this type a graph inequality. For the rest of this section we will consider the simplest possible case of a graph inequality: only one ariable,, with one specified ertex. Let G () be a gterm

4 G () H G () 2 F [] i i 2 [2] i [ ] () 2 (2) k (k) Fig. 3. Inequality G () G 2 (). consisting of a connected graph H and a copy of attached with to each ertex of a multisubset I = {i,...,i l } of ertices of H. Similarly construct G 2 () from a connected graph F and a multisubset J = {,..., k } of ertices of F. The copy of in G 2 () attached to r ( r k) is called (r), and the copy of in G () attached to i r ( r l) is called [r]. If there is only one copy of in G (), we call it. Theorem 2.. If the inequality in Figure 3 has a solution, then it has a solution of size at most F ( + k) H. The upper bound on the size of a minimal solution is exponential in the size of the equality; hence to decide solability we ust hae to test all graphs up to that size, something which can be done in nondeterministic exponential time (NEP). Corollary 2.2. The solability of graph inequalities of the type in Figure 3 can be decided in NEP. We do not know the precise computational complexity of the decision problem. It is at least NP-hard, since we can ask whether a graph contains a clique. At the core of the proof are Lemmas 2.5 and 2.7, which show that for a minimal solution to the graph inequality (if it exists) we can assume that all of the ertices of I are mapped to ertices of F. This reduces the problem to a simpler ariant (namely, the images of ertices from I are prescribed) dealt with by Lemma 2.4 (based on the representation result of Lemma 2.3). First we characterize solutions of inequalities (with prescribed mapping) where on the left-hand side there is only one copy of and has to map to a ertex w of F on the right-hand side. If w J, then any connected graph is a solution. Now assume w J. Let Σ be the alphabet consisting of the numbers,...,k. For each word α from Σ take a copy F (α) of F. For eery α Σ and a Σ identify w (αa) and a (α). The resulting infinite graph is called F (see Figure 5). Lemma 2.3. Assume that w J = {,..., k }. Then the solutions of the inequality in Figure 4 are precisely the subgraphs of F with = w () such that (4) for any edge e in F, any α Σ, a Σ, if the edge e (aα) is in, then e (α) is in. Proof. If is a subgraph of F satisfying condition (4), then is a solution of the inequality ia mapping φ: φ(x () )=x,

5 w F () 2 k (2) (k) Fig. 4. Inequality G 2 (), w. () w F () () () = = w () (k) k w () = () w F () F (k) (k) = (kk) k w () (k) (k) =w =w k (k) Fig. 5. F. φ(x (aα) )=x (α) (a). If is a solution of the inequality ia mapping φ : G 2 (), then define Y () = φ (F ), Y (aα) = φ (Y (α) (a) ), where Y (α) (a) is the copy of Y (α) in (a) in G 2 (). If e is an edge of with distance d from, then it must map either to F or to some edge f in some (r) which has strictly smaller distance from (r) than d. Edges adacent to must be mapped to F, and hence they are in Y (). By induction it follows that = Y (α). α Σ Clearly Y (α) is a subgraph of F ia φ α + for any α Σ. The element of Y (α) corresponding to x F is called x (α). By induction it follows that w (αa) = a (α) for any α Σ, a Σ. From the definition of Y s, if e (aα) is in, then the edge e (α) is also in for any α Σ,a Σ. Hence is a subgraph of F satisfying (4).

6 Soling systems of simple graph inequalities is useful in soling more complicated inequalities. Lemma 2.4. If a system of inequalities with prescribed mappings (5) (6) H, h ;...; H m, h m, F (), w ;...; F n (), w n has a solution, then it has a solution of size at most F ( + k ) M, where k is the number of copies of in F and M := max{ H,..., H m }, assuming that the graphs H,...,H m are connected. Proof. Let be a minimal solution of the system. Let e be an edge of whose distance d from is maximal. Assume that d>m. If we remoe the edge e, then = {e} still satisfies inequalities (5), because no edge of any H i ( i m) can map to e. If satisfies the inequality in Figure 4 for F = F i ( i n), then by Lemma 2.3 it is a subgraph of F with = w () and it satisfies condition (4). Let e = f (α). Clearly is also a subgraph of F and the condition is still satisfied, because dist(, f (aα) ) > dist(, f (α) ) and hence f (aα) for any a Σ. Therefore satisfies inequalities (6), a contradiction to the minimality of. Thus dist(, e) M. The size of the subgraph of F consisting of edges within distance M from is bounded by F ( + k ) M. Now we return to the inequality in Figure 3. Lemma 2.5. If there is more than one copy of on the left side of the inequality in Figure 3, then eery i r = [r] ( r l) must map to a ertex of F. Proof. Suppose, for example, that i maps into some (r) { r }. Let P be a path from i to i 2. Graphs [] and [2] P share only ertex i. Hence the image of at least one of them does not contain r and since r is a cutertex of G 2, that image must be contained in (r) { r }, which is impossible, since there are more ertices in or in 2 P than in (r) { r }. Lemma 2.6. If is a solution of the inequality in Figure 3 ia mapping ψ : G () G 2 (), then there exists a mapping φ : G () G 2 () such that φ(i) = ψ(i) and as many copies of in i as possible are mapped to copies of in φ(i) for eery i I. Proof. Consider a bipartite graph B with partitions I and J, where i r is connected to s if and only if ψ(i r )= s. Without loss of generality assume that {(i r, r ); r t} is a maximal matching of B. We need to show that there exists φ such that [r] maps to (r) for r t. Let Y,...,Y q be the connected components of {}. Let φ be a mapping such that t q φ(y [r] ) Y (7) (r) is maximal. If for some r,, r= = φ ( Y ) [r] Y (r), then clearly φ(y [r] ) Y (r) = ; otherwise φ(y [r] ) would hae to contain r. Now we will be mapped to Y(r) and φ (Y (r)) will be ). This increases the alue of (7), a contradiction. Hence φ maps can change φ in such a way that Y [r] mapped to φ(y [r] [r] to (r) ( r t).

7 8K H F () 2 k (2) (k) Fig. 6. We proe an analogue of Lemma 2.5 for inequalities where occurs only once on the left-hand side of the inequality in Figure 3. Lemma 2.7. If the inequality in Figure 6 has a solution, then it has a solution ia a mapping φ which maps = i to a ertex of F. Proof. Suppose that there is no solution of the inequality in Figure 6 such that maps to a ertex of F, but there is a solution in which maps into a ertex of () { }. Then clearly the inequality in Figure 7 with the additional condition that must map to some u () has a solution (see Figure 7). H F = () u 2 k () K 8 Fig. 7. If u =, then by Lemma 2.6 there is φ such that is mapped to (). Therefore we can replace K s in the inequality in Figure 7 by K H s, since only H is mapped to G 2 () (). This, howeer, implies that = K H is a solution of the inequality in Figure 6 in which maps to a ertex of F, a contradiction. Thus u for eery solution of the inequality in Figure 7. Let be a minimal solution of this inequality. Graphs H and share only ; moreoer is a cutertex of G 2 and hence either H or must be mapped inside () { }. Since the latter is not possible, H must be mapped inside () { }.

8 8K 8K () H Y () q () q F Y q Z () Z 2 k Fig. 8. Now let Y = φ ( ) ( () and Z = φ G 2 () ( () { }) ). The common ertex of Y and Z is called q = φ ( ). The inequality in Figure 7 implies the inequalities in Figure 8. The second inequality follows directly from the definition. To see the first inequality, note that the graph on the left-hand side is a subgraph of () with q mapping to (), and that by definition of Y and Z the right-hand side contains () with () of () mapping to of Y. If in the first inequality was mapped outside of Y (), then the shortest path from q to would hae to map to a longer path, which is not possible. Hence maps inside Y (). Combining the two inequalities in Figure 8, we get that Y satisfies the inequality in Figure 7. This contradicts the minimality of. We can now complete the proof of Theorem 2. by showing a bound on the size of a minimal solution (if there is one) of graph inequalities with one ariable and one specified ertex. Proof of Theorem 2.. From Lemmas 2.5 and 2.7 it follows that we need to consider only solutions in which eery i r ( r l) maps to a ertex of F. For each such mapping φ, using Lemma 2.6, we can assume that if i I maps to a ertex J, then as many copies of in i as possible map to copies of in. Let (8) G () G 2(), = i φ (i ),...,i l φ (i l ) be the inequality with prescribed mappings obtained by remoing those [r] s and (r) s which are already taken care of by Lemma 2.6. Notice that now no i r, ( r l ) maps to a s ( s k ). Let be a solution of (8) with mapping ψ. If ψ ( [r]) (s), then some ertex from [r] {i r} must map to s. Since s is a cutertex, no other part of G ( ) can map to (s). If for each [r], r l, and H we take the set of obects (edges and (s) s) to which it is mapped, then these sets are disoint. There are only finitely many partitions of the obects of G 2() intol + disoint sets. For each such partition we get a system of inequalities with prescribed mappings as in Lemma 2.4, which has a solution of size at most F ( + k) H (if it has one). Note that by using preious lemmas we can easily proe Theorem.. If there was a solution of the inequality in Figure, then by Lemma 2.7 there is a solution

9 such that from G () maps to one of the s in G 2 (). By looking at the degrees of s we see that this is not possible. We conclude this section with a technical result that allows us to combine seeral inequalities with prescribed mappings. This lemma will be needed in the next section. Lemma 2.8. For any system of inequalities with prescribed mappings H, h ;...; H m, h m, F (), w ;...; F n (), w n, there is a single inequality which has the same set of solution as the system. Proof. Consider the inequality in Figure 9. H H m a 0 a t/2 a t- a t b 0 b t/2 F () F () n b t- b t Fig. 9. By Lemma 2.5, a 0 and a t hae to map to F. Clearly the a 0,a t path of H in G () has to map to a path in F in G 2 (). If t>2(m + n + max{f,...,f n }), then the only path of length t in F is the b 0,b t path. It follows that a i maps to b i (0 i t) because a t cannot map to a. Hence is a solution of the inequality in Figure 9 if and only if it is a solution of the system. 3. Undecidability of graph inequalities. The result of the last section might suggest that there is a general method to decide the solability of graph inequalities. While we hae to leae this question open for the time being, we do want to sketch a proof that a natural generalization of the problem turns out to be undecidable. We consider a logical language whose atoms are graph inequalities as aboe, i.e., diagrams inoling graphs with labeled ertices, additional edges and ertices, and one occurrence of the subgraph relationship. We then build more complex formulas by allowing logical operators (and) and (not) and quantifiers oer graphs (and labeled ertices). We will not formally describe the semantics of this language since it is straightforward; the only point worth mentioning is that we assume ertices with different labels in the same graph to be different. We will next show that formulas of this type are not decidable. More precisely we will show that this is een the case if we restrict the quantifiers in the formulas to be only existential or bounded (i.e., of the form ( F G) or( F G)). Since formulas inoling only bounded quantifiers are decidable (the bounds hae to be explicit graphs; hence we can try all possible combinations), this is a reasonably sharp result on the complexity of graph inequalities. The main open problem of interest, of course, is whether the problem is undecidable in case we allow only existential quantifiers (and no bounded quantifiers at all). We will mention some interesting related problems in the conclusion. Theorem 3.. The solability of graph diagrams with Boolean operators, existential quantifiers, and bounded quantifiers is not decidable.

10 w Fig. 0. Representing the word 230. Proof. We will show the undecidability of the solability problem by reducing the word problem for semi-thue systems to it (see, for example, [HU79]). Oer an alphabet A, a semi-thue system is a set of productions x y (x, y A ), meaning that x can be transformed into y. The word problem for a semi-thue system is to decide whether, gien two words x and y, there is a series of productions which, when applied to substrings of the words, transforms x into y. We will represent the letters of the alphabet as paths of different lengths. A word will be coded as a path to which are attached further paths coding the letters of the word. A sequence of words will be coded in a similar way. We will then hae to find a way to erify that such a sequence results from legal applications of the productions. Fix a semi-thue system (x i y i ) i n oer some alphabet A, and suppose we are gien two words x and y. The following diagram gies an example of how we represent words, in this case the word 230 (Figure 0). The initial ertex w is used to link the word up in a sequence of words. In the manner depicted by the diagram we associate graphs i,y i,, and Y with the words x i,y i,x, and y. Assume that for all A G the following diagram (Figure ) is true. A G Fig.. Forcing a tree. Then G does not contain any cycles and therefore is a tree. Furthermore, by excluding K,4 we can easily assure that G has maximal degree at most 3. We now set up G to code the initial and final words. We do this by saying that there is an A G which fulfills the diagram in Figure 2. Note that for the diagram to be true w has to be mapped to u and w Y to (G is a tree). Hence G will contain a path from u to. For each ertex w on that path let G w be the graph attached to the path (if none, then G w is ust w). With the preious diagram we hae ensured that G w codes x and G wy codes y. Now we hae to erify only that the transitions between words as coded by G are legal according to the system of productions gien. We do this by saying that for any A, B, C, D G for which the diagram in Figure 3 is true, there are S, E, B,C G for which the diagram in Figure 4 is true, and such that B = i and C = Y i for some i n. It is straightforward to check that in this manner we hae encoded the original

11 w w Y A = Y u G Fig. 2. Forcing x and y. u A B C = u G 2 2 D Fig. 3. Transition from B to C. B = S B E and C = S C E Fig. 4. Application of production B to C. word problem: There is a G fulfilling all these conditions if and only if there is a solution to the word problem. Hence the word problem can be written as a graph inequality with one existential quantifier and some bounded quantifiers. 4. Directed graph inequalities. So far we hae considered only undirected graphs. What happens if we change the unierse of graph inequalities to directed (or colored) graphs? Call these ariants directed (or colored) graph inequalities, respectiely.

12 In the case of one ariable with one specified ertex we can obtain the same result as in Theorem 2.. As a matter of fact, the lemmas and proofs needed for that theorem can be used without modification. Theorem 4.. For directed (or colored) graphs, if the inequality in Figure 3 has a solution, then it has a solution of size at most F ( + k) H. As aboe, this implies that the problem is decidable in NEP. The complexity of the undecidability proof in section 3 stemmed from the difficulty of coding the alphabet: We had to use special deices to code letters and then use bounded quantifiers to erify that the coding was correct. Allowing the edges in the graph to be directed, howeer, makes these constructions unnecessary. Theorem 4.2. The solability of directed (colored) graph inequalities is undecidable. The problem remains undecidable een if we limit it to three ariables with two specified ertices each. We consider only directed graphs, since the treatment for graphs with two colors is identical. Proof. We will translate Post s correspondence problem (PCP) into a directed graph inequality. Since the former problem is known to be Turing-complete [HU79], this shows the undecidability of directed graph inequalities. PCP asks whether, gien a list of pairs of words (p i,q i ) i n, there is a list of indices i,...,i m such that p i p im = q i q im. PCP can be translated into a question about context-free grammars as follows: Consider two grammars (i) S i S p i i p i ( i n), (ii) S 2 i S 2 q i i q i ( i n), where i is a prefix-encoding of the number i. The original problem has a solution if and only if the two grammars hae a word in common, i.e., there is a word w such that S w and S 2 w. Consider a context-free grammar with productions oer the alphabet {0, } and one nonterminal symbol S. Eery production has S on the left-hand side and a (nonempty) string of letters and at most one occurrence of S on the right-hand side. We will code 0 s and s by the direction of edges, an outgoing edge coding a 0 (for a string starting in the ertex) and an incoming edge coding a. Let G a be the path corresponding to the string a (for an example, see Figure 5). Fig. 5. G 000. A production is either of the form S asb, where ab {0, } +, or of the form S a, where a {0, } +. We assume that there is always a production of the second kind. Construct a graph inequality as follows: The left-hand side contains a graph ariable S with two special ertices u S and S. The right-hand side has two special ertices u S and S. For eery production of the form S asb, include G a starting in u S and ending in the u S ertex of a new copy of S, and G b starting in the S ertex of S and ending in S. For eery production of the form S a, include G a starting in u S and ending in S. If we require that u and be mapped to u and, respectiely, then a solution to the inequality corresponds to a word in the language described by the grammar, and, ice ersa, eery word in the language gies rise to a solution of the graph inequality.

13 S S S S Fig. 6. Graph inequality for semi-thue system. For an example, see Figure 6, which shows the graph inequality belonging to the system S 0S00 0S S We will first proe the claim that for eery word in the language there is a corresponding solution of the graph inequality in a stronger form: For each n there is a graph G S such that (i) G S soles the inequality (with u, mapping to u, ) and (ii) there is a path G w between u S and S in G S for eery word w that can be deried in n steps from S. We proe this statement by induction on n. Forn = let G S consist of all paths G a for which S a is a production, and identify their starting ertices (calling it u S ), and their end ertices (calling it S ). For the induction step, assume we hae a graph G S with ertices u S and S fulfilling the induction hypothesis for n. Build G S with ertices u S and S by including for each production S asb (new) copies of G a, G S, and G b, and by identifying u S with the starting ertex of G a, u S with the ending ertex of G a, S with the starting ertex of G c, and S with the ending ertex of G c. It is easy to show by induction that the graphs so constructed fulfill (i) and (ii). For the other direction suppose that there is a solution G S to the graph inequality. We will show that for any path P from u S to S in G S there is a word w such that S w and P = G w. Use induction on the length of the path: Let P be a path of minimal length between u S and S for which the assertion has not yet been proen. P has length at least one (since u S and S are different ertices). Fix w such that P = G w. Since G S fulfills the inequality, P must be a subpath of the right-hand side of the inequality starting in u S and ending in S. The way the right-hand side was constructed, P must therefore be a subpath in a graph corresponding to a particular production S asb, ors a. In the latter case, a = w and we are done. In the former case, P consists of three parts corresponding to a, S, and b, respectiely. Since a and b together hae length at least one, we can apply the induction hypothesis to the subpath of P corresponding to S. If we are gien two grammars G, G 2, we can construct the inequalities for them as aboe and ask whether there exist graphs fulfilling them, as well as a path P from u P to P which is a subgraph of both S and S2, where u P and P hae to be mapped to u Si and Si (i =, 2). Such a path corresponds to a word w which can be deried in both grammars. We are left with the task of combining the inequalities

14 G G G u G G G G G G G G G G u Fig. 7. G G. into a single inequality fulfilling the additional requirements on the u and ertices. Consider the directed graph inequality of Figure 7. We claim that if G and G are solutions of this inequality, then G is a subgraph of G such that u and are mapped to u and, respectiely (and, obiously, any such graphs are solutions to the inequality). To see this, suppose that one of the ertices at the heart of a sunflower does not map to its corresponding ertex. It then has to map to a labeled ertex, or into a G or G, sayg. This is not possible, since such a ertex is at the heart of three copies of G, at most two of which can map outside the G, so there would hae to be a full copy of G within G, which is impossible. Hence the hearts of the sunflowers map to each other, and, in consequence, the copies of G map to the corresponding copies of G, while u and map to u and. We hae four equations altogether: G Si G i (with G i the right-hand sides constructed from the grammars) and G P G Si (i =, 2). We can extend the diagram aboe to incorporate all four inequalities: It will contain fie sunflowers on each side of the inequality, between which the terms of the four inequalities are linked up; each sunflower will hae three copies of each graph inoled in the construction, and hence the hearts of the sunflowers map to each other, as aboe. Thus we get a single directed graph inequality which has a solution if and only if the two grammars hae a word in common. 5. Conclusion. Seeral questions remain open, the most nagging one being the complexity of deciding the solability of (undirected) graph inequalities (without additional quantifiers and Boolean operators). It seems hard to translate the corresponding undecidability result for directed graph inequalities back to the undirected case. Another approach would be to strengthen the proof of the undirected undecidability result, which required one existential quantifier and seeral alternations of bounded quantifiers. It seems likely that by using a different problem for the reduction (for example, PCP) one might get the language down to existential and bounded uniersal

15 H Fig. 8. quantifiers only. Getting rid of that last layer of bounded quantifiers, thereby settling the complexity of Boolean combinations of graph inequalities, seems harder. The language shown to be undecidable in section 3, for example, is powerful enough to code the edge reconstruction conecture (in a more or less natural fashion). Hence a decision procedure would hae come as a surprise. In the case of graph inequalities the situation is different: We do not know of any difficult open problem that can be phrased as a graph inequality; hence decidability might still be an option. Question. Is the solability of graph inequalities (as defined in section 2) decidable? A positie indication for decidability is that it seems difficult to force large solutions. If graph inequalities were undecidable, then the solution size would hae to grow faster than any computable function. The best result we hae been able to obtain so far shows that a quadratic lower bound is possible, a far cry from undecidability. Theorem 5.. There is a graph inequality G () G 2 () of size O(n) such that the size of a minimal solution is Ω(n 2 ). Proof. Consider the system of inequalities (Figure 8) with prescribed mappings, where H is a path of length n connected to a complete binary tree of depth log n. Let B be the infinite binary tree with edges naturally labeled by strings from {0, } +. By Lemma 2.3 solutions of the first inequality are subgraphs of B such that if edge aα is in, then edge α is also in for any a {0, }, α {0, } +. From the second inequality it follows that for any solution there is some α {0, } n such that for eery β {0, } log n, edge αβ is in. Hence for any suffix γ of α for eery β {0, } log n, edge γβ is in and therefore there are Ω(n 2 ) edges in. Using Lemma 2.8 we combine the inequalities in Figure 8 into a single inequality. Question 2. Are there graph inequalities whose minimal solutions hae at least exponential size? Our decidability result for graph inequalities with one ariable (and one labeled ertex) shows that the computational complexity of the problem lies in NEP. As we pointed out earlier, it is also NP-hard (since we can ask for a clique as subgraph, without een using the existential quantifier). Question 3. What is the computational complexity of deciding the solability of one-ariable, one-ertex graph inequalities? Is the problem NEP-complete? First steps towards generalizations of the decidability result would probably try to increase the number of specified ertices, then the number of ariables. Also, can we decide Boolean combinations of graph inequalities? One special case of Boolean combinations can be settled with the techniques from section 2: graph equalities with one ariable and one specified ertex. Theorem 5.2. The solability of graph equalities with one ariable and one specified ertex is decidable. Proof. Lemma 2.5 allows us to assume that ariable occurs at most once on each

16 side of the equality (otherwise we can use Lemma 2.4 as in the proof of Theorem 2.). If does not occur on one of the sides, we are done. If it occurs precisely once on each side, it is not too difficult to see that the equality is solable if the two graphs to which the ariable is attached are isomorphic (where the labeled ertices hae to map to each other). The decision procedure outlined here is, again, in NEP. In the case of directed graph inequalities we hae a tight separation of decidability and undecidability: One ariable with one specified ertex is decidable, and three ariables with two specified ertices are not. While it might be interesting to find out what happens in the case of two ariables, a more promising obect of study should be the computational complexity of directed graph inequalities. The direction of the edges might help in encoding a problem complete for EP or NEP. Question 4. What is the computational complexity of deciding the solability of one-ariable, one-ertex directed (or colored) graph inequalities? Is the problem NEP-complete? Finally we would like to suggest that the question of computational complexity should also be an interesting one for the more general types of graph equalities and graph inequalities studied in the literature [CS79]. Acknowledgments. We would like to thank Laci Babai and János Simon for helpful discussions. REFERENCES [BST94] V. Baltić, S. K. Simić, and V. Tintor, Some remarks on graph equation G 2 = G, Uni. Beograd. Publ. Elektrotehn. Fak. Ser. Mat., 5 (994), pp [Cap79] M. F. Capobianco, Graph equations, Ann. New York Acad. Sci., 39 (979), pp [CK95] M. Capobianco and S.-R. Kim, More results on the graph equation G 2 = G, in Graph Theory, Combinatorics, and Algorithms, Wiley, New York, 995, pp [CLR89] M. F. Capobianco, K. Losi, and B. Riley, G 2 = G has no nontriial tree solutions, Ann. New York Acad. Sci., 555 (989), pp [CS77] D. M. Cetkoić and S. K. Simić, Graph equations, in Contributions to Graph Theory and Its Applications, Technische Hochschule Ilmenau, Ilmenau, Germany, 977, pp [CS79] D. M. Cetkoić and S. K. Simić, A bibliography of graph equations, J. Graph Theory, 3 (979), pp [Die97] R. Diestel, Graph Theory, Grad. Texts in Math. 73, Springer-Verlag, New York, 997. [HU79] J. E. Hopcroft and J. D. Ullman, Introduction to Automata Theory, Languages, and Computation, Addison-Wesley, Reading, MA, 979. [Sch99] M. Schaefer, Completeness and Incompleteness, Ph.D. thesis, Uniersity of Chicago, Chicago, 999. [Sch0] M. Schaefer, Graph Ramsey theory and the polynomial hierarchy, J. Comput. System Sci., 62 (200), pp

DECOMPOSING 4-REGULAR GRAPHS INTO TRIANGLE-FREE 2-FACTORS

DECOMPOSING 4-REGULAR GRAPHS INTO TRIANGLE-FREE 2-FACTORS SIAMJ.DISCRETE MATH. c 1997 Society for Industrial and Applied Mathematics Vol. 10, No. 2, pp. 309 317, May 1997 011 DECOMPOSING 4-REGULAR GRAPHS INTO TRIANGLE-FREE 2-FACTORS EDWARD BERTRAM AND PETER HORÁK

More information

NP and NP-Completeness

NP and NP-Completeness 0/2/206 Algorithms NP-Completeness 7- Algorithms NP-Completeness 7-2 Efficient Certification NP and NP-Completeness By a solution of a decision problem X we understand a certificate witnessing that an

More information

Lecture 1. 1 Overview. 2 Maximum Flow. COMPSCI 532: Design and Analysis of Algorithms August 26, 2015

Lecture 1. 1 Overview. 2 Maximum Flow. COMPSCI 532: Design and Analysis of Algorithms August 26, 2015 COMPSCI 532: Design and Analysis of Algorithms August 26, 205 Lecture Lecturer: Debmalya Panigrahi Scribe: Allen Xiao Oeriew In this lecture, we will define the maximum flow problem and discuss two algorithms

More information

THE MINIMUM MATCHING ENERGY OF BICYCLIC GRAPHS WITH GIVEN GIRTH

THE MINIMUM MATCHING ENERGY OF BICYCLIC GRAPHS WITH GIVEN GIRTH ROCKY MOUNTAIN JOURNAL OF MATHEMATICS Volume 46, Number 4, 2016 THE MINIMUM MATCHING ENERGY OF BICYCLIC GRAPHS WITH GIVEN GIRTH HONG-HAI LI AND LI ZOU ABSTRACT. The matching energy of a graph was introduced

More information

Lecture Notes 4. Issued 8 March 2018

Lecture Notes 4. Issued 8 March 2018 CM30073 Advanced Algorithms and Complexity 1. Structure of the class NP Lecture Notes 4 Issued 8 March 2018 Recall that it is not known whether or not P = NP, the widely accepted hypothesis being that

More information

An Explicit Lower Bound of 5n o(n) for Boolean Circuits

An Explicit Lower Bound of 5n o(n) for Boolean Circuits An Eplicit Lower Bound of 5n o(n) for Boolean Circuits Kazuo Iwama, Oded Lachish, Hiroki Morizumi, and Ran Raz Graduate School of Informatics, Kyoto Uniersity, Kyoto, JAPAN {iwama, morizumi}@kuis.kyoto-u.ac.jp

More information

arxiv: v1 [cs.dm] 21 Oct 2017

arxiv: v1 [cs.dm] 21 Oct 2017 Eliminating Odd Cycles by Remoing a Matching Carlos V.G.C. Lima 1,, Dieter Rautenbach 2,, Uéerton S. Souza 3,, and Jayme L. Szwarcfiter 4 1 Departament of Coputer Science, Federal Uniersity of Minas Gerais,

More information

Optimization Problems in Multiple Subtree Graphs

Optimization Problems in Multiple Subtree Graphs Optimization Problems in Multiple Subtree Graphs Danny Hermelin Dror Rawitz February 28, 2010 Abstract We study arious optimization problems in t-subtree graphs, the intersection graphs of t- subtrees,

More information

1 Computational Problems

1 Computational Problems Stanford University CS254: Computational Complexity Handout 2 Luca Trevisan March 31, 2010 Last revised 4/29/2010 In this lecture we define NP, we state the P versus NP problem, we prove that its formulation

More information

Lecture 14 - P v.s. NP 1

Lecture 14 - P v.s. NP 1 CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) February 27, 2018 Lecture 14 - P v.s. NP 1 In this lecture we start Unit 3 on NP-hardness and approximation

More information

Planar Ramsey Numbers for Small Graphs

Planar Ramsey Numbers for Small Graphs Planar Ramsey Numbers for Small Graphs Andrzej Dudek Department of Mathematics and Computer Science Emory University Atlanta, GA 30322, USA Andrzej Ruciński Faculty of Mathematics and Computer Science

More information

Lecture 2: Connecting the Three Models

Lecture 2: Connecting the Three Models IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 2: Connecting the Three Models David Mix Barrington and Alexis Maciel July 18, 2000

More information

Notes for Lecture Notes 2

Notes for Lecture Notes 2 Stanford University CS254: Computational Complexity Notes 2 Luca Trevisan January 11, 2012 Notes for Lecture Notes 2 In this lecture we define NP, we state the P versus NP problem, we prove that its formulation

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

Turing Machines Part III

Turing Machines Part III Turing Machines Part III Announcements Problem Set 6 due now. Problem Set 7 out, due Monday, March 4. Play around with Turing machines, their powers, and their limits. Some problems require Wednesday's

More information

Chromatic characterization of biclique cover. Denis Cornaz. Jean Fonlupt. Equipe Combinatoire, UFR 921, Universite Pierre et Marie Curie, 4 place

Chromatic characterization of biclique cover. Denis Cornaz. Jean Fonlupt. Equipe Combinatoire, UFR 921, Universite Pierre et Marie Curie, 4 place Chromatic characterization of biclique coer Denis Cornaz France Telecom R&D, 38-40 rue du General Leclerc, Issy-les-Moulineaux 92794 Jean Fonlupt Equipe Combinatoire, UFR 921, Uniersite Pierre et Marie

More information

The Budgeted Minimum Cost Flow Problem with Unit Upgrading Cost

The Budgeted Minimum Cost Flow Problem with Unit Upgrading Cost The Budgeted Minimum Cost Flow Problem with Unit Upgrading Cost Christina Büsing Sarah Kirchner Arie Koster Annika Thome October 6, 2015 Abstract The budgeted minimum cost flow problem (BMCF(K)) with unit

More information

Theory of Computation

Theory of Computation Theory of Computation (Feodor F. Dragan) Department of Computer Science Kent State University Spring, 2018 Theory of Computation, Feodor F. Dragan, Kent State University 1 Before we go into details, what

More information

Chapter 4: Computation tree logic

Chapter 4: Computation tree logic INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification

More information

CS154, Lecture 15: Cook-Levin Theorem SAT, 3SAT

CS154, Lecture 15: Cook-Levin Theorem SAT, 3SAT CS154, Lecture 15: Cook-Levin Theorem SAT, 3SAT Definition: A language B is NP-complete if: 1. B NP 2. Every A in NP is poly-time reducible to B That is, A P B When this is true, we say B is NP-hard On

More information

arxiv: v1 [math.co] 28 Oct 2016

arxiv: v1 [math.co] 28 Oct 2016 More on foxes arxiv:1610.09093v1 [math.co] 8 Oct 016 Matthias Kriesell Abstract Jens M. Schmidt An edge in a k-connected graph G is called k-contractible if the graph G/e obtained from G by contracting

More information

On diamond-free subposets of the Boolean lattice

On diamond-free subposets of the Boolean lattice On diamond-free subposets of the Boolean lattice Lucas Kramer, Ryan R Martin, Michael Young 2 Department of Mathematics, Iowa State Uniersity, Ames, Iowa 500 Abstract The Boolean lattice of dimension two,

More information

CS 6505, Complexity and Algorithms Week 7: NP Completeness

CS 6505, Complexity and Algorithms Week 7: NP Completeness CS 6505, Complexity and Algorithms Week 7: NP Completeness Reductions We have seen some problems in P and NP, and we ve talked about space complexity. The Space Hierarchy Theorem showed us that there are

More information

Integer Parameter Synthesis for Real-time Systems

Integer Parameter Synthesis for Real-time Systems 1 Integer Parameter Synthesis for Real-time Systems Aleksandra Joanoić, Didier Lime and Oliier H. Roux École Centrale de Nantes - IRCCyN UMR CNRS 6597 Nantes, France Abstract We proide a subclass of parametric

More information

CS Lecture 29 P, NP, and NP-Completeness. k ) for all k. Fall The class P. The class NP

CS Lecture 29 P, NP, and NP-Completeness. k ) for all k. Fall The class P. The class NP CS 301 - Lecture 29 P, NP, and NP-Completeness Fall 2008 Review Languages and Grammars Alphabets, strings, languages Regular Languages Deterministic Finite and Nondeterministic Automata Equivalence of

More information

6.1 The Pumping Lemma for CFLs 6.2 Intersections and Complements of CFLs

6.1 The Pumping Lemma for CFLs 6.2 Intersections and Complements of CFLs CSC4510/6510 AUTOMATA 6.1 The Pumping Lemma for CFLs 6.2 Intersections and Complements of CFLs The Pumping Lemma for Context Free Languages One way to prove AnBn is not regular is to use the pumping lemma

More information

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza Automata theory An algorithmic approach Lecture Notes Javier Esparza July 2 22 2 Chapter 9 Automata and Logic A regular expression can be seen as a set of instructions ( a recipe ) for generating the words

More information

Introduction to Turing Machines. Reading: Chapters 8 & 9

Introduction to Turing Machines. Reading: Chapters 8 & 9 Introduction to Turing Machines Reading: Chapters 8 & 9 1 Turing Machines (TM) Generalize the class of CFLs: Recursively Enumerable Languages Recursive Languages Context-Free Languages Regular Languages

More information

A spectral Turán theorem

A spectral Turán theorem A spectral Turán theorem Fan Chung Abstract If all nonzero eigenalues of the (normalized) Laplacian of a graph G are close to, then G is t-turán in the sense that any subgraph of G containing no K t+ contains

More information

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION FORMAL LANGUAGES, AUTOMATA AND COMPUTATION DECIDABILITY ( LECTURE 15) SLIDES FOR 15-453 SPRING 2011 1 / 34 TURING MACHINES-SYNOPSIS The most general model of computation Computations of a TM are described

More information

4 CONNECTED PROJECTIVE-PLANAR GRAPHS ARE HAMILTONIAN. Robin Thomas* Xingxing Yu**

4 CONNECTED PROJECTIVE-PLANAR GRAPHS ARE HAMILTONIAN. Robin Thomas* Xingxing Yu** 4 CONNECTED PROJECTIVE-PLANAR GRAPHS ARE HAMILTONIAN Robin Thomas* Xingxing Yu** School of Mathematics Georgia Institute of Technology Atlanta, Georgia 30332, USA May 1991, revised 23 October 1993. Published

More information

arxiv: v1 [math.co] 10 Jun 2018

arxiv: v1 [math.co] 10 Jun 2018 Some Mixed Graphs Determined by arxi:1806.036341 [math.co] 10 Jun 2018 Their Spectrum S. Akbari a, A. Ghafari a, M. Nahi b and M.A. Nematollahi a a Department of Mathematical Sciences, Sharif Uniersity

More information

Paths and cycles in extended and decomposable digraphs

Paths and cycles in extended and decomposable digraphs Paths and cycles in extended and decomposable digraphs Jørgen Bang-Jensen Gregory Gutin Department of Mathematics and Computer Science Odense University, Denmark Abstract We consider digraphs called extended

More information

ACYCLIC WEAK CONVEX DOMINATION IN GRAPHS

ACYCLIC WEAK CONVEX DOMINATION IN GRAPHS International Journal of Mathematics & Engineering with Computers Vol 2, No -2, pp 65-72, January-December 20 ACYCLIC WEAK CONVEX DOMINATION IN GRAPHS TN Janakiraman, and PJA Alphonse ABSTRACT: In a graph

More information

3515ICT: Theory of Computation. Regular languages

3515ICT: Theory of Computation. Regular languages 3515ICT: Theory of Computation Regular languages Notation and concepts concerning alphabets, strings and languages, and identification of languages with problems (H, 1.5). Regular expressions (H, 3.1,

More information

P is the class of problems for which there are algorithms that solve the problem in time O(n k ) for some constant k.

P is the class of problems for which there are algorithms that solve the problem in time O(n k ) for some constant k. Complexity Theory Problems are divided into complexity classes. Informally: So far in this course, almost all algorithms had polynomial running time, i.e., on inputs of size n, worst-case running time

More information

Announcements. Friday Four Square! Problem Set 8 due right now. Problem Set 9 out, due next Friday at 2:15PM. Did you lose a phone in my office?

Announcements. Friday Four Square! Problem Set 8 due right now. Problem Set 9 out, due next Friday at 2:15PM. Did you lose a phone in my office? N P NP Completeness Announcements Friday Four Square! Today at 4:15PM, outside Gates. Problem Set 8 due right now. Problem Set 9 out, due next Friday at 2:15PM. Explore P, NP, and their connection. Did

More information

arxiv: v3 [math.co] 20 Sep 2016

arxiv: v3 [math.co] 20 Sep 2016 PLANAR GRAPHS ARE 9/-COLORABLE DANIEL W. CRANSTON AND LANDON RABERN arxi:0.7 [math.co] 0 Sep 06 Abstract. We show that eery planar graph G has a -fold 9-coloring. In particular, this implies that G has

More information

Peter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages

Peter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages and and Department of Computer Science and Information Systems Birkbeck, University of London ptw@dcs.bbk.ac.uk Outline and Doing and analysing problems/languages computability/solvability/decidability

More information

Introduction to Complexity Theory. Bernhard Häupler. May 2, 2006

Introduction to Complexity Theory. Bernhard Häupler. May 2, 2006 Introduction to Complexity Theory Bernhard Häupler May 2, 2006 Abstract This paper is a short repetition of the basic topics in complexity theory. It is not intended to be a complete step by step introduction

More information

The optimal pebbling number of the complete m-ary tree

The optimal pebbling number of the complete m-ary tree Discrete Mathematics 222 (2000) 89 00 www.elseier.com/locate/disc The optimal pebbling number of the complete m-ary tree Hung-Lin Fu, Chin-Lin Shiue Department of Applied Mathematics, National Chiao Tung

More information

3130CIT Theory of Computation

3130CIT Theory of Computation GRIFFITH UNIVERSITY School of Computing and Information Technology 3130CIT Theory of Computation Final Examination, Semester 2, 2006 Details Total marks: 120 (40% of the total marks for this subject) Perusal:

More information

Long Monochromatic Cycles in Edge-Colored Complete Graphs

Long Monochromatic Cycles in Edge-Colored Complete Graphs Long Monochromatic Cycles in Edge-Colored Complete Graphs Linda Lesniak lindalesniak@gmail.com Drew Uniersity and Western Michigan Uniersity May 2012 L. Lesniak (Drew, WMU) Long Monochromatic Cycles May

More information

Computational Models: Class 3

Computational Models: Class 3 Computational Models: Class 3 Benny Chor School of Computer Science Tel Aviv University November 2, 2015 Based on slides by Maurice Herlihy, Brown University, and modifications by Iftach Haitner and Yishay

More information

Parikh s theorem. Håkan Lindqvist

Parikh s theorem. Håkan Lindqvist Parikh s theorem Håkan Lindqvist Abstract This chapter will discuss Parikh s theorem and provide a proof for it. The proof is done by induction over a set of derivation trees, and using the Parikh mappings

More information

Lecture 6: Graphical Models

Lecture 6: Graphical Models Lecture 6: Graphical Models Kai-Wei Chang CS @ Uniersity of Virginia kw@kwchang.net Some slides are adapted from Viek Skirmar s course on Structured Prediction 1 So far We discussed sequence labeling tasks:

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms Design and Analysis of Algorithms CSE 5311 Lecture 25 NP Completeness Junzhou Huang, Ph.D. Department of Computer Science and Engineering CSE5311 Design and Analysis of Algorithms 1 NP-Completeness Some

More information

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan August 30, Notes for Lecture 1

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan August 30, Notes for Lecture 1 U.C. Berkeley CS278: Computational Complexity Handout N1 Professor Luca Trevisan August 30, 2004 Notes for Lecture 1 This course assumes CS170, or equivalent, as a prerequisite. We will assume that the

More information

Geometric Steiner Trees

Geometric Steiner Trees Geometric Steiner Trees From the book: Optimal Interconnection Trees in the Plane By Marcus Brazil and Martin Zachariasen Part 3: Computational Complexity and the Steiner Tree Problem Marcus Brazil 2015

More information

A MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ

A MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ A MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ NICOLAS FORD Abstract. The goal of this paper is to present a proof of the Nullstellensatz using tools from a branch of logic called model theory. In

More information

arxiv: v1 [math.co] 13 May 2016

arxiv: v1 [math.co] 13 May 2016 GENERALISED RAMSEY NUMBERS FOR TWO SETS OF CYCLES MIKAEL HANSSON arxiv:1605.04301v1 [math.co] 13 May 2016 Abstract. We determine several generalised Ramsey numbers for two sets Γ 1 and Γ 2 of cycles, in

More information

The Evolution of Grötzsch s Theorem

The Evolution of Grötzsch s Theorem The Eolution of Grötzsch s Theorem Lauren DeDieu September 26, 2011 A thesis submitted in partial fulfillment of the requirements for MATH 490, in the department of Mathematics, Physics and Geology, Cape

More information

arxiv: v1 [cs.ds] 2 Oct 2018

arxiv: v1 [cs.ds] 2 Oct 2018 Contracting to a Longest Path in H-Free Graphs Walter Kern 1 and Daniël Paulusma 2 1 Department of Applied Mathematics, University of Twente, The Netherlands w.kern@twente.nl 2 Department of Computer Science,

More information

arxiv: v1 [math.co] 25 Apr 2016

arxiv: v1 [math.co] 25 Apr 2016 On the zone complexity of a ertex Shira Zerbib arxi:604.07268 [math.co] 25 Apr 206 April 26, 206 Abstract Let L be a set of n lines in the real projectie plane in general position. We show that there exists

More information

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization Department of Computer Science Series of Publications C Report C-2004-2 The Complexity of Maximum Matroid-Greedoid Intersection and Weighted Greedoid Maximization Taneli Mielikäinen Esko Ukkonen University

More information

Linear Temporal Logic and Büchi Automata

Linear Temporal Logic and Büchi Automata Linear Temporal Logic and Büchi Automata Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 Yih-Kuen Tsay (SVVRL @ IM.NTU) Linear Temporal Logic and Büchi Automata

More information

Berge Trigraphs. Maria Chudnovsky 1 Princeton University, Princeton NJ March 15, 2004; revised December 2, Research Fellow.

Berge Trigraphs. Maria Chudnovsky 1 Princeton University, Princeton NJ March 15, 2004; revised December 2, Research Fellow. Berge Trigraphs Maria Chudnovsky 1 Princeton University, Princeton NJ 08544 March 15, 2004; revised December 2, 2005 1 This research was partially conducted during the period the author served as a Clay

More information

Tree-width and planar minors

Tree-width and planar minors Tree-width and planar minors Alexander Leaf and Paul Seymour 1 Princeton University, Princeton, NJ 08544 May 22, 2012; revised March 18, 2014 1 Supported by ONR grant N00014-10-1-0680 and NSF grant DMS-0901075.

More information

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch]

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch] NP-Completeness Andreas Klappenecker [based on slides by Prof. Welch] 1 Prelude: Informal Discussion (Incidentally, we will never get very formal in this course) 2 Polynomial Time Algorithms Most of the

More information

CPSC 421: Tutorial #1

CPSC 421: Tutorial #1 CPSC 421: Tutorial #1 October 14, 2016 Set Theory. 1. Let A be an arbitrary set, and let B = {x A : x / x}. That is, B contains all sets in A that do not contain themselves: For all y, ( ) y B if and only

More information

arxiv: v1 [math.gt] 2 Nov 2010

arxiv: v1 [math.gt] 2 Nov 2010 CONSTRUCTING UNIVERSAL ABELIAN COVERS OF GRAPH MANIFOLDS HELGE MØLLER PEDERSEN arxi:101105551 [mathgt] 2 No 2010 Abstract To a rational homology sphere graph manifold one can associate a weighted tree

More information

Section 14.1 Computability then else

Section 14.1 Computability then else Section 14.1 Computability Some problems cannot be solved by any machine/algorithm. To prove such statements we need to effectively describe all possible algorithms. Example (Turing machines). Associate

More information

The efficiency of identifying timed automata and the power of clocks

The efficiency of identifying timed automata and the power of clocks The efficiency of identifying timed automata and the power of clocks Sicco Verwer a,b,1,, Mathijs de Weerdt b, Cees Witteveen b a Eindhoven University of Technology, Department of Mathematics and Computer

More information

CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal?

CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal? CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal? The conjecture that P is different from NP made its way on to several lists of the most important unsolved problems in Mathematics (never

More information

Perfect matchings in highly cyclically connected regular graphs

Perfect matchings in highly cyclically connected regular graphs Perfect matchings in highly cyclically connected regular graphs arxiv:1709.08891v1 [math.co] 6 Sep 017 Robert Lukot ka Comenius University, Bratislava lukotka@dcs.fmph.uniba.sk Edita Rollová University

More information

Theory of Computation

Theory of Computation Thomas Zeugmann Hokkaido University Laboratory for Algorithmics http://www-alg.ist.hokudai.ac.jp/ thomas/toc/ Lecture 14: Applications of PCP Goal of this Lecture Our goal is to present some typical undecidability

More information

Finish K-Complexity, Start Time Complexity

Finish K-Complexity, Start Time Complexity 6.045 Finish K-Complexity, Start Time Complexity 1 Kolmogorov Complexity Definition: The shortest description of x, denoted as d(x), is the lexicographically shortest string such that M(w) halts

More information

Lecture J. 10 Counting subgraphs Kirchhoff s Matrix-Tree Theorem.

Lecture J. 10 Counting subgraphs Kirchhoff s Matrix-Tree Theorem. Lecture J jacques@ucsd.edu Notation: Let [n] [n] := [n] 2. A weighted digraph is a function W : [n] 2 R. An arborescence is, loosely speaking, a digraph which consists in orienting eery edge of a rooted

More information

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions Summary of the previous lecture Recall that we mentioned the following topics: P: is the set of decision problems (or languages) that are solvable in polynomial time. NP: is the set of decision problems

More information

Tuples of Disjoint NP-Sets

Tuples of Disjoint NP-Sets Tuples of Disjoint NP-Sets (Extended Abstract) Olaf Beyersdorff Institut für Informatik, Humboldt-Universität zu Berlin, 10099 Berlin, Germany beyersdo@informatik.hu-berlin.de Abstract. Disjoint NP-pairs

More information

Computational Models - Lecture 3

Computational Models - Lecture 3 Slides modified by Benny Chor, based on original slides by Maurice Herlihy, Brown University. p. 1 Computational Models - Lecture 3 Equivalence of regular expressions and regular languages (lukewarm leftover

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 1. Büchi Automata and S1S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong Büchi Automata & S1S 14-19 June

More information

Chords in Graphs. Department of Mathematics Texas State University-San Marcos San Marcos, TX Haidong Wu

Chords in Graphs. Department of Mathematics Texas State University-San Marcos San Marcos, TX Haidong Wu AUSTRALASIAN JOURNAL OF COMBINATORICS Volme 32 (2005), Pages 117 124 Chords in Graphs Weizhen G Xingde Jia Department of Mathematics Texas State Uniersity-San Marcos San Marcos, TX 78666 Haidong W Department

More information

CS 275 Automata and Formal Language Theory

CS 275 Automata and Formal Language Theory CS 275 Automata and Formal Language Theory Course Notes Part II: The Recognition Problem (II) Chapter II.4.: Properties of Regular Languages (13) Anton Setzer (Based on a book draft by J. V. Tucker and

More information

On the intersection of infinite matroids

On the intersection of infinite matroids On the intersection of infinite matroids Elad Aigner-Horev Johannes Carmesin Jan-Oliver Fröhlich University of Hamburg 9 July 2012 Abstract We show that the infinite matroid intersection conjecture of

More information

Non-emptiness Testing for TMs

Non-emptiness Testing for TMs 180 5. Reducibility The proof of unsolvability of the halting problem is an example of a reduction: a way of converting problem A to problem B in such a way that a solution to problem B can be used to

More information

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65 Undecidable Problems Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, 2018 1/ 65 Algorithmically Solvable Problems Let us assume we have a problem P. If there is an algorithm solving

More information

Balanced Partitions of Vector Sequences

Balanced Partitions of Vector Sequences Balanced Partitions of Vector Sequences Imre Bárány Benjamin Doerr December 20, 2004 Abstract Let d,r N and be any norm on R d. Let B denote the unit ball with respect to this norm. We show that any sequence

More information

COL 352 Introduction to Automata and Theory of Computation Major Exam, Sem II , Max 80, Time 2 hr. Name Entry No. Group

COL 352 Introduction to Automata and Theory of Computation Major Exam, Sem II , Max 80, Time 2 hr. Name Entry No. Group COL 352 Introduction to Automata and Theory of Computation Major Exam, Sem II 2015-16, Max 80, Time 2 hr Name Entry No. Group Note (i) Write your answers neatly and precisely in the space provided with

More information

VC-DENSITY FOR TREES

VC-DENSITY FOR TREES VC-DENSITY FOR TREES ANTON BOBKOV Abstract. We show that for the theory of infinite trees we have vc(n) = n for all n. VC density was introduced in [1] by Aschenbrenner, Dolich, Haskell, MacPherson, and

More information

arxiv: v2 [math.co] 19 Jun 2018

arxiv: v2 [math.co] 19 Jun 2018 arxiv:1705.06268v2 [math.co] 19 Jun 2018 On the Nonexistence of Some Generalized Folkman Numbers Xiaodong Xu Guangxi Academy of Sciences Nanning 530007, P.R. China xxdmaths@sina.com Meilian Liang School

More information

ECS 120 Lesson 20 The Post Correspondence Problem

ECS 120 Lesson 20 The Post Correspondence Problem ECS 120 Lesson 20 The Post Correspondence Problem Oliver Kreylos Wednesday, May 16th, 2001 Today we will continue yesterday s discussion of reduction techniques by looking at another common strategy, reduction

More information

Primitive recursive functions: decidability problems

Primitive recursive functions: decidability problems Primitive recursive functions: decidability problems Armando B. Matos October 24, 2014 Abstract Although every primitive recursive (PR) function is total, many problems related to PR functions are undecidable.

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms Announcements Problem Set 9 due right now. Final exam this Monday, Hewlett 200 from 12:15PM- 3:15PM Please let us know immediately after lecture if you want to take the final at

More information

An algorithm to increase the node-connectivity of a digraph by one

An algorithm to increase the node-connectivity of a digraph by one Discrete Optimization 5 (2008) 677 684 Contents lists available at ScienceDirect Discrete Optimization journal homepage: www.elsevier.com/locate/disopt An algorithm to increase the node-connectivity of

More information

CS6901: review of Theory of Computation and Algorithms

CS6901: review of Theory of Computation and Algorithms CS6901: review of Theory of Computation and Algorithms Any mechanically (automatically) discretely computation of problem solving contains at least three components: - problem description - computational

More information

Automata Theory. Lecture on Discussion Course of CS120. Runzhe SJTU ACM CLASS

Automata Theory. Lecture on Discussion Course of CS120. Runzhe SJTU ACM CLASS Automata Theory Lecture on Discussion Course of CS2 This Lecture is about Mathematical Models of Computation. Why Should I Care? - Ways of thinking. - Theory can drive practice. - Don t be an Instrumentalist.

More information

Informal Statement Calculus

Informal Statement Calculus FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example

More information

Undecidability COMS Ashley Montanaro 4 April Department of Computer Science, University of Bristol Bristol, UK

Undecidability COMS Ashley Montanaro 4 April Department of Computer Science, University of Bristol Bristol, UK COMS11700 Undecidability Department of Computer Science, University of Bristol Bristol, UK 4 April 2014 COMS11700: Undecidability Slide 1/29 Decidability We are particularly interested in Turing machines

More information

15.1 Proof of the Cook-Levin Theorem: SAT is NP-complete

15.1 Proof of the Cook-Levin Theorem: SAT is NP-complete CS125 Lecture 15 Fall 2016 15.1 Proof of the Cook-Levin Theorem: SAT is NP-complete Already know SAT NP, so only need to show SAT is NP-hard. Let L be any language in NP. Let M be a NTM that decides L

More information

Lecture 8: Construction of Expanders

Lecture 8: Construction of Expanders Spectral Graph Theory and Applications WS 0/0 Lecture 8: Construction of Expanders Lecturer: Thomas Sauerwald & He Sun In this lecture we study the explicit constructions of expander graphs. Although we

More information

CS3719 Theory of Computation and Algorithms

CS3719 Theory of Computation and Algorithms CS3719 Theory of Computation and Algorithms Any mechanically (automatically) discretely computation of problem solving contains at least three components: - problem description - computational tool - analysis

More information

20.1 2SAT. CS125 Lecture 20 Fall 2016

20.1 2SAT. CS125 Lecture 20 Fall 2016 CS125 Lecture 20 Fall 2016 20.1 2SAT We show yet another possible way to solve the 2SAT problem. Recall that the input to 2SAT is a logical expression that is the conunction (AND) of a set of clauses,

More information

Finding Paths in Grids with Forbidden Transitions

Finding Paths in Grids with Forbidden Transitions Finding Paths in Grids with Forbidden Transitions M. M. Kanté 1, F. Z. Moataz 2,3, B. Momège 2,3, and N. Nisse 3,2 1 Uni. Blaise Pascal, LIMOS, CNRS, Clermont-Ferrand, France 2 Uni. Nice Sophia Antipolis,

More information

Patterns of Non-Simple Continued Fractions

Patterns of Non-Simple Continued Fractions Patterns of Non-Simple Continued Fractions Jesse Schmieg A final report written for the Uniersity of Minnesota Undergraduate Research Opportunities Program Adisor: Professor John Greene March 01 Contents

More information

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Stavros Tripakis Abstract We introduce problems of decentralized control with communication, where we explicitly

More information

Math 144 Activity #9 Introduction to Vectors

Math 144 Activity #9 Introduction to Vectors 144 p 1 Math 144 ctiity #9 Introduction to Vectors Often times you hear people use the words speed and elocity. Is there a difference between the two? If so, what is the difference? Discuss this with your

More information

Graph coloring, perfect graphs

Graph coloring, perfect graphs Lecture 5 (05.04.2013) Graph coloring, perfect graphs Scribe: Tomasz Kociumaka Lecturer: Marcin Pilipczuk 1 Introduction to graph coloring Definition 1. Let G be a simple undirected graph and k a positive

More information

Space and Nondeterminism

Space and Nondeterminism CS 221 Computational Complexity, Lecture 5 Feb 6, 2018 Space and Nondeterminism Instructor: Madhu Sudan 1 Scribe: Yong Wook Kwon Topic Overview Today we ll talk about space and non-determinism. For some

More information