Outline. Complexity Theory. Introduction. What is abduction? Motivation. Reference VU , SS Logic-Based Abduction

Size: px
Start display at page:

Download "Outline. Complexity Theory. Introduction. What is abduction? Motivation. Reference VU , SS Logic-Based Abduction"

Transcription

1 Complexity Theory Complexity Theory Outline Complexity Theory VU , SS Logic-Based Abduction Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 7. Logic-Based Abduction 7.1 Basic Definitions 7.2 Basic Complexity Results 7.3 Subset Minimality 7.4 Minimum Cardinality 7.5 Further Restrictions on the Solutions 5 June, 2018 Reinhard Pichler 5 June, 2018 Page 1 Reinhard Pichler 5 June, 2018 Page 2 Introduction What is abduction? Motivation Abduction is an important method in non-monotonic reasoning. It is mainly used in diagnosis, e.g., faulty systems, medicine It aims at explaining observed symptoms, e.g., malfunctions. Reference This part of the lecture is based on Thomas Eiter and Georg Gottlob. The Complexity of Logic-Based Abduction. Journal of the ACM, 42(1):3-42 (1995). Consider the following football knowledge base. weak defence weak attack match lost, match lost manager sad press angry, star injured manager sad press sad Suppose that we observe that the manager is sad. What are the possible explanations in terms of weak defence, weak attack, and star injured? S 1 = {star injured} S 2 = {weak defence, weak attack} S 3 = {weak attack, star injured} S 4 = {weak defence, star injured} S 5 = {weak defence, weak attack, star injured} Reinhard Pichler 5 June, 2018 Page 3 Reinhard Pichler 5 June, 2018 Page 4

2 Formal definition of abduction Abduction in Diagnosis A propositional abduction problem (PAP) is a quadruple P = V, H, M, T consisting of a finite set of propositional variables V, a theory T, which is a consistent finite set of propositional logical formulae over the variables V, a set of hypotheses H V, and a set of manifestations M V. A set S satisfying S H is a solution iff T S is consistent (i.e., satisfiable) and T S = M holds. We denote the set of all solutions of a problem P by Sol(P). A diagnosis problem can be represented by a propositional abduction problem P = V, H, M, T as follows: The theory T is the system description. The hypotheses H V describe the possibly faulty system components. The manifestations M V are the observed symptoms (describing the malfunction of the system). The solutions S Sol(P) are the possible explanations of the malfunction. Reinhard Pichler 5 June, 2018 Page 5 Reinhard Pichler 5 June, 2018 Page 6 Formal version of the football example The main decision problems V = {weak defence, weak attack, match lost, manager sad, press angry, star injured, press sad} T = {weak defence weak attack match lost, match lost manager sad press angry, star injured manager sad press sad} M = {manager sad} H = {weak defence, weak attack, star injured} Given a PAP P we ask: Solvability. Sol(P), i.e., does there exist a solution for P? Given a PAP P and a hypothesis h H, we ask: Relevance: Is h contained in at least one solution of P? Necessity: Is h contained in all solutions of P? Remark. If h is not necessary then we also say that h is dispensable. Reinhard Pichler 5 June, 2018 Page 7 Reinhard Pichler 5 June, 2018 Page 8

3 Not all solutions are of the same interest Recall the solutions of our football example: Sol(P) = {{star injured}, {weak defence, weak attack}, {weak attack, star injured}, {weak defence, star injured} {weak defence, weak attack, star injured}} H = {weak defence, weak attack, star injured} Obviously, the set of solutions is non-empty. All three hypotheses of H are relevant. No hypothesis in H is necessary (i.e., they are all dispensable). Given two solutions, usually the simpler explanation is preferable. We define simple in one of the following ways: subset minimality ( ): We only accept solutions S, s.t. no proper subset S S is a solution. minimum cardinality ( ): We only accept solutions S, s.t. there does not exist a solution S with fewer elements, i.e., S < S. Further preorders to eliminate undesired solutions: priorities or minimum weight (also referred to as penalties). Reinhard Pichler 5 June, 2018 Page 9 Reinhard Pichler 5 June, 2018 Page 10 Complexity Theory 7. Logic-Based Abduction 7.2. Basic Complexity Results Recall the solutions of our football example: Sol(P) = {{star injured}, {weak defence, weak attack}, {weak attack, star injured}, {weak defence, star injured} {weak defence, weak attack, star injured}} Subset minimal solutions. Sol (P) = {{star injured}, {weak defence, weak attack}} Cardinality minimal solution. Sol (P) = {{star injured}} Hence, weak defence and weak attack are no longer relevant. Lemma Deciding if S H fullfills S Sol(P) is in 2 P (actually, even in DP). Proof. By the definition, we have to check if T S is consistent (i.e., satisfiable) and T S = M holds. We can check if T S is satisfiable with an NP oracle. The second problem is clearly in co-np, which can be checked by yet another call to an NP oracle. In order to see the co-np-membership, we consider the co-problem T S = M. Clearly, this problem can be decided by the following NP-algorithm: guess a truth assignment I and check that T S is true in I while M is false in I. Reinhard Pichler 5 June, 2018 Page 11 Reinhard Pichler 5 June, 2018 Page 12

4 Complexity Theory 7. Logic-Based Abduction 7.2. Basic Complexity Results Complexity Theory 7. Logic-Based Abduction 7.2. Basic Complexity Results Proof (continued) The Solvability problem is Σ 2 P-complete. Proof. Σ 2 P-Membership. Guess a set S H and check with two calls to an NP oracle that T S is satisfiable and T S = M holds. Σ 2 P-Hardness. Proof by reduction from the QSAT 2 problem. Let an arbitrary instance of the QSAT 2 problem be given by the formula ϕ = ( X )( Y )ψ(x, Y ) with X = {x 1,..., x k } and Y = {y 1,..., y l }. Let X = {x 1,..., x k }, R = {r 1,..., r k }, and t be fresh variables. Then we define an instance of Solvability as P = V, H, M, T with V = X Y X R {t} H = X X M = R {t} T = {ψ(x, Y ) t} { x i x i, x i r i, x i r i 1 i k} Obviously, this reduction is feasible in logarithmic space. The effect of the clauses { x i x i, x i r i, x i r i } in T is that, for every i {1,..., k}, every solution of P contains exactly one of {x i, x i }. The correctness proof of the reduction is based on the following observation: For A X, let A denote the set {x x A}. Then every subset A X fulfills the following equivalence: For the assignment I on X with I 1 (true) = A, every extension J of I to the variables Y satisfies the formula ψ(x, Y ) A (X \ A) is a solution of P. Exercise. Give a full proof of the correctness of the reduction. Reinhard Pichler 5 June, 2018 Page 13 Reinhard Pichler 5 June, 2018 Page 14 Complexity Theory 7. Logic-Based Abduction 7.2. Basic Complexity Results Complexity Theory 7. Logic-Based Abduction 7.2. Basic Complexity Results The Relevance problem is Σ 2 P-complete. The Necessity problem is Π 2 P-complete. Proof of Membership. Relevance. Guess a set S H with h S and check with two calls to an NP oracle that T S is satisfiable and T S = M holds. Necessity. We show the Σ 2 P-membership of the co-problem (i.e., the dispensability): Guess a set S H with h S and check with two calls to an NP oracle that T S is satisfiable and T S = M holds. Proof of Hardness By reduction from the Solvability problem: Let an arbitrary instance of the Solvability problem be given by the PAP P = V, H, M, T. W.l.o.g., let T consist of a single formula ϕ and let h, h, m be fresh variables. Then we define an instance of the Relevance (resp. the Necessity) problem with the following PAP P = V, H, M, T : V = V {h, h, m } H = H {h, h } M = M {m } T = { h ϕ} {h m m M} { h h, h m, h m } Obviously, this reduction is feasible in logarithmic space and the new theory T is consistent. We claim that the PAP P has at least one solution iff h is relevant in P iff h is not necessary in P. Reinhard Pichler 5 June, 2018 Page 15 Reinhard Pichler 5 June, 2018 Page 16

