[Solved] CSE 396 -Assignment 4

$25

File Name: CSE_396_-Assignment_4.zip
File Size: 197.82 KB

SKU: [Solved] CSE 396 -Assignment 4 Category: Tag:
5/5 - (1 vote)

In lecture this week, we learned (formally) that not all computational problems are able to be represented by a regular expression. This hopefully isnt very shocking, since we eluded to it from the beginning that the DFA model is quite limited (finite memory, read-once, etc.). Our method to accomplish this was by applying the Pumping Lemma. More specifically, if we satisfy all of the hypotheses for the contrapositive of the Pumping Lemma (namely, we can find a string within our candidate language that cannot be pumped properly), then we may conclude that the candidate language is not regular.

Note that the statement provided by the Pumping Lemma does not assert an if and only if. What this means is that if a language is not regular, its not necessarily the case that the Pumping Lemma does not hold. There does exist a more powerful tool, the Myhill-Nerode theorem, that provides a method to prove if a language is regular or not regular directly, including the ability to prove a language is regular without the need to construct a DFA recognizing it (see https://en.wikipedia.org/wiki/Myhill%E2% 80%93Nerode_theorem). Interestingly, John Myhill (the Myhill in Myhill-Nerode) was a UB professor for many years.

Problem 1. Complete the TopHat worksheet.

Problem 2. Using the application of the contrapositive of the Pumping Lemma (from lecture), prove that the following language L1 is not a regular language, where

L1 = {w | w {0,1},the middle symbol of w is 1}.

Problem 3. (19 points) Using the application of the contrapositive of the Pumping Lemma (from lecture), prove that the following language L2 is not a regular language, where

L2 = {x#y#z | x,y,z {0,1},x + y = z (as binary numbers)}.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSE 396 -Assignment 4
$25