For a given Language Operation , and a given Regular Language , We can prove preserves the regular language with a FSA.

Proving Process

  1. The Big Result tells us there is a DFSA that accepts regular language
  2. We show that from taking an arbitrary DFSA , we can construct another FSA s.t
  3. We describe the construction of by noting:
    1. How many copies of are needed in
    2. How many additional states are needed
    3. What is the initial state of
    4. What are the Accepting State of
    5. What transitions need to be added/removed/changed?

Example

Consider:

  • A description to construct given a DFSA :
  • Take 2 copies of , call them ,
  • No additional states are needed
  • Initial state of is the same initial state of
  • The Accepting State of is the accepting state of
  • For each state in , add a 0-transition from in to the corresponding in
    • For DFSA with states, we would add transitions
    • Since the original -transitions are not deleted, we are still a DFSA We should also be able to draw a diagram from this description.