Finite-domain constraint satisfaction problems are either solvable by Datalog, or not even expressible in fixed-point logic with counting. The border between the two regimes coincides with an important dichotomy in universal algebra; in particular, the border can be described by a strong height-one Maltsev condition. For infinite-domain CSPs, the situation is more complicated even if the template structure of the CSP is model-theoretically tame. We prove that there is no Maltsev condition that characterizes Datalog already for the CSPs of first-order reducts of (Q;<); such CSPs are called temporal CSPs and are of fundamental importance in infinite-domain constraint satisfaction. Our main result is a complete classification of temporal CSPs that can be expressed in one of the following logical formalisms: Datalog, fixed-point logic (with or without counting), or fixed-point logic with the Boolean rank operator. The classification shows that many of the equivalent conditions in the finite fail to capture expressibility in Datalog or fixed-point logic already for temporal CSPs.
翻译:局部限制的满意度问题要么通过数据log可以解决,要么甚至无法用固定点逻辑来计算。两个制度的边界与通用代数中一个重要的二分法相吻合;特别是,边界可以用一个强身高-1 Maltsev 条件描述。对于无限的域域域 CSP 来说,情况更加复杂,即使CSP的模板结构是模型-理论式的,或者我们证明,对于CSP 的首级转录(Q; < ) 的 CSP 来说,已经没有Maltsev 条件来描述数据log的特征;这种CSP 被称为时间性 CSP,对于无限的制约性满意度具有根本重要性。我们的主要结果是对时间性 CSP 进行完整的分类, 可以在以下逻辑形式中表达出来: Datalog, 固定点逻辑( 与或不计数), 或者与 Boolean 级操作员的固定点逻辑。 分类表明, 数量中的许多等等条件无法在数据log或固定点逻辑中捕捉到时间 CSP 。