Question

Theorem: a* b is decidable Proof: By contradiction; assume a*b is decidable. Let D be a decider f...

Theorem: a* b is decidable

Proof: By contradiction; assume a*b is decidable. Let D be a decider for it. Consider what happens when we run D on a String of infinitely many a’s followed by a b and on a string of infinitely many a’s. Let’s call this first string x and the second string y. Since D is a decider, it halts on all inputs, and therefore cannot run for an infinitely long time.

Therefore D must halt before reading the last character of x and the last character of y, but y is not in the language a*b. Otherwise, D rejects x, but x is in the language a*b.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

Proof: By contradiction; assume a*b is decidable. Let D be a decider for it. Consider what happens when we run D on a string of infinitely many a's followed by a b and on a string of infinitely many a's. Let's call this first string x and the second string y. Since D is a decider, it halts on all inputs, and therefore cannot run for an infinitely long time. Therefore, D must halt before reading the last character of x and the last character of y. Because x and y are the same except for their last character, we see that D must have the same behavior when run on x and when run on y. If D accepts x, then D also accepts y, but y is not in the language a*b. Otherwise, D rejects x, but x is in the language a*b. Both cases contradict the fact that D is a decider for a*b. We have reached a contradiction, so our assumption must have been wrong. Thus a*b is undecidable.

What's wrong with this proof?

By definition, all strings must have finite length, so there's no such thing as an infinite-length string. Therefore, the strings x and y described here don't actually exist, so you can't run D on those two strings at all.

Add a comment
Know the answer?
Add Answer to:
Theorem: a* b is decidable Proof: By contradiction; assume a*b is decidable. Let D be a decider f...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • please explain thanks Search 20:14 2. Let a, b, c, d). Express the next language on...

    please explain thanks Search 20:14 2. Let a, b, c, d). Express the next language on E as a regular expression. (10 points x 3 ) (1)A language consisting of words in which the number of b is 2 or 3 (2) A language consisting of words whose last character is a or b (3) A language consisting of words in which the letter following the letter a is always b 3. M (0, 1, 2), a, b}, 6, 0,...

  • A. (Leftovers from the Proof of the Pigeonhole Principle). As before, let A and B be finite sets with A! 〉 BI 〉 0 and let f : A → B be any function Given a A. let C-A-Va) and let D-B-{ f(a)} PaRT...

    A. (Leftovers from the Proof of the Pigeonhole Principle). As before, let A and B be finite sets with A! 〉 BI 〉 0 and let f : A → B be any function Given a A. let C-A-Va) and let D-B-{ f(a)} PaRT A1. Define g: C -> D by f(x)-g(x). Briefly, if g is not injective, then explain why f is not injective either. Let j : B → { 1, 2, 3, . . . , BI}...

  • !!!!!!!Java!!!!! When you are confident that your methods work properly and that you can generate random...

    !!!!!!!Java!!!!! When you are confident that your methods work properly and that you can generate random text with my generateText method, you can move on to the second step. Create a third class called Generator within the cs1410 package. Make class. This class should have a main method that provides a user interface for random text generation. Your interface should work as follows: Main should bring up an input dialog with which the user can enter the desired analysis level...

  • Consider a cylindrical capacitor like that shown in Fig. 24.6. Let d = rb − ra...

    Consider a cylindrical capacitor like that shown in Fig. 24.6. Let d = rb − ra be the spacing between the inner and outer conductors. (a) Let the radii of the two conductors be only slightly different, so that d << ra. Show that the result derived in Example 24.4 (Section 24.1) for the capacitance of a cylindrical capacitor then reduces to Eq. (24.2), the equation for the capacitance of a parallel-plate capacitor, with A being the surface area of...

  • The following are screen grabs of the provided files Thanks so much for your help, and have a n...

    The following are screen grabs of the provided files Thanks so much for your help, and have a nice day! My Java Programming Teacher Gave me this for practice before the exam, butI can't get it to work, and I need a working version to discuss with my teacher ASAP, and I would like to sleep at some point before the exam. Please Help TEST QUESTION 5: Tamagotchi For this question, you will write a number of classes that you...

  • 1 Overview The goal of this assignment is to help you understand caches better. You are...

    1 Overview The goal of this assignment is to help you understand caches better. You are required to write a cache simulator using the C programming language. The programs have to run on iLab machines. We are providing real program memory traces as input to your cache simulator. The format and structure of the memory traces are described below. We will not give you improperly formatted files. You can assume all your input files will be in proper format as...

  • Assignment Predator / Prey Objectives Reading from and writing to text files Implementing mathematical formulas in...

    Assignment Predator / Prey Objectives Reading from and writing to text files Implementing mathematical formulas in C++ Implementing classes Using vectors Using command line arguments Modifying previously written code Tasks For this project, you will implement a simulation for predicting the future populations for a group of animals that we’ll call prey and their predators. Given the rate at which prey births exceed natural deaths, the rate of predation, the rate at which predator deaths exceeds births without a food...

  • Chapter overview 1. Reasons for international trade Resources reasons Economic reasons Other reasons 2. Difference between...

    Chapter overview 1. Reasons for international trade Resources reasons Economic reasons Other reasons 2. Difference between international trade and domestic trade More complex context More difficult and risky Higher management skills required 3. Basic concept s relating to international trade Visible trade & invisible trade Favorable trade & unfavorable trade General trade system & special trade system Volume of international trade & quantum of international trade Commodity composition of international trade Geographical composition of international trade Degree / ratio of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT