Chapter 2: Q43P (page 158)
For string W and t , write if the symbols of W are a permutation of the symbols of t . In other word, if t and W have the same symbols in the same quantities, but possibly in a different order.
For any string W , defines . For any language A, let .
- Show that if , then the of a regular language is context free.
- What happens in part (a) if contains three or more symbols? Prove your answer.
Short Answer
- The of a regular language is context-free.
- The of a regular language with three or more symbols is not a context free.