Equivalence Between NFA and DFA: Q, Q` & $\Sigma$

  • Context: MHB 
  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Dfa Equivalence
Click For Summary
SUMMARY

This discussion focuses on the equivalence between Non-deterministic Finite Automata (NFA) and Deterministic Finite Automata (DFA). It establishes that for states \( Q_I \) and \( Q_j \) in the DFA, the condition \( Q_I \overset{a}{\rightarrow} Q_j \) holds if \( Q_j = \bigcup_{q \in Q_I} E(\delta(q, a)) \), where \( E(R) \) represents the set of states reachable from \( R \) via zero or more epsilon transitions. This relationship is crucial for understanding the transition functions between NFA and DFA.

PREREQUISITES
  • Understanding of Non-deterministic Finite Automata (NFA)
  • Familiarity with Deterministic Finite Automata (DFA)
  • Knowledge of transition functions and epsilon transitions
  • Basic concepts of formal languages and automata theory
NEXT STEPS
  • Study the construction of DFA from NFA using the subset construction method
  • Learn about the properties of epsilon transitions in automata
  • Explore the implications of state minimization in DFA
  • Investigate the role of transition diagrams in visualizing automata behavior
USEFUL FOR

This discussion is beneficial for computer science students, automata theorists, and software engineers involved in compiler design or formal language processing.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Heloo! :o

I am looking at the equivalence between a NFA and a DFA.

NFA: Q={q1,q2}
DFA: Q`=P(Q}

When $a\in \Sigma, Q_I, Q_j \in Q`$ which is sufficient and necessary condition so that $ Q_I \overset{a}{\rightarrow}Q_j$?
 
Last edited by a moderator:
Physics news on Phys.org
mathmari said:
When $a\in \Sigma, Q_I, Q_j \in Q`$ which is sufficient and necessary condition so that $ Q_I \overset{a}{\rightarrow}Q_j$?
This is described in the books we talked about. Namely, if $R\in Q'$, i.e., $R\subseteq Q$, let
\[
E(R)=\{q\in Q\mid q\text{ can be reached from }R\text{ by 0 or more }\varepsilon\text{ arrows}\}.
\]
Then $Q_i \overset{a}{\rightarrow}Q_j$ iff $$Q_j=\bigcup_{q\in Q_i}E(\delta(q,a))$$. In other words,
\[
Q_j=\{s\in Q\mid q\overset{a}{\to}r\overset{\varepsilon}{\to}\!\!^*s\text{ for some }q\in Q_i\}.
\]
Here $r\overset{\varepsilon}{\to}\!\!^*s$ means that $s$ can be reached from r by 0 or more $\varepsilon$ arrows.
 
Evgeny.Makarov said:
This is described in the books we talked about. Namely, if $R\in Q'$, i.e., $R\subseteq Q$, let
\[
E(R)=\{q\in Q\mid q\text{ can be reached from }R\text{ by 0 or more }\varepsilon\text{ arrows}\}.
\]
Then $Q_i \overset{a}{\rightarrow}Q_j$ iff $$Q_j=\bigcup_{q\in Q_i}E(\delta(q,a))$$. In other words,
\[
Q_j=\{s\in Q\mid q\overset{a}{\to}r\overset{\varepsilon}{\to}\!\!^*s\text{ for some }q\in Q_i\}.
\]
Here $r\overset{\varepsilon}{\to}\!\!^*s$ means that $s$ can be reached from r by 0 or more $\varepsilon$ arrows.

Ok... Thanks a lot! (Smile)
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
4K
Replies
6
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K