Langlib

Langlib.Classes.DeterministicContextFree.Closure.Intersection

Deterministic Context-Free Non-Closure Under Intersection #

This file transfers the existing CFL intersection counterexample to DCFLs by giving deterministic presentations of the two witness languages.

The existing CFL intersection witnesses also disprove DCFL intersection closure once they are shown deterministic context-free.

Deterministic context-free languages over Fin 3 are not closed under intersection.

theorem DCF_notClosedUnderIntersection_of_three {α : Type} [Fintype α] (a b c : α) (hab : a b) (hac : a c) (hbc : b c) :

Deterministic context-free languages are not closed under intersection for any finite alphabet containing three distinct symbols.

Deterministic context-free languages are not closed under intersection for any finite alphabet with at least three symbols.