For a given Language Operation , and a given Regular Language , We can prove preserves the regular language with a FSA.
Proving Process
- The Big Result tells us there is a DFSA that accepts regular language
- We show that from taking an arbitrary DFSA , we can construct another FSA s.t
- We describe the construction of by noting:
- How many copies of are needed in
- How many additional states are needed
- What is the initial state of
- What are the Accepting State of
- 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