Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Give an example of an undecidable language B, where BmB.

Short Answer

Expert verified

is an example of undecidable language.B=1,T:TH0,T:TH

Step by step solution

01

Undecidability

A problem is undecidable if no Turing Machine exist which will halt in finite amount of time.

02

Example of undecidable language

Assume H : Language of all the Turing Machine which halts on empty input. This shows H is undecidable.

Now, let us define B as:


Here, T is also a Turing Machine for some language.

If B is decidable, then a Turing Machine M for language B will show the existence of a TM M' which will decide H . Also M' with input T must run M on input (1,T) .

Also, for a TM T and y0,1we will have:

y,TB1-y,TB1-y,TB

So, B reduces to Band B is not decidable as H is not decidable because no Turing Machine exists M' to decide it as stated in starting of the solution.

Hence, B is undecidable but yet.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Question: Describe the error in the following “proof” that 0*1*is not a regular language. (An error must exist because 0*1*is regular.) The proof is by contradiction. Assume that 0*1*is regular. Let p be the pumping length for localid="1662103472623" 0*1*given by the pumping lemma. Choose s to be the string 0p1p . You know that s is a member of 0*1*, but Example 1.73 shows that s cannot be pumped. Thus you have a contradiction. So 0*1* is not regular.

Give informal English descriptions of PDAs for the languages in Exercise 2.6

Give context-free grammars generating the following languages.

a. The set of strings over the alphabet a,bwith more a's than b's

b. The complement of the language anbnn0.

c. w#xwRis a substring of x for w,x 0,1*

d. localid="1662105288591" x1#x2#...#xkk1,each xilocalid="1662105304877" a,b*,and for some i and j ,localid="1662105320570" xi=xjR

Question: Answer all parts for the following DFA and give reasons for your answers.

a.Is<M,0100>ADFA?b. Is<M,011>ADFA?c. Is<M>ADFA?d. Is<M,0100>AREX?e. Is<M>EDFA?f. Is<M,M>EQDFA?

Consider the problem of determining whether a Turing machine Mon an input w ever attempts to move its head left at any point during its computation on w. Formulate this problem as a language and show that it is decidable.

Let X be the set {1,2,3,4,5}and Y be the set {6,7,8,9,10}.The unary function f:XYand the binary function g:X×YYare described in the following tables.

g12345f(n)67676 g123456789101010101010789106789106789106789106

a. What is the value of f(2)?
b.What are the range and domain of f?
c. What is the value of g (2, 10) ?
d. What are the range and domain ofg?
e. What is the value ofg(4, f (4))?

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free