• Keine Ergebnisse gefunden

Question: Is there a satisfying assignment for ϕ? Construct a search tree for SATand show that the problem isFPT

N/A
N/A
Protected

Academic year: 2021

Aktie "Question: Is there a satisfying assignment for ϕ? Construct a search tree for SATand show that the problem isFPT"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

WS 2017/2018 27.11.2017 Exercises to the lecture

Complexity Theory Sheet 6 Prof. Dr. Roland Meyer

M.Sc. Peter Chini Delivery until 4.12.2017 at 18h

Exercise 6.1 (Parameterized SAT)

Consider the following parameterized problem:

Boolean Satisfiability (SAT)

Input: A Boolean formula ϕ(x1, . . . , xk).

Parameter: k∈N.

Question: Is there a satisfying assignment for ϕ?

Construct a search tree for SATand show that the problem isFPT.

Exercise 6.2 (Unions of cliques)

Aclique is a graph K= (V, E) such that for all u, v∈V we haveuv ∈E. This means that any pair of vertices has a connecting edge. The following problem asks howfar away a given graph is from being a union of cliques.

Cluster Editing (CLUSTER)

Input: A graphG= (V, E) and ak∈N. Parameter: k∈N.

Question: Is it possible to add or remove at most kedges to/from E such that the resulting graph is a disjoint union of cliques?

a) Show that a graphG consists of disjoint cliques if and only if there are no three distinct verticesu, v, w∈V with uv, vw∈E and uw /∈E.

b) Prove thatCLUSTER is FPT.

Exercise 6.3 (Maximal satisfiability)

We construct a kernelization for the following problem:

Maximal Satisfiability (MAXSAT)

Input: A Boolean formulaϕ=Vm

i=1Ci, where the Ci are clauses, andk∈N.

Parameter: k∈N.

Question: Is there a variable assignment that satisfies at leastk clauses ofϕ?

(2)

Let (ϕ, k) be an instance of the problem. The first step of the kernelization is to delete all trivial clauses. We call a clause trivial if it contains a variable and its negation.

a) Show that by removing all trivial clauses, we can reduce (ϕ, k) to an instance (ψ, k0) such thatk0 ≤k and (ψ, k0)∈MAXSATif and only if (ϕ, k)∈MAXSAT.

In the next step, we deletelong clauses, clauses that contain more thank0 literals.

b) Prove the following: Ifψcontains more thank0 long clauses, then (ψ, k0)∈MAXSAT.

c) Let t denote the number of long clauses in ψ and set ˆk = k0−t. Show that by removing all long clauses, we can reduce (ψ, k0) to an instance (ρ,ˆk) such that (ρ,ˆk)∈MAXSAT if and only if (ψ, k0)∈MAXSAT.

Hence, we obtain an instance that only consists of clauses of size at mostk0. We argue that we are only interested in such formulas the size of which is bounded by the parameter.

d) Prove the following: If (ρ,k) has more than 2ˆˆ kclauses, then (ρ,ˆk) is inMAXSAT.

e) Summarize the reduction steps in an algorithm and show that the size of the kernel (the size of the obtained instance) is bounded by O(k2).

Delivery until 4.12.2017 at 18h into the box next to 343

Referenzen

ÄHNLICHE DOKUMENTE

Question: Does there exist a variable assignment that satisfies at least k clauses.. In this exercise we will construct a kernelization for MAXSAT and show that the kernel has

(b) Given a formula F of predicate logic over an unique unary predicate symbol (no equality, no function symbols). Is

Return of the exercise sheet: 14.Nov.2019 during the exercise

Karlsruher Institut f¨ ur Technologie Institut f”ur Theoretische Festk¨ orperphysik Ubungen zur Modernen Theoretischen Physik I ¨ SS14.. -

We mostly talk about necessary circumstances at a time when the cause is already completed and it is certain that the effect thas occurred or will occur.. Then every

!  Good rule of thumb: choose the size of the cells such that the edge length is about the average size of the objects (e.g.,.. measured by

If the error probability of a binary symmetric code is p, calculate the prob- abilities for each of the three codes from the previous exercise that any received vector will be

Das Zweite ist, dass mir im Umgang mit den Schülern im Laufe meiner 20-jährigen Berufstätigkeit doch be- wusster wird, dass beispielsweise die Anzahl der Schüler, die auch