undecidable problems

20
Sudan University of Science and Technology By: Haitham Abdel Moniem Undecidable Problems Supervisor: Dr. Mohamed El-Hafiz

Upload: haitham-abdel-moniem

Post on 03-Jan-2016

29 views

Category:

Documents


0 download

DESCRIPTION

Theory of Computation

TRANSCRIPT

Page 1: Undecidable problems

Sudan University of Science and Technology

By: Haitham Abdel Moniem

Undecidable Problems

Supervisor: Dr. Mohamed El-Hafiz

Page 2: Undecidable problems
Page 3: Undecidable problems
Page 4: Undecidable problems
Page 5: Undecidable problems
Page 6: Undecidable problems
Page 7: Undecidable problems
Page 8: Undecidable problems
Page 9: Undecidable problems
Page 10: Undecidable problems
Page 11: Undecidable problems
Page 12: Undecidable problems

Recursive and Recursively Enumerable Languages

• The language accepted by Turing machines are called recursively enumerable (RE), and the subset of RE languages that are accepted by a TM that always halts are called recursive.

Page 13: Undecidable problems

Complements of Recursive and RE Languages

• The recursive languages are closed under complementation, and if a language and its complement are both RE, then both languages are actually recursive. Thus, the complement of an RE-but-not-recursive language can never be RE.

Page 14: Undecidable problems

Decidability and Undecidability

• “Decidable” is synonym for “recursive” although we tend to refer to languages as “recursive” and problems as “decidable” . If a language is not recursive, then we call the problem expressed by that language is “undecidable”.

Page 15: Undecidable problems

The Language Ld

• This language is the set of strings of 0’s and 1’s that, when interpreted as a TM , are not in the language of that TM. The language Ld is a good example of a language that is not RE; i.e., no Turing machine accept it.

Page 16: Undecidable problems

The Universal Language

• The language Lu consists of strings that are interpreted as a TM followed by an input for that TM. The string is in the Lu if the TM accepts that input. Lu is a good example of a language that is RE but not recursive.

Page 17: Undecidable problems

Rice’s Theorem

• Any nontrivial property (not empty or not all RE) of the languages accepted by Turing machines is undecidable. For instance, the set of codes for Turning machines whose language is empty is undecidable by Rice’s theorem. In fact, this language is not RE, although its complement – the set of codes for TM’s that accept at least one string – is RE but not recursive.

Page 18: Undecidable problems

Post's Correspondence Problem

• This question asks, given two lists of the same number of strings, whether we can pick a sequence of corresponding string form the two lists and form the same string by concatenation. PCP is an important example of an undecidable problem. PCP is a good choice for reducing to other problems and thereby proving them undecidable.

Page 19: Undecidable problems

Undecidable Context-Free-Language Problems

• By reduction from PCP, we can show a number of questions about CFL’s or their grammars to be undecidable. For instance, it is undecidable whether a CFG is ambiguous, whether one CFL is contained in another, or whether the intersection of two CFL’s is empty.

Page 20: Undecidable problems

Thank you for listening