5 Complexity Theory 7. Logic-Based Abduction 7.2. Basic Complexity Results Proof of Hardness (continued) Proof idea for the correctness of this reduction. The clauses { h h, h m, h m } in T have the effect that every solution of P contains exactly one of {h, h }. The solutions of P extended by h are clearly solutions of P. The effect of the disjunct h in the clause h ϕ is that any subset A H is consistent with T (simply set h to false). Thus, Sol(P ) = {{h} S S Sol(P)} {{h } A A H} holds. We conclude that h is relevant for P iff Sol(P) holds and h is dispensable (i.e., not necessary) for P iff Sol(P) holds. Complexity Theory 7. Logic-Based Abduction 7.3. Subset Minimality Subset Minimality Motivation The subset minimality criterion removes redundancy. Does there exist a subset minimal solution? If a PAP has a solution then it also has a (subset) minimal solution. Sol(P) Sol (P) So we are only interested in - Relevance (resp. -Necessity), i.e.: Is a given hypothesis contained in some (resp. all) subset minimal solutions? Exercise. Give a full proof of the correctness of the reduction. Reinhard Pichler 5 June, 2018 Page 17 Reinhard Pichler 5 June, 2018 Page 18 Complexity Theory 7. Logic-Based Abduction 7.3. Subset Minimality Checking subset minimality Complexity Theory 7. Logic-Based Abduction 7.3. Subset Minimality Complexity Results Lemma Let P = V, H, M, T be a PAP. For every S H, the following equivalence holds: S Sol (P) S Sol(P) and for all h S, (S \ {h}) Sol(P) Proof : Sol (P) = {S Sol(P) for all S S, S Sol(P)}. Hence, any subset minimal solution S satisfies S \ {h} Sol(P) for all h S. : Let S Sol(P) and S Sol (P). Hence, there exists S S with S Sol(P). But then there exists h S with S S \ {h} S. We claim that then also S \ {h} is a solution of P: T S is consistent. Hence also T (S \ {h}) is consistent. T S = M. Hence, by the monotonicity of =, also T (S \ {h}) = M. The -Relevance problem is Σ 2 P-complete. The -Necessity problem is Π 2 P-complete. Proof of Membership. -Relevance. Guess a set S H with h S and check with two calls to an NP oracle that T S is satisfiable and T S = M holds. Finally, check that S is a minimal solution. By the previous lemma, we thus need polynomially many further calls to an NP oracle to check that T (S \ {h }) = M holds for every h S. Reinhard Pichler 5 June, 2018 Page 19 Reinhard Pichler 5 June, 2018 Page 20

6 Complexity Theory 7. Logic-Based Abduction 7.3. Subset Minimality Complexity Theory 7. Logic-Based Abduction 7.3. Subset Minimality Proof of Membership (continued). -Necessity. We show the Σ 2 P-membership of the co-problem: Guess a set S H with h S and check with two calls to an NP oracle that T S is satisfiable and T S = M holds. From this we may conclude that h is not necessary. Clearly, there exists some S S, s.t. S is a minimal solution. Moreover, since h S, also h S holds. Proof of Hardness By reduction from the Solvability problem: Let an arbitrary instance of the Solvability problem be given by the PAP P = V, H, M, T with H = {h 1,..., h l }. W.l.o.g., let T consist of a single formula ϕ and let {h 0, h 0, h 1,..., h l, m 0, m 1,..., m l } be fresh variables. Then we define an instance of the -Relevance (resp. the -Necessity) problem with the following PAP P = V, H, M, T : V = V {h 0, h 0, h 1,..., h l, m 0, m 1,..., m l} H = H {h 0, h 0, h 1,..., h l} M = M {m 0, m 1,..., m l} T = { h 0 ϕ} {h 0 m m M} { h i h i, h i m i, h i m i 0 i l} Obviously, this reduction is feasible in logarithmic space and the new theory T is consistent. We claim that the PAP P has at least one solution iff h 0 is -relevant in P iff h 0 is not -necessary in P. Reinhard Pichler 5 June, 2018 Page 21 Reinhard Pichler 5 June, 2018 Page 22 Complexity Theory 7. Logic-Based Abduction 7.3. Subset Minimality Proof of Hardness (continued) Proof idea for the correctness of this reduction. The hypotheses h 0, h 0 play exactly the role of h, h in the hardness proof of Relevance and Necessity (without -minimality). For every i {0,..., l}, the clauses { h i h i, h i m i, h i m i } in T have the effect that every solution of P contains exactly one of {h i, h i }. In other words, every solution of P is -minimal. For every A H, we write A to denote {h h A}. In summary, we thus have: Sol (P ) = Sol(P ) = {{h 0 } S (H \ S) S Sol(P)} {{h 0 } A (H \ A) A H}. We conclude that h 0 is -relevant for P iff Sol(P) holds and h 0 is -necessary for P iff Sol(P) = holds. Complexity Theory 7. Logic-Based Abduction 7.4. Minimum Cardinality Minimum cardinality Motivation The subset minimal solutions may have different cardinalities. If the failure of any component in a system is independent of the failure of the other components, then explanations with minimum cardinality are the ones with highest probability. Moreover, the cost of repair is normally lower if fewer components have to be exchanged. Hence, explanations with minimum cardinality are preferable. Does there exist a solution with minimum cardinality? If a PAP has a solution then it also has a solution with minimum cardinality, i.e.: Sol(P) Sol (P). So we are only interested in - Relevance (resp. -Necessity), i.e.: Is a given hypothesis in some (resp. all) solutions with minimum cardinality? Reinhard Pichler 5 June, 2018 Page 23 Reinhard Pichler 5 June, 2018 Page 24

