270 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

557
views
1 answers
0 votes
ahmed65956 asked Aug 3, 2023
557 views
Consider the given grammar of syntax directed translation scheme and answer the following: (2 MARKS) ... the semantic rules of the above grammar productionsDraw the annotated parse tree for 7-8-5/2
1.1k
views
1 answers
2 votes
ram121 asked Feb 2, 2015
1,137 views
$S \rightarrow C C \\ C \rightarrow c C | d$
641
views
1 answers
1 votes
Aradhana Singh asked Oct 25, 2016
641 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
282
views
0 answers
1 votes
squirrel69 asked Oct 2, 2023
282 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 ... have not yet found contradictory questions related to it. If you find any comment.