Lecture 12: Polynomial Hierarchy II Arijit Bishnu 06.04.2010 - - PowerPoint PPT Presentation

lecture 12 polynomial hierarchy ii
SMART_READER_LITE
LIVE PREVIEW

Lecture 12: Polynomial Hierarchy II Arijit Bishnu 06.04.2010 - - PowerPoint PPT Presentation

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations Lecture 12: Polynomial Hierarchy II Arijit Bishnu 06.04.2010 Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations


slide-1
SLIDE 1

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Lecture 12: Polynomial Hierarchy II

Arijit Bishnu 06.04.2010

slide-2
SLIDE 2

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Outline

1 Complete Problems for levels of PH 2 Alternating Turing Machines 3 Time versus Alternations

slide-3
SLIDE 3

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Outline

1 Complete Problems for levels of PH 2 Alternating Turing Machines 3 Time versus Alternations

slide-4
SLIDE 4

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness

Σp

i -complete

We say that a language L is Σp

i -complete if L ∈ Σp i and for every

L′ ∈ Σp

i , L′ ≤P L.

slide-5
SLIDE 5

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness

Σp

i -complete

We say that a language L is Σp

i -complete if L ∈ Σp i and for every

L′ ∈ Σp

i , L′ ≤P L.

Examples

slide-6
SLIDE 6

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness

Σp

i -complete

We say that a language L is Σp

i -complete if L ∈ Σp i and for every

L′ ∈ Σp

i , L′ ≤P L.

Examples SAT is complete for the class NP = Σp

1.

slide-7
SLIDE 7

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness

Σp

i -complete

We say that a language L is Σp

i -complete if L ∈ Σp i and for every

L′ ∈ Σp

i , L′ ≤P L.

Examples SAT is complete for the class NP = Σp

1.

Recall a QBF has the form Q1x1Q2x2 . . . Qnxn ϕ(x1, x2, . . . , xn) where each Qi ∈ {∃, ∀} and ϕ is an unquantified boolean formula.

slide-8
SLIDE 8

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness

Σp

i -complete

We say that a language L is Σp

i -complete if L ∈ Σp i and for every

L′ ∈ Σp

i , L′ ≤P L.

Examples SAT is complete for the class NP = Σp

1.

Recall a QBF has the form Q1x1Q2x2 . . . Qnxn ϕ(x1, x2, . . . , xn) where each Qi ∈ {∃, ∀} and ϕ is an unquantified boolean formula. The language TQBF is the set of QBFs that are TRUE, i.e. TQBF = {< φ > | φ is a TRUE fully QBF.}

slide-9
SLIDE 9

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Examples continued

Examples

slide-10
SLIDE 10

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Examples continued

Examples Define ΣiSAT = ∃x1∀x2∃ · · · Qixi ϕ(x1, x2, . . . , xi) = 1

slide-11
SLIDE 11

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Examples continued

Examples Define ΣiSAT = ∃x1∀x2∃ · · · Qixi ϕ(x1, x2, . . . , xi) = 1 For every i, ΣiSAT is a special case of the TQBF problem.

slide-12
SLIDE 12

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Examples continued

Examples Define ΣiSAT = ∃x1∀x2∃ · · · Qixi ϕ(x1, x2, . . . , xi) = 1 For every i, ΣiSAT is a special case of the TQBF problem. One can prove that for every i, ΣiSAT is a complete problem for the class Σp

i .

slide-13
SLIDE 13

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Examples continued

Examples Define ΣiSAT = ∃x1∀x2∃ · · · Qixi ϕ(x1, x2, . . . , xi) = 1 For every i, ΣiSAT is a special case of the TQBF problem. One can prove that for every i, ΣiSAT is a complete problem for the class Σp

i .

Similarly, a problem ΠiSAT can be shown to be Πp

i -complete.

slide-14
SLIDE 14

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Examples continued

Examples Define ΣiSAT = ∃x1∀x2∃ · · · Qixi ϕ(x1, x2, . . . , xi) = 1 For every i, ΣiSAT is a special case of the TQBF problem. One can prove that for every i, ΣiSAT is a complete problem for the class Σp

i .

Similarly, a problem ΠiSAT can be shown to be Πp

i -complete.

So, complete problems exist for each class Σp

i .

slide-15
SLIDE 15

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness for PH

Definition: Polynomial Hierarchy The polynomial hierarchy is the set PH =

i Σp i .

slide-16
SLIDE 16

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness for PH

Definition: Polynomial Hierarchy The polynomial hierarchy is the set PH =

i Σp i .

PH-complete We say that a language L is PH-complete if L ∈ PH and for every L′ ∈ PH, L′ ≤P L.

slide-17
SLIDE 17

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness for PH

Definition: Polynomial Hierarchy The polynomial hierarchy is the set PH =

i Σp i .

