计算机科学 > 形式语言与自动机理论
[提交于 2025年1月14日 (v1),最后修订于 2026年10月3日 (此版本, v5)]
标题:Complexity of decision problems for hyperedge replacement grammars
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper investigates complexity of various decision problems for hyperedge replacement grammars, starting with the uniform membership problem. It turns out that the complexity of the latter problem depends on how one defines a hypergraph. There are two commonly used definitions in the field, which differ in whether repetitions of attachment nodes of a hyperedge are allowed in a hypergraph or not. We show that, for arbitrary grammars, the problem under consideration is EXPTIME-complete, even for string-generating hyperedge replacement grammars, but it is NP-complete if repetitions are not allowed. We extend the developed proof techniques in order to prove a general EXPTIME-hardness result that covers a lot of decision problems concerning hyperedge replacement grammars. In particular, checking whether a grammar generates some graph satisfying a property that cannot be recovered from its multiset of hyperedge labels is EXPTIME-hard. We call such properties non-Parikh. They include such well-known graph-theoretic properties as e.g.~connectedness, Eulerianity, Hamiltonianity, acyclicity. A tight upper bound is established for EXPTIME-compatible properties via the Filter Theorem.