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

a)Show that if Mis a finite-state automaton, then the quotient automaton Mrecognizes the same language as M.

b)Show that if Mis a finite-state automaton with the property that for every state of Mthere is a string x∈I∗such that f (s0, x)=s, then the quotient automaton has the minimum number of states of any finite-state automaton equivalent to M.

Short Answer

Expert verified
  1. M and \(\overline {\bf{M}} \)accepts the same language.
  2. If M has the property \({\bf{f(}}{{\bf{s}}_{\bf{o}}}{\bf{,x) = s}}\)for all states s and some string\({\bf{x}} \in {\bf{I*}}\), then \(\overline {\bf{M}} \)has the minimum number of states of all finite state automaton equivalents to M.

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

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

01

Define given

Given \({{\bf{R}}_{\bf{k}}}\)be the relation on the set Sof states of Msuch that\({\bf{s}}{{\bf{R}}_{\bf{k}}}{\bf{t}}\)if and only if for every input string xwith\({\bf{l}}\left( {\bf{x}} \right) \le {\bf{k}}\), where \({\bf{l}}\left( {\bf{x}} \right)\)is the length of string x.

The quotient automatonMof the deterministic finite-state automaton \({\bf{M = (S,I,f,}}{{\bf{s}}_{\bf{o}}}{\bf{,F)}}\)is the finite-state automaton.

\(\overline {\bf{M}} {\bf{ = (}}\overline {\bf{S}} {\bf{,I,}}\overline {\left\{ {{\bf{f,}}} \right\}} {\bf{(}}{{\bf{s}}_{\bf{o}}}{\bf{)}}{{\bf{R}}_{\bf{*}}}{\bf{,F)}}\), where the set of states S is the set of ∗-equivalence classes of S, the transition function f is defined by \({\bf{f ((s)}}{{\bf{R}}_{\bf{*}}}{\bf{, a) = (f }}\left( {{\bf{s,a}}} \right){\bf{)}}{{\bf{R}}_{\bf{*}}}\) for all states \({\bf{(s)R*}}\)of \(\overline {\bf{M}} \)and input symbols \({\bf{a}} \in {\bf{I}}\), and F is the set consisting of \({{\bf{R}}_{\bf{*}}}\)- equivalence classes of final states of M.

02

Show that M and \(\overline {\bf{M}} \)accept the same language

Let x be a string that is accepted by M and let \({{\bf{s}}_{\bf{x}}}\)be the state where the string ends in x.

Since x is accepted by M, \({{\bf{s}}_{\bf{x}}}\)is a final state.

By construction of\(\overline {\bf{M}} \), the input x will end at the state\(\left( {{{\bf{s}}_{\bf{x}}}} \right){{\bf{R}}_{\bf{*}}}\). Moreover \(\left( {{{\bf{s}}_{\bf{x}}}} \right){{\bf{R}}_{\bf{*}}}\)is a final state as all-state in\(\left( {{{\bf{s}}_{\bf{x}}}} \right){{\bf{R}}_{\bf{*}}}\) is the final state.

This implies that M and \(\overline {\bf{M}} \) accepts the same language.

03

Show that \(\overline {\bf{M}} \) has the minimum number of states of all finite state automatons is equivalent to M.

Let’s assume that \({\bf{f(}}{{\bf{s}}_{\bf{o}}}{\bf{,x) = s}}\)for all states s and all strings\({\bf{x}} \in {\bf{I*}}\).

Let N be a finite-state automaton equivalent to M that has the minimum number of states. Since N has the minimum number of states\(\overline {\bf{N}} {\bf{ = N}}\).

Since \(\overline {\bf{N}} \)recognizes the same language as \(\overline {\bf{M}} \) and since they both equivalence as their states, the states \(\overline {\bf{N}} \)need to form a refinement of the state of\(\overline {\bf{M}} \).

Since, \({\bf{f(}}{{\bf{s}}_{\bf{o}}}{\bf{,x) = s}}\)for all s and all strings\({\bf{x}} \in {\bf{I*}}\), there are no empty equivalence classes in \(\overline {\bf{M}} \) and thus the states of \(\overline {\bf{M}} \) the need to form a refinement of the state of\(\overline {\bf{N}} \).

This implies that \(\overline {\bf{M}} \) has the minimum number of states of all finite state automaton is equivalent to M.

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

Determine whether 1011 belongs to each of these regular sets.

  1. \({\bf{1}}0{\bf{*}}1{\bf{*}}\)
  2. \(0{\bf{*}}\left( {10 \cup 11} \right){\bf{*}}\)
  3. \(1\left( {01} \right){\bf{*1*}}\)
  4. \(1{\bf{*}}01\left( {0 \cup 1} \right)\)
  5. \(\left( {10} \right){\bf{*}}\left( {11} \right){\bf{*}}\)
  6. \(1\left( {00} \right){\bf{*}}\left( {{\bf{11}}} \right){\bf{*}}\)
  7. \(\left( {10} \right){\bf{*}}10{\bf{1}}1\)
  8. \(\left( {1 \cup 00} \right)\left( {01 \cup 0} \right)1{\bf{*}}\)

Give production rules in Backus–Naur form that generate all identifiers in the C programming language. In ‘C’ an identifier starts with a letter or an underscore (_) that is followed by one or more lowercase letters, uppercase letters, underscores, and digits.

Several extensions to Backus–Naur form are commonly used to define phrase-structure grammars. In one such extension, a question mark (?) indicates that the symbol, or group of symbols inside parentheses, to its left can appear zero or once (that is, it is optional), an asterisk (*) indicates that the symbol to its left can appear zero or more times, and a plus (+) indicates that the symbol to its left can appear one or more times. These extensions are part of extended Backus–Naur form (EBNF), and the symbols?, *, and + are called metacharacters. In EBNF the brackets used to denote nonterminal are usually not shown.

Construct phrase-structure grammars to generate each of these sets.

a) \(\left\{ {{{\bf{1}}^{\bf{n}}}{\bf{|n}} \ge {\bf{0}}} \right\}\)

b) \(\left\{ {{\bf{1}}{{\bf{0}}^{\bf{n}}}{\bf{|n}} \ge {\bf{0}}} \right\}\)

c) \(\left\{ {{\bf{1}}{{\bf{1}}^{\bf{n}}}{\bf{|n}} \ge {\bf{0}}} \right\}\)

Draw the state diagrams for the finite-state machines with these state tables.

Express each of these sets using a regular expression.

  1. The set containing all strings with zero, one, or two bits
  2. The set of strings of two 0s, followed by zero or more 1s, and ending with a 0
  3. The set of strings with every 1 followed by two 0s
  4. The set of strings ending in 00 and not containing 11
  5. The set of strings containing an even number of 1s
See all solutions

Recommended explanations on Math 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