Automata Exam 2 Flashcards
Adfa stands for
acceptance problem for DFA
Adfa is…
decidable
Proof that Adfa is decidable pt1
Simulate B on input w
Proof that Adfa is decidable pt2
If the simulation ends in an accept state, accept; if it ends in an non accepting state, reject
Anfa is…
decidable
For Adfa, B’s current state is
q0
For Adfa, B’s current input position is
the leftmost symbol of w
To prove Anfa is decidable
convert NFA B to equivalent DFA C
Arex is..
decidable
To prove Arex is decidable
convert REX to equivalent DFA A
Edfa is…
decidable
TM to prove a DFA accepts a string
- Mark the start state of A
- Repeat until no new states get marked
- Mark any state that has a transition coming into it form any state that is already marked
- If no accept state is marked accept; otherwise reject
EQdfa test whether
two DFA’s recognize the same language
For EQdfa C accepts..
only those strings that are accepted by either A or B but not both
Formula for EQdfa
L(C) = ( L( A ) ∩ L( A’ ) ) ∪ ( L( B ) ∩ L( B’ ) )