arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1703.01122cs.LO
收藏

带计数的一阶逻辑:至少弱Hanf范式总是存在且可计算!

First-Order Logic with Counting: At Least, Weak Hanf Normal Forms Always Exist and Can Be Computed!

Dietrich Kuske, Nicole Schweikardt

摘要:

我们介绍了逻辑FOCN(P),它扩展了一阶逻辑计数和数值谓词从一个集合P,它可以被看作是一个自然的概括各种计数逻辑,已在文献中研究。我们得到了一个局部性结果,表明每个FOCN(P)-公式都可以变换成Hanf范式公式,该公式在所有有限结构上等价,且次数不超过d.一个公式是Hanf范式,如果它是一个布尔组合的公式描述周围的自由变量元组和算术句子的谓词从P在原子语句描述的数量实现的类型与一个单一的中心。转换成Hanf范式可以实现在$d$中的时间初等和输入公式的大小。由这个局部性结果,我们得到了以下应用:(*)有界量词交替深度的一阶公式的Hanf局部性秩仅随公式大小多项式增长。(*)有界度结构上FOCN(P)的片段FOC(P)的模型检验问题是固定参数易处理的(具有基本参数依赖性)。(*)在度最大为d的完全动态数据库上,FOC(P)的固定查询的查询评估问题可以有效地解决:有一个动态算法可以以恒定的延迟枚举查询结果中的元组,并且允许计算查询结果的大小,并在每次数据库更新后的恒定时间内测试给定元组是否属于查询结果。

英文摘要:

We introduce the logic FOCN(P) which extends first-order logic by counting and by numerical predicates from a set P, and which can be viewed as a natural generalisation of various counting logics that have been studied in the literature. We obtain a locality result showing that every FOCN(P)-formula can be transformed into a formula in Hanf normal form that is equivalent on all finite structures of degree at most d. A formula is in Hanf normal form if it is a Boolean combination of formulas describing the neighbourhood around its tuple of free variables and arithmetic sentences with predicates from P over atomic statements describing the number of realisations of a type with a single centre. The transformation into Hanf normal form can be achieved in time elementary in $d$ and the size of the input formula. From this locality result, we infer the following applications: (*) The Hanf-locality rank of first-order formulas of bounded quantifier alternation depth only grows polynomially with the formula size. (*) The model checking problem for the fragment FOC(P) of FOCN(P) on structures of bounded degree is fixed-parameter tractable (with elementary parameter dependence). (*) The query evaluation problem for fixed queries from FOC(P) over fully dynamic databases of degree at most d can be solved efficiently: there is a dynamic algorithm that can enumerate the tuples in the query result with constant delay, and that allows to compute the size of the query result and to test if a given tuple belongs to the query result within constant time after every database update.

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

↑