Post s Correspondence Problem (PCP) Is Undecidable. Presented By Bharath Bhushan Reddy Goulla

Similar documents
AC68 FINITE AUTOMATA & FORMULA LANGUAGES DEC 2013

The Turing Machine. Computability. The Church-Turing Thesis (1936) Theory Hall of Fame. Theory Hall of Fame. Undecidability

Lecture 12: Mapping Reductions

Decidability. Linz 6 th, Chapter 12: Limits of Algorithmic Computation, page 309ff

There are two main techniques for showing that problems are undecidable: diagonalization and reduction

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, Class 8 Nancy Lynch

Computability and Complexity

Computation Histories

Introduction to Turing Machines

Section 14.1 Computability then else

Non-emptiness Testing for TMs

CS5371 Theory of Computation. Lecture 15: Computability VI (Post s Problem, Reducibility)

CSE 105 THEORY OF COMPUTATION

Turing machines Finite automaton no storage Pushdown automaton storage is a stack What if we give the automaton a more flexible storage?

Reducability. Sipser, pages

1 Showing Recognizability

Turing Machines. Nicholas Geis. February 5, 2015

6.045J/18.400J: Automata, Computability and Complexity. Quiz 2. March 30, Please write your name in the upper corner of each page.

problem X reduces to Problem Y solving X would be easy, if we knew how to solve Y

ECS 120 Lesson 20 The Post Correspondence Problem

Introduction to Turing Machines. Reading: Chapters 8 & 9

Lecture Notes: The Halting Problem; Reductions

Theory of Computation Turing Machine and Pushdown Automata

Limits of Computability

Undecidability. Andreas Klappenecker. [based on slides by Prof. Welch]

On Rice s theorem. Hans Hüttel. October 2001

Turing Machines Part III

TURING MAHINES

Computability and Complexity

Theory of Computation

Automata & languages. A primer on the Theory of Computation. Laurent Vanbever. ETH Zürich (D-ITET) October,

6.8 The Post Correspondence Problem

Turing Machines A Turing Machine is a 7-tuple, (Q, Σ, Γ, δ, q0, qaccept, qreject), where Q, Σ, Γ are all finite

UNIT-VIII COMPUTABILITY THEORY

CSE 105 THEORY OF COMPUTATION

Undecidability COMS Ashley Montanaro 4 April Department of Computer Science, University of Bristol Bristol, UK

CS5371 Theory of Computation. Lecture 14: Computability V (Prove by Reduction)

Advanced Undecidability Proofs

ACS2: Decidability Decidability

Undecidability. We are not so much concerned if you are slow as when you come to a halt. (Chinese Proverb)

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine)

CSE 105 THEORY OF COMPUTATION

Chapter 6: Turing Machines

There are problems that cannot be solved by computer programs (i.e. algorithms) even assuming unlimited time and space.

CS5371 Theory of Computation. Lecture 10: Computability Theory I (Turing Machine)

Undecibability. Hilbert's 10th Problem: Give an algorithm that given a polynomial decides if the polynomial has integer roots or not.

THEORY OF COMPUTATION (AUBER) EXAM CRIB SHEET

Theory of Computation

Turing s thesis: (1930) Any computation carried out by mechanical means can be performed by a Turing Machine

Mapping Reducibility. Human-aware Robotics. 2017/11/16 Chapter 5.3 in Sipser Ø Announcement:

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION

Outline 1 PCP. 2 Decision problems about CFGs. M.Mitra (ISI) Post s Correspondence Problem 1 / 10

Theory of Computation

Exam Computability and Complexity

1 The decision problem for First order logic

Decidability: Church-Turing Thesis

Decidability: Reduction Proofs

Undecidability of the Post Correspondence Problem in Coq

Equivalent Variations of Turing Machines

CSE 105 THEORY OF COMPUTATION. Spring 2018 review class

CS154, Lecture 10: Rice s Theorem, Oracle Machines

CS20a: Turing Machines (Oct 29, 2002)

Undecidable Problems and Reducibility

CSE 105 Theory of Computation

Turing Machines (TM) Deterministic Turing Machine (DTM) Nondeterministic Turing Machine (NDTM)

Chap. 4,5 Review. Algorithms created in proofs from prior chapters

Turing Machines Part II

CpSc 421 Homework 9 Solution

CSCE 551: Chin-Tser Huang. University of South Carolina

Turing Machines. The Language Hierarchy. Context-Free Languages. Regular Languages. Courtesy Costas Busch - RPI 1

Theory of Computer Science. Theory of Computer Science. D7.1 Introduction. D7.2 Turing Machines as Words. D7.3 Special Halting Problem

SYLLABUS. Introduction to Finite Automata, Central Concepts of Automata Theory. CHAPTER - 3 : REGULAR EXPRESSIONS AND LANGUAGES

Opleiding Informatica

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

