Class Notes (839,376)
Canada (511,314)
CPSC 313 (6)
Lecture

Non-Regular Languages

1 Page
76 Views

Department
Computer Science
Course Code
CPSC 313
Professor
Philipp Woelfel

This preview shows half of the first page. Sign up to view the full page of the document.
Description
January 30th, 2012 Identifying Nonregular Languages We can use something called a Pumping Lemma to help us prove that certain languages are nonregular. When considering DFAs, we see that they have a bounded amount of memory. We also note that DFAs cannot accept languages where it is necessary to count arbitrary numbers. Example 3.1 Claim : The language L = fa b jn ▯ 0g over ▯ = fa;bg is not regular. Intuition : Any DFA would have to "count the number of a’s and match it with the number of b’s. Proof : Suppose there is a DFA M = (Q;▯;▯;q ;F) 0hat accepts L. Consider the states ▯ (q0;a ) for i = 0;1;2;::: ▯ n Since there is an unbounded number of i’s, but Q is
More Less
Unlock Document

Only half of the first page are available for preview. Some parts have been intentionally blurred.

Unlock Document
You're Reading a Preview

Unlock to view full version

Unlock Document

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit