SearcharxivSearch

arXiv subjects

Jakub Rydval

Publications and source records attributed to Jakub Rydval.

10 recordsLinked to original sources

Deciding Amalgamation Beyond Arity Two: The Semantic Horn Case

We study the amalgamation decision problem: given a universal first-order sentence $\Phi$, decide whether the class $\mathrm{fm}(\Phi)$ of its finite models has the amalgamation property. We call $\Phi$ semantic Horn if $\mathrm{fm}(\Phi)$ is closed under binary direct products. By McKinsey's theorem, this is equivalent to $\Phi$ being logically equivalent to a universal Horn sentence; the distinction is one of input representation, since $\Phi$ itself need not be given in Horn form and conversion to an explicit Horn normal form can incur an exponential blow-up. We prove that the problem is decidable under this semantic promise. Moreover, it belongs to 2EXPTIME, and to EXPTIME for every fixed bound on the arity of the input signature. Thus the semantic Horn fragment admits an unconditional decision procedure for signatures of unbounded relational arity. Our proof starts from the inside-out correspondence, which we use as a black box for the semantic reduction to a finite completion problem. We encode finite completions as homomorphisms to a finite relational template and introduce a finite set-valued local-consistency certificate for completion problems whose template has bounded width. For semantic Horn inputs, the local completions over each fixed source chart are closed under relationwise intersection of the added relations, and these intersections are compatible with restriction maps. This yields a semilattice polymorphism of the completion template. Since the template is binary, the semilattice operation gives width $2$, making the local-consistency certificate complete. The same construction gives a decision procedure whenever the associated completion template has bounded width.

cs.LO

The Polynomial Hierarchy and $ω$-categorical CSPs

In 2008, Bodirsky and Grohe showed that for every $Π_n^{\mathrm{P}}$-level of the Polynomial Hierarchy (PH) there are $ω$-categorical Constraint Satisfaction Problems (CSPs) complete for this level. We show that, in fact, there are $ω$-categorical CSPs complete for any level of the PH. To this end, we use a recent result of Bodirsky, Knäuer, and Rudolph for constructing $ω$-categorical CSPs from sentences of Monadic Second-Order logic (MSO) with certain preservation properties. As a secondary contribution, we develop a new tool for producing MSO sentences satisfying said preservation properties.

cs.LO

The Golden Path to Guarded Monotone Strict NP

Guarded Monotone Strict NP (GMSNP) extends Monotone Monadic Strict NP (MMSNP) by guarded existentially quantified predicates of arbitrary arities. We prove that the containment and the FO-rewritability problems for GMSNP are decidable, thereby settling an open question of Bienvenu, ten Cate, Lutz, and Wolter, later restated by Bourhis and Lutz. Our proof also comes with a 2NEXPTIME upper bound on the complexity of the two problems, which matches the lower bounds for MMSNP due to Bourhis and Lutz. To obtain these results, we significantly improve the state of knowledge of the model-theoretic properties of GMSNP. Bodirsky, Knäuer, and Starke previously showed that every GMSNP sentence defines a finite union of CSPs of $ω$-categorical structures. We show that these structures can be used to obtain a reduction from the containment problem for GMSNP to the much simpler problem of testing the existence of a recolouring; a careful analysis of this yields said upper bound for containment. The upper bound for FO-rewritability is subsequently obtained by an application of several standard techniques from the theory of infinite-domain CSPs. As our secondary contribution, we refine the construction of Bodirsky, Knäuer, and Starke by adding a restricted form of homogeneity to the properties of these structures, making the logic amenable to future complexity classifications for query evaluation using techniques developed for infinite-domain CSPs.

cs.LO

Finitely Bounded Homogeneity Turned Inside-Out

Deciding the amalgamation property for a given class of finite structures is an important subroutine in classifying countable finitely homogeneous structures. We study the computational complexity of the amalgamation decision problem for finitely bounded classes, i.e., classes specified by a finite set of forbidden finite substructures, or equivalently by a finite set of universal axioms. We link the amalgamation decision problem to the problem of testing the containment between the reducts of two given finitely bounded amalgamation classes to a given common subset of their signatures. On the one hand, this link enables polynomial-time reductions from various decision problems that can be represented within the reduct containment problem for finitely bounded amalgamation classes, e.g., the 2-exponential square tiling problem, leading to a new lower bound for the complexity of the amalgamation decision problem: 2NEXPTIME-hardness. On the other hand, the link also allows us to show that the amalgamation decision problem is decidable under the assumption that every finitely bounded strong amalgamation class has a computable finitely bounded Ramsey expansion. The runtime of our conditional decision procedure depends 2-exponentially on the size of a minimal Ramsey expansion. We subsequently prove that the closely related problem of testing homogenizability is already undecidable, by a polynomial-time reduction from the regularity of context-free languages. Our results indicate that the relationship between finitely bounded amalgamation classes and arbitrary finitely bounded classes shares similarities with the relationship between regular grammars and context-free grammars. A key difference is that the regularity of context-free grammars can be tested in linear time, while the problem of testing the amalgamation property for finitely bounded classes is 2NEXPTIME-hard.

