edited by
1,628 views
3 votes
3 votes
Which of the following is undecideable?

If a lang. L is CFL, then it's compliment is also a CFL.

If a lang. L is Rec, then it's compliment is also a Rec.
edited by

1 Answer

4 votes
4 votes

First of all let me explain what is the relevance of closure properties with decidability issue.

We say a problem is decidable if we can answer to that problem with surety whether the problem can be solved or not .In other words algorithm exist or not.The problem in this context is about closure properties.

So given closure property of a language we say a particular operation is decidable if that particular set of language is closed under that operation.This is so because if the  language is closed under that operation , we can say with surety that any other language which is obtained by doing the concerned operation on the original language will also result in the same class of language.As an example , we know recursive language is closed under complementation.By saying , we are ensured that complement of a recursive language is also a recursive language.So we have a definite answer and the answer is "yes" to the question :

Is complement of recursive language recursive ??

Now if a language does not satisfy under a given operation , we are not ensured that after applying that operation on that particular language , the resultant language will fall in same class of language.So , for example CFL languages are not closed under complement.So we cannot say with surety that the complement of a CFL will be CFL always.It may or may not be.

In this context hence it is an undecidable issue whether given a language which is a CFL , the complement  will also be a CFL.It may or may not be.

It also follows from Rice's theorem of undecidability which says :

Rice's theorem: Any nontrivial property about the language recognized by a Turing machine is undecidable.

So by non trivial here we mean property (like here complementation property of CFL) which is not closed for CFL language.Trivial properties are those which are in line with closure property of a class of language like complement property for recursive language.

Related questions

0 votes
0 votes
0 answers
1
Sparsh-NJ asked Aug 6, 2023
224 views
If G is a CFG then L(G) = (Sigma)* is Decidable or Undecidable?The reference where I solved this question says this is an Undecidable problem! But I think it's Decidable ...
0 votes
0 votes
0 answers
2
Abhipsa Panda asked May 24, 2022
151 views
How is equality problem for DCFL decidable?
0 votes
0 votes
1 answer
4
harsh yadav asked Jan 9, 2019
349 views
does intersection and complement problem of CSL language follow closure property? does intersection and complement problem of CSL language are decidable?