266 views
0 votes
0 votes

I studied this link. https://gatecse.in/closure-property-of-language-families/ & https://gatecse.in/grammar-decidable-and-undecidable-problems/ .

I have doubt regarding intersection operation.

if we say that Regular ⊂ DCFL ⊂ CFL ⊂ REC ⊂ RE

then by set theory rule intersection of ( Regular Lang & RE ) must give Regular Lang.  And as Regular Lang is subset of Recursive . 

intersection of ( Regular Lang & RE )  must be recursive(which is incorrect according to https://gateoverflow.in/996/gate2006-33)

So is intersection operator does not work as above for grammar?

 

1 Answer

Best answer
2 votes
2 votes

When they write $Regular ⊂ DCFL ⊂ CFL ⊂ REC ⊂ RE$, here it means that $Regular$ is Regular set  i.e. Set of All

Regular  languages --- Not a particular Regular language. Similarly, Other are Set of All DCFL languages, 

Set of All CFL languages, Set of  All REC languages, Set of All RE languages. 

then by set theory rule intersection of ( Regular Lang & RE ) must give Regular Lang. 

Intersection of Regular Set and RE Set is Indeed Regular set. But Intersection of some Regular language and some RE language need not be Regular. 

Remember, Some Regular language need Not be a subset of Some RE language. Regular Set (Set of all Regular languages) is a subset of RE set(Set of all RE languages).

 

selected by

Related questions

2 votes
2 votes
1 answer
2
ram121 asked Feb 2, 2015
1,123 views
$S \rightarrow C C \\ C \rightarrow c C | d$
1 votes
1 votes
1 answer
3
Aradhana Singh asked Oct 25, 2016
634 views
in which of the following recurrence relation master theorem can not be applied and whya)T(n)=7T(n/2)+n^2b)T(n)=7T(n/3)+n^2c)T(n)=T(9n/10)+nd)T(n)=T(n-1)+n
1 votes
1 votes
0 answers
4
squirrel69 asked Oct 2, 2023
268 views
I have concluded a hack from seeing multiple university questions . Go by aggregating 2 at a timeAggregate only if you can reduce two same /n to /n-1 ie two /23 can be m...