Langlib

Langlib.Classes.ContextFree.Examples.AnBnCm

{aⁿbⁿcᵐ} is context-free #

The language lang_eq_any = {aⁿbⁿcᵐ | n,m ∈ ℕ} is context-free, presented as the concatenation of the context-free factors {aⁿbⁿ} and {cᵐ}.

lang_aux_ab (the {aⁿbⁿ} factor over Fin 3) and its context-freeness are exposed because the witness {aⁿbᵐcᵐ} reuses them via a letter permutation; see Langlib.Classes.ContextFree.Examples.AnBmCm.

The {aⁿbⁿ} factor over the Fin 3 alphabet.

Equations
Instances For