Langlib

Langlib.Classes.ContextSensitive.Inclusion.RecursivelyEnumerable

Context-Sensitive Inclusions #

This file embeds context-sensitive grammars into unrestricted grammars and derives the main inclusion result.

Main declarations #

def grammar_of_csg {T : Type} (g : CS_grammar T) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The unrestricted grammar obtained from a CS_grammar is non-contracting, and hence context-sensitive in the S → ε-optional sense.

    Every language generated by an ε-free context-preserving grammar is context-sensitive.

    theorem is_RE_of_CS {T : Type} {L : Language T} (h : is_CS L) :