Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are given 2 DFAs Mi (Q1, 2, 81,910, F1) and M2 = (Q2, 2, 82, 920, F2). We want to construct a DFA M

image text in transcribed

You are given 2 DFAs Mi (Q1, 2, 81,910, F1) and M2 = (Q2, 2, 82, 920, F2). We want to construct a DFA M = (0,2,0,90, F) recognizing the concatenation L(M1) - L(M2). One solution would be as follows. Connect each accept state of M to the start state of M2 by an e-move, and make the accept states of My non-accepting. This is an NFA N = (Q', 2, 8', do, F') accepting L(Mi) L(M2). Now transform this NFA into an equivalent DFA. If |Q1] = k and Q2] = k2, then 2k+k2 would be an obvious upper bound on the number of states of such a DFA M. We can actually do much better, because many states of the DFA M obtained with the full subset construction are not reachable from the start state. (a) Identify a large subset of the power set of Q' that are states of M not reachable from the start state. (b) Give a good upper bound on the number of reachable states of the DFA M? You are given 2 DFAs Mi (Q1, 2, 81,910, F1) and M2 = (Q2, 2, 82, 920, F2). We want to construct a DFA M = (0,2,0,90, F) recognizing the concatenation L(M1) - L(M2). One solution would be as follows. Connect each accept state of M to the start state of M2 by an e-move, and make the accept states of My non-accepting. This is an NFA N = (Q', 2, 8', do, F') accepting L(Mi) L(M2). Now transform this NFA into an equivalent DFA. If |Q1] = k and Q2] = k2, then 2k+k2 would be an obvious upper bound on the number of states of such a DFA M. We can actually do much better, because many states of the DFA M obtained with the full subset construction are not reachable from the start state. (a) Identify a large subset of the power set of Q' that are states of M not reachable from the start state. (b) Give a good upper bound on the number of reachable states of the DFA M

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

How does the FED protect the purchase power of savings?

Answered: 1 week ago

Question

1. How will you, as city manager, handle these requests?

Answered: 1 week ago

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago