arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.07106cs.FLcs.CL
收藏

有向正则语言与上下文无关语言

Directed Regular and Context-Free Languages

Max Planck Institute for Software Systems (MPI-SWS)(马克斯·普朗克软件系统研究所)

Moses Ganardi, Irmak Saglam, Georg Zetzsche

AI总结:

本文研究语言有向性判定问题,证明以 NFA 表示的正则语言属于 $AC^1$ 且固定字母表时 NL 完全,上下文无关语言则为 PSPACE 完全。

摘要:

我们研究判定给定语言是否为有向语言的问题。语言 $L$ 是有向的,如果 $L$ 中每一对词都在 $L$ 中有一个共同的(散布的)超词。判定有向性是与下闭集的理想分解相关的一个基本问题。另一个动机是,判定两个有向上下文无关语言是否具有相同的下闭包可以在多项式时间内完成,而对于一般的上下文无关语言,该问题已知是 coNEXP 完全的。我们证明,以 NFA 给出的正则语言的有向性问题属于 $AC^1$,因此属于多项式时间。此外,在字母表大小固定时,它是 NL 完全的。进一步,我们证明对于上下文无关语言,有向性问题是 PSPACE 完全的。

英文摘要:

We study the problem of deciding whether a given language is directed. A language $L$ is \emph{directed} if every pair of words in $L$ have a common (scattered) superword in $L$. Deciding directedness is a fundamental problem in connection with ideal decompositions of downward closed sets. Another motivation is that deciding whether two \emph{directed} context-free languages have the same downward closures can be decided in polynomial time, whereas for general context-free languages, this problem is known to be coNEXP-complete. We show that the directedness problem for regular languages, given as NFAs, belongs to $AC^1$, and thus polynomial time. Moreover, it is NL-complete for fixed alphabet sizes. Furthermore, we show that for context-free languages, the directedness problem is PSPACE-complete.

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

↑