CS355 – The Mathematics and Theory of Computer Science Reductions.

Slides:



Advertisements
Similar presentations
Algorithms Sipser 3.3 (pages ). CS 311 Fall Computability Hilbert's Tenth Problem: Find a process according to which it can be determined.
Advertisements

Measuring Time Complexity
CSCI 3130: Formal languages and automata theory Tutorial 9
Applied Computer Science II Chapter 4: Decidability Prof. Dr. Luc De Raedt Institut für Informatik Albert-Ludwigs Universität Freiburg Germany.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
CS 208: Computing Theory Assoc. Prof. Dr. Brahim Hnich Faculty of Computer Sciences Izmir University of Economics.
Post Correspondence Problem [Section 5.2] Suppose we have dominos of strings, e.g.: The question: is it possible to arrange the dominos in line (repetitions.
Recap CS605: The Mathematics and Theory of Computer Science.
Tackling Post’s Correspondence Problem Ling Zhao Department of Computing Science University of Alberta July 31, 2001.
February 6, 2015CS21 Lecture 141 CS21 Decidability and Tractability Lecture 14 February 6, 2015.
NKU CSC 685 Kirby First-Order Logic and Undecidability.
On the Membership of Invertible Diagonal Matrices
1 Section 14.1 Computability Some problems cannot be solved by any machine/algorithm. To prove such statements we need to effectively describe all possible.
CS605 – The Mathematics and Theory of Computer Science Turing Machines.
Algorithms Sipser 3.3 (pages ). CS 311 Mount Holyoke College 2 Computability Hilbert's Tenth Problem: Find “a process according to which it can.
Regular expressions Sipser 1.3 (pages 63-76). CS 311 Mount Holyoke College 2 Looks familiar…
Regular operations Sipser 1.2 (pages 47-63). First… a sample proof
Fall 2004COMP 3351 Undecidable problems for Recursively enumerable languages continued…
Reducibility A reduction is a way of converting one problem into another problem in such a way that a solution to the second problem can be used to solve.
1 The Post Correspondence Problem continued We will prove that the MPC problem is undecidable 2. We will prove that the PC problem is undecidable.
Costas Busch - RPI1 Undecidable problems for Recursively enumerable languages continued…
Fall 2006Costas Busch - RPI1 The Post Correspondence Problem.
Creating Difficult Instances of the Post Correspondence Problem Presenter: Ling Zhao Department of Computing Science University of Alberta March 20, 2001.
Applied Computer Science II Chapter 5: Reducability Prof. Dr. Luc De Raedt Institut für Informatik Albert-Ludwigs Universität Freiburg Germany.
Regular expressions Sipser 1.3 (pages 63-76). CS 311 Fall Looks familiar…
Automata & Formal Languages, Feodor F. Dragan, Kent State University 1 CHAPTER 5 Reducibility Contents Undecidable Problems from Language Theory.
CS5371 Theory of Computation Lecture 8: Automata Theory VI (PDA, PDA = CFG)
CS355 - Theory of Computation Lecture 2: Mathematical Preliminaries.
Computability and Modeling Computation What are some really impressive things that computers can do? –Land the space shuttle (and other aircraft) from.
CS355 – The Mathematics and Theory of Computer Science Reducibility.
Decidability A decision problem is a problem with a YES/NO answer. We have seen decision problems for - regular languages: - context free languages: [Sections.
CS355 – Theory of Computation Dr. Aidan Mooney, September 2006 National University of Ireland, Maynooth Department of Computer Science.
Welcome to Honors Intro to CS Theory Introduction to CS Theory (Honors & Traditional): - formalization of computation - various models of computation (increasing.
Korea Advanced Institute of Science and Technology, Dept. of EECS, Div. of CS, Information Systems Lab. 1/10 CS204 Course Overview Prof.
Recursion Jordi Cortadella Department of Computer Science.
The Recursion Theorem Pages 217– ADVANCED TOPICS IN C O M P U T A B I L I T Y THEORY.
Welcome to Honors Intro to CS Theory Introduction to CS Theory (Honors & Traditional): - formalization of computation - various models of computation (increasing.
Reducibility 1. 2 Text book Pages 187– 199 Reducibility A reduction is a way of converting one problem to another problem in such a way that a solution.
CS 208: Computing Theory Assoc. Prof. Dr. Brahim Hnich Faculty of Computer Sciences Izmir University of Economics.
 2005 SDU Lecture13 Reducibility — A methodology for proving un- decidability.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
D E C I D A B I L I T Y 1. 2 Objectives To investigate the power of algorithms to solve problems. To explore the limits of algorithmic solvability. To.
CS355 - Theory of Computation Regular Expressions.
Chapter 3 Regular Expressions, Nondeterminism, and Kleene’s Theorem Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction.
Foundations of (Theoretical) Computer Science Chapter 2 Lecture Notes (Section 2.2: Pushdown Automata) Prof. Karen Daniels, Fall 2010 with acknowledgement.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
CS 221 – May 24 What is it good for? – Many trials or iterations needed for maximum precision – Large input – Intractable problems Please note: – H2 due.
Costas Busch - LSU1 The Post Correspondence Problem.
Donghyun (David) Kim Department of Mathematics and Computer Science North Carolina Central University 1 Chapter 5 Reducibility Some slides are in courtesy.
CS 154 Formal Languages and Computability April 28 Class Meeting Department of Computer Science San Jose State University Spring 2016 Instructor: Ron Mak.
Costas Busch - RPI1 Decidability. Costas Busch - RPI2 Consider problems with answer YES or NO Examples: Does Machine have three states ? Is string a binary.
CIS Automata and Formal Languages – Pei Wang
FORMAL LANGUAGES AND AUTOMATA THEORY
Reductions.
Reductions Costas Busch - LSU.
Intro to Theory of Computation
FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
قراءة القوائم المالية وفـاء شـريف علي. محلل مالي
Jordi Cortadella Department of Computer Science
Busch Complexity Lectures: Undecidable Problems (unsolvable problems)
Jaya Krishna, M.Tech, Assistant Professor
CS154, Lecture 8: Undecidability, Mapping Reductions
CS154, Lecture 8: Undecidability, Mapping Reductions
The Post Correspondence Problem
Undecidable problems:
Reducability Sipser, pages
Discrete Math for CS CMPSC 360 LECTURE 43 Last time: Variance
CS 461 – Nov. 14 Section 5.2 – Undecidable problems starting from ATM:
Subject Name: FORMAL LANGUAGES AND AUTOMATA THEORY
Decidability continued….
Presentation transcript:

CS355 – The Mathematics and Theory of Computer Science Reductions

Dr. A. Mooney, Dept. of Computer Science, NUI Maynooth Undecidable Problem Let us look at an undecidable problem concerning simple manipulation of strings. It is called the Post correspondence problem (PCP). Can describe the problem as a type of puzzle.

Dr. A. Mooney, Dept. of Computer Science, NUI Maynooth PCP We begin with a collection of dominos, each containing two strings, one on each side: for e.g. And a collection of dominos looks like:

Dr. A. Mooney, Dept. of Computer Science, NUI Maynooth PCP Goal: Make a list of these dominos (repeats allowed) so that the string we get on the top of the dominos is the same as the string we get on the bottom of them. This list is called a match. E.g.:

Dr. A. Mooney, Dept. of Computer Science, NUI Maynooth PCP Reading off the top and bottom strings gives us: –abcaaabc For some collection of dominos there may not be a match! E.g.: Top strings longer than bottom / No c in bottom

Dr. A. Mooney, Dept. of Computer Science, NUI Maynooth PCP THE PCP is to determine whether a collection of dominos has a match. Problem is unsolvable by algorithm. Let us state the problem precisely and then express it as a language.

Dr. A. Mooney, Dept. of Computer Science, NUI Maynooth PCP An instance of the PCP is a collection P of dominos: and a match is a sequence i 1, i 2, …,i l, where: t i1, t i2, …,t il = b i1, b i2, …,b il. The problem is to determine whether P has a match. Let: PCP = { | P is an instance of the PCP with a match}

Dr. A. Mooney, Dept. of Computer Science, NUI Maynooth PCP PCP is an undecidable problem and there is a proof in Sipser if anyone is interested in looking it up. Let us look at a simpler undecidable problem.