PH-complete We say that a language L is PH-complete if L ∈ PH and for every L′ ∈ PH, L′ ≤P L. Does PH have a complete problem? Each class Σp

i has complete problems. What about PH = i Σp i ?

slide-18
SLIDE 18

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness for PH

Claim If there exists a PH-complete language L, then the polynomial hierarchy collapses to some finite level, i.e. PH = Σp

i .

slide-19
SLIDE 19

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness for PH

Claim If there exists a PH-complete language L, then the polynomial hierarchy collapses to some finite level, i.e. PH = Σp

i .

Proof idea

slide-20
SLIDE 20

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness for PH

Claim If there exists a PH-complete language L, then the polynomial hierarchy collapses to some finite level, i.e. PH = Σp

i .

Proof idea Suppose, for some i, Σp

i = Σp i+1. Then, ∀j ≥ i,

Σp

j = Πp j = Σp i . (Proof as an exercise.)

slide-21
SLIDE 21

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness for PH

Claim If there exists a PH-complete language L, then the polynomial hierarchy collapses to some finite level, i.e. PH = Σp

i .

Proof idea Suppose, for some i, Σp

i = Σp i+1. Then, ∀j ≥ i,

Σp

j = Πp j = Σp i . (Proof as an exercise.)

Since L ∈ PH =

i Σp i , ∃i such that L ∈ Σp i .

slide-22
SLIDE 22

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness for PH

Claim If there exists a PH-complete language L, then the polynomial hierarchy collapses to some finite level, i.e. PH = Σp

i .

Proof idea Suppose, for some i, Σp

i = Σp i+1. Then, ∀j ≥ i,

Σp

j = Πp j = Σp i . (Proof as an exercise.)

Since L ∈ PH =

i Σp i , ∃i such that L ∈ Σp i .

Since L is PH-complete, ∀L′ ∈ Σp

i+1, L′ ≤P L. So, L′ ∈ Σp i

and Σp

i = Σp i+1.

slide-23
SLIDE 23

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness for PH

Claim If there exists a PH-complete language L, then the polynomial hierarchy collapses to some finite level, i.e. PH = Σp

i .

Proof idea Suppose, for some i, Σp

i = Σp i+1. Then, ∀j ≥ i,

Σp

j = Πp j = Σp i . (Proof as an exercise.)

Since L ∈ PH =

i Σp i , ∃i such that L ∈ Σp i .

Since L is PH-complete, ∀L′ ∈ Σp

i+1, L′ ≤P L. So, L′ ∈ Σp i

and Σp

i = Σp i+1.

So, the hierarchy collapses to the level i.

slide-24
SLIDE 24

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Completeness for PH

Claim If there exists a PH-complete language L, then the polynomial hierarchy collapses to some finite level, i.e. PH = Σp

i .

Proof idea Suppose, for some i, Σp

i = Σp i+1. Then, ∀j ≥ i,

Σp

j = Πp j = Σp i . (Proof as an exercise.)

Since L ∈ PH =

i Σp i , ∃i such that L ∈ Σp i .

Since L is PH-complete, ∀L′ ∈ Σp

i+1, L′ ≤P L. So, L′ ∈ Σp i

and Σp

i = Σp i+1.

So, the hierarchy collapses to the level i. So, people believe that complete problems do not exist for the class PH.

slide-25
SLIDE 25

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Space Complexity Classes and Polynomial Hierarchy

Relation between PH and PSPACE PH ⊆ PSPACE

slide-26
SLIDE 26

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Space Complexity Classes and Polynomial Hierarchy

Relation between PH and PSPACE PH ⊆ PSPACE Proof We can prove just the way we proved NP ⊆ PSPACE by writing down all short (polynomial sized) certificates in the work tape and reusing that space.

slide-27
SLIDE 27

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Space Complexity Classes and Polynomial Hierarchy

Claim If PH = PSPACE, the polynomial hierarchy collapses.

slide-28
SLIDE 28

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Space Complexity Classes and Polynomial Hierarchy

Claim If PH = PSPACE, the polynomial hierarchy collapses. Proof

slide-29
SLIDE 29

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Space Complexity Classes and Polynomial Hierarchy

Claim If PH = PSPACE, the polynomial hierarchy collapses. Proof We know that TQBF is PSPACE-complete.

slide-30
SLIDE 30

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Space Complexity Classes and Polynomial Hierarchy

Claim If PH = PSPACE, the polynomial hierarchy collapses. Proof We know that TQBF is PSPACE-complete. Now, if PH = PSPACE, then TQBF is also a complete problem for the class PH.

slide-31
SLIDE 31

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Space Complexity Classes and Polynomial Hierarchy

Claim If PH = PSPACE, the polynomial hierarchy collapses. Proof We know that TQBF is PSPACE-complete. Now, if PH = PSPACE, then TQBF is also a complete problem for the class PH. We have already shown that the existence of a complete problem for the class PH implies that the polynomial hierarchy collapses.

