Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to the theory of computation

Authors: Michael Sipser

3rd edition

1133187790, 113318779X, 9781285401065 , 978-0470530658

More Books

Students also viewed these Operating System questions

Question

1. Offer surprise rewards for good participation in class.

Answered: 1 week ago