Question: 20 points) a) Prove that the language L = {(D)|D is a DFA that accepts all odd length strings} is decidable. b) What is wrong

 20 points) a) Prove that the language L = {(D)|D is

20 points) a) Prove that the language L = {(D)|D is a DFA that accepts all odd length strings} is decidable. b) What is wrong with the following proof? Why? T="On input string (D): 1. Check whether D represents a valid DFA. 2. Run D on the odd length strings one by one. If any one of those strings is not ac- cepted, reject. Otherwise, accept." T is a decider, therefore, L is decidable

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!