slide-32
SLIDE 32

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Space Complexity Classes and Polynomial Hierarchy

Claim If PH = PSPACE, the polynomial hierarchy collapses. Proof We know that TQBF is PSPACE-complete. Now, if PH = PSPACE, then TQBF is also a complete problem for the class PH. We have already shown that the existence of a complete problem for the class PH implies that the polynomial hierarchy collapses. So, the widely held belief is that PH = PSPACE.

slide-33
SLIDE 33

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Outline

1 Complete Problems for levels of PH 2 Alternating Turing Machines 3 Time versus Alternations

slide-34
SLIDE 34

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Alternating Turing Machines and Classes

Definition: Alternating Time For every T : N → N, we say that an ATM M runs in T(n)-time if for every input x ∈ {0, 1}∗ and for every possible sequence of transition function choices, M halts after at most T(|x|) steps.

slide-35
SLIDE 35

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Alternating Turing Machines and Classes

Definition: ATIME(T(n)) A language L is in ATIME(T(n)) if there is a constant c and a c · T(n)-time ATM M s.t. for every x ∈ {0, 1}∗, M accepts x iff x ∈ L. The definition of accept comes via labeling vertices on the configuration graph GM,x as follows:

slide-36
SLIDE 36

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Alternating Turing Machines and Classes

Definition: ATIME(T(n)) A language L is in ATIME(T(n)) if there is a constant c and a c · T(n)-time ATM M s.t. for every x ∈ {0, 1}∗, M accepts x iff x ∈ L. The definition of accept comes via labeling vertices on the configuration graph GM,x as follows: The configuration Cacc is labeled ACCEPT.

slide-37
SLIDE 37

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Alternating Turing Machines and Classes

Definition: ATIME(T(n)) A language L is in ATIME(T(n)) if there is a constant c and a c · T(n)-time ATM M s.t. for every x ∈ {0, 1}∗, M accepts x iff x ∈ L. The definition of accept comes via labeling vertices on the configuration graph GM,x as follows: The configuration Cacc is labeled ACCEPT. If a configuration C is in a state that is labeled ∃ and there is an edge from C to C ′ labeled ACCEPT, we label C ACCEPT.

slide-38
SLIDE 38

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Alternating Turing Machines and Classes

Definition: ATIME(T(n)) A language L is in ATIME(T(n)) if there is a constant c and a c · T(n)-time ATM M s.t. for every x ∈ {0, 1}∗, M accepts x iff x ∈ L. The definition of accept comes via labeling vertices on the configuration graph GM,x as follows: The configuration Cacc is labeled ACCEPT. If a configuration C is in a state that is labeled ∃ and there is an edge from C to C ′ labeled ACCEPT, we label C ACCEPT. If a configuration C is in a state labeled ∀ and both the configurations C ′, C ′′ reachable from it in one step are labeled ACCEPT, then we label C ACCEPT.

slide-39
SLIDE 39

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Alternating Turing Machines and Classes

Definition: ATIME(T(n)) A language L is in ATIME(T(n)) if there is a constant c and a c · T(n)-time ATM M s.t. for every x ∈ {0, 1}∗, M accepts x iff x ∈ L. The definition of accept comes via labeling vertices on the configuration graph GM,x as follows: The configuration Cacc is labeled ACCEPT. If a configuration C is in a state that is labeled ∃ and there is an edge from C to C ′ labeled ACCEPT, we label C ACCEPT. If a configuration C is in a state labeled ∀ and both the configurations C ′, C ′′ reachable from it in one step are labeled ACCEPT, then we label C ACCEPT. We say that M accepts x if this repeated application of labeling rules (till they cannot be applied any more) labels Cs, the start configuration ACCEPT.

slide-40
SLIDE 40

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

ATMs Restricted to a Fixed Number of Alternations

Definition For every i ∈ N, we define ΣiTIME(T(n)) (ΠiTIME(T(n))) to be the set of languages accepted by a T(n)-time ATM M whose initial state is labeled ∃ (∀) and for every input and on every directed path from the starting configuration in the configuration graph, M can alternate at most i − 1 times.

slide-41
SLIDE 41

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

ATMs Restricted to a Fixed Number of Alternations

Definition For every i ∈ N, we define ΣiTIME(T(n)) (ΠiTIME(T(n))) to be the set of languages accepted by a T(n)-time ATM M whose initial state is labeled ∃ (∀) and for every input and on every directed path from the starting configuration in the configuration graph, M can alternate at most i − 1 times. Classes related to such ATMs What is

c ΣiTIME(nc) and c ΠiTIME(nc)?

slide-42
SLIDE 42

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

ATMs Restricted to a Fixed Number of Alternations

