English

The hardest language for grammars with context operators

Formal Languages and Automata Theory 2021-11-22 v2

Abstract

In 1973, Greibach ("The hardest context-free language", SIAM J. Comp., 1973) constructed a context-free language L0L_0 with the property that every context-free language can be reduced to L0L_0 by a homomorphism, thus representing it as an inverse homomorphic image h1(L0)h^{-1}(L_0). In this paper, a similar characterization is established for a family of grammars equipped with operators for referring to the left context of any substring, recently defined by Barash and Okhotin ("An extension of context-free grammars with one-sided context specifications", Inform. Comput., 2014). An essential step of the argument is a new normal form for grammars with context operators, in which every nonterminal symbol defines only strings of odd length in left contexts of even length: the even-odd normal form. The characterization is completed by showing that the language family defined by grammars with context operators is closed under inverse homomorphisms; actually, it is closed under injective nondeterministic finite transductions.

Cite

@article{arxiv.2012.03596,
  title  = {The hardest language for grammars with context operators},
  author = {Mikhail Mrykhin and Alexander Okhotin},
  journal= {arXiv preprint arXiv:2012.03596},
  year   = {2021}
}
R2 v1 2026-06-23T20:46:37.033Z