Theory of Computation - Module 4

CS20a: Turing Machines (Oct 29, 2002)

The Unsolvability of the Halting Problem. Chapter 19

Turing Machines, diagonalization, the halting problem, reducibility

Chapter 8. Turing Machine (TMs)

Turing Machines. Chapter 17

MTAT Introduction to Theoretical Computer Science

Warm-Up Problem. Please fill out your Teaching Evaluation Survey! Please comment on the warm-up problems if you haven t filled in your survey yet.

ELEMENTS IN MATHEMATICS FOR INFORMATION SCIENCE NO.6 TURING MACHINE AND COMPUTABILITY. Tatsuya Hagino

4.2 The Halting Problem

From Fundamentele Informatica 1: inleverdatum 1 april 2014, 13:45 uur. A Set A of the Same Size as B or Larger Than B. A itself is not.

CSCI3390-Lecture 6: An Undecidable Problem

Automata and Formal Languages - CM0081 Non-Deterministic Finite Automata

Turing Machines. Wen-Guey Tzeng Computer Science Department National Chiao Tung University

Computability and Complexity Theory

7.2 Turing Machines as Language Acceptors 7.3 Turing Machines that Compute Partial Functions

Decidability (What, stuff is unsolvable?)

Midterm II : Formal Languages, Automata, and Computability

Computational Models Lecture 8 1

CSCE 551 Final Exam, Spring 2004 Answer Key

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

The Church-Turing Thesis

1 Acceptance, Rejection, and I/O for Turing Machines

DM17. Beregnelighed. Jacob Aae Mikkelsen

Introduction to Languages and Computation

Transcription:

Post s Correspondence Problem (PCP) Is Undecidable Presented By Bharath Bhushan Reddy Goulla

Contents : Introduction What Is PCP? Instances Of PCP? Introduction Of Modified PCP (MPCP) Why MPCP? Reducing MPCP to PCP! PCP Is Undecidable!! Statements Proof Conclusion References

Introduction: The Post s Correspondence Problem is an undecidable decision problem that was introduced by Emil Leon Post in 1946. Post s Correspondence Problem (PCP) involves strings rather than TM. Our goal is to prove this problem about strings to be undecidable, and then use its Un-decidability to prove other problems undecidable by reducing PCP to those.

What Is Post s Correspondence Problem (PCP)? A PCP consists of two lists of string over some alphabet Σ; the two lists must be of equal length. Generally A=w 1, w 2, w 3,.w k and B= x 1, x 2,x 3, x k for some integer k. For each i, the pair (w i, x i ) is said to be a corresponding pair. We say this instances of PCP has a solution, if there is a sequence of one or more integers i 1, i 2,., i m that, when interpreted as indexes for strings in the A and B lists, yield the same string.

Contd. That is, w i1 w i2. w im sequence i 1, i 2,., i m PCP, if so. = x i1 x i2. x im. We say the is a solution to this instance of

Instances Of PCP! 1 ) Consider two lists A and B List A List B i w i x i 1 1 111 2 10111 10 3 10 0 List Order : 2 w2 10111 x2 10

Instances Of PCP! ( Contd.) Consider two lists A and B List A List B i w i x i 1 1 111 2 10111 10 3 10 0 List Order : 2 1 w2 w1 10111 1 x2 x1 10 111

Instances Of PCP! ( Contd.) Consider two lists A and B List A List B i w i x i 1 1 111 2 10111 10 3 10 0 List Order : 2 1 1 w2 w1 w1 10111 1 1 x2 x1 x1 10 111 111

Instances Of PCP! ( Contd.) Consider two lists A and B List A List B i w i x i 1 1 111 List Order : 2 1 1 3 2 10111 10 3 10 0 Both list order arrangement makes them similar sequence. w2 w1 w1 w3 10111 1 1 10 x2 x1 x1 x3 10 111 111 0

Contd. The above instance of PCP have a solution in the order of indexes 2,1,1,3. The solution can also be expressed in terms of 2,1,1,3,2,1,1,3,2,1,1,3 and so on. Another Instance of PCP : 2) Consider Lists A and B List A List B i w i x i 1 10 101 2 011 11 3 101 011

Contd. 2) Consider Lists A and B List A List B i w i x i 1 List Order : 1 10 101 2 011 11 W1 10 X1 101 3 101 011 We cannot start with 2 and 3 because the starting doesn t match with each other. So the only choice in the list is 1.

Consider Lists A and B List A List B i w i x i 1 10 101 2 011 11 3 101 011 Contd. List Order : 1 3 W1 w3 10 101 X1 x3 101 011

Consider Lists A and B List A List B i w i x i Contd. List Order : 1 3 3 Partial Solution 1 10 101 2 011 11 3 101 011 W1 w3 w3 10 101 101 X1 x3 x3 101 011 011 Always at the end we see an extra 1 in x list sequence and this make us repeatedly to go for index 3. These continues which results in Partial Solution or no solution.

