English

A Lower Bound on Unambiguous Context Free Grammars via Communication Complexity

Databases 2025-04-01 v2 Formal Languages and Automata Theory

Abstract

Motivated by recent connections to factorised databases, we analyse the efficiency of representations by context free grammars (CFGs). Concretely, we prove a recent conjecture by Kimelfeld, Martens, and Niewerth (ICDT 2025), that for finite languages representations by general CFGs can be doubly-exponentially smaller than those by unambiguous CFGs. To do so, we show the first exponential lower bounds for representation by unambiguous CFGs of a finite language that can efficiently be represented by CFGs. Our proof first reduces the problem to proving a lower bound in a non-standard model of communication complexity. Then, we argue similarly in spirit to a recent discrepancy argument to show the required communication complexity lower bound. Our result also implies that a finite language may admit an exponentially smaller representation as a nondeterministic finite automaton than as an unambiguous CFG.

Keywords

Cite

@article{arxiv.2412.03199,
  title  = {A Lower Bound on Unambiguous Context Free Grammars via Communication Complexity},
  author = {Stefan Mengel and Harry Vinall-Smeeth},
  journal= {arXiv preprint arXiv:2412.03199},
  year   = {2025}
}

Comments

19 Pages, 1 figure, full version of paper accepted at PODS 2025

R2 v1 2026-06-28T20:22:44.876Z