Strict Inclusion: CF ⊊ Indexed #
This file proves that the class of indexed languages strictly contains the class of
context-free languages, by exhibiting a witness: the language {aⁿbⁿcⁿ | n ∈ ℕ}
is indexed but not context-free.
The indexed grammar uses a stack-bottom marker to ensure that each nonterminal consumes exactly as many flags as were pushed.
Main declarations #
CF ⊊ Indexed: context-free languages form a strict subclass of indexed languages.
For any finite alphabet with at least 3 symbols, context-free languages form a strict
subclass of indexed languages.