Professional Documents
Culture Documents
PCP Final
PCP Final
PCP Final
Definition:
An instance of PCP consists of two lists of strings over some alphabet S. The two lists are of length, denoted as A and B. The instance is denoted as (A,B). WE write them as A=w1,w2,wk B= x1, x2, ,xk for some integer k. For each i, the pair (wi, xi) is said a corresponding pair.
PCP INSTANCES
The answer to this instance of PCP is yes if and only if there exists a nonempty sequence of indices i1, . . . ik, such that Wi1Win=Xi1Xin
(PCP) is an example of a problem that does not mention TMs in its statement, yet is undecidable. From PCP, we can prove many other nonTM problems undecidable.
EXAMPLE: PCP
Let the alphabet be {0, 1}. Let the PCP instance consists of the two pairs (0, 01) and (100, 001). We claim there is no solution. You cant start with (100, 001) because the first character dont match.
EXAMPLE: PCP-(3)
Suppose we add a third pair, so the instance becomes: 1= (0, 01); 2 = (100, 001); 3= (110, 10) Now 1, 3 is a solution; both string are 0110.
We say this instance of PCP has a solution, if there is a sequence of integers, i1, i2, , im that, when interpreted as indexed for strings in the A and B lists, yields the same string, that is, wi1 wi2 wim=xi1 xi2 xim. We say the sequence is a solution to this instance of PCP.