1/ Assume that A and B are regular language, then prove that
i/ (AUB) a regular language
ii/ ( A and B) a regular language
iii/ A concatenate B a regular language
Note: I can't explain better than this. I tried my best.
Please give upvote if you understand
1/ Assume that A and B are regular language, then prove that i/ (AUB) a regular...
6.[15 points] Recall the pumping lemma for regular languages: Theorem: For every regular language L, there exists a pumping length p such that, if s€Lwith s 2 p, then we can write s xyz with (i) xy'z E L for each i 2 0, (ii) ly > 0, and (iii) kyl Sp. Prove that A ={a3"b"c?" | n 2 0 } is not a regular language. S= 6.[15 points] Recall the pumping lemma for regular languages: Theorem: For every regular...
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.
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}.)
Question 9. Consider the language {a"b" : n >0}. (i) Is this a regular language? Why or why not? (ii) Is this a recursively enumerable language? Why or why not? Question 10. Consider the function defined by f(n) = 2 where n is a positive integer. (i) Can this function be computed by a Turing machine? Why or why not? (ii) Is this function primitive recursive? Why or why not?
Prove that language Lon {a, b}, L={ vv = v*} is not regular.
Prove that language Lon{a,b}, L={ vv = vR} is not regular.
Prove that for each regular language L the following language is regular: shift(L) = {uv | vu ∈ L}
3. Use the pumping lemma to prove the following language is not regular . Use the pumping lemma to prove the following language is not regular Where is the stringwbut with all the Os replaced by Is and all the し1 = {te E Σ.ead I te _ wu) is replaced by 0s. For example, if w = 00110 then w = 11001.
Prove that language Lon {a, b}, L={ v . v = vR} is not regular.
Prove that language Lon {a, b}, L={v | v = vR} is not regular.