Langlib

Langlib.Classes.DeterministicContextFree.Definition

Deterministic Context-Free Languages (DCFs) #

This file defines deterministic context-free languages (DCFs) as a grammar class and proves their basic inclusion into context-free languages.

Definition #

A language L is a deterministic context-free language (DCF) if there exists a deterministic pushdown automaton (DPDA) that accepts L by final-state acceptance.

Main results #

References #

def is_DCF {T : Type} [Fintype T] (L : Language T) :

A language L over a finite alphabet T is a deterministic context-free language (DCF) if there exists a DPDA that recognizes L via final-state acceptance.

Equations
Instances For
    def DCF {T : Type} [Fintype T] :

    The class of languages that are DCF

    Equations
    Instances For