Context-sensitive languages are closed under complement #
The automaton-level inductive-counting theorem complements the nonempty part of a
language. For a context-sensitive language L, we first remove ε, complement
that positive LBA language, and then use the existing empty-word closure theorem to
recover the ordinary complement Lᶜ.
This is the Immerman–Szelepcsényi theorem specialized to nondeterministic linear space.
Context-sensitive languages over a finite alphabet are closed under complement.