• Keine Ergebnisse gefunden

Question: Does there exist a variable assignment that satisfies at leastkclauses ? In this exercise we will construct a kernelization forMAXSAT and show that the kernel has size bounded by O(k2)

N/A
N/A
Protected

Academic year: 2021

Aktie "Question: Does there exist a variable assignment that satisfies at leastkclauses ? In this exercise we will construct a kernelization forMAXSAT and show that the kernel has size bounded by O(k2)"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

WS 2015/2016 03.02.2016 Exercises to the lecture

Complexity Theory Sheet 13 Prof. Dr. Roland Meyer

M.Sc. Peter Chini Delivery until 10.02.2016 at 12h

Exercise 13.1 (Maximal satisfiability)

Consider the following problem, calledMAXSAT: Input:A formula ϕ=Vm

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

Question: Does there exist a variable assignment that satisfies at leastkclauses ? In this exercise we will construct a kernelization forMAXSAT and show that the kernel has size bounded by O(k2). To this end, recall the following:

• A literalis either a variable or a negated variable.

• A clauseis a disjunction of literals.

• The size of a CNF-formula ϕ is the sum of the numbers of literals used in the clauses ofϕ.

Let (ϕ, k) be a problem instance. Our first reduction step is to delete alltrivial clauses.

A clause inϕ is calledtrivial if it contains a variable and its negation.

a) Show that, by removing all trivial clauses, we can reduce (ϕ, k) to a problem instance (ϕn, k0) so that: k0 ≤kand (ϕn, k0)∈MAXSAT if and only if (ϕ, k)∈MAXSAT. For a further reduction, we look at long clauses: these are clauses that contain more thank0 literals.

b) Prove the following: If ϕn contains more than k0 long clauses, then (ϕn, k0) ∈ MAXSAT.

Hint: We only need one true literal for a clause to be satisfied.

c) Denote by (ϕs,k), where ˆˆ k =k0−t, the instance that we get if we remove all t long clauses from (ϕn, k0). Show that we have: (ϕn, k0)∈MAXSAT if and only if (ϕs,ˆk)∈MAXSAT.

Hence, we obtain an instance that only consists of clauses of size at most k0. Now we show that the size of such an instance is also bounded by the parameter:

d) If (ϕs,k) has more than 2ˆˆ kclauses, then show that (ϕs,ˆk) is inMAXSAT. Hint: Look at any variable assignment and its complement.

(2)

Finally, we can construct a kernelization forMAXSAT:

e) Summarize the reduction steps in an algorithm and show that the size of the kernel (the size of the formulas, obtained from the reduction steps) is bounded byO(k2).

Exercise 13.2 (Karp’s reduction) Consider the problem 3SAT:

Given:A formula ψ in CNF so that the clauses ofψ contain at most 3 literals.

Question: Isψ satisfiable ?

The reduction of Karp maps SAT-instancesϕto 3SAT-instances by the following rule:

ifC=`1∨ · · · ∨`t is a clause ofϕ, it is mapped to the formula:

(`1∨`2∨z1)∧(¬z1∨`3∨z2)∧(¬z2∨`4∨z3)∧ · · · ∧(¬zt−3∨`t−1∨`t) This creates a 3SAT-instance.

a) Ifϕdenotes a SAT-instance andf denotes Karp’s reduction, show that we have:

ϕ∈SAT if and only if f(ϕ)∈3SAT. Hint: You may use the concept of resolution to show this.

Now consider the parametrized problemWEIGHTEDSAT: Given:A formula ϕin CNF and a natural number k.

Parameter:k∈N.

Question: Is there a satisfying assignment forϕthat evaluatesexactly kvariables to 1.

The problem WEIGHTED3SAT is defined similarly.

b) Argue why Karp’s reduction is not a parametrized many-one reduction from WEIGHTEDSAT toWEIGHTED3SAT.

Exercise 13.3 (Reduction toFPT)

Let L, L0 ⊆Σ×Nbe parametrized languages so thatLreduces toL0 by a parametrized many-one reduction andL0 isFPT. Show that also Lis FPT.

Delivery until 10.02.2016 at 12h into the box next to 34-401.4

Referenzen

ÄHNLICHE DOKUMENTE

(Hint: First “spend” some of the uncer- tainty and clock drifts to show that logical clocks cannot increase too rapidly. Then argue that any solution would imply a pulse

Observe that (i) nodes in F always transition at the same times, (ii) nodes in S always transition at the same times, (iii) all nodes always take the exact same time to transition

(Hint: First “spend” some of the uncer- tainty and clock drifts to show that logical clocks cannot increase too rapidly. Then argue that any solution would imply a pulse

In fact, the arguments given in this paper easily give a Hamilton cycle in H(2k + 1, k) for all k > 1, providing an alternative proof of the middle levels conjecture; see Section

This new carry bit could then be used as input for the full adder for the (i + 1)-st bits. Then transform the formula into

Let (ϕ, k) be an instance of the problem. The first step of the kernelization is to delete all trivial clauses. We argue that we are only interested in such formulas the size of

is a coproduct of X and Y in the category of sets. (40) Show that the category of sets

In this exercise we want to show that the classical “Łoś-Tarski Theorem” does not hold if we restrict to finite structures. Recall that this theorem says the following: for a