Question
1- For a word w , the reverse of w is the word in which the characters of w appear in the reverse order. Let
1- For a word w, the reverse of w is the word in which the characters of w appear in the reverse order. Let wR denote the reverse of w. For a language L, define LR to be the language of all w such that wR is in L. Prove that, if L is regular, then LR is regular. This can be accomplished by showing that there is an NFA for LR.
2- Let B be regular. Define C = {uvw | u,v,w and v B}. Show that C is regular.
3- Suppose both A and B are regular. Define L = {w | w A and w does not contain a substring that is a member of B}. Prove that L is regular.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started