Langlib

Langlib.Examples.L4

The language {0ⁿ1ⁿ2ᵐ3ᵐ} over Fin 4 #

The witness language used for Linear ⊊ CF and the non-closure of linear languages under concatenation. It is the concatenation of two relabelled copies of {aⁿbⁿ} (anbn): one mapped onto 0/1 and one onto 2/3.

Class-membership facts live in Langlib.Classes.ContextFree.Examples.L4 (L4_is_CF) and Langlib.Classes.Linear.Examples.L4 (L4_not_is_Linear).

def f4 :
BoolFin 4

Inject aⁿbⁿ's alphabet to 0/1.

Equations
Instances For
    def g4 :
    BoolFin 4

    Inject aⁿbⁿ's alphabet to 2/3.

    Equations
    Instances For
      def L4 :

      The witness language {0ⁿ1ⁿ2ᵐ3ᵐ} over Fin 4.

      Equations
      Instances For