7 Complexity Theory 7. Logic-Based Abduction 7.4. Minimum Cardinality Complexity Results Complexity Theory 7. Logic-Based Abduction 7.4. Minimum Cardinality Preparation of the hardness proof Both, the -Relevance problem and the -Necessity problem are 3 P[log n]-complete. Proof of Membership. Let an instance of -Relevance (resp. -Necessity) be given by a PAP P and a hypothesis h. Determine the minimum cardinality K of the solutions of the PAP P. This can be done by log m (with m = H ) calls to a Σ 2 P-oracle asking questions of the sort Does P have a solution of size k? We need one more call to a Σ 2 P-oracle asking if there exists a solution S of size K, s.t. h S (resp. h S). Recall that the following problem is 2 P[log n]-complete. CARD-MINIMAL MODEL SAT INSTANCE: Boolean formula ϕ and an atom z. QUESTION: Is z true in a cardinality-minimal model of ϕ? This problem can be generalized to an arbitrary level of the polynomial hierarchy. For every i 1, it can be shown that the following problem is i+1 P[log n]-complete. CARD-MINIMAL MODEL QSAT i INSTANCE: Quantified Boolean formula ϕ(x ) = Y 1 Y 2 QY i 1 ψ(x, Y 1,..., Y i 1 ) and an atom z X. QUESTION: Is z true in a cardinality-minimal model of ϕ(x )? Reinhard Pichler 5 June, 2018 Page 25 Reinhard Pichler 5 June, 2018 Page 26 Complexity Theory 7. Logic-Based Abduction 7.4. Minimum Cardinality Complexity Theory 7. Logic-Based Abduction 7.4. Minimum Cardinality Proof of Hardness. Let an arbitrary instance of the CARD-MINIMAL MODEL QSAT 2 problem be given by the formula ϕ(x ) = ( Y )ψ(x, Y ) with X = {x 1,..., x k } and Y = {y 1,..., y l } and let x j X denote the distinguished atom. Let X = {x 1,..., x k }, X = {x 1,..., x k }, Q = {q 1,..., q k }, R = {r 1,..., r k }, and t be fresh variables. Then we define an instance of -Relevance (resp. co- -Necessity) via the following PAP P = V, H, M, T and the hypothesis x j (resp. x j ): V = X X X Q R Y {t} H = X X X M = Q R {t} T = {ψ(x, Y ) t} { x i x i, x i q i, x i q i 1 i k} { x i x i, x i r i, x i r i 1 i k}. Obviously, this reduction is feasible in logarithmic space. Proof of Hardness (continued). For every i {1,..., k}, the clauses x i x i, x i q i, x i q i in T make sure that every solution S of P contains exactly one of {x i, x i }. Likewise, the clauses x i x i, x i r i, x i r i in T make sure that every solution S of P contains exactly one of {x i, x i }. For A X, let A denote the set {x x A} and let A denote the set {x x X }. For every subset A X, the following equivalences hold: The assignment I on X with I 1 (true) = A is a model of ϕ(x ) A (X \ A) A is a solution of P. Moreover, I with I 1 (true) = A is a cardinality-minimal model of ϕ(x ) A (X \ A) A is a cardinality-minimal solution of P. Thus, x j is contained in some cardinality-minimal model of ϕ(x ) x j is -relevant for P x j is not -necessary for P. Reinhard Pichler 5 June, 2018 Page 27 Reinhard Pichler 5 June, 2018 Page 28

8 Prioritization Motivation The set of hypotheses is partitioned into groups of different priorities which may possibly express a kind of probability when no numerical values are available and which may be used to refine other minimality criteria (, ) Definition Prioritization on. Let H be the set of hypotheses and P = P 1,..., P k such that P 1 P k = H and P i P j = for all i j. We define the relation P as follows: A P B A = B or there exists i {1,..., k} such that: A P j = B P j for 1 j < i and A P i B P i Prioritization Example (the football example revisited) V = {weak defence, weak attack, match lost, manager sad, press angry, star injured, press sad} T = {... } M = {manager sad} H = {weak defence, weak attack, star injured} with prioritization: P = {weak defence, weak attack}, {star injured} {weak defence, star injured} P {weak defence, weak attack} {weak defence, star injured} P {weak attack} {star injured} P {weak defence} {weak defence} P {weak attack} Reinhard Pichler 5 June, 2018 Page 29 Reinhard Pichler 5 June, 2018 Page 30 Complexity Results The P -Relevance problem is Σ 3 P-complete. The P -Necessity problem is Π 3 P-complete. These hardness results already hold for 2 priorities. Proof of Membership. P -Relevance. Guess a set S H with h S and check with a call to a 2 P oracle that S is a solution. Moreover, we check by a call to a Σ 2 P oracle that there exists no solution S S with S P S. P -Necessity. We show the Σ 3 P-membership of the co-problem: Guess a set S H with h S and check with a call to a 2 P oracle that S is a solution. Moreover, we check by a call to a Σ 2 P oracle that there exists no solution S S with S P S. Intuition of the Hardness Recall that subset minimality makes things only polynomially harder. This is due to the following equivalence: S is a -minimal solution of the PAP P if and only if S is a solution of P and, for every h S, S \ {h} is not a solution. P Suppose that H is partitioned into 2 priority levels P = P 1, P 2. Then the following effect may occur. Suppose that S is a solution of the PAP and that, for every h S, S \ {h} is not a solution. Nevertheless, it might well happen that, for some h S P 1 and some X P 2, the set S = (S \ {h}) X is a solution. In this case, S P S clearly holds. Checking if such a set S (and, in particular, if such a set X ) exists comes down to yet another non-deterministic guess. Reinhard Pichler 5 June, 2018 Page 31 Reinhard Pichler 5 June, 2018 Page 32

