Abstract 1 Introduction 2 Preliminaries 3 General facts 4 Equality VCSPs 5 Temporal VCSPs 6 Future work References

Temporal Valued Constraint Satisfaction Problems

Manuel Bodirsky ORCID Institut für Algebra, TU Dresden, Germany Édouard Bonnet ORCID Univ Lyon, CNRS, ENS de Lyon, Université Claude Bernard Lyon 1, LIP UMR5668, France Žaneta Semanišinová ORCID Institut für Algebra, TU Dresden, Germany
Abstract

We study the computational complexity of the valued constraint satisfaction problem (VCSP) for every valued structure over that is preserved by all order-preserving bijections. Such VCSPs will be called temporal, in analogy to the (classical) constraint satisfaction problem: a relational structure is preserved by all order-preserving bijections if and only if all its relations have a first-order definition in (;<), and the CSPs for such structures are called temporal CSPs. Many optimization problems that have been studied intensively in the literature can be phrased as a temporal VCSP. We prove that a temporal VCSP is in P, or NP-complete. Our analysis uses the concept of fractional polymorphisms. This is the first dichotomy result for VCSPs over infinite domains which is complete in the sense that it treats all valued structures that contain a given automorphism group.

Keywords and phrases:
Constraint Satisfaction Problems, valued CSPs, temporal CSPs, fractional polymorphisms, complexity dichotomy, min CSPs
Funding:
Manuel Bodirsky: The author has been funded by the European Research Council (Project POCOCOP, ERC Synergy Grant 101071674) and by the DFG (Project FinHom, Grant 467967530). Views and opinions expressed are however those of the authors only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.
Édouard Bonnet: The author was supported by the ANR project TWIN-WIDTH (ANR-21-CE48-0014-01).
Žaneta Semanišinová: The author has been funded by the European Research Council (Project POCOCOP, ERC Synergy Grant 101071674). Views and opinions expressed are however those of the authors only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.
Copyright and License:
[Uncaptioned image] © Manuel Bodirsky, Édouard Bonnet, and Žaneta Semanišinová; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Complexity theory and logic
Related Version:
Full Version: https://arxiv.org/abs/2409.07285 [14]
Editors:
Paweł Gawrychowski, Filip Mazowiecki, and Michał Skrzypczak

1 Introduction

Valued constraint satisfaction problems (VCSPs) form a large class of computational optimization problems. A VCSP is parameterized by a valued structure (called the template), which consists of a domain D and cost functions, each defined on Dk for some k. The input to the VCSP consists of a finite set of variables, a finite sum of cost functions applied to these variables, and a threshold u, and the task is to find an assignment to the variables so that the sum of the costs is at most u. The computational complexity of such problems has been studied depending on the valued structure that parameterizes the problem. VCSPs generalize constraint satisfaction problems (CSPs), which can be viewed as a variant of VCSPs with costs from the set {0,}: every constraint is either satisfied or surpasses every finite threshold. VCSPs also generalize min-CSPs, which are the natural variant of CSPs where, instead of asking whether all constraints can be satisfied at once, we search for an assignment that minimizes the number of unsatisfied constraints. Such problems can be modeled as VCSPs with costs from the set {0,1}.

A major achievement of the field is that if the domain of the valued structure 𝔄 is finite, then the computational complexity of VCSP(𝔄) is in P, or NP-complete. This result has an interesting history. The classification task was first considered in [20] with important first results that indicated that we might expect a good systematic theory for such VCSPs. A milestone was reached by Thapper and Živný with the proof of a complexity dichotomy for the case where the cost functions never take value  [38]. On the hardness side, Kozik and Ochremiak [29] formulated a condition that implies hardness for VCSP(𝔄) and found equivalent characterisations that suggested that this condition characterises NP-hardness (unless P=NP, of course). Kolmogorov, Krokhin, and Rolínek [28] then showed that if the hardness condition from [29] does not apply, linear programming relaxation in combination with algorithms for classical CSPs can be used to solve VCSP(𝔄), conditional on the tractability conjecture for (classical) CSPs. Finally, this conjecture about CSPs has been confirmed independently by Bulatov [16] and by Zhuk [42, 43], thus completing the complexity dichotomy for VCSP(𝔄) for finite-domain templates 𝔄 as well. A key tool for distinguishing the tractable VCSPs from the NP-hard ones are fractional polymorphisms, which, in some sense, capture the symmetries of the VCSP template.

Many important optimization problems in the literature cannot be modeled as VCSPs if we restrict to valued structures on a finite domain; VCSPs that require an infinite domain are, for example, the min-correlation-clustering problem with partial information [1, 39], ordering min-CSPs [27], phylogeny min-CSPs [18], VCSPs with semilinear constraints [8], and the class of resilience problems from database theory [24, 25, 30, 13].

For VCSPs with infinite templates we cannot hope for general classification results, since this is already out of reach for the special case of CSPs over infinite domains [4]. However, a powerful algebraic machinery was developed to study CSPs of structures with a rich automorphism group, which has led to classification results for many concrete automorphism groups: we list [7, 10, 9, 3, 31] as a representative sample. Some part of this machinery has also been developed for VCSPs in [13], inspired by the concepts from infinite-domain CSPs and finite-domain VCSPs [26, 29]. Nevertheless, no complexity classification for VCSPs such as for the classes of CSPs discussed above was obtained so far.

In this article we provide the first VCSP dichotomy result for a class of templates which consists of all valued structures preserved by some fixed permutation group. Concretely, we prove that the VCSP for every valued structure with the domain that is preserved by all order-preserving bijections is in P or NP-complete. We call such valued structures temporal, in analogy to temporal relational structures, i.e., structures with the domain preserved by all order-preserving bijections – these are precisely the structures with a first-order definition over (;<). We also provide disjoint algebraic conditions that characterize the tractable and the NP-complete case, in analogy to similar classifications for classes of (V)CSPs. The result confirms the dichotomy conjecture from [13, Conjecture 9.3] for the special case of temporal valued structures. Note that our classification result is incomparable with the result of [8] which shows that that submodular PLH functions form a maximally tractable class of PLH cost functions, because the class of temporal valued structures is a proper subclass of PLH and contains structures with tractable VCSPs that are not submodular.

Apart from the relevance of temporal VCSPs as a test case for understanding VCSPs on infinite domains, they constitute an important class for several reasons:

  • Temporal VCSPs encompass many natural optimization problems111It should be mentioned that these problems come in two flavours: one is where the input is a graph, or more generally a structure; the other, which we adopt here, is that the input consists of a finite sum of cost functions, which in particular allows that the sum contains identical summands. In the setting of Min-CSPs for graphs, this corresponds to considering multigraphs in the input. However, often (but not always, see Theorems 8.6 and 8.7 in [30]) the two variants of the problem have the same complexity (see, e.g., [22, Section 2.3] for relevant techniques in this context). such as Directed Feedback Arc Set, Directed Subset Feedback Arc Set, Edge Multicut (aka Min-Correlation-Clustering with Partial Information), Symmetric Directed Multicut, Steiner Multicut, Disjunctive Multicut, and many more [15, 23, 32, 34, 33].

  • The complete classification for temporal CSPs has been the basis to obtain other complexity classifications in temporal and spatial reasoning via complexity classification transfer techniques [5]; we expect that temporal valued CSPs play a similar role for the corresponding optimisation problems.

  • Temporal VCSPs contain interesting polynomial-time tractable cases with some non-trivial interaction between the “soft” (i.e., finite-valued) and the “crisp” constraints (i.e., {0,}-valued) in the input (Lemma 38).

