How would you generalize this notion to an arbitrary FA M that simulates an arbitrary NFA N?
{I,III}
The NFA N can be in the state I because it is the initial state of N.
It can also be in state III because
of the
transition from state I to state III.
In general, the accepting states of M should be any subset of the state set of N that includes an accepting state.
In this case, any subset of {I,II,III} that includes state III.
Meanwhile, the NFA N can transition to state III on character a from state III.
The answer is the union of these two sets which is {I,II,III}.
Meanwhile, the NFA N can transition to state III on character a from state III.
The answer is the union of these two sets which is {II,III}.
| state q | | |
| {} | {} | {} |
| I | I,II,III | II,III |
| II | II,III | I,III |
| III | III | II |
| I,II | I,II,III | I,III |
| I,III | I,II,III | I,II,III |
| II,III | II,III | I,II,III |
| I,II,III | I,II,III | I,II,III |
I left out the braces except for the empty set because I found them to be visually confusing.