English

Widths of regular and context-free languages

Formal Languages and Automata Theory 2019-12-10 v5 Discrete Mathematics

Abstract

Given a partially-ordered finite alphabet Σ\Sigma and a language LΣL\subseteq \Sigma^*, how large can an antichain in LL be (where LL is given the lexicographic ordering)? More precisely, since LL will in general be infinite, we should ask about the rate of growth of maximum antichains consisting of words of length nn. This fundamental property of partial orders is known as the width, and in a companion work we show that the problem of computing the information leakage permitted by a deterministic interactive system modeled as a finite-state transducer can be reduced to the problem of computing the width of a certain regular language. In this paper, we show that if LL is regular then there is a dichotomy between polynomial and exponential antichain growth. We give a polynomial-time algorithm to distinguish the two cases, and to compute the order of polynomial growth, with the language specified as an NFA. For context-free languages we show that there is a similar dichotomy, but now the problem of distinguishing the two cases is undecidable. Finally, we generalise the lexicographic order to tree languages, and show that for regular tree languages there is a trichotomy between polynomial, exponential and doubly exponential antichain growth.

Keywords

Cite

@article{arxiv.1709.08696,
  title  = {Widths of regular and context-free languages},
  author = {David Mestel},
  journal= {arXiv preprint arXiv:1709.08696},
  year   = {2019}
}

Comments

22 pages

R2 v1 2026-06-22T21:54:24.082Z