Our tractability condition for temporal VCSPs is phrased in terms of fractional polymorphisms, that is, probability distributions on operations with particular properties. Surprisingly, the fractional polymorphisms that appear in this classification are of a very particular shape: there is always a single operation with probability 1. It is known that in general, such fractional polymorphisms are not sufficient to capture the border between polynomial-time tractable and NP-hard VCSPs [21], and we therefore present fractional polymorphisms in full generality for consistency with the literature. The concrete operations that appear in this context are the same operations that were already essential for classification of temporal CSPs. The hardness condition is based on the notion of expressibility, which generalizes primitive positive definitions, and on the notion of generalized pp-constructions [13], which provide polynomial-time reductions between VCSPs. Interestingly enough, it is not known whether preservation by fractional polymorphisms characterises expressibility in our setting; this is known for valued structures with a finite domain [19, 26]. Our classification proof, however, does not rely on such a characterisation.

1.1 Related work

VCSPs on infinite domains have been studied in [39, 37, 40]. However, the valued structures considered in these articles typically do not have an oligomorphic automorphism group, a property that is essential for applying our techniques for classifying the complexity of VCSPs. The foundations of the theory for VCSPs of valued structures with an oligomorphic automorphism group were laid in [13] with the motivation to study resilience problems from database theory. Concrete subclasses of temporal VCSPs have been studied in the context of min-CSPs from the parameterized complexity perspective: the complexity of equality min-CSPs has been classified in [35] and parameterized complexity of min-CSPs over the Point Algebra has been classified in [33]. The authors mention a classification of first-order generalizations of the Point Algebra as a natural continuation of their research [33, Section 5]. The present paper contains a classification of VCSPs over all temporal structures and thus provides the foundations for classifying the parameterized complexity of min-CSPs for such structures, including algebraic techniques that we expect to be useful in this context as well.

1.2 Outline

The article is organized as follows. Section 2 contains preliminaries on VCSPs in general, with some notation and properties specific to temporal VCSPs. Section 3 contains several new facts about VCSPs that have been used in the classification. Section 4 contains the classification of equality VCSPs, that is, VCSPs of valued structures with an automorphism group equal to the full symmetric group; on the one hand, this serves as a warm-up, on the other hand it is a building block for the general case. Section 5 contains the full classification of temporal VCSPs, which is the main contribution of the paper.

2 Preliminaries

Let :={0,1,2,} be the set of natural numbers. For k the set {1,,k} will be denoted by [k]. The set of rational numbers is denoted by and the standard strict linear order of by <. We also need an additional value ; all we need to know about is that

  • a< for every a,

  • a+=+a= for all a{}, and

  • 0=0=0 and a=a= for a>0.

If A is a set, then Sym(A) denotes the group of all permutations of A. If tAk, then we implicitly assume that t=(t1,,tk), where t1,,tkA. For an operation f:AA and t1,,tAk, we use the following notation for applying f componentwise:

f(t1,,t):=(f(t11,t12,,t1),,f(tk1,tk2,,tk)).

2.1 Valued structures

Let A be a set and let k. A valued relation of arity k over A is a function R:Ak{}. We write A(k) for the set of all valued relations over A of arity k, and define

A:=kA(k).

A valued relation is called finite-valued if it takes values only in .

Usual relations RAk will also be called crisp relations. A valued relation RA(k) that only takes values from {0,} will be identified with the crisp relation {tAkR(t)=0}. A valued relation RA(k) is called essentially crisp if there exists a such that R(t){a,} for every tAk. For RA(k) the feasibility relation of R is defined as Feas(R):={tAkR(t)<}. For SAk and a,b{}, we denote by Sab the valued relation such that Sab(t)=a if tS, and Sab(t)=b otherwise. We write S0 to stress that S is a crisp relation viewed as a valued relation. The unary empty relation on A, where every element of A evaluates to , is denoted by .

Example 1.

On the domain , the valued relation (=)0 denotes the crisp equality relation, while (<)01 denotes the valued relation (<)01(x,y)=0 if x<y and (<)01(x,y)=1 if xy.

A (relational) signature τ is a set of relation symbols, each of them equipped with an arity from . A valued τ-structure 𝔄 consists of a set A, which is also called the domain of 𝔄, and a valued relation R𝔄A(k) for each relation symbol Rτ of arity k. All valued structures in this article have countable domains. We often write R instead of R𝔄 if the valued structure is clear from the context. When not specified, we assume that the domains of valued structures 𝔄,𝔅,, are denoted A,B,C,, respectively. If is a set of valued relations over a common domain A, we write (A;) for a valued structure 𝔄 whose relations are precisely the relations from ; we only use this notation if the precise choice of the signature does not matter. A valued τ-structure where all valued relations only take values from {0,} may then be viewed as a relational or crisp τ-structure in the classical sense. A valued structure is called essentially crisp if all of its valued relations are essentially crisp. If 𝔄 is a valued τ-structure on the domain A, then Feas(𝔄) denotes the relational τ-structure 𝔄 on the domain A where R𝔄=Feas(R𝔄) for every Rτ. If στ and 𝔄 is a valued σ-structure such that R𝔄=R𝔄 for every Rσ, then we call 𝔄 a reduct of 𝔄.

2.2 Valued constraint satisfaction problems

Let τ be a relational signature. An atomic τ-expression is an expression of the form R(x1,,xk) for Rτ, (=)0(x1,x2), or (x1) where x1,,xk are (not necessarily distinct) variable symbols. A τ-expression is an expression ϕ of the form imϕi where m and ϕi for i{1,,m} is an atomic τ-expression. Note that the same atomic τ-expression might appear several times in the sum. We write ϕ(x1,,xn) for a τ-expression where all the variables are from the set {x1,,xn}. If 𝔄 is a valued τ-structure, then a τ-expression ϕ(x1,,xn) defines over 𝔄 a member of A(n) in the usual way, which we denote by ϕ𝔄 (for example, if ϕ(x,y)=R(x)+S(y) and 𝔄 is an {R,S}-structure, then ϕ𝔄(x,y)=R𝔄(x)+S𝔄(y) for all x,yA). If ϕ is the empty sum, then ϕ𝔄 is constant 0.

Let 𝔄 be a valued structure over a finite signature τ. The valued constraint satisfaction problem for 𝔄, denoted by VCSP(𝔄), is the computational problem to decide for a given τ-expression ϕ(x1,,xn) and a given u whether there exists tAn such that ϕ𝔄(t)u. We refer to ϕ as an instance of VCSP(𝔄), and to u as the threshold. We also refer to the pair (ϕ,u) as a (positive or negative) instance of VCSP(𝔄). A tuple tAn such that ϕ𝔄(t)u is called a solution for (ϕ,u). The cost of ϕ (with respect to 𝔄) is defined to be inftAnϕ𝔄(t). In some contexts, it will be beneficial to consider only a given τ-expression ϕ to be the input of VCSP(𝔄) (rather than ϕ and the threshold u) and a tuple tAn will then be called a solution for ϕ if the cost of ϕ equals ϕ𝔄(t). In general, there might not be any solution. If there exists tAn such that ϕ𝔄(t)< then ϕ is called satisfiable. To give an example of a VCSP, note that VCSP(;(<)01) is the minimum feedback arc set problem for directed multigraphs.

If 𝔄 is a relational τ-structure, then CSP(𝔄) is the problem of deciding satisfiability of conjunctions of atomic τ-formulas in 𝔄. Therefore, if 𝔄 is a relational structure then VCSP(𝔄) and CSP(𝔄) are essentially the same problem.

2.3 Automorphisms

Let k, let RA(k), and let α be a permutation of A. Then α preserves R if for all tAk we have R(α(t))=R(t). If 𝔄 is a valued structure with domain A, then an automorphism of 𝔄 is a permutation of A that preserves all valued relations of R. The set of all automorphisms of 𝔄 is denoted by Aut(𝔄), and forms a group with respect to composition. If 𝔅 is a valued structure and we write Aut(𝔅)Aut(𝔄) or Aut(𝔅)=Aut(𝔄), we implicitly assume that 𝔄 and 𝔅 have the same domain.

Let k. An orbit of k-tuples of a permutation group G on a set A is a set of the form {α(t)αG} for some tAk. A permutation group G on a countable set is called oligomorphic if for every k there are finitely many orbits of k-tuples in G [17]. For example, Aut(;<) and therefore every permutation group on that contains Aut(;<) is oligomorphic. If 𝔄 is a relational structure with an oligomorphic automorphism group and RAk, then R is first-order definable over 𝔄 if and only if R is preserved by Aut(𝔄) (this theorem, including the definition of first-order logic, is treated, e.g., in [2] (Theorem 4.2.9)).

Let 𝔄 be a valued τ-structure and 𝔅 a relational structure. Suppose that Aut(𝔅) is oligomorphic and Aut(𝔅)Aut(𝔄) (and hence Aut(𝔄) is oligomorphic). Let Rτ be of arity k. Then R𝔄 attains only finitely many values by the oligomorphicity of Aut(𝔄). Moreover, if for some s,tAk we have R𝔄(s)R𝔄(t), then s and t lie in a different orbit of Aut(𝔅). Therefore, for every value a{}, there is a union Ua of orbits of k-tuples under the action of Aut(𝔅) such that R𝔄(t)=a if and only if tUa. Since Ua is preserved by Aut(𝔅), it is first-order definable over 𝔅 by a formula ϕa. Hence, R can be given by a list of values a in the range of R and first-order formulas ϕa over 𝔅. Such a collection ((R,a,ϕa)Rτ,tAk(R(t)=a)) will be called a first-order definition of 𝔄 in 𝔅. Clearly, if a valued structure 𝔄 has a first-order definition in a relational structure 𝔅, then Aut(𝔅)Aut(𝔄). Note that for some structures 𝔅 such as (;=) and (;<), the formulas ϕa can be chosen to be quantifier-free, and hence as disjunctions of conjunctions of atomic formulas over 𝔅 (in fact, this is the case for every homogeneous structure with a finite relational signature). We will use first-order definitions of valued structures to be able to give valued structures as an input to decision problems (see Proposition 41).

The structure (;<) is known to be finitely bounded and homogeneous, which yields the following theorem as a special case of [13, Theorem 3.4].

Theorem 2.

Let 𝔄 be a valued structure over a finite signature such that Aut(;<)Aut(𝔄). Then VCSP(𝔄) is in NP.

2.4 Expressive power

We define generalizations of the concepts of primitive positive definitions and relational clones. The motivation is that relations with a primitive positive definition can be added to the structure without changing the complexity of the respective CSP.

Definition 3.

Let A be a set and R,RA. We say that R can be obtained from R by

  1. 1.

    projecting if R is of arity k, R is of arity k+n and for all sAk, R(s)=inftAnR(s,t).

  2. 2.

    non-negative scaling if there exists r0 such that R=rR;

  3. 3.

    shifting if there exists s such that R=R+s.

If R is of arity k, then the relation that contains all minimal-value tuples of R is

Opt(R):={tFeas(R)R(t)R(s) for every sAk}.

Note that inftAnR(s,t) in item 1 might be irrational or . If this is the case, then inftAnR(s,t) does not express a valued relation because valued relations must have weights from {}. However, if R is preserved by all permutations of an oligomorphic automorphism group, then R attains only finitely many values and therefore this is never the case.

If SA, then an atomic expression over S is an atomic τ-expression where τ=S. We say that S is closed under forming sums of atomic expressions if for every n, R1,,RnS of arity k1,,kn, respectively, and i1j,,ikjj[kj] for j{1,,n}, the set S also contains the valued relation R of arity k defined by

R(x1,,xn):=j=1nRj(xi1j,,xikjj).
Definition 4 (valued relational clone).

A valued relational clone (over A) is a subset of A that is closed under forming sums of atomic expressions, projecting, shifting, non-negative scaling, Feas, and Opt. For a valued structure 𝔄 with the domain A, we write 𝔄 for the smallest valued relational clone that contains the valued relations of 𝔄. If R𝔄, we say that 𝔄 expresses R.

Note that every relation which is primitively positively definable from a set SA of crisp relations lies in S. Moreover, if 𝔄 is a relational structure and R𝔄, then R is essentially crisp and Feas(R) is primitively positively definable from 𝔄; this is easily verified by induction.

The following lemma is the main motivation for the concept of expressibility.

Lemma 5 (Lemma 4.6 in [13]).

Let 𝔄 be a valued structure on a countable domain with an oligomorphic automorphism group and a finite signature. Suppose that 𝔅 is a valued structure with a finite signature over the same domain A such that every valued relation of 𝔅 is from 𝔄. Then there is a polynomial-time reduction from VCSP(𝔅) to VCSP(𝔄).

We now introduce notation that enables us to talk about the crisp relations expressible in a valued structure, which turn out to be essential to understanding temporal VCSPs.

Definition 6.

Let 𝔄 be a valued structure. Then 𝔄0 denotes the set of valued relations {R𝔄R of arity k,aAk:R(a){0,}}.

In words, 𝔄0 contains all crisp relations that can be expressed in 𝔄. If 𝔄 is essentially crisp, then 𝔄=Feas(𝔄) and 𝔄0 consists of precisely those relations that are primitively positively definable in Feas(𝔄). In this case we obtain a polynomial-time reduction from VCSP(𝔄) to CSP(Feas(𝔄)) and vice versa by Lemma 5.

2.5 Pp-constructions

Next, we introduce a concept of pp-constructions which give rise to polynomial-time reductions between VCSPs. The acronym “pp” stands for primitive positive, since the concept of pp-constructions for relational structures is a generalization of primitive positive definitions used for reductions between CSPs.

Definition 7 (pp-power).

Let 𝔄 be a valued structure with domain A and let d. Then a (d-th) pp-power of 𝔄 is a valued structure 𝔅 with domain Ad such that for every valued relation R of 𝔅 of arity k there exists a valued relation S of arity kd in 𝔄 such that

R((a11,,ad1),,(a1k,,adk))=S(a11,,ad1,,a1k,,adk).

Let A and B be sets and f:BA. If k and sBk, then by f(s) we mean the tuple (f(s1),,f(sk))Ak. We equip the space AB of functions from B to A with the topology of pointwise convergence, where A is taken to be discrete. In this topology, a basis of open sets is given by

𝒮s,t:={fABf(s)=t}

for sBk and tAk for some k. For any topological space T, we denote by (T) the Borel σ-algebra on T, i.e., the smallest subset of the powerset 𝒫(T) which contains all open sets and is closed under countable intersection and complement. We write [0,1] for the set {x0x1}.

Definition 8 (fractional map).

Let A and B be sets. A fractional map from B to A is a probability distribution (AB,(AB),ω:(AB)[0,1]), that is, ω(AB)=1 and ω is countably additive: if S1,S2,(AB) are disjoint, then

ω(iSi)=iω(Si).

We often use ω for both the entire fractional map and for the map ω:(AB)[0,1].

The set [0,1] carries the topology inherited from the standard topology on . We also view {} as a topological space with a basis of open sets given by all open intervals (a,b) for a,b, a<b and additionally all sets of the form {xx>a}{} (thus, {} is equipped with its order topology when ordered in the natural way).

A (real-valued) random variable is a measurable function X:T{}, i.e., pre-images of elements of ({}) under X are in (T). If X is a real-valued random variable, then the expected value of X (with respect to a probability distribution ω) is denoted by Eω[X] and is defined via the Lebesgue integral

Eω[X]:=TX𝑑ω.

Let A and B be sets. In the rest of the paper, we will work exclusively on a topological space AB and the special case where B=A for some and AB is the set of -ary operations on A, we denote this set by 𝒪A().

Definition 9 (fractional homomorphism).

Let 𝔄 and 𝔅 be valued τ-structures with domains A and B, respectively. A fractional homomorphism from 𝔅 to 𝔄 is a  fractional map ω from B to A such that for every Rτ of arity k and every tuple tBk it holds for the random variable X:AB{} given by fR𝔄(f(t)) that Eω[X] exists and that Eω[X]R𝔅(t).

We refer to [13] for a detailed introduction to fractional homomorphisms in full generality. All concrete fractional homomorphisms ω that appear in this paper are of a very special form, namely, there is a single fAB such that ω({f})=1. In this case, we also write f instead of ω. If ω is of this form, then for every Rτ of arity k and tBk, the expected value in Definition 9 always exists and is equal to R𝔄(f(t)). If additionally 𝔄 and 𝔅 are crisp structures, then we call fhomomorphism. It is easy to see that there are valued structures 𝔄 and 𝔅 with a fractional homomorphism from 𝔅 to 𝔄, but no fractional homomorphism from 𝔅 to 𝔄 of the form fAB (see, e.g. [41, Example 2.6 and 3.15]).

Lemma 10.

Let 𝔄 and 𝔅 be valued τ-structures on countable domains such that Aut(𝔄) is oligomorphic. If there exists a fractional homomorphism from 𝔅 to 𝔄, then there also exists a homomorphism from Feas(𝔅) to Feas(𝔄). In particular, if 𝔄 and 𝔅 are crisp, then there is a fractional homomorphism from 𝔅 to 𝔄 if and only if there is a homomorphism from 𝔅 to 𝔄.

We say that two valued τ-structures 𝔄 and 𝔅 are fractionally homomorphically equivalent if there exists a fractional homomorphisms from 𝔄 to 𝔅 and from 𝔅 to 𝔄. Since fractional homomorphisms compose [13], fractional homomorphic equivalence is indeed an equivalence relation on valued structures of the same signature.

Definition 11 (pp-construction).

Let 𝔄,𝔅 be valued structures. Then 𝔅 has a pp-construction in 𝔄 if 𝔅 is fractionally homomorphically equivalent to a structure 𝔅 which is a pp-power of 𝔄.

The relation of pp-constructability is transitive: if 𝔄, 𝔅, and are valued structures such that 𝔄 pp-constructs 𝔅 and 𝔅 pp-constructs , then 𝔄 pp-constructs [13, Lemma 5.14].

By K3 we denote the complete graph on 3 vertices. The following is a direct consequence of [13, Corollary 5.13] and [2, Corollary 6.7.13].

Lemma 12.

Let 𝔄 be a valued structure such that Aut(𝔄) is oligomorphic. If 𝔄 pp-constructs K3, then 𝔄 has a reduct 𝔄 over a finite signature such that VCSP(𝔄) is NP-hard.

It is well-known that K3 pp-constructs all finite relational structures (see, e.g, [2, Corollary 6.4.4]). Hence, by the transitivity of pp-constructability, every valued structure that pp-constructs K3 pp-constructs all finite relational structures.

2.6 Fractional polymorphisms

Let A be a set and RAk. An operation f:AA on the set A preserves R if f(t1,,t)R for every t1,,tR. If 𝔄 is a relational structure and f preserves all relations of 𝔄, then f is called a polymorphism of 𝔄. The set of all polymorphisms of 𝔄 is denoted by Pol(𝔄) and is closed under composition. We write Pol()(𝔄) for the set Pol(𝔄)𝒪A(), . Unary polymorphisms are called endomorphisms and Pol(1)(𝔄) is also denoted by End(𝔄).

Let 𝔄 be a relational structure and . An operation fPol()(𝔄) is called a pseudo weak near unanimity (pwnu) polymorphism if there exist e1,,eEnd(𝔄) such that for every x,yA, e1f(y,x,,x)=e2f(x,y,x,,x)==ef(x,,x,y). We now introduce fractional polymorphisms of valued structures, which generalize polymorphisms of relational structures. Similarly to polymorphisms, fractional polymorphisms are an important tool for formulating tractability results and complexity classifications of VCSPs. For valued structures with a finite domain, our definition specialises to the established notion of a fractional polymorphism which has been used to study the complexity of VCSPs for valued structures over finite domains (see, e.g. [38]). Our definition is taken from [13] and allows arbitrary probability spaces in contrast to [39, 37, 40].

Definition 13 (fractional operation).

Let . A fractional operation on A of arity is a fractional map from A to A. The set of all fractional operations on A of arity is denoted by A().

Definition 14.

A fractional operation ωA() improves a valued relation RA(k) if for all t1,,tAk

E:=Eω[fR(f(t1,,t))] exists, and E1j=1R(tj). (1)

Note that (1) has the interpretation that the expected value of R(f(t1,,t)) is at most the average of the values R(t1),, R(t).

Definition 15 (fractional polymorphism).

If a fractional operation ω improves every valued relation in a valued structure 𝔄, then ω is called a fractional polymorphism of 𝔄; the set of all fractional polymorphisms of 𝔄 is denoted by fPol(𝔄).

 Remark 16.

A fractional polymorphism of arity of a valued τ-structure 𝔄 might also be viewed as a fractional homomorphism from a specific -th pp-power of 𝔄, which we denote by 𝔄, to 𝔄: the domain of 𝔄 is A, and for every Rτ of arity k we have

R𝔄((a11,,a1),,(a1k,,ak)):=1i=1R𝔄(ai1,,aik).
Example 17.

Let A be a set and πi𝒪A() be the i-th projection of arity , which is given by πi(x1,,x)=xi. The fractional operation Id of arity such that Id(πi)=1 for every i{1,,} is a fractional polymorphism of every valued structure with domain A.

As mentioned above, all concrete fractional polymorphisms ω that we need in this article are such that there exists an operation f𝒪A() such that ω({f})=1.

Lemma 18 (Lemma 6.8 in [13]).

Let 𝔄 be a valued τ-structure 𝔄 over a countable domain A. Then every valued relation R𝔄 is improved by all fractional polymorphisms of 𝔄.

 Remark 19.

Observe that Pol(𝔄)fPol(𝔄) for every crisp structure 𝔄. More concretely, for every we have that fPol()(𝔄) consists of precisely the fractional operations ω of arity such that ω(Pol()(𝔄))=1. Also recall that, for essentially crisp valued structures 𝔄, 𝔄=Feas(𝔄). Therefore, Lemma 18 implies that fPol(𝔄)=fPol(Feas(𝔄)).

3 General facts

In this section we formulate some relatively easy, but very general and useful facts for analysing the computational complexity of VCSPs.

Lemma 20.

Let 𝔄 be a valued structure with domain A and finite relational signature τ such that there exists a unary constant operation cfPol(𝔄). Then VCSP(𝔄) is in P.

The following proposition relates pp-constructability in a valued structure 𝔄 with pp-constructability in the relational structure (;𝔄0).

Proposition 21.

Let 𝔄 be a valued structure and let 𝔅 be a relational τ-structure on countable domains A and B, respectively. Then 𝔄 pp-constructs 𝔅 if and only if (A;𝔄0) pp-constructs 𝔅.

Let A be a set, k, and i[k]. It is easy to see that the k-ary i-th projection πikPol(𝔄) for every k, i[k], and every relational structure 𝔄 on the domain A.

Lemma 22.

Let 𝔄 be a valued structure. Then fPol(𝔄) contains π12 if and only if 𝔄 is essentially crisp.

4 Equality VCSPs

An equality structure is a relational structure whose automorphism group is the group of all permutations of its domain [6]; we define an equality valued structure analogously. In this section, we prove that for every equality valued structure 𝔄, VCSP(𝔄) is in P or NP-complete. This generalises the P versus NP-complete dichotomy for equality min-CSPs from [34].

If the domain of 𝔄 is finite, then this is already known (see the discussion in the introduction). It is easy to see that classifying the general infinite case reduces to the countably infinite case. For notationally convenient use in the later sections, we work with the domain , but we could have used any other countably infinite set instead. We will need the following relation:

Dis :={(x,y,z)3(x=yz)(xy=z)}. (2)

It is known that (;Dis) pp-constructs K3, see, e.g., Theorem 7.4.1 and Corollary 6.1.23 in [2]. Let const: be the constant zero operation, given by const(x):=0 for all x. Let inj:2 be injective. A tuple is called injective if it has pairwise distinct entries.

Theorem 23 ([2, 6]).

If 𝔄 is a relational structure such that Aut(𝔄)=Sym(), then exactly one of the following cases applies.

  • constPol(𝔄) or injPol(𝔄). In this case, for every reduct 𝔄 of 𝔄 with a finite signature, CSP(𝔄) is in P.

  • The relation Dis has a primitive positive definition in 𝔄. In this case, 𝔄 pp-constructs K3 and 𝔄 has a reduct 𝔄 with a finite signature such that CSP(𝔄) is NP-complete.

The complexity classification of equality VCSPs is a consequence of several lemmas.

Theorem 24.

Let 𝔄 be a valued structure with a countably infinite domain over a finite relational signature such that Aut(𝔄)=Sym(). Then exactly one of the following two cases applies.

  1. 1.

    ()0𝔄 and Dis𝔄. In this case, 𝔄 pp-constructs K3, and VCSP(𝔄) is NP-complete.

  2. 2.

    constfPol(𝔄) or injfPol(𝔄). In both of these cases, VCSP(𝔄) is in P.

Proof sketch.

If constfPol(𝔄), then Lemma 20 implies that VCSP(Γ) is in P. So we suppose that constfPol(𝔄) in the following; one can then show that ()0𝔄. If injfPol(𝔄), then VCSP(𝔄) is in P (a generalization of the algorithm is presented in Algorithm 1). So we also suppose that injfPol(𝔄) in the following; one can then show that Dis𝔄. In this case, 𝔄 pp-constructs K3 and VCSP(𝔄) is NP-complete by Theorem 23. Note that neither const nor inj improves Dis. Therefore, the two cases in the statement of the theorem are disjoint.

 Remark 25.

The complexity classification of equality minCSPs from [35], which can be viewed as VCSPs of valued structures where each relation attains only values 0 and 1, can be obtained as a special case of Theorem 24. Suppose that 𝔄 is such a valued structure. If constfPol(𝔄), then 𝔄 is constant (in the terminology of [35]) and VCSP(𝔄) is in P. If injfPol(𝔄), then it is immediate that 𝔄 is Horn (in the terminology of [35]) and even strictly negative: otherwise, by [35, Lemma 16] we have (=)01𝔄. But this is in contradiction to the assumption that injfPol(𝔄), since inj applied to a pair of equal elements and pair of distinct elements yields a pair of distinct elements, increasing the cost to 1 compared to the average cost 1/2 of the input tuples. Otherwise, it follows from Theorem 24 that VCSP(𝔄) is NP-hard.

5 Temporal VCSPs

In this section we generalise the classification result from equality VCSPs to temporal VCSPs, which is the main result of this paper.

5.1 Preliminaries on temporal CSPs

We first define several important relations on that already played a role in the classification of temporal CSPs [7]; in this paper, we treat these relations in a black-box fashion.

Definition 26.

Let

Betw :={(x,y,z)3(x<y<z)(z<y<x)},
Cycl :={(x,y,z)3(x<y<z)(y<z<x)(z<x<y)},
Sep :={(x1,y1,x2,y2)4(x1<x2<y1<y2)(x1<y2<y1<x2)(y1<x2<x1<y2)(y1<y2<x1<x2)(x2<x1<y2<y1)(x2<y1<y2<x1)(y2<x1<x2<y1)(y2<y1<x2<x1)},
T3 :={(x,y,z)3(x=y<z)(x=z<y)}.
Theorem 27 (Theorem 20 in [7]).

Let 𝔄 be a relational structure with a finite signature such that Aut(;<)Aut(𝔄). Then it satisfies at least one of the following:

  • 𝔄 primitively positively defines Betw, Cycl, or Sep.

  • constPol(𝔄).

  • Aut(𝔄)=Sym().

  • There is a primitive positive definition of < in 𝔄.

To build on the results on temporal CSPs, we need the following operations on ; they will be used in a black-box fashion as well. By min and max we refer to the binary minimum and maximum operation on the set , respectively.

Definition 28.

Let e<0,e>0 be any endomorphisms of (;<) satisfying e<0(x)<0 and e>0(x)>0 for every x. The operation lex is any binary operation on satisfying lex(x,y)<lex(x,y) iff x<x, or x=x and y<y for all x,x,y,y. We denote by ll the operation on defined by

ll(x,y)={lex(e<0(x),e<0(y))if x0,lex(e>0(y),e>0(x))if x>0.
Definition 29.

Let e<, e= and e> be any endomorphisms of (;<) satisfying for all x,ε, ε>0, e=(x)<e>(x)<e<(x)<e=(x+ε). We denote by mi the binary operation on defined by

mi(x,y)={e<(x)if x<y,e=(x)if x=y,e>(y)if x>y.
Definition 30.

Let e= and e be any endomorphisms of (;<) satisfying for all x,ε, ε>0, e(x)<e=(x)<e(x+ε). We denote by mx the binary operation on defined by

mx(x,y)={e(min(x,y))if xy,e=(x)if x=y.

The construction of endomorphisms that appear in Definitions 29 and 30 can be found for example in [2, Section 12.5]. The following was observed and used in [7].

Lemma 31.

If 𝔄 is a relational structure such that Aut(;<)Aut(𝔄) and 𝔄 is preserved by a binary injective operation f, then it is also preserved by the operation defined by one of lex(x,y), lex(x,y), lex(x,y), or lex(x,y). In particular, if f preserves (for example, ll), then 𝔄 is preserved by lex.

Definition 32.

The dual of an operation g:k is the operation g:(x1,,xk)g(x1,,xk). The dual of a relation R is the relation R={(a1,,a)(a1,,a)R}.

Note that min=max and the relation (>) is equal to <. Statements about operations and relations on can be naturally dualised and we may refer to the dual version of a statement.

By combining results from [7] (Theorem 50, Corollary 51, Corollary 52, and the accompanying remarks), we obtain the following; also see Theorem 12.10.1 in [2].

Theorem 33.

Let 𝔄 be a relational structure such that Aut(;<)Aut(𝔄). Then exactly one of the following is true.

  1. 1.

    At least one of the operations const, min, mx, mi, ll, or one of their duals lies in Pol(𝔄). In this case, for every reduct 𝔄 of 𝔄 with a finite signature, CSP(𝔄) is P.

  2. 2.

    𝔄 primitively positively defines one of the relations Betw, Cycl, Sep, T3, T3, or Dis. In this case, 𝔄 has a reduct 𝔄 with a finite signature such that CSP(𝔄) is NP-complete.

Moreover, if 𝔄 has a finite signature, then it is decidable whether item 1 or item 2 holds.

We also need an alternative version of the classification theorem above.

Theorem 34 (Theorem 12.0.1 in [2]; see also Theorem 7.24 in [12]).

Let 𝔄 be a relational structure such that Aut(;<)Aut(𝔄). Then exactly one of the following is true:

  1. 1.

    Pol(𝔄) contains a pwnu polymorphism. In this case, for every reduct 𝔄 of 𝔄 with a finite signature, CSP(𝔄) is in P.

  2. 2.

    𝔄 pp-constructs K3. In this case, there exists a reduct 𝔄 of 𝔄 with a finite signature such that CSP(𝔄) is NP-complete.

The following proposition relates hardness of temporal CSPs to pp-constructing K3; it is essentially proven in [2, Theorem 12.0.1].

Proposition 35.

Each of the relational structures (;Betw),(;Cycl),(;Sep),(;T3), and (;T3) pp-constructs K3.

5.2 Classification

In Lemma 38 below we present a polynomial-time algorithm for VCSPs of valued structures 𝔄 improved by lex where a certain finite-signature reduct 𝔄^ of (;𝔄0) is preserved by ll or ll; we define 𝔄^ below.

Definition 36.

Let A be a set and let R be a valued relation on A of arity k. Let , k, and let σ:[k][] be a map. Then Rσ is the valued relation on A of arity defined by Rσ(x1,,x)=R(xσ(1),,xσ(k)) for all x1,,xA. If S is a valued relation of some arity k such that there exists σ:[k][] and S=Rσ, we call Sminor of R.

Let 𝔄 be a valued τ-structure such that Aut(;<)Aut(𝔄). Then 𝔄^ denotes the relational structure with domain which contains the relations Feas(R𝔄) and Opt((R𝔄)σ) for every Rτ of arity k, k, and σ:[k][].

Note that Rσ(A;R) for every valued relation R of arity k and every σ:[k][].

 Remark 37.

Note that we do not need to include relations of the form Feas((R𝔄)σ) in 𝔄^, because for every valued relation R on A of arity k and σ:[k][], we have Feas(Rσ)=Feas(R)σ and therefore Feas(Rσ)(A;Feas(R)).

Lemma 38.

Let 𝔄 be a valued structure over a finite signature such that Aut(;<)Aut(𝔄). Suppose that lexfPol(𝔄) and that 𝔄^ is preserved by ll or ll. Then VCSP(𝔄) is in P.

Algorithm 1 An algorithm for VCSP(𝔄) where 𝔄 satisfies that lexfPol(𝔄) and 𝔄^ is preserved by ll or ll.

In Algorithm 1 we provide a polynomial-time algorithm for the proof of Lemma 38. We can now state the complexity dichotomy for temporal VCSPs. We first phrase the classification with 4 cases, where we distinguish between the tractable cases that are based on different algorithms. As a next step, we formulate two corollaries each of which provides two concise mutually disjoint conditions that correspond to NP-completeness and polynomial-time tractability, respectively.

Theorem 39.

Let 𝔄 be a valued structure such that Aut(;<)Aut(𝔄). Then at least one of the following holds:

  1. 1.

    𝔄 contains one of the relations Betw, Cycl, Sep, T3 (see Definition 26), T3, or Dis (see (2)). In this case, 𝔄 has a reduct 𝔄 over a finite signature such that VCSP(𝔄) is NP-complete.

  2. 2.

    constfPol(𝔄).

  3. 3.

    lexfPol(𝔄) and Pol(𝔄^) contains min, mx, mi, ll, or one of their duals.

  4. 4.

    π12fPol(𝔄) and fPol(𝔄) contains min, mx, mi, ll, or one of their duals.

In cases 2–4, for every reduct 𝔄 of 𝔄 over a finite signature, VCSP(𝔄) is in P.

Proof sketch.

Note that for every reduct 𝔄 of 𝔄, the automorphism group Aut(𝔄) contains Aut(;<)Aut(𝔄) and hence is oligomorphic. If 𝔄 contains one of the relations Betw, Cycl, Sep, T3, T3, or Dis, then there is a reduct 𝔄 of 𝔄 with a finite signature such that VCSP(𝔄) is NP-hard by Lemma 5 and Theorem 33. By Theorem 2, VCSP(𝔄) is in NP, therefore it is NP-complete. If constfPol(𝔄), then constfPol(𝔄) for every reduct 𝔄 of 𝔄 over a finite signature, and VCSP(𝔄) is in P by Lemma 20. Suppose therefore that constfPol(𝔄) and that 𝔄 does not contain any of the relations Betw, Cycl, Sep, T3, T3, or Dis. One can show that constfPol(𝔄) implies that 𝔄 contains ()0 or (<)0, and hence constPol(;𝔄0). By Theorem 33, Pol(;𝔄0) (and thus Pol(𝔄^)) contains min, mx, mi, ll, or one of their duals.

Let 𝔄 be a reduct of 𝔄 with a finite signature. If Aut(𝔄)=Sym(), then Aut(𝔄)=Sym() and by Theorem 24, constfPol(𝔄) or injfPol(𝔄), and VCSP(𝔄) is in P. In the former case, item 2 holds. In the latter case, since Aut(𝔄) contains xx, we have by Lemma 31 that lexfPol(Γ) and therefore satisfy item 3.

Suppose now that Aut(𝔄)Sym(). In that case one can show that (<)0𝔄, and hence Aut(𝔄)=Aut(;<). Moreover, one can show that 𝔄 is essentially crisp or lexPol(;𝔄0). A particularly interesting part is the proof222We believe that proving an analogous statement for other classification projects, e.g., the one presented in Section 6, might be challenging. that if 𝔄 is not essentially crisp, then lexPol(;𝔄0), and even lexfPol(𝔄)fPol(𝔄). By Lemma 18 and Remark 19 we have lexPol(𝔄^). Combined with the fact that Pol(𝔄^)Pol(𝔄^) contains one of the operations min, mx, mi, ll, or one of their duals, one can show that ll or ll preserves 𝔄^. By Lemma 38, VCSP(𝔄) is in P and item 3 holds.

Finally, suppose that 𝔄 is essentially crisp. Then by Lemma 22 we have π12fPol(𝔄). Since constfPol(𝔄), we have constPol(Feas(𝔄)) (see Remark 19). Since 𝔄 does not contain any of the relations Betw, Cycl, Sep, T3, T3, or Dis, none of these relations are primitively positively definable in Feas(𝔄). By Theorem 33, Pol(Feas(𝔄))Pol(Feas(𝔄)) contains min, mx, mi, ll, or one of their duals and CSP(Feas(𝔄)) is in P. Thus VCSP(𝔄) is in P. By Remark 19, fPol(𝔄) contains min, mx, mi, ll, or one of their duals. Therefore, item 4 holds.

Recall from Section 2.3 that a valued structure 𝔄 with Aut(;<)Aut(𝔄) has a (quantifier-free) first-order definition in Aut(;<) with the defining formulas being disjunctions of conjunctions of atomic formulas over (;<). Using this representation of 𝔄, we obtain the decidability of the complexity dichotomy from Theorem 39.

 Remark 40.

We also obtain decidability if arbitrary first-order formulas may be used for defining the valued relations, because every first-order formula can be effectively transformed into such a formula. This holds more generally over so-called finitely bounded homogeneous structures; see, e.g., [36, Proposition 7]. Without the finite boundedness assumption, the problem can become undecidable [11].

Proposition 41.

Given a first-order definition of a valued structure 𝔄 with a finite signature in (;<), it is decidable whether VCSP(𝔄) is in P or NP-complete.

We reformulate Theorem 39 with two mutually exclusive cases that capture the respective complexities of the VCSPs.

Corollary 42.

Let 𝔄 be a valued structure with a finite signature such that Aut(;<)Aut(𝔄). Then exactly one of the following holds.

  1. 1.

    𝔄 contains one of the relations Betw, Cycl, Sep, T3, T3, or Dis. In this case, VCSP(𝔄) is NP-complete.

  2. 2.

    (;𝔄0) is preserved by one of the operations const, min, mx, mi, ll, or one of their duals. In this case, VCSP(𝔄) is in P.

Note that the corollary above implies that if Aut(;<)Aut(𝔄), then the complexity of VCSP(𝔄) is up to polynomial-time reductions determined by the complexity of the crisp relations 𝔄 can express. Loosely speaking, the complexity of such a VCSP is determined solely by the CSPs that can be encoded in this VCSP. We formulate an alternative and more concise variant of the previous result in the style of Theorem 34.

Corollary 43.

Let 𝔄 be a valued structure with a finite signature such that Aut(;<)Aut(𝔄). Then exactly one of the following holds.

  1. 1.

    𝔄 pp-constructs K3. In this case, VCSP(𝔄) is NP-complete.

  2. 2.

    Pol(;𝔄0) contains a pwnu operation. In this case, VCSP(𝔄) is in P.

Conjecture 9.3 in [13] states that, under some structural assumptions on 𝔄, VCSP(𝔄) is in P whenever 𝔄 does not pp-construct K3 (and is NP-hard otherwise)333The original formulation uses the structure ({0,1};OIT), but it is well-known that this structure pp-constructs K3 and vice versa [2].. All temporal structures satisfy the assumptions of the conjecture and hence Corollary 43 confirms the conjecture for the class of temporal VCSPs.

6 Future work

In analogy to the development of the results on infinite-domain CSPs, we propose the class of valued structures that are preserved by all automorphisms of the countable random graph as a natural next step in the complexity classification of VCSPs on infinite domains.

Question 44.

Does the class of VCSPs of all valued structures 𝔄 over a finite signature such that Aut(𝔄) contains the automorphism group of the countable random graph exhibit a P vs. NP-complete dichotomy? In particular, is VCSP(𝔄) in P whenever 𝔄 does not pp-construct K3?

A positive answer to the second question in Question 44 would confirm [13, Conjecture 9.3] for valued structures preserved by all automorphisms of the countable random graph.

References

  • [1] Nikhil Bansal, Avrim Blum, and Shuchi Chawla. Correlation clustering. Machine Learning, 56(1-3):89–113, 2004. doi:10.1023/B:MACH.0000033116.57574.95.
  • [2] Manuel Bodirsky. Complexity of Infinite-Domain Constraint Satisfaction. Lecture Notes in Logic (52). Cambridge University Press, 2021. doi:10.1017/9781107337534.
  • [3] Manuel Bodirsky and Bertalan Bodor. A complexity dichotomy in spatial reasoning via Ramsey theory. ACM Trans. Comput. Theory, 16(2), June 2024. doi:10.1145/3649445.
  • [4] Manuel Bodirsky and Martin Grohe. Non-dichotomies in constraint satisfaction complexity. In Luca Aceto, Ivan Damgard, Leslie Ann Goldberg, Magnús M. Halldórsson, Anna Ingólfsdóttir, and Igor Walukiewicz, editors, Proceedings of the International Colloquium on Automata, Languages and Programming (ICALP), Lecture Notes in Computer Science, pages 184–196. Springer Verlag, July 2008. doi:10.1007/978-3-540-70583-3_16.
  • [5] Manuel Bodirsky, Peter Jonsson, Barnaby Martin, Antoine Mottet, and Žaneta Semanišinová. Complexity classification transfer for CSPs via algebraic products. SIAM Journal on Computing, 53(5):1293–1353, 2024. doi:10.1137/22M1534304.
  • [6] Manuel Bodirsky and Jan Kára. The complexity of equality constraint languages. Theory of Computing Systems, 3(2):136–158, 2008. A conference version appeared in the proceedings of Computer Science Russia (CSR’06). doi:10.1007/s00224-007-9083-9.
  • [7] Manuel Bodirsky and Jan Kára. The complexity of temporal constraint satisfaction problems. Journal of the ACM, 57(2):1–41, 2009. An extended abstract appeared in the Proceedings of the Symposium on Theory of Computing (STOC). doi:10.1145/1667053.1667058.
  • [8] Manuel Bodirsky, Marcello Mamino, and Caterina Viola. Piecewise linear valued CSPs solvable by linear programming relaxation. ACM Transactions of Computational Logic, 23(1):1–35, 2022. Preprint arXiv:1912.09298. doi:10.1145/3488721.
  • [9] Manuel Bodirsky and Jens K. Mueller. Rooted phylogeny problems. Logical Methods in Computer Science, 7(4), 2011. An extended abstract appeared in the proceedings of ICDT’10.
  • [10] Manuel Bodirsky and Michael Pinsker. Schaefer’s theorem for graphs. Journal of the ACM, 62(3):52 pages (article number 19), 2015. A conference version appeared in the Proceedings of STOC 2011, pages 655-664. doi:10.1145/2764899.
  • [11] Manuel Bodirsky, Michael Pinsker, and Todor Tsankov. Decidability of definability. Journal of Symbolic Logic, 78(4):1036–1054, 2013. A conference version appeared in the Proceedings of the Twenty-Sixth Annual IEEE Symposium on. Logic in Computer Science (LICS 2011), pages 321-328. doi:10.2178/JSL.7804020.
  • [12] Manuel Bodirsky and Jakub Rydval. On the descriptive complexity of temporal constraint satisfaction problems. J. ACM, 70(1), December 2022. doi:10.1145/3566051.
  • [13] Manuel Bodirsky, Žaneta Semanišinová, and Carsten Lutz. The complexity of resilience problems via valued constraint satisfaction problems. In Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS ’24. Association for Computing Machinery, 2024. doi:10.1145/3661814.3662071.
  • [14] Manuel Bodirsky, Édouard Bonnet, and Žaneta Semanišinová. Temporal valued constraint satisfaction problems, 2024. doi:10.48550/arXiv.2409.07285.
  • [15] Nicolas Bousquet, Jean Daligault, and Stéphan Thomassé. Multicut is FPT. SIAM J. Comput., 47(1):166–207, 2018. doi:10.1137/140961808.
  • [16] Andrei A. Bulatov. A dichotomy theorem for nonuniform CSPs. In 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15-17, pages 319–330, 2017. doi:10.1109/FOCS.2017.37.
  • [17] Peter J. Cameron. Oligomorphic permutation groups. Cambridge University Press, Cambridge, 1990.
  • [18] Vaggos Chatziafratis and Konstantin Makarychev. Triplet reconstruction and all other phylogenetic CSPs are approximation resistant. In 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, Santa Cruz, CA, USA, November 6-9, 2023, pages 253–284. IEEE, 2023. doi:10.1109/FOCS57990.2023.00024.
  • [19] David A. Cohen, Martin C. Cooper, Páidí Creed, Peter G. Jeavons, and Stanislav Živný. An algebraic theory of complexity for discrete optimization. SIAM J. Comput., 42(5):1915–1939, 2013. doi:10.1137/130906398.
  • [20] David A. Cohen, Martin C. Cooper, and Peter Jeavons. An algebraic characterisation of complexity for valued constraints. In Principles and Practice of Constraint Programming - CP 2006, 12th International Conference, CP 2006, Nantes, France, September 25-29, 2006, Proceedings, pages 107–121, 2006. doi:10.1007/11889205_10.
  • [21] David A Cohen, Martin C Cooper, Peter G Jeavons, and Andrei A Krokhin. The complexity of soft constraint satisfaction. Artificial Intelligence, 170(11):983–1016, 2006. doi:10.1016/J.ARTINT.2006.04.002.
  • [22] Konrad K. Dabrowski, Peter Jonsson, Sebastian Ordyniak, George Osipov, Marcin Pilipczuk, and Roohani Sharma. Parameterized complexity classification for interval constraints. CoRR, abs/2305.13889, 2023. doi:10.48550/arXiv.2305.13889.
  • [23] Eduard Eiben, Clément Rambaud, and Magnus Wahlström. On the parameterized complexity of symmetric directed multicut. In Holger Dell and Jesper Nederlof, editors, 17th International Symposium on Parameterized and Exact Computation, IPEC 2022, September 7-9, 2022, Potsdam, Germany, volume 249 of LIPIcs, pages 11:1–11:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPICS.IPEC.2022.11.
  • [24] Cibele Freire, Wolfgang Gatterbauer, Neil Immerman, and Alexandra Meliou. The complexity of resilience and responsibility for self-join-free conjunctive queries. Proc. VLDB Endow., 9(3):180–191, 2015. doi:10.14778/2850583.2850592.
  • [25] Cibele Freire, Wolfgang Gatterbauer, Neil Immerman, and Alexandra Meliou. New results for the complexity of resilience for binary conjunctive queries with self-joins. In Proceedings of the 39th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, PODS 2020, Portland, OR, USA, June 14-19, 2020, pages 271–284, 2020. doi:10.1145/3375395.3387647.
  • [26] Peter Fulla and Stanislav Živný. A Galois connection for weighted (relational) clones of infinite size. TOCT, 8(3):9:1–9:21, 2016. doi:10.1145/2898438.
  • [27] Venkatesan Guruswami, Johan Håstad, Rajsekar Manokaran, Prasad Raghavendra, and Moses Charikar. Beating the random ordering is hard: Every ordering CSP is approximation resistant. SIAM Journal on Computing, 40(3):878–914, 2011. doi:10.1137/090756144.
  • [28] Vladimir Kolmogorov, Andrei A. Krokhin, and Michal Rolínek. The complexity of general-valued CSPs. SIAM J. Comput., 46(3):1087–1110, 2017. doi:10.1137/16M1091836.
  • [29] Marcin Kozik and Joanna Ochremiak. Algebraic properties of valued constraint satisfaction problem. In Automata, Languages, and Programming - 42nd International Colloquium, ICALP 2015, Kyoto, Japan, July 6-10, 2015, Proceedings, Part I, pages 846–858, 2015. doi:10.1007/978-3-662-47672-7_69.
  • [30] Neha Makhija and Wolfgang Gatterbauer. A unified approach for resilience and causal responsibility with integer linear programming (ILP) and LP relaxations. Proc. ACM Manag. Data, 1(4), December 2023. doi:10.1145/3626715.
  • [31] Antoine Mottet, Tomáš Nagy, and Michael Pinsker. An Order out of Nowhere: A New Algorithm for Infinite-Domain CSPs. In 51st International Colloquium on Automata, Languages, and Programming (ICALP 2024), volume 297 of Leibniz International Proceedings in Informatics (LIPIcs), pages 148:1–148:18, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2024.148.
  • [32] George Osipov and Marcin Pilipczuk. Directed symmetric multicut is W[1]-hard. CoRR, abs/2310.05839, 2023. doi:10.48550/arXiv.2310.05839.
  • [33] George Osipov, Marcin Pilipczuk, and Magnus Wahlström. Parameterized complexity of MinCSP over the Point Algebra. In Proceedings of ESA 2024, June 2024.
  • [34] George Osipov and Magnus Wahlström. Parameterized complexity of equality mincsp. In Inge Li Gørtz, Martin Farach-Colton, Simon J. Puglisi, and Grzegorz Herman, editors, 31st Annual European Symposium on Algorithms, ESA 2023, September 4-6, 2023, Amsterdam, The Netherlands, volume 274 of LIPIcs, pages 86:1–86:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPICS.ESA.2023.86.
  • [35] George Osipov and Magnus Wahlström. Parameterized complexity of equality MinCSP. In 31st Annual European Symposium on Algorithms (ESA 2023), volume 274 of Leibniz International Proceedings in Informatics (LIPIcs), pages 86:1–86:17, Dagstuhl, Germany, 2023. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ESA.2023.86.
  • [36] Jakub Rydval. Using Model Theory to Find Decidable and Tractable Description Logics with Concrete Domains. PhD thesis, Dresden University of Technology, Germany, 2022. URL: https://nbn-resolving.org/urn:nbn:de:bsz:14-qucosa2-799074.
  • [37] Friedrich Martin Schneider and Caterina Viola. An application of Farkas’ lemma to finite-valued constraint satisfaction problems over infinite domains. Journal of Mathematical Analysis and Applications, 517(1):126591, 2023. doi:10.1016/j.jmaa.2022.126591.
  • [38] Johan Thapper and Stanislav Živný. The complexity of finite-valued CSPs. In Proceedings of the Symposium on Theory of Computing Conference (STOC), Palo Alto, CA, USA, June 1-4, 2013, pages 695–704, 2013.
  • [39] Caterina Viola. Valued Constraint Satisfaction Problems over Infinite Domains. PhD thesis, TU Dresden, 2020.
  • [40] Caterina Viola and Stanislav Živný. The combined basic LP and affine IP relaxation for promise VCSPs on infinite domains. ACM Trans. Algorithms, 17(3):21:1–21:23, 2021. doi:10.1145/3458041.
  • [41] Žaneta Semanišinová. Valued Constraint Satisfaction in Structures with an Oligomorphic Automorphism Group. Dissertation, TU Dresden, Dresden, Germany, 2025. Available at https://nbn-resolving.org/urn:nbn:de:bsz:14-qucosa2-974737.
  • [42] Dmitriy Zhuk. A proof of CSP dichotomy conjecture. In 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15-17, pages 331–342, 2017. https://arxiv.org/abs/1704.01914.
  • [43] Dmitriy Zhuk. A proof of the CSP dichotomy conjecture. J. ACM, 67(5):30:1–30:78, 2020. doi:10.1145/3402029.