arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.01226cs.FL
收藏

树宽为2的图集的正则文法

Regular Grammars for Sets of Graphs of Tree-Width 2

Marius Bozga, Radu Iosif, Florian Zuleger

AI总结:

本文将正则文法推广到无序无秩树和树宽至多2的图,证明其精确等价于CMSO可识别集,并给出包含问题的2EXPTIME上界及MSO与非周期代数刻画。

摘要:

正则文字文法是受限的上下文无关文法,定义了所有可识别的字语言。本文将正则文法从字推广到某些图类,方法是为无序无秩树以及树宽至多为2的图定义正则文法。“正则”这一限定词是合理的,因为这些文法恰好定义了相应图类中可识别(等价地,CMSO可定义)的集合。正则图集与可识别图集之间等价性的证明依赖于有效构造一个识别器代数,其大小相对于文法大小呈双指数增长。这为树宽至多为2的图上“上下文无关语言包含于正则语言”这一问题设定了2EXPTIME上界,而该问题是EXPTIME难的。对正则文法作进一步的句法限制,即可恰好刻画树宽至多为2的图的MSO可定义集合,即由不含基数约束的CMSO公式定义的集合。此外,我们表明,对于由树宽界所定义的每个图类,MSO可定义性与具有非周期并行复合半群的代数的可识别性相一致。

英文摘要:

Regular word grammars are restricted context-free grammars that define all the recognizable languages of words. This paper generalizes regular grammars from words to certain classes of graphs, by defining regular grammars for unordered unranked trees and graphs of tree-width 2 at most. The qualifier ``regular'' is justified because these grammars define precisely the recognizable (equivalently, CMSO-definable) sets of the respective graph classes. The proof of equivalence between regular and recognizable sets of graphs relies on the effective construction of a recognizer algebra of size doubly-exponential in the size of the grammar. This sets a 2EXPTIME upper bound on the (EXPTIME-hard) problem of inclusion of a context-free language in a regular language, for graphs of tree-width 2 at most. A further syntactic restriction of regular grammars suffices to capture precisely the MSO-definable sets of graphs of tree-width 2 at most, i.e., the sets defined by CMSO formulae without cardinality constraints. Moreover, we show that MSO-definability coincides with recognizability by algebras having an aperiodic parallel composition semigroup, for each class of graphs defined by a bound on the tree-width.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