The Context-Free Pumping Lemma
Use a repeated variable on a parse-tree path to justify pumping two regions together and rule out a three-counter language.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
A repeated variable supplies a nested derivation
In a sufficiently long derivation under binary normal form, some root-to-leaf path repeats a variable. One occurrence can derive a context enclosing the lower occurrence. For a pumping length \(p\), the usual decomposition \(uvxyz\) has \(|vxy|\le p\), \(|vy|>0\), and remains in the language as \(uv^ixy^iz\) for every \(i\ge0\). The two outer pieces \(v,y\) are repeated in step because they arose from the same nested derivation.
One block can stay untouched when two pieces pump
For \(a^pb^pc^p\), an interval of length at most \(p\) cannot touch all three blocks. Some letter count therefore remains \(p\) while removing \(v,y\) decreases another count. This violates the equal-count requirement regardless of the permitted split. The language therefore is not context-free. Pushdown automata give a positive construction for matching two blocks.[1][2]