Equivalence of DFAs and NFAs.pptx

1,511 views 8 slides Apr 09, 2023
Slide 1
Slide 1 of 8
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8

About This Presentation

Theory of Computation


Slide Content

Equivalence of DFAs and NFAs Submitted by – Samyak Jain (MCA/25014/2022) Submitted to – Madan Mohan Sir

DFA (Deterministic Finite Automata) It is the simplest model of computation. It has a very limited memory. DFA can be defined using five tuple (Q , ∑ , q0 ,F , δ ) Q = set of all states ∑ = inputs q0 = start state/initial state F = set of final states δ = transition function Q × ∑ -> Q

NFA ( NonDeterministic Finite Automata ) In NFA , given the current state there could be multiple next state. Next state may be chosen at random. NFA can be defined using five tuple (Q , ∑ , q0 ,F , δ ) Q = set of all states ∑ = inputs q0 = start state/initial state F = set of final states δ = transition function Q × ∑ -> 2^Q

Equivalence of DFA and NFA Two Automata are said to be equivalent if they accept the same language. Every DFA is an NFA , but not vice versa. But there is an equivalent DFA for every NFA.

NFA to DFA conversion (Using subset conversion method) Ex -> L = { set of all string over (0,1) that starts with ‘0’}

Ex - > L = { set of all string over {0,1} that ends with ‘01’ }

Reference :- https://youtu.be/--CSVsFIDng https://neuraldump.net/2017/11/nfa-and-dfa-equivalence-theorem-proof-and-example/

THANK YOU!!!
Tags