Question & Answer: Let PALI (L) = {w|w element L and w^R element L}. Does PALI preserve regu…..

Let PALI(L)-(w wEL and w*eL). Does PALI preserve regularity? Decidability?

Let PALI (L) = {w|w element L and w^R element L}. Does PALI preserve regularity? Decidability?

Expert Answer

 

PALI(L)={w|w€L and wR €L}

It preserves regularity.

we can construct a DFA which accept the strings and reverse of the strings, so the given language is regular.

DFA has finite no.of states and we can tell whether a string is accepted by the DFA or not so it is decidable.

Still stressed from student homework?
Get quality assistance from academic writers!