9 Further preorders on the solutions Definition Weight-minimality (Penalization). Let a PAP P = V, H, M, T be given with a weight function w on the hypotheses. For two subsets A H and B H, we write A w B if h A w(h) h B w(h) holds. Definition Prioritization on. Let H be the set of hypotheses and P = P 1,..., P k such that P 1 P k = H and P i P j =, i j. We define the relation P as follows: A P B A = B or there exists i {1,..., k} such that: A P j = B P j for 1 j < i and A P i < B P i Complexity Results All of the following four problems are 3 P-complete: w -Relevance, w -Necessity, P -Relevance, P -Necessity. Proof idea. The hardness in case of w can be proved by reduction from a quantified version of WEIGHT-MINIMAL MODEL SAT, analogously to the proof for. Similarly, the hardness in case of P is shown by reduction from a quantified version of LEX-MINIMAL MODEL SAT. Below, we only sketch the proof idea of the membership. w -Relevance and w -Necessity. First determine the minimum weight W of the solutions of P. This can be done by a binary search asking questions like Does P have a solution of weight w? For this task, we need logarithmically many calls (w.r.t. the total weight) to a Σ 2 P-oracle. These are polynomially many calls w.r.t. the representation of the weights of the elements in H. Reinhard Pichler 5 June, 2018 Page 33 Reinhard Pichler 5 June, 2018 Page 34 Proof idea (continued) P -Relevance and P -Necessity. Suppose that P has l priorities and that each P i contains n i hypotheses. Moreover, let H = l i=1 n i = n. Then we have to determine the lexicographically minimal vector (K 1,..., K l ), s.t. there exists a solution S with S P i = K i for each i. This can be done in l stages. In the i-th stage, we determine K i by log n i calls to a Σ 2 P-oracle, asking questions like Does P have a solution S, s.t. S P j = K j for all j < i and S P i k? We thus need O(l log n) Σ 2 P-oracle calls, i.e., polynomially many. Remark. If the number of priorities is bounded by a constant, then logarithmically many Σ 2 P-oracle calls suffice. Summary Table: Complexity results presented in the lecture = P w P Solvability Σ 2 P Relevance Σ 2 P Σ 2 P Σ 3 P 3 P[log n] 3 P 3 P Necessity Π 2 P Π 2 P Π 3 P 3 P[log n] 3 P 3 P Reinhard Pichler 5 June, 2018 Page 35 Reinhard Pichler 5 June, 2018 Page 36

10 Summary Learning Objectives Table: Further complexity results in (Eiter/Gottlob, 1995) Relevance = P w P Horn NP NP Σ 2 P 2 P[log n] 2 P 2 P definite Horn P NP NP 2 P[log n] 2 P 2 P Necessity = P w P Horn co-np co-np Π 2 P 2 P[log n] 2 P 2 P definite Horn P co-np co-np 2 P[log n] 2 P 2 P Definition and intuition of logic-based abduction The main decision problems of logic-based abduction: solvability, relevance, necessity. Restricting the set of acceptable solutions:,, P, w, P Intuition why non-monotonic reasoning usually has an additional source of complexity compared with monotonic reasoning. Get practice with complexity results in the polynomical hierarchy. Reinhard Pichler 5 June, 2018 Page 37 Reinhard Pichler 5 June, 2018 Page 38

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

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 5. Complexity of Query Evaluation Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 17 April, 2018 Pichler

More information

Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment?

Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment? Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment? Nadia Creignou Aix-Marseille Université

More information

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

More information

Database Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler

Database Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 7. Ehrenfeucht-Fraïssé Games Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Pichler 15

More information

Resolving Conflicts in Action Descriptions

