Problem 1
Problem 2
Question
Let be a finite alphabet. Given a language , define
Show that if is recognizable, is recognizable.
Let be a DFA recognizing . For , let be the map . For (where ), let be the map .
Define an automaton where
denotes the identity on .
Claim 23.1.
recognizes .
Proof.
et. Then, for some satisfying . Let the state of after having read be . By construction, will contain and , and will be . Then,
and since , . Thus, .
Conversely, let be in an accept state after having read . Then, there exist and an accept state of such that . By construction, and are of the form and respectively such that , and . Thus, we have , which implies accepts .□
Problem 3
Let be a DFA recognizing . Define by
Claim 23.2.
recognizes .
Proof.
et. Then, there does not exist such that . This is precisely when . Similarly, if accepts , by the construction of there does not exist such that accepts .□
Define an NFA by
Claim 23.3.
recognizes .
Proof.
et. Then, there does not exist such that accepts , and by the construction of , must accept . Conversely, if accepts , then cannot have occupied any final state while reading , hence .□