Definition For every i ∈ N, we define ΣiTIME(T(n)) (ΠiTIME(T(n))) to be the set of languages accepted by a T(n)-time ATM M whose initial state is labeled ∃ (∀) and for every input and on every directed path from the starting configuration in the configuration graph, M can alternate at most i − 1 times. Classes related to such ATMs What is

c ΣiTIME(nc) and c ΠiTIME(nc)?

Claim For every i ∈ N, Σp

i = c ΣiTIME(nc) and Πp i = c ΠiTIME(nc).

slide-43
SLIDE 43

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

ATMs Restricted to a Fixed Number of Alternations

Definition For every i ∈ N, we define ΣiTIME(T(n)) (ΠiTIME(T(n))) to be the set of languages accepted by a T(n)-time ATM M whose initial state is labeled ∃ (∀) and for every input and on every directed path from the starting configuration in the configuration graph, M can alternate at most i − 1 times. Classes related to such ATMs What is

c ΣiTIME(nc) and c ΠiTIME(nc)?

Claim For every i ∈ N, Σp

i = c ΣiTIME(nc) and Πp i = c ΠiTIME(nc).

Proof Left as an exercise.

slide-44
SLIDE 44

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Unlimited Number of Alternations

The Class AP AP =

c ATIME(nc).

slide-45
SLIDE 45

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Unlimited Number of Alternations

The Class AP AP =

c ATIME(nc).

Theorem AP = PSPACE

slide-46
SLIDE 46

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Unlimited Number of Alternations

The Class AP AP =

c ATIME(nc).

Theorem AP = PSPACE Proof Idea

slide-47
SLIDE 47

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Unlimited Number of Alternations

The Class AP AP =

c ATIME(nc).

Theorem AP = PSPACE Proof Idea TQBF is a PSPACE-complete problem.

slide-48
SLIDE 48

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Unlimited Number of Alternations

The Class AP AP =

c ATIME(nc).

Theorem AP = PSPACE Proof Idea TQBF is a PSPACE-complete problem. TQBF ∈ AP as we can guess using ∃ and ∀ states of the ATM.

slide-49
SLIDE 49

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Unlimited Number of Alternations

The Class AP AP =

c ATIME(nc).

Theorem AP = PSPACE Proof Idea TQBF is a PSPACE-complete problem. TQBF ∈ AP as we can guess using ∃ and ∀ states of the ATM. So, AP ⊆ PSPACE.

slide-50
SLIDE 50

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Unlimited Number of Alternations

The Class AP AP =

c ATIME(nc).

Theorem AP = PSPACE Proof Idea TQBF is a PSPACE-complete problem. TQBF ∈ AP as we can guess using ∃ and ∀ states of the ATM. So, AP ⊆ PSPACE. To show PSPACE ⊆ AP, use a recursive procedure similar . to the one we used for showing TQBF ∈ PSPACE.

slide-51
SLIDE 51

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Exercises

Exercise Consider APSPACE to be the languages accepted by ATMs that run using polynomial space. Show that APSPACE = EXP.

slide-52
SLIDE 52

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Exercises

Exercise Consider APSPACE to be the languages accepted by ATMs that run using polynomial space. Show that APSPACE = EXP. Exercise Consider AL to be the languages accepted by ATMs that run using logarithmic space. Show that AL = P.

slide-53
SLIDE 53

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Outline

1 Complete Problems for levels of PH 2 Alternating Turing Machines 3 Time versus Alternations

slide-54
SLIDE 54

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Time-Space TradeOff

As we do not know much about the P vs NP question, we even cannot rule out a deterministic poly-time algo for SAT.

slide-55
SLIDE 55

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Time-Space TradeOff

As we do not know much about the P vs NP question, we even cannot rule out a deterministic poly-time algo for SAT. What is that we can do?

slide-56
SLIDE 56

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Time-Space TradeOff

As we do not know much about the P vs NP question, we even cannot rule out a deterministic poly-time algo for SAT. What is that we can do? The Class TISP For every two functions S, T : N → N, the class TISP(T(n), S(n)) is the set of languages decided by a TM M that on every input x ∈ {0, 1}∗ takes at most O(T(|x|)) steps and uses at most O(S(|x|)) cells of its read/write tape.

slide-57
SLIDE 57

Complete Problems for levels of PH Alternating Turing Machines Time versus Alternations

Time-Space TradeOff

As we do not know much about the P vs NP question, we even cannot rule out a deterministic poly-time algo for SAT. What is that we can do? The Class TISP For every two functions S, T : N → N, the class TISP(T(n), S(n)) is the set of languages decided by a TM M that on every input x ∈ {0, 1}∗ takes at most O(T(|x|)) steps and uses at most O(S(|x|)) cells of its read/write tape. SAT and TISP One can show that SAT / ∈ TISP(nc, nd) for every constants c, d such that c(c + d) < 2.