Introduction Of Modified PCP! In MPCP, there is the additional requirement on a solution that the first pair on the A and B lists must be the first pair in the solution. More formally, an instance of MPCP is two lists A=w 1, w 2, w 3,.w k and B= x 1, x 2,x 3, x k for some integer k. And a solution is a list of 0 or more integers i 1, i 2,., i m Such that w 1 w i1 w i2. w im = x 1 x i1 x i2. x im.

Why MPCP? We use MPCP as a medium for proving PCP is Undecidable. First we reduce L u (A TM ) to MPCP instance. We Reduce MPCP instance to PCP instance. As from reductions from L u to PCP as MPCP in middle It become easy to prove that PCP is Undecidable.

Reducing MPCP To PCP! Rules for conversion of MPCP to PCP: 1. Add a symbol (*) after every string in the list(w i ) of MPCP. 2. Add a symbol (*) before every string in the list(x i ) of MPCP. 3. We need to observe that we will have k+2 indexes after conversion of MPCP to PCP. 1. For instance if we have from 1 in MPCP then we start with 0 in PCP such that list(y i ) will have a symbol before 1 index list(y i ) and list(z i ) will have same as of 1 index value in list(z i ) 2. Extra Stings in lists are initial and final terminals for identification, i.e.; $ and *$ { list(y i ) and list(z i ) } respectively. MPCP PCP list(w i ) list(y i ) list(x i ) list(z i )

Example of Reducing MPCP to PCP. Consider two lists A and B List A List B i w i x i 1 1 111 2 10111 10 Consider this as a MPCP lists 3 10 0 List C List D Corresponding PCP instance i y i z i 0 *1* *1*1*1 1 1* *1*1*1 2 1*0*1*1*1* *1*0 3 1*0* *0 4 $ *$

Contd. Above is the example that we can change any instance of MPCP to PCP by reduction following rules. After Converting or reducing MPCP to PCP o The lists will be in the form of y 0 y i1 y i2..y im y k+1 = z 0 z i1 z i2..z im z k+1 So it fallows that w i1 w i2. w im = x i1 x i2. x im

PCP is Undecidable!! Statements PCP is decidable iff MPCP is decidable. MPCP have a solution iff PCP have a solution. MPCP is decidable iff L u is recursive, where L u is a language <M,w> M is Turing machine accepts W string => A TM is decidable. (Assumption)

Proof: First Reducing L u to MPCP. That is, given a pair (M, w), we construct an instance (A,B) of MPCP such that TM M accepts input w iff (A,B) has a solution. Let M=(Q, Σ,Г,δ,q 0,B,F) be a TM. Let w in Σ * be an input string. Construction of MPCP as fallows. List A List B # #q 0 w# X X # # qx ZqX Yp pzy q# Yp# Zq# pzy# First Pair Tape Symbols and seperator if δ( q,x )= (p,y,r) if δ( q,x )= (p,y,l); Z is any type symbol if δ( q,b )= (p,y,r) if δ( q,b )= (p,y,l); Z is any tape symbol Simulate

Proof : (Contd.) If the ID at the end of the B string has an accepting state. Thus, if q is an accepting state, then for all tape symbols X and Y, there are pairs: List A XqY Xq qy List B Q Q q Finally, once the accepting state has consumed all tape symbols, it stands alone as the last ID on the B string. List A List B q## # Acceptance State

Contd. From given <M, w> we constructed an instance of MPCP => If M accepts W we will have solution if not there is no solution. Suppose, MPCP is decidable, then what you can do is??? YES NO M Accepts w M does not accept w THESE IS CONTRIDICTION

Conclusion If M does not accept w you will not go to final state you may halt in that case consuming of symbols will not be possible and you will not get equal strings. If it gets into a loop that will be a partial solution that means no final state it goes on and on. You will not get equal strings. So, M accepts w iff the instance of MPCP has a solution.

Conclusion (Contd.) As long as M does not enter final state it remains in partial solution. The string in list B is always greater than A String. Thus if there is a solution at some point M must enter acceptance state, i,.e.; M accepts w. (Contradiction) As we already know that A TM is Undecidable i.e.; MPCP is also Undecidable. As MPCP is Undecidable PCP is also Undecidable.

References: http://en.wikipedia.org/wiki/post_correspondence_ problem Introduction to Automata Theory, Languages, and Computation- John E. Hopcroft, Rajeev Motwani, Jeffrey D. Ullman http://www.slideshare.net/thameralamery/theoryof-computation-presentation-final Video References: https://www.youtube.com/watch?v=ysr5zmvqzli https://www.youtube.com/watch?v=aekycf9nqpg https://www.youtube.com/watch?v=qrhqpvfjmf8

Thank You Bharath Bhushan Reddy Goulla