Langlib

Langlib.Classes.ContextFree.Definition

Context-Free Languages #

This file defines the class of context-free languages via unrestricted grammars satisfying the context-free rule-shape property.

An unrestricted grammar is context-free if every rule has empty left and right context.

Equations
Instances For
    def is_CF {T : Type} (L : Language T) :

    Predicate that a language is context-free.

    Equations
    Instances For
      def is_CF_via_cfg {T : Type} (L : Language T) :

      Characterization of context-free languages via CF_grammar.

      Equations
      Instances For
        def CF {T : Type} :

        The class of context-free languages.

        Equations
        Instances For