Resolving Conflicts in Action Descriptions Resolving Conflicts in Action Descriptions Thomas Eiter and Esra Erdem and Michael Fink and Ján Senko 1 Abstract. We study resolving conflicts between an action description and a set of conditions (possibly

More information

A Collection of Problems in Propositional Logic

A Collection of Problems in Propositional Logic A Collection of Problems in Propositional Logic Hans Kleine Büning SS 2016 Problem 1: SAT (respectively SAT) Instance: A propositional formula α (for SAT in CNF). Question: Is α satisfiable? The problems

More information

Outline. Complexity Theory. Example. Sketch of a log-space TM for palindromes. Log-space computations. Example VU , SS 2018

Outline. Complexity Theory. Example. Sketch of a log-space TM for palindromes. Log-space computations. Example VU , SS 2018 Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 3. Logarithmic Space Reinhard Pichler Institute of Logic and Computation DBAI Group TU Wien 3. Logarithmic Space 3.1 Computational

More information

Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs

Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs Mirosław Truszczyński Department of Computer Science, University of Kentucky, Lexington, KY 40506, USA Abstract. We present

More information

R E P O R T. The cf2 Argumentation Semantics Revisited INSTITUT FÜR INFORMATIONSSYSTEME DBAI-TR

R E P O R T. The cf2 Argumentation Semantics Revisited INSTITUT FÜR INFORMATIONSSYSTEME DBAI-TR TECHNICAL R E P O R T INSTITUT FÜR INFORMATIONSSYSTEME ABTEILUNG DATENBANKEN UND ARTIFICIAL INTELLIGENCE The cf2 Argumentation Semantics Revisited DBAI-TR-2012-77 Sarah Alice Gaggl Stefan Woltran Institut

More information

Essential facts about NP-completeness:

Essential facts about NP-completeness: CMPSCI611: NP Completeness Lecture 17 Essential facts about NP-completeness: Any NP-complete problem can be solved by a simple, but exponentially slow algorithm. We don t have polynomial-time solutions

More information

Proving simple set properties...

Proving simple set properties... Proving simple set properties... Part 1: Some examples of proofs over sets Fall 2013 Proving simple set properties... Fall 2013 1 / 17 Introduction Overview: Learning outcomes In this session we will...

More information

arxiv: v1 [cs.lo] 12 Sep 2011

arxiv: v1 [cs.lo] 12 Sep 2011 Under consideration for publication in Theory and Practice of Logic Programming 1 Expressiveness of Communication in Answer Set Programming arxiv:1109.2434v1 [cs.lo] 12 Sep 2011 KIM BAUTERS, STEVEN SCHOCKAERT

More information

Thomas Eiter, Georg Gottlob. Technische Universitat Wien. Paniglgasse 16, 1040 Wien.

Thomas Eiter, Georg Gottlob. Technische Universitat Wien. Paniglgasse 16, 1040 Wien. The Complexity of Logic-Based Abduction Thomas Eiter, Georg Gottlob Christian Doppler Labor fur Expertensyteme Technische Universitat Wien aniglgasse 16, 1040 Wien feiter,gottlobg@vexpert.dbai.tuwien.ac.at

More information

Principles of Knowledge Representation and Reasoning

Principles of Knowledge Representation and Reasoning Principles of Knowledge Representation and Reasoning Complexity Theory Bernhard Nebel, Malte Helmert and Stefan Wölfl Albert-Ludwigs-Universität Freiburg April 29, 2008 Nebel, Helmert, Wölfl (Uni Freiburg)

More information

Complexity Theory. Knowledge Representation and Reasoning. November 2, 2005

Complexity Theory. Knowledge Representation and Reasoning. November 2, 2005 Complexity Theory Knowledge Representation and Reasoning November 2, 2005 (Knowledge Representation and Reasoning) Complexity Theory November 2, 2005 1 / 22 Outline Motivation Reminder: Basic Notions Algorithms

More information

On the Complexity of Enumerating Pseudo-intents

On the Complexity of Enumerating Pseudo-intents On the Complexity of Enumerating Pseudo-intents Felix Distel a, Barış Sertkaya,b a Theoretical Computer Science, TU Dresden Nöthnitzer Str. 46 01187 Dresden, Germany b SAP Research Center Dresden Chemtnitzer

More information

On Solution Correspondences in Answer-Set Programming

On Solution Correspondences in Answer-Set Programming On Solution Correspondences in Answer-Set Programming Thomas Eiter, Hans Tompits, and Stefan Woltran Institut für Informationssysteme, Technische Universität Wien, Favoritenstraße 9 11, A-1040 Vienna,

More information

Complexity of DNF and Isomorphism of Monotone Formulas

Complexity of DNF and Isomorphism of Monotone Formulas Complexity of DNF and Isomorphism of Monotone Formulas Judy Goldsmith 1, Matthias Hagen 2, Martin Mundhenk 2 1 University of Kentucky, Dept. of Computer Science, Lexington, KY 40506 0046, goldsmit@cs.uky.edu

More information

Quantified Boolean Formulas Part 1

Quantified Boolean Formulas Part 1 Quantified Boolean Formulas Part 1 Uwe Egly Knowledge-Based Systems Group Institute of Information Systems Vienna University of Technology Results of the SAT 2009 application benchmarks for leading solvers

More information

Lecture 5: Efficient PAC Learning. 1 Consistent Learning: a Bound on Sample Complexity

Lecture 5: Efficient PAC Learning. 1 Consistent Learning: a Bound on Sample Complexity Universität zu Lübeck Institut für Theoretische Informatik Lecture notes on Knowledge-Based and Learning Systems by Maciej Liśkiewicz Lecture 5: Efficient PAC Learning 1 Consistent Learning: a Bound on

More information

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem.

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem. 1 More on NP In this set of lecture notes, we examine the class NP in more detail. We give a characterization of NP which justifies the guess and verify paradigm, and study the complexity of solving search

More information

LTCS Report. Decidability and Complexity of Threshold Description Logics Induced by Concept Similarity Measures. LTCS-Report 16-07

LTCS Report. Decidability and Complexity of Threshold Description Logics Induced by Concept Similarity Measures. LTCS-Report 16-07 Technische Universität Dresden Institute for Theoretical Computer Science Chair for Automata Theory LTCS Report Decidability and Complexity of Threshold Description Logics Induced by Concept Similarity

More information

Algorithmic Model Theory SS 2016

Algorithmic Model Theory SS 2016 Algorithmic Model Theory SS 2016 Prof. Dr. Erich Grädel and Dr. Wied Pakusa Mathematische Grundlagen der Informatik RWTH Aachen cbnd This work is licensed under: http://creativecommons.org/licenses/by-nc-nd/3.0/de/

More information

Shamir s Theorem. Johannes Mittmann. Technische Universität München (TUM)

Shamir s Theorem. Johannes Mittmann. Technische Universität München (TUM) IP = PSPACE Shamir s Theorem Johannes Mittmann Technische Universität München (TUM) 4 th Joint Advanced Student School (JASS) St. Petersburg, April 2 12, 2006 Course 1: Proofs and Computers Johannes Mittmann

More information

Lecture 4 : Quest for Structure in Counting Problems

Lecture 4 : Quest for Structure in Counting Problems CS6840: Advanced Complexity Theory Jan 10, 2012 Lecture 4 : Quest for Structure in Counting Problems Lecturer: Jayalal Sarma M.N. Scribe: Dinesh K. Theme: Between P and PSPACE. Lecture Plan:Counting problems

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

NP-Completeness. f(n) \ n n sec sec sec. n sec 24.3 sec 5.2 mins. 2 n sec 17.9 mins 35.

NP-Completeness. f(n) \ n n sec sec sec. n sec 24.3 sec 5.2 mins. 2 n sec 17.9 mins 35. NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979. NP-Completeness 1 General Problems, Input Size and

More information

CS 151 Complexity Theory Spring Solution Set 5

CS 151 Complexity Theory Spring Solution Set 5 CS 151 Complexity Theory Spring 2017 Solution Set 5 Posted: May 17 Chris Umans 1. We are given a Boolean circuit C on n variables x 1, x 2,..., x n with m, and gates. Our 3-CNF formula will have m auxiliary

More information

1 PSPACE-Completeness

1 PSPACE-Completeness CS 6743 Lecture 14 1 Fall 2007 1 PSPACE-Completeness Recall the NP-complete problem SAT: Is a given Boolean formula φ(x 1,..., x n ) satisfiable? The same question can be stated equivalently as: Is the

More information

Resolving Conflicts in Action Descriptions

Resolving Conflicts in Action Descriptions Resolving Conflicts in Action Descriptions Thomas Eiter and Esra Erdem and Michael Fink and Ján Senko Institut für Informationssysteme 184/3, Technische Universität Wien Favoritenstraße 9-11, 1040 Wien,

More information

NP-Completeness. Until now we have been designing algorithms for specific problems

NP-Completeness. Until now we have been designing algorithms for specific problems NP-Completeness 1 Introduction Until now we have been designing algorithms for specific problems We have seen running times O(log n), O(n), O(n log n), O(n 2 ), O(n 3 )... We have also discussed lower

More information

Expressing Default Abduction Problems as Quantified Boolean Formulas

Expressing Default Abduction Problems as Quantified Boolean Formulas 1 Expressing Default Abduction Problems as Quantified Boolean Formulas Hans Tompits Institut für Informationssysteme 184/3, Technische Universität Wien, Favoritenstraße 9 11, A 1040 Vienna, Austria E-mail:

More information

Part V. Intractable Problems

Part V. Intractable Problems Part V Intractable Problems 507 Chapter 16 N P-Completeness Up to now, we have focused on developing efficient algorithms for solving problems. The word efficient is somewhat subjective, and the degree

More information

The Complexity of Optimization Problems

The Complexity of Optimization Problems The Complexity of Optimization Problems Summary Lecture 1 - Complexity of algorithms and problems - Complexity classes: P and NP - Reducibility - Karp reducibility - Turing reducibility Uniform and logarithmic

More information

Uniform Equivalence of Logic Programs under the Stable Model Semantics

Uniform Equivalence of Logic Programs under the Stable Model Semantics In: Proc. 19th International Conference on Logic Programming (ICLP 2003), LNCS, c 2003 Springer. Uniform Equivalence of Logic Programs under the Stable Model Semantics Thomas Eiter and Michael Fink Institut

More information

Lecture 20: conp and Friends, Oracles in Complexity Theory

Lecture 20: conp and Friends, Oracles in Complexity Theory 6.045 Lecture 20: conp and Friends, Oracles in Complexity Theory 1 Definition: conp = { L L NP } What does a conp computation look like? In NP algorithms, we can use a guess instruction in pseudocode:

More information

1. Courses are either tough or boring. 2. Not all courses are boring. 3. Therefore there are tough courses. (Cx, Tx, Bx, )

1. Courses are either tough or boring. 2. Not all courses are boring. 3. Therefore there are tough courses. (Cx, Tx, Bx, ) Logic FOL Syntax FOL Rules (Copi) 1. Courses are either tough or boring. 2. Not all courses are boring. 3. Therefore there are tough courses. (Cx, Tx, Bx, ) Dealing with Time Translate into first-order

More information

Complexity-Sensitive Decision Procedures for Abstract Argumentation

Complexity-Sensitive Decision Procedures for Abstract Argumentation Complexity-Sensitive Decision Procedures for Abstract Argumentation Wolfgang Dvořák a, Matti Järvisalo b, Johannes Peter Wallner c, Stefan Woltran c a University of Vienna, Faculty of Computer Science,

More information

COMP Analysis of Algorithms & Data Structures

COMP Analysis of Algorithms & Data Structures COMP 3170 - Analysis of Algorithms & Data Structures Shahin Kamali Computational Complexity CLRS 34.1-34.4 University of Manitoba COMP 3170 - Analysis of Algorithms & Data Structures 1 / 50 Polynomial

More information

Algorithms: COMP3121/3821/9101/9801

Algorithms: COMP3121/3821/9101/9801 NEW SOUTH WALES Algorithms: COMP3121/3821/9101/9801 Aleks Ignjatović School of Computer Science and Engineering University of New South Wales LECTURE 9: INTRACTABILITY COMP3121/3821/9101/9801 1 / 29 Feasibility

More information

More on NP and Reductions

More on NP and Reductions Indian Institute of Information Technology Design and Manufacturing, Kancheepuram Chennai 600 127, India An Autonomous Institute under MHRD, Govt of India http://www.iiitdm.ac.in COM 501 Advanced Data

More information

NP and Computational Intractability

NP and Computational Intractability NP and Computational Intractability 1 Polynomial-Time Reduction Desiderata'. Suppose we could solve X in polynomial-time. What else could we solve in polynomial time? don't confuse with reduces from Reduction.

More information

SAT, NP, NP-Completeness

SAT, NP, NP-Completeness CS 473: Algorithms, Spring 2018 SAT, NP, NP-Completeness Lecture 22 April 13, 2018 Most slides are courtesy Prof. Chekuri Ruta (UIUC) CS473 1 Spring 2018 1 / 57 Part I Reductions Continued Ruta (UIUC)

More information

NP-Complete problems

NP-Complete problems NP-Complete problems NP-complete problems (NPC): A subset of NP. If any NP-complete problem can be solved in polynomial time, then every problem in NP has a polynomial time solution. NP-complete languages

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

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013 Chapter 2 Reductions and NP CS 573: Algorithms, Fall 2013 August 29, 2013 2.1 Reductions Continued 2.1.1 The Satisfiability Problem SAT 2.1.1.1 Propositional Formulas Definition 2.1.1. Consider a set of

More information

2 P vs. NP and Diagonalization

2 P vs. NP and Diagonalization 2 P vs NP and Diagonalization CS 6810 Theory of Computing, Fall 2012 Instructor: David Steurer (sc2392) Date: 08/28/2012 In this lecture, we cover the following topics: 1 3SAT is NP hard; 2 Time hierarchies;

More information

What makes propositional abduction tractable

What makes propositional abduction tractable What makes propositional abduction tractable Gustav Nordh 1 LIX, École Polytechnique Route de Saclay F-91 128 Palaiseau, France Bruno Zanuttini GREYC, UMR CNRS 6072 Université de Caen Bd. du Maréchal Juin

More information

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Intro to Learning Theory Date: 12/8/16

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Intro to Learning Theory Date: 12/8/16 600.463 Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Intro to Learning Theory Date: 12/8/16 25.1 Introduction Today we re going to talk about machine learning, but from an

More information

A Goal-Oriented Algorithm for Unification in EL w.r.t. Cycle-Restricted TBoxes

A Goal-Oriented Algorithm for Unification in EL w.r.t. Cycle-Restricted TBoxes A Goal-Oriented Algorithm for Unification in EL w.r.t. Cycle-Restricted TBoxes Franz Baader, Stefan Borgwardt, and Barbara Morawska {baader,stefborg,morawska}@tcs.inf.tu-dresden.de Theoretical Computer

More information

I N F S Y S R E S E A R C H R E P O R T PROBABILISTIC LOGIC UNDER COHERENCE: COMPLEXITY AND ALGORITHMS INSTITUT FÜR INFORMATIONSSYSTEME

I N F S Y S R E S E A R C H R E P O R T PROBABILISTIC LOGIC UNDER COHERENCE: COMPLEXITY AND ALGORITHMS INSTITUT FÜR INFORMATIONSSYSTEME I N F S Y S R E S E A R C H R E P O R T INSTITUT FÜR INFORMATIONSSYSTEME ABTEILUNG WISSENSBASIERTE SYSTEME PROBABILISTIC LOGIC UNDER COHERENCE: COMPLEXITY AND ALGORITHMS Veronica BIAZZO Thomas LUKASIEWICZ

More information

Detecting Backdoor Sets with Respect to Horn and Binary Clauses

Detecting Backdoor Sets with Respect to Horn and Binary Clauses Detecting Backdoor Sets with Respect to Horn and Binary Clauses Naomi Nishimura 1,, Prabhakar Ragde 1,, and Stefan Szeider 2, 1 School of Computer Science, University of Waterloo, Waterloo, Ontario, N2L

More information

LOGIC PROPOSITIONAL REASONING

LOGIC PROPOSITIONAL REASONING LOGIC PROPOSITIONAL REASONING WS 2017/2018 (342.208) Armin Biere Martina Seidl biere@jku.at martina.seidl@jku.at Institute for Formal Models and Verification Johannes Kepler Universität Linz Version 2018.1

More information

Exercises 1 - Solutions

Exercises 1 - Solutions Exercises 1 - Solutions SAV 2013 1 PL validity For each of the following propositional logic formulae determine whether it is valid or not. If it is valid prove it, otherwise give a counterexample. Note

More information

PROPOSITIONAL LOGIC. VL Logik: WS 2018/19

PROPOSITIONAL LOGIC. VL Logik: WS 2018/19 PROPOSITIONAL LOGIC VL Logik: WS 2018/19 (Version 2018.2) Martina Seidl (martina.seidl@jku.at), Armin Biere (biere@jku.at) Institut für Formale Modelle und Verifikation BOX Game: Rules 1. The game board

More information

Propositional Logic: Evaluating the Formulas

Propositional Logic: Evaluating the Formulas Institute for Formal Models and Verification Johannes Kepler University Linz VL Logik (LVA-Nr. 342208) Winter Semester 2015/2016 Propositional Logic: Evaluating the Formulas Version 2015.2 Armin Biere

More information

Notes on Complexity Theory Last updated: October, Lecture 6

Notes on Complexity Theory Last updated: October, Lecture 6 Notes on Complexity Theory Last updated: October, 2015 Lecture 6 Notes by Jonathan Katz, lightly edited by Dov Gordon 1 PSPACE and PSPACE-Completeness As in our previous study of N P, it is useful to identify

More information

1.1 P, NP, and NP-complete

1.1 P, NP, and NP-complete CSC5160: Combinatorial Optimization and Approximation Algorithms Topic: Introduction to NP-complete Problems Date: 11/01/2008 Lecturer: Lap Chi Lau Scribe: Jerry Jilin Le This lecture gives a general introduction

More information

Algorithms for sparse analysis Lecture I: Background on sparse approximation

Algorithms for sparse analysis Lecture I: Background on sparse approximation Algorithms for sparse analysis Lecture I: Background on sparse approximation Anna C. Gilbert Department of Mathematics University of Michigan Tutorial on sparse approximations and algorithms Compress data

More information

CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010

CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010 CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010 We now embark on a study of computational classes that are more general than NP. As these classes

More information

Introduction to Computational Complexity

Introduction to Computational Complexity Introduction to Computational Complexity Tandy Warnow October 30, 2018 CS 173, Introduction to Computational Complexity Tandy Warnow Overview Topics: Solving problems using oracles Proving the answer to

More information

CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1

CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1 CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY E. Amaldi Foundations of Operations Research Politecnico di Milano 1 Goal: Evaluate the computational requirements (this course s focus: time) to solve

More information

Generalizations of Matched CNF Formulas

Generalizations of Matched CNF Formulas Generalizations of Matched CNF Formulas Stefan Szeider (szeider@cs.toronto.edu) Department of Computer Science, University of Toronto, M5S 3G4 Toronto, Ontario, Canada Abstract. A CNF formula is called

More information

NP Completeness and Approximation Algorithms

NP Completeness and Approximation Algorithms Chapter 10 NP Completeness and Approximation Algorithms Let C() be a class of problems defined by some property. We are interested in characterizing the hardest problems in the class, so that if we can

More information

Lecture 11: Measuring the Complexity of Proofs

Lecture 11: Measuring the Complexity of Proofs IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 11: Measuring the Complexity of Proofs David Mix Barrington and Alexis Maciel July

More information

A.Antonopoulos 18/1/2010

A.Antonopoulos 18/1/2010 Class DP Basic orems 18/1/2010 Class DP Basic orems 1 Class DP 2 Basic orems Class DP Basic orems TSP Versions 1 TSP (D) 2 EXACT TSP 3 TSP COST 4 TSP (1) P (2) P (3) P (4) DP Class Class DP Basic orems

More information

NP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof

NP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof T-79.5103 / Autumn 2006 NP-complete problems 1 NP-COMPLETE PROBLEMS Characterizing NP Variants of satisfiability Graph-theoretic problems Coloring problems Sets and numbers Pseudopolynomial algorithms

More information

Elimination of Disjunction and Negation in Answer-Set Programs under Hyperequivalence

Elimination of Disjunction and Negation in Answer-Set Programs under Hyperequivalence Elimination of Disjunction and Negation in Answer-Set Programs under Hyperequivalence Jörg Pührer, Hans Tompits, and Stefan Woltran Institut für Informationssysteme, Technische Universität Wien, Favoritenstraße

More information

Normal Forms of Propositional Logic

Normal Forms of Propositional Logic Normal Forms of Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 12, 2017 Bow-Yaw Wang (Academia Sinica) Normal Forms of Propositional Logic September

More information

Binary Decision Diagrams. Graphs. Boolean Functions

Binary Decision Diagrams. Graphs. Boolean Functions Binary Decision Diagrams Graphs Binary Decision Diagrams (BDDs) are a class of graphs that can be used as data structure for compactly representing boolean functions. BDDs were introduced by R. Bryant

More information

Computational Complexity of Bayesian Networks

Computational Complexity of Bayesian Networks Computational Complexity of Bayesian Networks UAI, 2015 Complexity theory Many computations on Bayesian networks are NP-hard Meaning (no more, no less) that we cannot hope for poly time algorithms that

More information

On the satisfiability problem for a 4-level quantified syllogistic and some applications to modal logic

On the satisfiability problem for a 4-level quantified syllogistic and some applications to modal logic On the satisfiability problem for a 4-level quantified syllogistic and some applications to modal logic Domenico Cantone and Marianna Nicolosi Asmundo Dipartimento di Matematica e Informatica Università

More information

Definition: Alternating time and space Game Semantics: State of machine determines who

Definition: Alternating time and space Game Semantics: State of machine determines who CMPSCI 601: Recall From Last Time Lecture 3 Definition: Alternating time and space Game Semantics: State of machine determines who controls, White wants it to accept, Black wants it to reject. White wins

More information

The Complexity of Computing Minimal Unidirectional Covering Sets

The Complexity of Computing Minimal Unidirectional Covering Sets The Complexity of Computing Minimal Unidirectional Covering Sets Dorothea Baumeister a, Felix Brandt b, Felix Fischer c, Jan Hoffmann d, Jörg Rothe a a Institut für Informatik, Heinrich-Heine-Universität

More information

Lecture 15 - NP Completeness 1

Lecture 15 - NP Completeness 1 CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) February 29, 2018 Lecture 15 - NP Completeness 1 In the last lecture we discussed how to provide

