Prove that for each regular language L the following language is
regular:
shift(L) = {uv | vu ∈ L}
I hopevthis answet will help you
thanks..
shift(L) = {uv | vu ∈ L}
answer(refer attachment):
Prove that for each regular language L the following language is regular: shift(L) = {uv |...
If L is a regular language, prove that the language {uv : u ∈L, v ∈LR} is also regular
2. If L is a regular language, prove that the language 11 = { uv/ u E 1 , |v|-2) is also regular. (Hint: Can you build an NFA of L1 using an NFA of a language L? Use N, the NFA of the language L)
Prove that language L on {a, b}, L={ v | v = vR} is not regular 4. (20 points) Prove that language Lon{a, b}, L={v | V = VR} is not regular.
Prove that the following language is regular or explain why it is nonregular: L = {amb" (m is odd and n is even) OR (m is even and n is odd))
Suppose that L is a regular language. Prove that the language p r e f i x (L )={w | x, wx L } is regular. (For example, if L = {abc, def}, prefix(L) = {?, a, ab, abc, d, de, def}.)
Prove that language L on {a, b}, L={ v | v = vR} is not regular use string ab^nab^na
Prove that language Lon {a, b}, L={ vv = v*} is not regular.
Prove that language Lon{a,b}, L={ vv = vR} is not regular.
10. Consider the following CFG: Is the language generated by this CFG a regular language? If so, give a regular expression denoting it. If not, prove it. 10. Consider the following CFG: Is the language generated by this CFG a regular language? If so, give a regular expression denoting it. If not, prove it.
Prove that the following language is not regular: L = { w | w ∈ {a,b,c,d,e}* and w = wr}. So L is a palindrome made up of the letters a, b, c, d, and e.