Undecidable Problems (unsolvable problems)

Slides:



Advertisements
Similar presentations
Reducibility Sipser 5.1 (pages ). CS 311 Fall Reducibility.
Advertisements

The Halting Problem Sipser 4.2 (pages ).
Mapping Reducibility Sipser 5.3 (pages ).
Mapping Reducibility Sipser 5.3 (pages ). CS 311 Fall Computable functions Definition 5.17: A function f:Σ*→Σ* is a computable function.
Fall 2004COMP 3351 Undecidable problems for Recursively enumerable languages continued…
Prof. Busch - LSU1 Decidable Languages. Prof. Busch - LSU2 Recall that: A language is Turing-Acceptable if there is a Turing machine that accepts Also.
Courtesy Costas Busch - RPI1 A Universal Turing Machine.
Costas Busch - RPI1 Pushdown Automata PDAs. Costas Busch - RPI2 Pushdown Automaton -- PDA Input String Stack States.
Courtesy Costas Busch - RPI1 Non Deterministic Automata.
Costas Busch - RPI1 Undecidable problems for Recursively enumerable languages continued…
Fall 2003Costas Busch - RPI1 Decidability. Fall 2003Costas Busch - RPI2 Recall: A language is decidable (recursive), if there is a Turing machine (decider)
Fall 2006Costas Busch - RPI1 Deterministic Finite Automata And Regular Languages.
Recursively Enumerable and Recursive Languages
Costas Busch - RPI1 Standard Representations of Regular Languages Regular Languages DFAs NFAs Regular Expressions Regular Grammars.
Fall 2006Costas Busch - RPI1 The Post Correspondence Problem.
Fall 2004COMP 3351 The Chomsky Hierarchy. Fall 2004COMP 3352 Non-recursively enumerable Recursively-enumerable Recursive Context-sensitive Context-free.
Courtesy Costas Busch - RPI1 Turing Machines. Courtesy Costas Busch - RPI2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Fall 2006Costas Busch - RPI1 Pushdown Automata PDAs.
Fall 2003Costas Busch - RPI1 Decidable Problems of Regular Languages.
Fall 2004COMP 3351 Reducibility. Fall 2004COMP 3352 Problem is reduced to problem If we can solve problem then we can solve problem.
Costas Busch - RPI1 Standard Representations of Regular Languages Regular Languages DFAs NFAs Regular Expressions Regular Grammars.
Automata & Formal Languages, Feodor F. Dragan, Kent State University 1 CHAPTER 5 Reducibility Contents Undecidable Problems from Language Theory.
Fall 2006Costas Busch - RPI1 Non-Deterministic Finite Automata.
Fall 2005Costas Busch - RPI1 Recursively Enumerable and Recursive Languages.
Costas Busch - RPI1 Turing Machines. Costas Busch - RPI2 The Language Hierarchy Regular Languages Context-Free Languages ? ?
Courtesy Costas Busch - RPI1 Reducibility. Courtesy Costas Busch - RPI2 Problem is reduced to problem If we can solve problem then we can solve problem.
Finite Automata Costas Busch - RPI.
Fall 2006Costas Busch - RPI1 Undecidable Problems (unsolvable problems)
Prof. Busch - LSU1 Undecidable Problems (unsolvable problems)
Prof. Busch - RPI1 Decidable Problems of Regular Languages.
Prof. Busch - LSU1 Reductions. Prof. Busch - LSU2 Problem is reduced to problem If we can solve problem then we can solve problem.
Fall 2005Costas Busch - RPI1 Pushdown Automata PDAs.
1 Reducibility. 2 Problem is reduced to problem If we can solve problem then we can solve problem.
The Halting Problem – Undecidable Languages Lecture 31 Section 4.2 Wed, Oct 31, 2007.
Fall 2006Costas Busch - RPI1 Deterministic Finite Automaton (DFA) Input Tape “Accept” or “Reject” String Finite Automaton Output.
 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.
1 The Chomsky Hierarchy. 2 Unrestricted Grammars: Productions String of variables and terminals String of variables and terminals.
Undecidability and The Halting Problem
Costas Busch - RPI1 Decidability. Costas Busch - RPI2 Consider problems with answer YES or NO Examples: Does Machine have three states ? Is string a binary.
Costas Busch - RPI1 Decidability. Costas Busch - RPI2 Another famous undecidable problem: The halting problem.
Recursively Enumerable and Recursive Languages. Definition: A language is recursively enumerable if some Turing machine accepts it.
Decidability.
Fall 2006Costas Busch - RPI1 RE languages and Enumerators.
CS 461 – Nov. 2 Sets Prepare for ATM finite vs. infinite Infinite sets
Recursively Enumerable and Recursive Languages
Time Complexity Costas Busch - LSU.
Busch Complexity Lectures: Reductions
Linear Bounded Automata LBAs
Reductions.
Undecidable Problems Costas Busch - LSU.
Reductions Costas Busch - LSU.
Busch Complexity Lectures: Undecidable Problems (unsolvable problems)
Turing acceptable languages and Enumerators
Non-Deterministic Finite Automata
Decidable Languages Costas Busch - LSU.
The Post Correspondence Problem
A Universal Turing Machine
Elementary Questions about Regular Languages
Non-regular languages
Decidable Problems of Regular Languages
Turing acceptable languages and Enumerators
Undecidable problems:
Properties of Context-Free languages
More undecidable languages
More undecidable languages
CSCI 2670 Introduction to Theory of Computing
Decidability continued….
Formal Definitions for Turing Machines
Presentation transcript:

Undecidable Problems (unsolvable problems) Fall 2006 Costas Busch - RPI

Decidable Languages Recall that: A language is decidable, if there is a Turing machine (decider) that accepts the language and halts on every input string Decision On Halt: Turing Machine YES Accept Input string Decider for NO Reject Fall 2006 Costas Busch - RPI

A computational problem is decidable if the corresponding language is decidable We also say that the problem is solvable Fall 2006 Costas Busch - RPI

Corresponding Language: (Decidable) Problem: Does DFA accept the empty language ? Corresponding Language: (Decidable) Description of DFA as a string (For example, we can represent as a binary string, as we did for Turing machines) Fall 2006 Costas Busch - RPI

Determine whether there is a path from Decider for : On input : Determine whether there is a path from the initial state to any accepting state DFA DFA Decision: Accept Reject Fall 2006 Costas Busch - RPI

Corresponding Language: (Decidable) Problem: Does DFA accept a finite language? Corresponding Language: (Decidable) Fall 2006 Costas Busch - RPI

Check if there is a walk with a cycle Decider for : On input : Check if there is a walk with a cycle from the initial state to an accepting state DFA DFA infinite finite Decision: Accept Reject (NO) (YES) Fall 2006 Costas Busch - RPI

Corresponding Language: (Decidable) Problem: Does DFA accept string ? Corresponding Language: (Decidable) Fall 2006 Costas Busch - RPI

Decider for : On input string : Run DFA on input string If accepts Then accept (and halt) Else reject (and halt) Fall 2006 Costas Busch - RPI

accept the same language? Problem: Do DFAs and accept the same language? Corresponding Language: (Decidable) Fall 2006 Costas Busch - RPI

Let be the language of DFA Decider for : On input : Let be the language of DFA Construct DFA such that: (combination of DFAs) Fall 2006 Costas Busch - RPI

and Fall 2006 Costas Busch - RPI

or Fall 2006 Costas Busch - RPI

which is a solvable problem for DFAs: Therefore, we only need to determine whether which is a solvable problem for DFAs: Fall 2006 Costas Busch - RPI