More information

NP-Completeness and Boolean Satisfiability

NP-Completeness and Boolean Satisfiability NP-Completeness and Boolean Satisfiability Mridul Aanjaneya Stanford University August 14, 2012 Mridul Aanjaneya Automata Theory 1/ 49 Time-Bounded Turing Machines A Turing Machine that, given an input

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

Towards the Complexity of Recognizing Pseudo-intents

Towards the Complexity of Recognizing Pseudo-intents Towards the Complexity of Recognizing Pseudo-intents Barış Sertkaya Theoretical Computer Science TU Dresden, Germany July 30, 2009 Supported by the German Research Foundation (DFG) under grant BA 1122/12-1

More information

Umans Complexity Theory Lectures

Umans Complexity Theory Lectures Umans Complexity Theory Lectures Lecture 12: The Polynomial-Time Hierarchy Oracle Turing Machines Oracle Turing Machine (OTM): Deterministic multitape TM M with special query tape special states q?, q

More information

Lecture 8. MINDNF = {(φ, k) φ is a CNF expression and DNF expression ψ s.t. ψ k and ψ is equivalent to φ}

Lecture 8. MINDNF = {(φ, k) φ is a CNF expression and DNF expression ψ s.t. ψ k and ψ is equivalent to φ} 6.841 Advanced Complexity Theory February 28, 2005 Lecture 8 Lecturer: Madhu Sudan Scribe: Arnab Bhattacharyya 1 A New Theme In the past few lectures, we have concentrated on non-uniform types of computation

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

