• Keine Ergebnisse gefunden

WS 2015/2016 20.01.2016 Exercises to the lecture Complexity Theory Sheet 11 Prof. Dr. Roland Meyer M.Sc. Peter Chini Delivery until 27.01.2016 at 12h

N/A
N/A
Protected

Academic year: 2021

Aktie "WS 2015/2016 20.01.2016 Exercises to the lecture Complexity Theory Sheet 11 Prof. Dr. Roland Meyer M.Sc. Peter Chini Delivery until 27.01.2016 at 12h"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

WS 2015/2016 20.01.2016 Exercises to the lecture

Complexity Theory Sheet 11 Prof. Dr. Roland Meyer

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

Exercise 11.1 (A circuit for finding satisfying assignments)

Assume we have a polynomial size circuit family (C

n

)

n∈N

that decides SAT . More preci- sely, (C

n

)

n∈N

solves the following problem:

Input: A formula ϕ(x

0

, . . . , x

k

) encoded into input variables.

Note: the whole formula is the input of the circuit. The variables x

0

, . . . , x

k

are only the variables of ϕ but these are not the input variables of the circuit.

Output: A variable s so that s = 1 if and only if ϕ(x

0

, . . . , x

k

) is in SAT .

Furthermore, assume that we have a polynomial size circuit family (D

n

)

n∈N

that is able to plug in values into a formula:

Input: A formula ϕ(x

0

, . . . , x

k

) encoded into input variables and a variable v

0

. Output: The encoding for ϕ(v

0

, x

1

. . . , x

k

).

In the proof of Karp and Lipton’s theorem we have seen the idea how to turn a circuit for SAT into a circuit that also finds a satisfying assignment for a given formula. Construct a polynomial size circuit family for this:

Input: A formula ϕ(x

0

, . . . , x

k

) encoded into input variables.

Output: The variables s and v

0

, . . . , v

k

. So that:

• If s = 1, then ϕ(x

0

, . . . , x

k

) is in SAT and v

0

, . . . , v

k

is a satisfying assignment.

• If s = 0, then ϕ(x

0

, . . . , x

k

) is not in SAT and v

0

= · · · = v

k

= 0.

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

Referenzen

ÄHNLICHE DOKUMENTE

[r]

[r]

[r]

He answered: "I strictly stick to the following diet: if I don’t drink beer with a meal, then I always have fish5. Whenever I have fish and beer together, then I don’t have

Hier kann man allerdichgs auch sehen, dass die beiden Formeln zwar erfüllbarkeitsäquivalent, aber nicht logisch äquiva- lent sind: Wählt man z.B2. falsch, da dies ein

We assume that positive natural numbers are given in binary representation and that λ(x) is the length of this rep- resentation (without

Be verbose, write down for at least 5 most general unificators how you determined them when looking for critical pairs.. Write down all critical pairs, you have

Efficiency of Algorithms, Random Access Machine Model, Function Growth, Asymptotics [Cormen et al,