Save this video free

CSCD 420 Oct 12 2026

Chris Cain · 51:39 · Watch on YouTube

Part of Eastern Washington University CSCD 420. See all 38 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Chris Cain reviews the pumping-lemma proof template for showing that a language is not regular, using the example {a^n b^n} and explaining how to handle every possible cycle decomposition. The class then develops context-free grammars for strings with unequal counts of a’s and b’s and for nested scopes, before introducing grammar ambiguity and leftmost/rightmost derivations.

Key takeaways

Chapters

0:00 Homework 3, Exam Schedule, and Classroom Technology Problems
3:00 The Five-Part Setup for a Pumping-Lemma Proof
6:00 Pumping Conditions and Why Every Cycle Case Matters
9:00 Proving {a^n b^n} Is Not Regular by Pumping A’s
15:00 Concluding the Proof and Keeping Pumping Notation Consistent
21:00 Common Pumping-Proof Errors: Bad Strings, Missing Cases, and Edge Cases
28:00 Designing a Context-Free Grammar for Unequal A and B Counts
34:00 Using Recursive Grammar Structure to Enforce a Count Difference
39:00 Context-Free Grammar for Nested and Sequential Scopes
46:00 Ambiguous Grammars and Leftmost or Rightmost Derivations

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:02 we can get started. I have quite a few announcements beginning in class. So, let's get through them. We have homework three due on Wednesday. I am also planning to do a first study session for the exam on Friday on Wednesday. So today and tomorrow are our last full lecture days before we shift focus to preparing for the exam. But this won't be on the test though, right? >> Correct. >> Yes. Just through just through regular grammarss. So kind of all the all the regular stuff. Nothing proving something is not regular. The language is not regular or nothing of the contextfree language that we just briefly started last summer.

0:52 That will focus to preparing for the exam that we'll take on Friday. That's basically it. Assignments second half of this week is prep for the exam and the exam. I know so many announcements. Any questions on schedule or anything that we're covering? Okay. This is something that I'm going to be revealing right after class as a that does not look fun. I don't know how to be part that's let me quickly which >> video

1:52 correctly. Oh, that still doesn't look good. It's not good. Well, let's say goodbye to my camera and B. I'll turn on the room. Wow. Well, we just have to feel like we're in the matrix for a day given what time it is.

2:40 That did not work either. So, apologies in advance. I guess you can't really tell a ton remotely maybe, but there's some annoying flickering going on on the screen. Is that horribly bothering anyone to the extent to which we should just cancel class today? Yeah. >> All right. And now it's vibrating as well. Nice >> technology. All right. If you weren't glitchy enough, you will be by the end of

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Chris Cain.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.