Langlib

Langlib.Classes.Regular.Inclusion.StrictDeterministicContextFree

RG ⊊ DCF #

This file uses the example language {aⁿbⁿ} to show that regular languages form a strict subclass of deterministic context-free languages.

Main results #

theorem RG_strict_subclass_DCF {T : Type} [Fintype T] [Nontrivial T] :
RGDCF

Regular languages are a strict subclass of deterministic context-free languages over any nontrivial alphabet.

Regular languages are a strict subclass of deterministic context-free languages over every finite alphabet with at least 2 elements.