2,198 views

3 Answers

Best answer
2 votes
2 votes

b) Decidable

R and S are regular expressions, it means they will generate regular languages only.

Whether a regular language L1 is a subset of another regular language L2 is a decidable Problem.

L1 is subset of L2, it means L2 can generate all strings generated by L1.

L= L1-L2 , then L should be an empty language if L1 is subset of L2.

L= L1 Intersection L2

Complement of a regular language is regular itself, hence Complement of L2 will be a regular language, regular languages are closed under Intersection hence L will be regular too.

it's a Decidable Problem whether a DFA accepts an empty language or non-empty.

selected
2 votes
2 votes
just fid LR intersction Ls
the dfa u get should be LR.
compare the two dfa
wether two dfa are equal is decidable thus problem is decidable
0 votes
0 votes

answer is b, decidable.

steps

1 convert REX to DFA.

2.make compliment machine for s-dfs

3 make product automata.

4 for product automata, check for emptiness.

all 4 are decidable for regular language. So the given problem is also decidable.

edited by

Related questions