CSCI3390-Lecture 16: NP-completeness

CSCI3390-Lecture 16: NP-completeness CSCI3390-Lecture 16: NP-completeness 1 Summary We recall the notion of polynomial-time reducibility. This is just like the reducibility we studied earlier, except that we require that the function mapping

More information

Lecture 7: Polynomial time hierarchy

Lecture 7: Polynomial time hierarchy Computational Complexity Theory, Fall 2010 September 15 Lecture 7: Polynomial time hierarchy Lecturer: Kristoffer Arnsfelt Hansen Scribe: Mads Chr. Olesen Recall that adding the power of alternation gives

More information

Lecture 25 of 42. PAC Learning, VC Dimension, and Mistake Bounds

Lecture 25 of 42. PAC Learning, VC Dimension, and Mistake Bounds Lecture 25 of 42 PAC Learning, VC Dimension, and Mistake Bounds Thursday, 15 March 2007 William H. Hsu, KSU http://www.kddresearch.org/courses/spring2007/cis732 Readings: Sections 7.4.17.4.3, 7.5.17.5.3,

More information

Lecture 22: Counting

Lecture 22: Counting CS 710: Complexity Theory 4/8/2010 Lecture 22: Counting Instructor: Dieter van Melkebeek Scribe: Phil Rydzewski & Chi Man Liu Last time we introduced extractors and discussed two methods to construct them.

