Presentation is loading. Please wait.

Presentation is loading. Please wait.

Undecidable Problems (unsolvable problems)

Similar presentations


Presentation on theme: "Undecidable Problems (unsolvable problems)"— Presentation transcript:

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

2 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

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

4 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

5 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

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

7 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

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

9 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

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

11 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

12 and Fall 2006 Costas Busch - RPI

13 or Fall 2006 Costas Busch - RPI

14 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


Download ppt "Undecidable Problems (unsolvable problems)"

Similar presentations


Ads by Google