2 votes 2 votes Let L be a DCFL and R is a regular language. Consider the below given problems. P: Is L=R ? Q: Is R ⊆L ? Discuss decidablity of P and Q. Theory of Computation theory-of-computation decidability recursive-and-recursively-enumerable-languages + – MIRIYALA JEEVAN KUMA asked Jan 21, 2018 MIRIYALA JEEVAN KUMA 1.3k views answer comment Share Follow See all 8 Comments See all 8 8 Comments reply Show 5 previous comments MiNiPanda commented Jan 21, 2018 reply Follow Share Thank you for this piece of information :) "..if it does then check a production which iteratively can generate same strings." Can you please elaborate this part.. 0 votes 0 votes Inspiron commented Jan 21, 2018 reply Follow Share S->aS/$\epsilon\Rightarrow a^*$ Now to check same production convert production into gnf then find a production : $S->aV_1$ $V_1->aS/a$ or $V_1->aV_1/a$ checking a production with same production can be solved by using pattern or other similiar concept though i never implemented but this should be implementable. 0 votes 0 votes MiNiPanda commented Aug 27, 2018 reply Follow Share PART 2: To check whether ( R ⊆ L ) we need to get ( R ∩ L'= Φ ). R ∩ L' i.e. Regular ∩ DCFL =DCFL we know. And whether DCFL=Φ is decidable (If no string can be generated from the DCFG then it is NULL and that can be checked from it's grammar. Hence decidable). PART 1: If (R⊆L and L⊆ R) then we can say that R=L. So we just need to check if R⊆L and L⊆ R both are decidable or not. R⊆L is already decidable as done in previous part. Similarly for L⊆ R, L ∩ R' i.e. DCFLr ∩ Reg =DCFL we know. And whether DCFL=Φ is decidable (If no string can be generated from the DCFG then it is NULL and that can be checked from it's grammar. Hence decidable). Anu007 Sir I hope this is the way you asked me to follow. 2 votes 2 votes Please log in or register to add a comment.
0 votes 0 votes i think both are undecidable suryaprakash answered Jun 1, 2018 suryaprakash comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes 1st is decidable and 2nd is undecidable. This can be concluded from the Decidablity table. rish1602 answered Aug 19, 2021 rish1602 comment Share Follow See all 0 reply Please log in or register to add a comment.