edited by
295 views
0 votes
0 votes

For strings $w4 and $t,4 write $w \circeq t$ if the symbols of $w$ are a permutation of  the symbols of $t.$ In other words, $w \circeq t$ if $t$ and $w4 have the same symbols in the same quantities, but possibly in a different order.

For any string $w,$ define $SCRAMBLE(w) = \{t \mid t \circeq w\}.$ For any language $A,$ let $SCRAMBLE(A) = \{t \mid t in  SCRAMBLE(w) \text{for some}  w\in A\}$.

  1. Show that if $\Sigma = \{0,1\}$, then the SCRAMBLE of a regular language is context free.
  2. What happens in part $(a)$ if $\Sigma$ contains three or more symbols? Prove your answer.
edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
admin asked Oct 12, 2019
244 views
Let $A = \{wtw^{R}\mid w,t\in\{0,1\}^{\ast}\:\text{and} \mid w \mid = \mid t \mid \}$. Prove that $A$ is not a CFL.
0 votes
0 votes
0 answers
2
1 votes
1 votes
1 answer
3
0 votes
0 votes
0 answers
4