edited by
789 views
0 votes
0 votes

For $A,B\subseteq \Sigma ^{*},$ define

$A/B=\{x\in\Sigma^{*}\mid \exists y\in B,xy\in A\}$

If $L$ is a $\text{CFL}$ and $R$ is $\text{Regular},$ then $L/R$ is$?$

  1. Regular
  2. CFL but not Regular
  3. Recursive but not CFL
  4. None of the above
edited by

1 Answer

0 votes
0 votes

Consider L as any CFL [say wwr] and choose R = {ϵ} [as R is given Regular in question]

So Now for all x in L, there exist y i.e ϵ such that xy ϵ L [as xy = xϵ = x and x is in L only]. So L/R is nothing but L itself. 

Hence L/R is CFL and hence recursive too [so option c is false]

Only correct option is B.

Related questions

0 votes
0 votes
1 answer
3
Purple asked Jan 12, 2017
446 views
Answe is B, but why is L2 not regular? How to solve it? For L2, $ y=x^{1/n}$ I am not understanding why is this not right?