Langlib

Langlib.Classes.ContextFree.Examples.AbnAbStarPowPredN

The second intersection witness is context-free #

This file gives a context-free grammar for abnAbStarPowPredN = {a b^n (a b*)^(n-1) | n >= 1} and proves that it generates exactly that shared example language.

Context-free grammar for a b^n (a b*)^(n-1), n >= 1.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Compositional soundness for the context-free grammar #

    The context-free grammar generates exactly the second witness language.

    The language a b^n (a b*)^(n-1), n >= 1, is context-free.