4. Review DFA & NFA
13/02/23
DFA | NFA | |
---|---|---|
States | 00000 | 00000 |
Initial State | 1 | Several |
Transition | For every state, there is exactly 1 condition for each symbol | Several or none |
Final State | Several or none | Several or none |
Run | One (initial) | Several |
Language | The token in final state | A token in a final state |
Maths
DFA | NFA | |
---|---|---|
States | Q a finite state | Q a finite state |
Initial State | ||
Transition | ||
Final State | ||
Run | ||
Language | The token in final state | A token in a final state |
Theorem 1 (Easy)
For every DFA A there is a NFA NA that accepts the same language Needs a lemma
Theorem 2
For every NFA there is a DFA DA that recognises the same language