cs.LO

Three Fundamental Questions in Modern Infinite-Domain Constraint Satisfaction

The Feder-Vardi dichotomy conjecture for Constraint Satisfaction Problems (CSPs) with finite templates, confirmed independently by Bulatov and Zhuk, has an extension to certain well-behaved infinite templates due to Bodirsky and Pinsker which remains wide open. We formulate three fundamental questions on the scope of the Bodirsky-Pinsker conjecture and provide positive answers to them. Our first two main results provide two simplifications of this scope, one of structural, and the other one of algebraic nature. The former simplification implies that the conjecture is equivalent to its restriction to templates without algebraicity, a crucial assumption in the most powerful classification methods. The latter yields that the higher-arity invariants of any template within its scope can be assumed to be essentially injective, and any algebraic condition characterizing any complexity class within the conjecture closed under Datalog reductions must be satisfiable by injections, thus lifting the mystery of the better applicability of certain algebraic conditions over others. Our third main result uses the first one to show that any non-trivially tractable template within the scope serves, up to a Datalog-computable modification of it, as the witness of the tractability of a non-finitely tractable finite-domain Promise Constraint Satisfaction Problem (PCSP) by the so-called sandwich method. This provides a particularly strong connection between the Bodirsky-Pinsker conjecture and finite-domain PCSPs. In the light of the third main result, we initiate a new case study-of phylogeny CSPs-which we investigate from the perspective of descriptive complexity. Within this study, we show that there exists a tractable phylogeny CSP that pp-constructs a finite-domain PCSP inexpressible in fixed-point logic with counting but does not pp-construct any finite-domain CSP with this property.

math.LO

Identifying Tractable Quantified Temporal Constraints within Ord-Horn

The constraint satisfaction problem, parameterized by a relational structure, provides a general framework for expressing computational decision problems. Already the restriction to the class of all finite structures forms an interesting microcosm on its own, but to express decision problems in temporal reasoning one has to take a step beyond the finite-domain realm. An important class of templates used in this context are temporal structures, i.e., structures over $\mathbb{Q}$ whose relations are first-order definable using the usual countable dense linear order without endpoints. In the standard setting, which allows only existential quantification over input variables, the complexity of finite and temporal constraints has been fully classified. In the quantified setting, i.e., when one also allows universal quantifiers, there is only a handful of partial classification results and many concrete cases of unknown complexity. This paper presents a significant progress towards understanding the complexity of the quantified constraint satisfaction problem for temporal structures. We provide a complexity dichotomy for quantified constraints over the Ord-Horn fragment, which played an important role in understanding the complexity of constraints both over temporal structures and in Allen's interval algebra. We show that all problems under consideration are in P or coNP-hard. In particular, we determine the complexity of the quantified constraint satisfaction problem for $(\mathbb{Q};x=y\Rightarrow x\geq z)$, hereby settling a question open for more than ten years.

cs.LO

On the Descriptive Complexity of Temporal Constraint Satisfaction Problems

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.

math.LO

Tractable Combinations of Temporal CSPs

The constraint satisfaction problem (CSP) of a first-order theory T is the computational problem of deciding whether a given conjunction of atomic formulas is satisfiable in some model of T. We study the computational complexity of CSP$(T_1 \cup T_2)$ where $T_1$ and $T_2$ are theories with disjoint finite relational signatures. We prove that if $T_1$ and $T_2$ are the theories of temporal structures, i.e., structures where all relations have a first-order definition in $(Q;<)$, then CSP$(T_1 \cup T_2)$ is in P or NP-complete. To this end we prove a purely algebraic statement about the structure of the lattice of locally closed clones over the domain $Q$ that contain Aut$(Q;<)$.

math.LO

Universal Horn Sentences and the Joint Embedding Property

The finite models of a universal sentence $Φ$ in a finite relational signature are the age of a structure if and only if $Φ$ has the joint embedding property. We prove that the computational problem whether a given universal sentence $Φ$ has the joint embedding property is undecidable, even if $Φ$ is additionally Horn and the signature of $Φ$ only contains relation symbols of arity at most two.

cs.LO