updated: 2022-01-23_12:32:31-05:00
DFA to Regular Expression
- Empty Set & Sigma star (simple)
2 State DFA
- Ends in a 1 DFA
- trace the input string to leave and return to the start state (how we get to start state from other nodes)
- 0, 11* 0
- ways of getting to the start state, * indicates a loop
- Can write it as $(0\cup 11^\star 0)$
- 0, 11* 0
- start state to accept state
- How do we get from start state to accept state?
- $11^\star$
- Answer: just concatenate it... $(0\cup 11^* 0)^* 11^\star$
- trace the input string to leave and return to the start state (how we get to start state from other nodes)
- if there is more than one character for a transition... treat it like $(0\cup 1)$
- Generalized form: