Section: Finite Automata = Regular Languages

Regular expressions have three operators:

  1. Begin with
  2. 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

  1. First define the building blocks

Representation of

Representation of

Representation of

  1. Then buid on them recursively:

Untitled

pf. DFA ⇒ RegEx

  1. With a DFA with one final state, convert into a generalized transition graph (GTG) [=edges can be a RegEx]
  2. If the GTG has two states: Unique RegEx for this DFA:
  3. If GTG has three or more states it is in the form:

Untitled