More information

CS21 Decidability and Tractability

CS21 Decidability and Tractability CS21 Decidability and Tractability Lecture 20 February 23, 2018 February 23, 2018 CS21 Lecture 20 1 Outline the complexity class NP NP-complete probelems: Subset Sum NP-complete problems: NAE-3-SAT, max

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

Modal Dependence Logic

Modal Dependence Logic Modal Dependence Logic Jouko Väänänen Institute for Logic, Language and Computation Universiteit van Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam, The Netherlands J.A.Vaananen@uva.nl Abstract We

More information

NP Completeness and Approximation Algorithms

NP Completeness and Approximation Algorithms Winter School on Optimization Techniques December 15-20, 2016 Organized by ACMU, ISI and IEEE CEDA NP Completeness and Approximation Algorithms Susmita Sur-Kolay Advanced Computing and Microelectronic

More information

Algebraic Dynamic Programming. Solving Satisfiability with ADP

Algebraic Dynamic Programming. Solving Satisfiability with ADP Algebraic Dynamic Programming Session 12 Solving Satisfiability with ADP Robert Giegerich (Lecture) Stefan Janssen (Exercises) Faculty of Technology Summer 2013 http://www.techfak.uni-bielefeld.de/ags/pi/lehre/adp

More information

Summer School on Introduction to Algorithms and Optimization Techniques July 4-12, 2017 Organized by ACMU, ISI and IEEE CEDA.

Summer School on Introduction to Algorithms and Optimization Techniques July 4-12, 2017 Organized by ACMU, ISI and IEEE CEDA. Summer School on Introduction to Algorithms and Optimization Techniques July 4-12, 2017 Organized by ACMU, ISI and IEEE CEDA NP Completeness Susmita Sur-Kolay Advanced Computing and Microelectronics Unit

More information

IS VALIANT VAZIRANI S ISOLATION PROBABILITY IMPROVABLE? Holger Dell, Valentine Kabanets, Dieter van Melkebeek, and Osamu Watanabe December 31, 2012

IS VALIANT VAZIRANI S ISOLATION PROBABILITY IMPROVABLE? Holger Dell, Valentine Kabanets, Dieter van Melkebeek, and Osamu Watanabe December 31, 2012 IS VALIANT VAZIRANI S ISOLATION PROBABILITY IMPROVABLE? Holger Dell, Valentine Kabanets, Dieter van Melkebeek, and Osamu Watanabe December 31, 2012 Abstract. The Isolation Lemma of Valiant & Vazirani (1986)

More information

CS 583: Algorithms. NP Completeness Ch 34. Intractability

CS 583: Algorithms. NP Completeness Ch 34. Intractability CS 583: Algorithms NP Completeness Ch 34 Intractability Some problems are intractable: as they grow large, we are unable to solve them in reasonable time What constitutes reasonable time? Standard working

More information

3 Propositional Logic

3 Propositional Logic 3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists

More information

: Computational Complexity Lecture 3 ITCS, Tsinghua Univesity, Fall October 2007

: Computational Complexity Lecture 3 ITCS, Tsinghua Univesity, Fall October 2007 80240233: Computational Complexity Lecture 3 ITCS, Tsinghua Univesity, Fall 2007 16 October 2007 Instructor: Andrej Bogdanov Notes by: Jialin Zhang and Pinyan Lu In this lecture, we introduce the complexity

More information

Online Learning, Mistake Bounds, Perceptron Algorithm

Online Learning, Mistake Bounds, Perceptron Algorithm Online Learning, Mistake Bounds, Perceptron Algorithm 1 Online Learning So far the focus of the course has been on batch learning, where algorithms are presented with a sample of training data, from which

More information

Worst-Case Upper Bound for (1, 2)-QSAT

Worst-Case Upper Bound for (1, 2)-QSAT Worst-Case Upper Bound for (1, 2)-QSAT Minghao Yin Department of Computer, Northeast Normal University, Changchun, China, 130117 ymh@nenu.edu.cn Abstract. The rigorous theoretical analysis of the algorithm

More information