计算机科学 > 形式语言与自动机理论
[提交于 2022年1月27日 (v1),最后修订于 2023年7月24日 (此版本, v5)]
标题:Positive First-order Logic on Words and Graphs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We study FO+, a fragment of first-order logic on finite words, where monadic predicates can only appear positively. We show that there is an FO-definable language that is monotone in monadic predicates but not definable in FO+. This provides a simple proof that Lyndon's preservation theorem fails on finite structures. We lift this example language to finite graphs, thereby providing a new result of independent interest for FO-definable graph classes: negation might be needed even when the class is closed under addition of edges. We finally show that the problem of whether a given regular language of finite words is definable in FO+ is undecidable.