languages

Definition

Chomsky–Schützenberger Theorem

Let Let over be a Dyck language.

A language over is context-free iff there exists some and a homomorphism such that:

where denotes a regular language over .

Example

Example 1

where with and .

Therefore, is context-free.

Example 2