Question: Prove that the following languages are not regular. (a) L= {w: na(w) nb (w)}. Hint: First, show that the language L = {w: na
Prove that the following languages are not regular. (a) L= {w: na(w) nb (w)}. Hint: First, show that the language L = {w: na (w) = nb (w)} is not regular, then by closure properties you can show that the complement of the language is not regular. (b) L= {ww: we {a, b}}. Hint: Suppose L is regular and m is given. We pick w = ambamb in L.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
