sakthi PCP
sakthi PCP
2
Let’s try understanding this by taking two lists A and B
3
Exercise 1
4
5
Exercise 3
Set of Domios
ab ba b abb a
aba abb ab b bab
X Y
ab aba
ba abb
b ab
abb b
a bab
8
ab ba b abb a
aba abb ab b bab
X =ababababbabbbabb
Y =ababababbabbbabb
X= Y
9
Post Correspondence Problem is Undecidable
Acceptance Problem of TM is Modified PCP
Its Solution always starts with index 1
10
11
Undecidability of Post Correspondence Problem :
As theorem says that PCP is undecidable. That is, there is no
particular algorithm that determines whether any Post
Correspondence System has solution or not.
Proof –
We already know about undecidablitiy of Turing Machine. If we are
able to reduce Turing Machine to PCP then we will prove that PCP
is undecidable as well.
Consider Turing machine M to simulate PCP’s input string w can be
represented as .
12
If there is match in input string w, then Turing machine M halts in
accepting state.
This halting state of Turing machine is acceptance problem A TM.
PCP problem starts match with first domino [u1/v1] This is called
Modified PCP problem.
TM = (Q,Σ,δ, Γ,q0,B,F)
Σ = {a,b}, Γ = {a,b,B,X}
Input w = aba
15
Step 1
a b a
q0
ID q0aba
# #
#q0w# #q0aba#
16
Step 2
δ (q0, a) = (q1, X, R)
a X
=
q0 q1
q0a = Xq1
q0a
Xq1
17
Step 3
δ (q1, b) = (q2, X, L)
Y b = Y X
q1 q2
Yq1b = q2YX
YЄΓ Γ = {a,b,B,X}
18
Step 4
For all possible tape symbol
Γ = {a,b,B,X}
a b X B
a b X B
Step 5
For all possible tape symbol Γ = {a,b,B,X}
q2 only accepting state
19
Step 6
# #
# B#
Step 7
q2# #
#
20
Solution
# q0a b a #
#q0aba# Xq1 b a #
# Xq1b a #
#Xq1ba# q2XX a #
# q2X X a #
#q2XXa# q2 X a #
21
# q2X a #
#q2Xa# q2 a #
# q2a #
#q2a# q2 #
# q2# #
#q2# #
PCP is Undecidable
22