Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following languages. ANFAFIN = {hNi | N is an NFA and L(N) is finite} EREX = {hRi | R is a

Consider the following languages.

• ANFAFIN = {hNi | N is an NFA and L(N) is finite}

• EREX = {hRi | R is a regular expression and L(R) = ∅}

• EQREX = {hR1, R2i | R1 and R2 are regular expressions and L(R1) = L(R2)}

• EQNFAFINSET = {hN, Ui | N is an NFA, U is a finite set of words, and L(N) = U}

• ALLREX = {hRi | R is a regular expression and L(R) = {0, 1} ∗}

Answer the following questions based on the NFA N as shown below. Simply say yes or no.

go 91 0 0

1. Is hNi ∈ ANFAFIN?

2. Is h(0|1)∗ i ∈ EREX?

3. Is h00∗ , 0 ∗0i ∈ EQREX?

4. Is hN, {0, 01, 0110}i ∈ EQNFAFINSET?

5. Is h((0|1)∗ (0|1)∗ )|0i ∈ ALLREX?

6. Is ANFAFIN decidable? If yes, please give a Turing machine which decides ANFAFIN (a highlevel description with stages is enough); otherwise, please prove it, say, by contradiction

7. Is EQNFAFINSET decidable? If yes, please give a Turing machine which decides EQNFAFINSET (a high-level description with stages is enough); otherwise, please prove it, say, by contradiction.



 

Ib 0 S

Step by Step Solution

3.53 Rating (173 Votes )

There are 3 Steps involved in it

Step: 1

The answers for the first five questions are given below followed by the explanations A max... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to the theory of computation

Authors: Michael Sipser

3rd edition

1133187790, 113318779X, 9781285401065 , 978-0470530658

More Books

Students also viewed these Programming questions

Question

How do emotions affect peoples relationship with money?

Answered: 1 week ago