01Chapter 1: Alphabets, strings, and languagesThis chapter assumes you know finite automata, regular expressions, basic set operations, and proof by contradiction. You should also know the pumping lemma for regular languages, which is recapped briefly below.2 min read
02Chapter 2: Pushdown automata: states, stack, and transitionsThis chapter assumes you know finite automata, regular expressions, and the basic idea of a context-free grammar (CFG). It also assumes you have seen the pumping lemma for regular languages.2 min read
03Chapter 3: Using the pumping lemma to show a language is not context-freeThis chapter assumes you know context-free grammars (CFGs), pushdown automata (PDAs), regular languages, and proof by contradiction. A CFL is a language generated by some CFG. A DCFL is a CFL recognised by a deterministic PDA.2 min read