Now considering the problem of showing that it is given
a^mb^n such that here we can prove that it is regular and it is not nonregular
So by proof: n+m=even,
Even+Even=Even
Odd+Odd=Even
(aa)^*(bb)^*+(aa)^*.a(bb)^*.b
Then n+m =Odd;(aa)^*(bb)^*b+(aa)^*a(bb)^*b
Now we proof that it is regular and it s not nonregular
Prove that the following language is regular or explain why it is nonregular: L = {amb"...
Prove that for each regular language L the following language is regular: shift(L) = {uv | vu ∈ L}
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)
If L is a regular language, prove that the language {uv : u ∈L, v ∈LR} is also regular
Consider the language L below. (a) Is L a regular language? – Yes, or No. (b) If L is a regular language, design the DFA (using a State Table) to accept the language L, with the minimum number of states. Assume , (c) Suppose the input is “101100”. Is this input string in the language L? Σ = {0,1} L={w l w has both an even number of O's and an odd number of 1's}
3. For each of the following languages, . State whether the language is finite or infinite. . State whether the language is regular or nonregular. . If you claim the language is regular: give a DFA (graphical representation) that recog- nizes the language. . If you claim that the language is not regular, describe the intuition for why this is so. Consider the following languages (a) [8 marks] The language of 8 bit binary strings that begin and end with...
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 language L = {0^n1^m0^n | m, n greaterthanorequalto 0} is not regular.
Prove that the following language is not regular: { w1aw2 | w1,w2 ∈ {a,b}* and |w1| = |w2| } In other words, L consists of strings of odd length over the alphabet {a, b} which have a as its middle symbol. SHOW ALL WORK, THANKS!
Question 3. Write down a regular expression that denotes the following language. L = {a mb n : m + n is even} Question 4. Let L1 be the language denoted by ab∗ a ∗ and let L2 be the language denoted by a ∗ b ∗ a Write a regular expression that denotes the language L1 ∩ L2.
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}.)