Langlib

Langlib.Classes.DeterministicContextFree.Examples.AnBn

a^n b^n as a DCF #

This file constructs a deterministic pushdown automaton for the language {a^n b^n | n >= 0} and proves that this language is deterministic context-free.

DPDA recognizing {aⁿbⁿ | n ≥ 0} where false = a and true = b.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The DPDA dpda_anbn accepts exactly the language {aⁿbⁿ}.

    The language {aⁿbⁿ} is deterministic context-free.