Prove that the following language a is decidable

Assignment Help Theory of Computation
Reference no: EM133383854

Models of Computation

Assignment - Computability

Question 1. Prove that the following language A is decidable (e.g., give a TM that decides A):

A = {(M) | M is an NFA and L(M ) = B},

where B = {ω | ω ∈ {0, 1}* and ω contains 001 as a substring}. Note that L(M ) denotes the language of M.

(Hint: Observe that B is a regular language. Recall we studied in class that the language EQDFA is decidable.)

Question 2. Prove that the following language A is decidable (e.g., give a TM that decides A): A = {(R1, R2) | R1 and R2 are regular expressions and L(R1) ⊆ L(R2)}.(Hint: Note that L(R1) ⊆ L(R2) if and only if L(R1) ∩ L(R2) = Φ.)

Question 3. Prove that the following language A is decidable (e.g., give a TM that decides A):

A = {(G) | G is a CFG and ε ∈ L(G)}.

Question 4. Prove the following language is undecidable:

CFLTM = {(M) | M is a TM and L(M ) is a context-free language}.

(Hint: We proved in class that the language REGULARTM is undecidable. Follow the similar idea and slightly modify that proof.)

Question 5. Prove the following language is undecidable:

A01 = {(M) | M is a TM and 01 ∈ L(M ) (i.e., M accepts string 01)}. (Hint: Show that ATM can be reduced to A01.)

Question 6. We mentioned in class that the following language is undecidable:
ALLCFG = {(G) | G is a CFG and L(G) = Σ*, where Σ is set of all terminals of G}.

Prove the following language is undecidable by reducing ALLCFG to it:

EQCFG = {(G1, G2) | G1 and G2 are CFGs and L(G1) = L(G2)}.

Question 7. Prove the following language AHALT is Turing-recognizable:

AHALT = {(M) | M is a TM and M halts on some input}.

Reference no: EM133383854

Questions Cloud

Describe type of the organizational structure of the company : Describe the type of the organizational structure of the company within your project. Include the advantages and disadvantages of this organizational structure,
What are the benefits to employees of a diverse workplace : What is diversity? What are the benefits to employees of a diverse workplace? What are the benefits to an organization of a diverse workplace?
Develop a tool to collect data on the strengths and weakness : develop a tool to collect data on the strengths and weaknesses of various project communication means (email, one-on-one meetings, group meetings, zoom/video
What are the potential setbacks and what impact would these : What are the potential setbacks? What impact would these setbacks have? What aspects might you include in a narrative on a solution to mitigate this setback?
Prove that the following language a is decidable : Prove that the following language A is decidable and Prove the following language is undecidable - Prove the following language AHALT is Turing-recognizable
How will this change affect the net national product : How will this change affect the net national product and gross national product? Contrast the effect in the short run and in the long run.
What category is this procurement : What category is this procurement? From the supplier's profile, do you think a teaming agreement is needed, Explain your thoughts?
Explain why you agree or disagree with the research : As the risk manager, what will your reaction be to the risk management effort in regard to navigating overlapping domain? As a risk manager, how will you
What must be done to move the project forward : What must be done to move the project forward? Is it possible to recover from the current setbacks? Possible exhibits: Scope/requirements documents Financial

Reviews

Write a Review

Theory of Computation Questions & Answers

  Draw a TM that copy the input string in a reverse order

Draw a TM that copy the input string in a reverse order, separating the first copy from the second copy by a special symbol for example the input string

  Prepare a research strategy

A research strategy is a plan of action that gives direction to your efforts enabling you to conduct your research systemically rather than haphazardly.

  Determine the smallest and largest values of p

For a binomial distribution with n = 100, explain how to determine the smallest and largest values of p that pass the rule-of-thumb test.

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Why are there so many laws relating to hrm practices which

why are there so many laws relating to hrm practices? which are the most important laws in your opinion?what

  Traditional and agile systems analysis methodologies

System Analysis and Design - Analysis Methodologies - Higher National Diploma in Computing - systems analyst for a business consultancy company

  Design and Implement a standard Turing Machine

You are going to design and implement a TM whose input string is a very simple assembly language for operating on a Stack

  Which states are transient

A state s' in a finite-state machine is said to be reachable from state s if there is an input string x such that f (s, x) = s'.

  Is the grammar ambiguous or unambiguous

Consider the context-free grammar:- Give a leftmost derivation for the string.- Give a rightmost derivation for the string.- Is the grammar ambiguous or unambiguous? Justify your answer.

  Lockeport medical center mission and visionas the regional

lockeport medical center mission and visionas the regional leader in advanced medical care we take our responsibilities

  HC1041 Information Technology for Business Assignment

HC1041 Information Technology for Business Assignment Help and Solution, Holmes Institute - Assessment Writing Service - impact of IT on the chosen business

  Prove that L is in the class NP

Prove that L is in the class NP and What would it mean if we could prove that L was not in the class P - The input to be verified is a set of potential paths

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd