FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY - PowerPoint PPT Presentation

1 / 28
About This Presentation
Title:

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

Description:

Nobody knows! FACTORING-DECISION = { (m, a, b) | m has a prime factor between a and b inclusive } ... Nobody knows if they exist ... Nobody knows! ... – PowerPoint PPT presentation

Number of Views:60
Avg rating:3.0/5.0
Slides: 29
Provided by: luisv2
Category:

less

Transcript and Presenter's Notes

Title: FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY


1
15-453
FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
2
Pat yourself in the back!
3
TOPICS IN COMPLEXITY THEORY co-CLASSES, RELATIVE
COMPLEXITY, ETC
TUESDAY NOVEMBER 15
4
Definition coNP L ?L ? NP
What does a coNP computation look like?
A coNP computation is a non-deterministic
poly-time computation in which all paths reject
(or accept)
5
Is P ? coNP?
Yes!
6
P
7
Definition Language B is coNP-complete if
1. B ? coNP
2. Every A in coNP is poly-time reducible to
B (i.e. B is coNP-hard)
8
UNSAT ? no assignment of the variables
satisfies ?
Proof that UNSAT is coNP-complete
(1) UNSAT ? coNP
(2) UNSAT is coNP-hard
Let A ? coNP. We show A ?P UNSAT
On input w, transform w into a formula ? using
Cook-Levin
w ? ?A ? ? ? SAT
w ? A ? ? ? UNSAT
9
TAUT ? every assignment of the variables
satisfies ?
TAUT is coNP-complete
10
Is P NP ? coNP?
Nobody knows!
11
FACTORING-DECISION (m, a, b) m has a prime
factor between a and b inclusive
If FACTORING-DECISION ? P, then we could break
most public-key cryptosystems currently in use
FACTORING-DECISION ? NP ? coNP
Is FACTORING-DECISION NP-complete?
If FACTORING-DECISION is NP-complete, then NP
coNP
12
Theorem FACTORING-DECISION ? NP ? coNP
(1) FACTORING-DECISION ? NP
A prime factor of m between a and b is a
certificate
(2) FACTORING-DECISION ? coNP
The factorization of m is a certificate that
(m,a,b) ? FACTORING-DECISION
13
P
14
Definition A ? coP if and only if ?A ? P
P coP
Similarly, PSPACE coPSPACE
15
NP-complete problems
SAT, 3SAT, CLIQUE, HAMPATH,
coNP-complete problems
UNSAT, TAUT,
PSPACE-complete problems
TQBF, GG,
(NP ? coNP)-complete problems
Nobody knows if they exist
NP, coNP and PSPACE were all defined in terms of
specific machines, whereas NP ? coNP does not
have a machine model
16
ORACLE TMs
Is ? in SAT?
q0
Yes
I
N
P
U
T
A
INFINITE TAPE
17
ORACLE MACHINES
An oracle is a set B to which the TM may pose
membership questions and always receive correct
answers after one step of time
18
MA denotes the machine M with access to an oracle
for A
PA L L can be decided with a determinis-tic
poly-time oracle machine M that uses an oracle
for A
PSAT
all languages that can be decided in
deterministic polynomial time with an oracle for
SAT
19
Is NP ? PSAT?
Yes!
20
Is coNP ? PSAT?
Yes!
21
Is NP NPSAT?
Nobody knows!
22
Two Boolean formulas ? and ? over the variables
x1,,xl are equivalent if they have the same
value on any assignment to the variables
Are x and x ? x equivalent?
Yes
Are x and x ? ?x equivalent?
No
Are (x ? ?y) ? ?(?x ? y) and x ? ?y equivalent?
A Boolean formula is minimal if no smaller
formula is equivalent to it
NON-MIN-FORMULA ? ? is not minimal
23
Theorem NON-MIN-FORMULA ? NPSAT
Proof
EQUIV (?, ?) ? and ? are equivalent
EQUIV ? coNP
So EQUIV can be decided with an oracle for SAT
NPSAT machine for NON-MIN-FORMULA
Guess an equivalent smaller formula and test it
24
Theorem
(1) An oracle B exists where PB NPB
(2) An oracle A exists where PA ? NPA
Proof of (1)
Let B TQBF
Then
NPTQBF ? NPSPACE ? PSPACE ? PTQBF
25
(2) An oracle A exists where PA ? NPA
For oracle A, define LA w ?x?A x w

Notice that LA ? NPA
We show how to construct A so that LA ? PA
Let M1, M2, be a list of all poly-time oracle TMs
We assume that Mi runs in time at most ni
We will construct A in stages
Stage i guarantees that MiA doesnt decide LA
26
All strings of 0s and 1s
In STAGE i
A finite number of strings have been assigned to
A so far
strings of length 1
strings of length 2
Pick n greater than the length of any string in A
so far but such that ni is smaller than 2n
Run Mi on 1n and respond to its queries as
follows
If Mi queries about a string y whose status has
already been determined, respond consistently
strings of length n
Otherwise, respond NO
27
Theorem
(1) An oracle B exists where PB NPB
(2) An oracle A exists where PA ? NPA
28
WWW.FLAC.WS
Write a Comment
User Comments (0)
About PowerShow.com