On the complexity of the universality and inclusion problems for unambiguous context-free grammars (technical report)
Lorenzo Clemente

TL;DR
This paper investigates the computational complexity of universality and inclusion problems for unambiguous context-free grammars, proposing a PSPACE algorithm and exploring their relation to open problems in computational complexity.
Contribution
It introduces a PSPACE algorithm for the universality problem for unambiguous CFGs and connects the measure computation to the SQRTSUM problem, highlighting complexity challenges.
Findings
Proposes a PSPACE algorithm for universality in unambiguous CFGs.
Shows the measure computation problem is as hard as SQRTSUM.
Establishes the decidability of certain problems in this domain.
Abstract
We study the computational complexity of universality and inclusion problems for unambiguous finite automata and context-free grammars. We observe that several such problems can be reduced to the universality problem for unambiguous context-free grammars. The latter problem has long been known to be decidable and we propose a PSPACE algorithm that works by reduction to the zeroness problem of recurrence equations with convolution. We are not aware of any non-trivial complexity lower bounds. However, we show that computing the coin-flip measure of an unambiguous context-free language, a quantitative generalisation of universality, is hard for the long-standing open problem SQRTSUM.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicssemigroups and automata theory · Natural Language Processing Techniques · DNA and Biological Computing
