Section: Finite Automata = Regular Languages
Regular expressions have three operators:
- Begin with
- All above operators on the three, and the alphabet, is a regular expression
Example
→ Odd number of a’s, and then even number of b’s: → 3 or less a’s and ends in ab:
RegEx DFA
pf. RegEx ⇒ DFA
- First define the building blocks

Representation of
Representation of

Representation of

- Then buid on them recursively:

pf. DFA ⇒ RegEx
- With a DFA with one final state, convert into a generalized transition graph (GTG) [=edges can be a RegEx]
- If the GTG has two states:
Unique RegEx for this DFA:

- If GTG has three or more states it is in the form:
