0 votes 0 votes L= {a*b*c* – (a^nb^nc^n : n>=0)} Explain whether it is Regular, CFL,DCFL.,CSL Shadan Karim asked Dec 24, 2018 Shadan Karim 677 views answer comment Share Follow See all 17 Comments See all 17 17 Comments reply Deepanshu commented Dec 24, 2018 reply Follow Share csl i think 0 votes 0 votes himgta commented Dec 24, 2018 reply Follow Share @Deepanshu I think it should be CFL 0 votes 0 votes Deepanshu commented Dec 24, 2018 reply Follow Share how cfl ?? my view -----------regular- CSL = csl -csl =csl 0 votes 0 votes Shaik Masthan commented Dec 24, 2018 reply Follow Share yes it is CFL but not DCFL ===> CSL also 0 votes 0 votes akshayaK commented Dec 24, 2018 reply Follow Share CSL ? L = {a^p b*q c^r | p = q or q = r or p = r} + {a^p b^q c^r | p != q != r} 0 votes 0 votes akshayaK commented Dec 24, 2018 reply Follow Share it is not cfl i think, please check 0 votes 0 votes Shaik Masthan commented Dec 24, 2018 reply Follow Share the question indirectly asking, L = {$a^m . b^n .c^p \;|\; m = n\; and\; n = p$} ===> CSL then L' is _______ 1 votes 1 votes akshayaK commented Dec 24, 2018 reply Follow Share csl 0 votes 0 votes Shivam Kasat commented Dec 24, 2018 reply Follow Share I think it is CSL L={a^i.b^j,C^k | i=j and j!=k or i!=j and j=k or i!=j!=k} to recognize this language we will need 2 stacks at least thus it in not CFL 0 votes 0 votes akshat sharma commented Dec 24, 2018 reply Follow Share IT WILL BE CSL REG $\cap$ (CSL)${}'$ CSL IN COMPLEMENT IS CSL SO REG $\cap$ (CSL) IT WILL BE CSL 0 votes 0 votes srestha commented Dec 24, 2018 reply Follow Share no, will be NCFL 0 votes 0 votes Shivam Kasat commented Dec 24, 2018 i edited by Shivam Kasat Dec 24, 2018 reply Follow Share @srestha mam, will you please explain a bit more 0 votes 0 votes Soumya29 commented Dec 24, 2018 i edited by Soumya29 Dec 25, 2018 reply Follow Share $\text{CFL but not DCFL}.$ Check what kind of strings are present in the language- $L = L_1 \cup L_2 \cup L_3\\L_1 = \{a^ p b^ q c^r | p\neq q \ and \ p,q,r \geq 0 \}\\L_2 = \{a^ p b^ q c^r | p\neq r \ and \ p,q,r \geq 0 \}\\L_3 = \{a^ p b^ q c^r | q\neq r \ and \ p,q,r \geq 0 \}$ All are $CFL's$ so their $union$ is also $CFL.$ 4 votes 4 votes Hemanth_13 commented Dec 24, 2018 reply Follow Share Good point @Soumya29 👍 1 votes 1 votes Deepanshu commented Dec 25, 2018 reply Follow Share Soumya29 if it is cfl then it is csl also na....... 0 votes 0 votes himgta commented Dec 25, 2018 reply Follow Share @Deepanshu brother strongest answer should be CFL if it is CFL ,then it is CSL,recursive, recursive enumerable also! 1 votes 1 votes Deepanshu commented Dec 25, 2018 reply Follow Share hmm :) 0 votes 0 votes Please log in or register to add a comment.