Manuscript Offprint
arXiv:2610.18287Finite-on-Top-of-Temporal CSPs in Fixed-Point Logic
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Abstract
We study definability in fixed-point logic with counting (FPC) for a class of constraint satisfaction problems (CSPs) that simultaneously generalises finite-domain CSPs and temporal CSPs. The templates for the CSPs are first-order expansions of the structure where and , i.e., copies of .
Such a CSP is definable in FPC precisely when the template pp-constructs neither the ternary temporal relation X, which holds on three elements if the minimum is attained exactly twice, nor a nontrivial finite affine structure. Equivalently, the template has global polymorphisms that witness the tractability of the temporal CSPs on the copies, and that provide 3-4 weak near-unanimity operations on the set of copies of Q. In this case, we prove that the CSP is even expressible in the less expressive logic FP*, which is the restriction of FPC without counting terms (i.e., the extension of first-order logic by a fixed point operator and an ordered auxiliary number sort).
Our algorithm samples finitely many values in each copy and then performs nested constraint-singleton consistency tests (which is a uniform polynomial-time algorithm for finite-domain CSPs). The correctness proof uses finite-domain CSP theory to combine consistency certificates by a single polymorphism term, fixing each variable to one copy without destroying the certificates needed for the temporal algorithm. We then use a known normal form for algebraic products to control the remaining interactions between different copies.
2012 ACM Subject Classification Theory of computation → Constraint and logic programming; Theory of computation → Finite Model Theory
Keywords and phrases Constraint satisfaction, temporal constraints, fixed-point logic, counting, polymorphisms, bounded width, sampling
Funding Both authors have 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.
Acknowledgements The authors would like to thank Antoine Mottet for the discussions on the topic of this paper.
AI Disclosure. OpenAI's ChatGPT was used for initial algorithm and proof development, as well as drafting an initial LaTeX file. It contributed the ideas of the outer colour-pair testing in the algorithm, and using the syntactical normal forms for algebraic products of . Many of the other ideas, e.g., using the combination of sampling and consistency algorithms, determining the colours via cycle-consistency of the induced finite CSP, and using palette polymorphisms came from the authors, and some others emerged during discussions with ChatGPT. The authors reviewed and revised all arguments produced by LLMs; the proofs have been streamlined and rewritten. In particular, the entire text of the paper has been written by the authors. The authors verified the mathematical content, claims and citations and take full responsibility for the paper.
Finite on Top of Temporal CSPs in Fixed-Point Logic
Contents
1 Introduction 2
2 Preliminaries 6
3 Nested Singleton Consistency 8
4 Determining the Colours 10
5 Solutions from Determined Colours 13
6 Fixed-Point Implementation 16
7 Obstructions and the Classification 19
8 Conclusion and Open Problems 21
To discuss the current state of the art, it will be convenient to formulate CSPs as homomorphism problems: for a fixed relational structure , called the template, we view CSP( ) as the class of all finite structures that have a homomorphism to . We may now ask: for which structures is there a sentence in FP such that a finite structure has a homomorphism to if and only if satisfies ? If this is the case, we say that CSP( ) is in FP (and use analogous conventions for other logics discussed below).
If is a finite structure, it turns out that is in FP if and only if it is in Datalog (an extremely restricted fragment of FP) if and only if it is in FPC (an extremely powerful extension of FP by a counting mechanism) [1, 2]. In general, these logics are known to have different expressive power: for instance, Parity, which is the class of all structures whose domain has even cardinality, is expressible in FPC, but not in FP. This stunning gap in the descriptive complexity of finite-domain CSPs coincides with a fundamental border in universal algebra, which can be characterized in numerous different ways. To state one of these characterisations, which will be of fundamental importance for our results, we need the concept of a polymorphism of ; this is an operation preserving every relation from the signature of coordinatewise. Focussing on formulations that will be important later, we mention that the following are equivalent:
CSP( ) is in FP;
CSP( ) is in Datalog;
■ for every prime , the structure cannot pp-construct ;
B has polymorphisms and that are 3-4 weak near-unanimity operations, i.e., they satisfy, for all ,
If is an arbitrary structure over an infinite domain, all of the mentioned equivalences fail [12]. They even fail if we focus on a model-theoretically very tame class of templates, namely on temporal structures, which are structures with domain whose relations are (parameter-free) first-order definable in . We give two concrete examples of temporal structures, because their CSPs, which are called temporal CSPs, exhibit different descriptive complexities.
▶ Example 1. Let . Then is in FP [12], but not in Datalog [4].
▶ Example 2. Let . Then is in P [8], but not in FPC [12].
Also none of the algebraic characterisations mentioned above capture containment in Datalog, FP, or FPC (and are also inequivalent). Nonetheless, the descriptive complexity of temporal CSPs has been classified. Also for temporal CSPs, there is a gap in the descriptive complexity landscape: they are either in FP, or not even in FPC [12]. For arbitrary CSPs, it is an open problem whether containment in FPC implies containment in FP [12].
1.1 Finite on Top of Temporal
In this paper, we address a class of CSPs which is of fundamental importance for advancing our understanding of the descriptive complexity of CSPs in general. The class naturally generalises both the class of temporal CSPs and the class of finite-domain CSPs.
▶ Definition 3. Fix and let , where . Then carries a strict rational order ; the relation says that two elements belong to the same part. Formally,
A structure is called finite-on-top-of-temporal if it is a first-order expansion of with a finite relational signature.
In the context of this definition, we call the colour set, and if , then we call the colour of . We may thus view as distinguished copies of , and additionally an equivalence relation that relates elements that have the same colour.
The class of CSPs for templates that are finite-on-top-of-temporal is contained in a larger class of CSPs from the literature, and in fact is quite prototypical in this class, which will be discussed in the following.
Finite on Top of Temporal CSPs in Fixed-Point Logic
1.2 Restricted Orbit Growth
A fruitful way of obtaining classification results in model theory, and consequently of restricting the class of templates for CSPs, is to focus on structures such that for every number of variables , there is a restricted number of essentially different solutions. Formally, let be the number of orbits of in its natural action on the set of -element subsets of .
▶ Example 4. A structure is finite if and only if is eventually 0.
▶ Example 5. A famous result of Cameron [17] states that for any countably infinite structure , we have for all if and only if is isomorphic to a temporal structure.
▶ Example 6. By the theorem of Ryll-Nardzewski, Engeler, and Svenonius (see, e.g., [20]) a countable structure is -categorical if and only if is finite for all .
It is easy to see that if is finite-on-top-of-temporal, then is polynomial: if is a first-order expansion of for some , then is the number of ways how to write as a sum of non-negative integers . Another example of structures where is polynomial are cellular structures: this is the smallest class of structures that contains countable disjoint unions of a finite structure and is closed under finite disjoint unions and finite-index first-order reducts [13].
Countable structures where is bounded by a polynomial have been classified by Thiery and Falque [18]. It turns out that besides the structures mentioned above these are precisely the structures that have an expansion by finitely many constants which is bidefinable with a disjoint union of a finite-on-top-of-temporal structure and a cellular structure [14, Theorem 1.6].
This programme sits within a broader hierarchy of orbit growth. For countable homogeneous -categorical relational structures, growth bounded by is conjectured to be equivalent to monadic NIP, meaning that NIP persists under arbitrary expansions by unary predicates [15, Conjecture 1]. The implication from this growth bound to monadic NIP is already known [15, Theorem 1.2]. Further up the hierarchy, every first-order reduct of a homogeneous structure in a finite relational signature has subset-orbit growth bounded by : if the maximum relation arity is , there are at most labelled induced structures on elements, and homogeneity identifies isomorphism types with subset orbits. The polynomial-growth case is thus a natural starting point for a systematic classification within this much larger class.
1.3 The Classification
Let , where . For a nontrivial abelian group , let , where means ; we call these structures affine. To formulate our result, we also need the concept of pp-constructions, defined in Section 2. Such constructions transfer CSP definability in FPC [12].
▶ Theorem 7. Let be finite-on-top-of-temporal. Then the following are equivalent.
- CSP( ) is definable in FPC;
A relational structure with finite signature is called -categorical if its first-order theory, i.e., the set of all first-order sentences that hold in , has only one countable model up to isomorphism.
-
pp-constructs neither nor any finite affine structure.
-
CSP( ) is definable in FP*, i.e., in fixed-point logic with an ordered auxiliary number sort and without counting terms (see, e.g., [19], [25]).
Note that in general, . While can express for example parity of the domain of a structure, it cannot express parity of a unary predicate interpreted in a structure, which FPC can express.
We also give an algebraic characterization in terms of polymorphisms. Preservation of the relation from Definition 3 gives an induced operation , with
where . Since preserves the colours, the operation is idempotent, i.e., satisfies for all . Let consist of the temporal operations min, mi, ll, and their duals (defined in Section 2).
▶ Theorem 8. Let be finite-on-top-of-temporal. Then the equivalent items from Theorem 7 are also equivalent to
- both of the following conditions hold:
(a) for each , some binary restricts on to , where and is order-preserving;
(b) Pol(B) contains such that and are 3-4 weak near-unanimity operations.
1.4 Algorithm and Proof Idea
For an instance of CSP( ) with variables, let be the substructure of with domain . Note that has the property that homomorphically maps to if and only if it maps to . We then use an algorithm which takes both and as input and runs in polynomial time in the size of . Examples of such algorithms are the arc-consistency procedure, the path consistency procedure, AIP, BLP, AIP-BLP and various singleton versions of these algorithms. This technique was introduced under the name sampling by Bodirsky, Macpherson, and Thapper [9] and further developed by Bodirsky and Greiner, Mottet, and Zhuk; see Section 1.5.
In our setting, the uniform algorithm is as follows. Add universal constraints on all variables and on every pair of variables. Run constraint-singleton arc-consistency (CSAC), with an additional outer test that fixes each available tuple in an auxiliary pair constraint and reruns CSAC. The algorithm is polynomial; we show that it has a uniform fixed-point implementation in Section 6.
To prove the correctness of our algorithm, we use the sets of relations on computed by the algorithm. These relations need not be closed under the polymorphisms witnessing the condition of Theorem 8. We close the relations under (using this closure only in the proof). Every generated tuple lies in a finite CSAC system. An auxiliary finite CSP, invariant under the 3-4 weak near-unanimity polymorphisms, produces a single term combining these certificates. Its lift to the infinite template produces a finite CSAC system with one available colour per variable. For prescribed colours, normal forms for algebraic products [7] and temporal palette maps [28] give a solution.
Our contribution is to combine the temporal certificates across a nontrivial finite quotient while retaining their consistency properties. Another new idea is to use algebraic products and results from [7] to handle prescribed argument sorts; here the sorts themselves are part of the solution. The classification unifies the known finite and temporal obstructions without requiring the same temporal operation on every part.
Finite on Top of Temporal CSPs in Fixed-Point Logic
We present only first-order expansions of . The full version will prove the corresponding classification for arbitrary first-order reducts of this structure.
1.5 Related Work
Bodirsky, Macpherson, and Thapper introduced sampling for infinite-domain CSPs and combined samples with arc-consistency [9]. Bodirsky and Greiner developed sampling for combinations of theories [6]. Mottet [24] used sampling to obtain new algorithms for the tractable temporal CSPs described in [8]; Zhuk identified singleton consistency procedures for the min, mi, and ll cases and their duals and introduced criteria for the correctness of these algorithms using palette maps [28].
2 Preliminaries
2.1 Fixed-Point Logic
FP is first-order logic with inflationary fixed points and arbitrary finite nesting. We use least fixed points for monotone operators. FPC additionally has an ordered number sort and counting terms on inputs of size [19]. FP* is its fragment without counting terms, but retaining and mixed-sort fixed points.
2.2 Relational Structures, CSPs and Polymorphisms
A relational signature is a set of relation symbols , each with arity . A relational -structure consists of a set , called the domain, together with a relation for every symbol of arity . A structure is called finite if its domain is finite. A relational -structure with the same domain as and is an expansion of if for all , and is called a reduct of .
An atomic formula of is a formula which uses only relation symbols from and equality. A first-order -formula is built from atomic formulas of , using Boolean connectives, i.e., negation, conjunction, and disjunction, as well as the quantifiers and . The quantifiers range over elements of the domain of the structure. If is a -formula and is a -structure, then denotes the relation , called the relation defined by over . A formula is called primitive positive if it is built exclusively from atomic formulas, existential quantifiers, and conjunctions. A relation is first-order definable over if there exists a first-order -formula such that equals . If the formula can be chosen to be primitive positive, then we say that is pp-definable over . If every new relation of an expansion of is definable by a first-order formula, then is an fo-expansion. A reduct of an fo-expansion is called an fo-reduct. A substructure of a -structure is a -structure with domain and for each -ary . We also say that is induced on by , and write for . For relational structures and of the same signature, a homomorphism from to is a function that preserves all relations of , that is, for every , if , then . If there are homomorphisms from to and vice versa then we call and homomorphically equivalent. A pp-power of is a relational structure with domain , for some , whose -ary relations, viewed as -ary relations on , are pp-definable over . We say that pp-constructs if is homomorphically equivalent to a pp-power of . Pp-constructability is transitive [3].
The constraint satisfaction problem (CSP) of is the computational problem of deciding whether a given finite structure with the same signature as and domain A, called the instance, maps homomorphically to , which is called the template. If a homomorphism exists, then is called a solution of for CSP( ). A constraint of is an atomic formula whose variables are elements of such that . We denote the set of all constraints of by . For a constraint of , we put , and . An -ary polymorphism of a relational structure is a function such that for every in the signature of , if , then . We denote by the set of all polymorphisms of , and conversely, for a set of operations , we write for the set of relations which are preserved by all operations in . The set is a clone, that is, a set of operations which is closed under composition and which contains all projections (see [27], [26]). A non-empty relation is pp-definable in a countable -categorical structure if and only if it is preserved by all polymorphisms of ([10]). For a set of operations on , we say that is locally closed if for all and all -ary operations we have that whenever for all finite subsets , there is such that and agree on . A clone is locally closed if and only if it is the polymorphism clone of a relational structure (see, e.g., [27]).
2.3 Algebras and Terms
A functional signature is a set of function symbols , each with an arity . An algebra of signature consists of a non-empty domain and an operation for each -ary symbol . A subalgebra of is an algebra of the same signature whose domain is non-empty and closed under all operations of , with for every -ary . For a non-empty , the subalgebra generated by , denoted by , is the smallest subalgebra of whose domain contains .
An -ary operation on is idempotent if holds for every . An algebra is idempotent if all operations from its signature are idempotent. The power of for a finite non-empty set is an algebra with domain and operations defined coordinatewise as for all .
A -term is a variable or an expression , where is -ary and are -terms. A term is interpreted in a -structure by recursively replacing each symbol by . We denote the resulting operation by .
2.4 Temporal CSPs
A temporal structure is a first-order reduct of (Q; <). A temporal CSP is a problem CSP(ℬ) where ℬ is a temporal structure with finite signature. We use the following binary operations on Q. The operation min: is defined by taking the minimal value of x and y with regard to <. The operation mi: is defined by
where are increasing embeddings such that whenever . An ll-operation is an operation ll: such that, for all , it holds that whenever
and , or
and and , or
and and , or
Finite on Top of Temporal CSPs in Fixed-Point Logic
and and .
We define pp as an arbitrary binary operation on Q such that if and only if either and , or , , and . A binary operation f on Q is called a lex-operation if if and only if either , or and . For a k-ary operation f on Q, we call the operation given by the dual of f. To distinguish them from their duals, we call min, mi and ll primal.
▶ Proposition 9 ([8, Propositions 25, 27], [4, Lemma 12.4.4]). For a temporal structure :
-
If contains min or mi, then contains pp.
-
If contains ll, then contains a lex-operation.
-
If contains both pp and a lex-operation, then contains ll.
The importance of these operations in our context is that if is a temporal structure with at least one of the polymorphisms min, mi, and ll, then can be expressed in FPC [12].
▶ Theorem 10 ([12, Theorem 1.3]). Let be a temporal structure with finite relational signature. The following are equivalent:
-
CSP( ) is expressible in FP.
-
CSP( ) is expressible in FPC.
-
does not pp-construct ( ; 1IN3) and .
-
is preserved by min, mi, ll, the dual of one of these operations, or by a constant operation.
3 Nested Singleton Consistency
Throughout the following, let be finite-on-top-of-temporal, i.e., a finite-signature first-order expansion of , and additionally assume that satisfies both conditions from item (4) of Theorem 8. Let be an instance of , with variables and constraints . Our goal is to describe an algorithm that decides whether there exists a homomorphism from to ; equivalently, whether is satisfiable in .
3.1 Tuber Systems
Let be an instance of CSP(). A tuber system of is a collection of sets such that for . Assume that every element appears in unary constraints of ; if not, add the (trivial) unary constraint . Define, for each , the set , the intersection of the for all unary constraints on . The tuber system is finite if every set with is finite, and non-empty if every set is non-empty. For and with , we define . Similarly, for a tuple satisfying a constraint , we denote by the element . A tuber subsystem is a tuber system of such that for all , we have .
A tuber system of is arc-consistent (AC) if holds for every and every , and constraint-singleton arc-consistent (CSAC) if it is AC and if for each and every , there is an AC tuber subsystem with . The subsystem is then called an AC-certificate for . We call singleton arc-consistent if we only require AC-certificates for all values of for each . An instance of CSP() is (constraint-singleton) arc-consistent if it has a non-empty (constraint-singleton) arc-consistent tuber system . Arc-consistency of a tuber system can be obtained by successively deleting tuples from if there is such that for some constraint with , we have , until AC is reached. CSAC is obtained by repeatedly restricting a constraint from to a tuple from , i.e., temporarily replacing by , and obtaining AC on this instance; removing from if obtaining AC yields the empty set. If obtaining (CS)AC yields the empty set, then there is no homomorphism from to compatible with the initial tuber system , and the instance is rejected. The algorithm obtaining (CS)AC stops iterating when it reaches a (CS)AC system. The proof for expressibility in FP is given in Section 6.
A constraint walk in is a sequence of variables from and constraints from of the form , where . Note that distinct variables of the walk might represent the same element of the instance. A constraint walk is realised in a tuber system of if there is a sequence of values such that for all , there is a tuple with and . A map with sending each index of the walk to the element witnessing the above property is called a realisation of in . An arc-consistent tuber system of is cycle-consistent if for every and every , every constraint walk with has a realisation in with . Note that SAC implies cycle consistency: Since the instance obtained by restricting to has an AC subsystem for every , we can find a realisation by starting with and taking as any value such that there is with and , the existence of which is guaranteed by AC. Since we will ultimately reach , the only choice for is .
▶ Theorem 11 (Finite cycle consistency [21]). Let be a finite relational structure with 3-4 weak near-unanimity polymorphisms. Then every cycle-consistent instance of CSP( ) has a solution.
3.2 The Algorithm
We may assume that the instance is not trivial, i.e., that and that all constraints have arity at least 1. Denote by the finite subset of containing elements from each , i.e., , and let be the induced finite substructure of on . In this context, we also call the sets of a tuber system constraint lists. The initial constraint lists are , where denotes the arity of . Additionally, we add for every ordered pair of variables a constraint , whose constraint list we initialize as the full binary relation if , and as if . We denote the set of the added pair constraints by , and we define . In the context of this algorithm, a tuber system of always also contains the sets .
The algorithm is described in the following.
-
Obtain CSAC on the current tuber system L. Reject if an empty set is derived.
-
For each and , restrict to in a copy of and obtain CSAC on the copy.
a. If the empty set is derived, remove the tuple from and restart at step 1.
b. If CSAC accepts the modified instance, continue.
- If the algorithm terminates without deriving the empty set, accept.
If the algorithm accepts, then the accepted tuber system is finite and CSAC. Additionally, for every and every , there is a non-empty CSAC subsystem with , called the CSAC-certificate for . The algorithm terminates in polynomial time in the size of the input.
Finite on Top of Temporal CSPs in Fixed-Point Logic
4 Determining the Colours
Let , and be as in the previous section. Let be the polymorphisms witnessing condition (b) of Theorem 8, and let be the finite algebra on the colour set and with the two operations .
▶ Lemma 12. Let be s-ary, and let be finite CSAC tuber systems of . Then the tuber system , defined for each constraint as
is finite and CSAC.
Proof. Let be finite CSAC tuber systems of . We define the system P by
for every . Applying coordinatewise to every tuple of yields . Since, for arbitrary , each satisfies , and is a polymorphism of by assumption, we get that also each satisfies . By construction, and are finite tuber systems. For every , we have
where denotes the Cartesian product of sets, and the middle equality holds since each is CSAC and hence AC. Similarly,
so it follows that both and are AC. To prove CSAC of , fix an arbitrary constraint and a tuple . We write for the tuple . Note that for every , we have . Choose for each an AC-certificate with . As before, we define the tuber system , and . By the same argument as for and , we get that and are AC. Since and , and and by construction, it follows that each tuple of every constraint list of and has an AC-certificate. Thus, and are CSAC.
Assume the algorithm from Section 3.2 accepts , and let be the tuber system at the end of the algorithm. For every constraint , let denote the smallest relation containing and closed under both and . Since , all tuples in satisfy . The sets for all are defined similarly. Furthermore, we set for all and for each .
▶ Lemma 13. (i) Each , , is a non-empty subalgebra of .
(ii) The tuber system is SAC.
(iii) For every and every , there is a finite CSAC tuber system with and .
Proof. To prove (i), note that the projection is a homomorphism, and observe that , where is the closure of the set under in . Since
are the only operations of and is non-empty, it follows that is a non-empty subalgebra of .
For (ii), we first show that the tuber system T is non-empty and AC. We define for every -term t with arity the tuber system via
for each , and where denotes the operation defined by in . Since is non-empty, also is non-empty for every -term . By Lemma 12, each is also finite and CSAC. For every , we have that . For , we get , so is AC, and non-empty, since for each . In particular, for every , we have , and . Thus, the tuber system is an AC tuber system. For SAC, fix and a value . Choose with , and choose a -term such that . Since is CSAC, there is an AC tuber subsystem with . For each , set and for . By construction, is non-empty and a subsystem of , and since and , we get that is an AC-certificate, thus proving SAC of .
To prove (iii), consider and choose a tuple with and . By construction, we obtain as for a -term of arity , and with . Since is a tuber system the algorithm accepted, there is, for every , a finite non-empty CSAC tuber system with . By Lemma 12, the tuber system is a finite CSAC subsystem of , which by construction satisfies , and thus also and .
▶ Proposition 14. Let be an instance of CSP( ) which the algorithm from Section 3.2 accepts, and let be the non-empty tuber system on which the algorithm terminates. Then there is a map as well as a finite non-empty CSAC tuber system of such that for every ,
holds. A tuber system satisfying property (1) is called c-colour-determined.
Proof. Let , , and be defined as for Lemma 13. For each and each , we choose a CSAC tuber system such that and . By Lemma 13 (iii), such tuber systems exist for all constraints and values. We enumerate those systems as . Define , and define and . We define a relation on , a power of the finite colour algebra , by , i.e., is the subalgebra of generated by the -tuples . By construction, we have that .
We claim that for every , also holds. Fix an arbitrary and . Since , we have . By construction of the algorithm, there exists a CSAC tuber system with .
Take an arbitrary . It follows that , and thus . Importantly, since does not depend on , we know that also holds for all . Since by definition, we know that . Since the choice of was arbitrary, we get , proving the claim.
Finite on Top of Temporal CSPs in Fixed-Point Logic
Additionally, we consider the projection for pairs of distinct coordinates. For and , define . We claim that for , we have , while for and , we get . Let , and consider arbitrary . Select a CSAC tuber system such that and . Since and , we have and , and so the same tuple satisfies both and , i.e., . Since the choice of was arbitrary, we have . For and with , choose an arbitrary , and select a CSAC tuber system such that . Since now both , we get , proving that for each .
We now construct an instance of , where . Note that all relations of this template are invariant under , i.e., the template has 3-4 weak near-unanimity polymorphisms. The instance is defined as follows:
■ The variable set of is . Fix an enumeration , where .
■ For each variable , add a constraint .
■ For each pair of variables , add a constraint .
■ Add one R-constraint on all variables of , i.e., .
The instance is AC, which follows directly from our previously proved claims.
To see that is also cycle consistent, note that we can use SAC of the tuber system from Lemma 13 (ii). The only constraint of not having a corresponding set in is , but since and all are sets in , all steps possible in are possible in . Fix a closed constraint walk in starting at and a value . Choose an AC tuber system with and for each , the existence of which is given by SAC of . We set the values for each variable of the constraint walk recursively, beginning with . If for we have , we set . This works for each possible constraint between and : if is either of the form or , it follows from the definitions. If is , this follows since we have shown before that . If, on the other hand, for we have , then the constraint has to be , and we set such that . This choice is compatible with since . At the end of the constraint walk, we get , proving cycle consistency of .
By Theorem 11, the instance has a solution, i.e., a map preserving all constraint relations. By construction of , we have for all . We define as this constant value for each , i.e., . Since the relation is generated by the -tuples , there is an -ary -term such that, evaluated in , we have . We evaluate the term in and define . Since , the tuber system is finite and CSAC by Lemma 12. Also, for each and every there is such that . Since
we get . Since , we also get for all . Defining as the restriction of to and (i.e., removing the sets for all ) gives the required CSAC tuber system of , finishing the proof.
◀
5 Solutions from Determined Colours
In this section we show that an instance with a colour-determined CSAC tuber system has a solution. The goal of this section is to prove the following lemma.
▶ Lemma 15. Let be finite-on-top-of-temporal satisfying the assumptions of (4) from Theorem 8. Let be an instance of CSP( ) with constraints . Assume there is a map and a finite non-empty c-colour-determined CSAC tuber system . Then the instance has a solution in with colours .
The proof of this lemma will use syntactical normal forms for relations of algebraic products of as well as results about palette totally-symmetric maps, both are given below.
5.1 Syntactical Normal Forms for Algebraic Products of
In the following, we write for the d-ary algebraic product of , i.e., the structure , where means , and means . Let be a first-order expansion of . Since all polymorphisms of preserve for all , the -th coordinate of the output depends only on the -th coordinates of the inputs. Thus, the restriction of to its -th coordinates, written , is unique and yields an operation of .
▶ Theorem 16 ([7, Proposition 4.38]). Let , and let be a first-order expansion of . Let be such that
■ for every there exists such that is an ll-operation, and
■ for every there exists such that is a pp-operation, but there is no such that is a lex-operation.
Then, every relation of can be defined by a conjunction of clauses of one of the following forms, for some :
(a) if , then the clauses can be chosen to be of the form
where , and
(b) if , then the clauses can be chosen to be clauses of the form
for , and where the last disjunct may be omitted.
5.2 Palette Maps
We follow the terminology from [28].
▶ Definition 17. Let , and let . A function is -block totally symmetric if the value depends only on the sets . An m-tuple is a -palette tuple if every value appearing somewhere in fills some block entirely, i.e., if for all and , there is such that, for , the -th block of is . A function is -palette totally symmetric if it is -block totally symmetric on all -palette tuples from . A function is called a -palette polymorphism of if, for each relation symbol and each -palette tuple , we have . We denote the set of all -palette polymorphisms of by -Pol( ).
Finite on Top of Temporal CSPs in Fixed-Point Logic
▶ Lemma 18 ([28, Corollary 6.5 and Lemma 6.12]). Let be a temporal structure with . Then contains palette totally symmetric functions of all arities and block sizes.
▶ Lemma 19 ([28, Corollary 6.15 and Lemma 6.12]). Let be a temporal structure with . Then -Pol( ) contains a -palette totally symmetric function for all . One possible choice for such a function is , where preserves the lexicographic order.
▶ Remark 20. The function is totally symmetric, and hence also palette totally symmetric for all arities and block sizes.
▶ Theorem 21 ([28, Lemma 6.13]). Let be a relational structure, and suppose that for all there exists a -palette totally symmetric operation in -Pol( ). Then every instance of CSP( ) with a finite non-empty CSAC tuber system has a solution.
5.3 Proof of Lemma 15
We now have all ingredients required to prove that any instance of CSP( ) with a non-empty c-colour-determined CSAC tuber system has a solution with colours . We refer to tuples satisfying the colouring as c-coloured.
Proof of Lemma 15. We first construct an operation from the operations and show that preserves all relations on -coloured palette tuples with the help of Theorem 16. We then use this map to apply Theorem 21. Assume that every is of the form for some order-preserving embedding and . This is without loss of generality: If some is a dual of those, we reverse the order in and consider the primal operation. Assume also that ; for the result is given in [28].
For every constraint with variables , we write and define a relation by
where by we refer to the -th entry of . We define a structure over by . Each induces coordinate polymorphisms for each , by taking as , so, like in Section 5.1, we get coordinate-wise defined polymorphisms with . We may take each such that , this preserves the same relations, i.e., is still a polymorphism of . Define such that is a lex-operation}, and write . Since is a first-order expansion of , each contains . Additionally, each is locally closed by [7, Proposition 3.5]. Thus is a temporal structure with . Applying Proposition 9 yields an ll-operation in for all , while for all , we get , and thus also a pp-operation in . By definition, these operations are coordinates of polymorphisms of . Theorem 16 now gives us for each a definition of the form
where is preserved by ll and uses only coordinates in , while each is a disjunction of disequalities between same coordinate entries from , and each uses only values at coordinate . If , then we take . Considering the tuples , defined by , the formula defines an ll-invariant temporal relation . Denote by the expansion of by all . Clearly, we have .
Fix arbitrary and write . By Lemma 19, there exists a -palette totally symmetric preserving all on -palette tuples. Choose as described in Lemma 19. Let be a -ary -palette totally symmetric operation preserving all mi-invariant temporal relations, the existence of which is guaranteed by Lemma 18. We define by
and from we obtain by defining on monochromatic tuples, and for all tuples where not all are equal. Since all are -palette totally symmetric, so is .
In order to apply Theorem 21, we define for each a relation , and a structure . By construction, we get -Pol(). We now have to verify that preserves every constraint on -palette tuples. Let be arbitrary, and let be a -palette tuple, with for each . We extend each to an -tuple of elements of by defining if , and else. By construction, we have for each , and the sequence still constitutes a -palette tuple. Define , and put . We show that .
Since every satisfies , we get , and all of them constitute a palette tuple, so applying preserves . Since for each , we get that satisfies .
Take any clause of the form . We know that each satisfies this clause. Assume first that some satisfies . Then there are and such that . Since , we have , and by the choice of as in Lemma 19, we get . Since this holds for all and all with , it follows that satisfies . Assume now that no satisfies . Define a relation . All are in . Since is a conjunction of equalities, the relation is preserved by , which is either mi or min. It follows that , i.e., that satisfies .
Putting this together, we get , which implies, by construction, that , showing that preserves each constraint on -coloured -palette tuples. Since were chosen arbitrarily, we can apply Theorem 21 and get a solution of the instance of CSP( ), where has domain and is constructed from by replacing each constraint by , which corresponds to the determined colours . Since each variable is assigned a value in with colour according to , this homomorphism is also a solution of for CSP( ).
▶ Proposition 22 (Correctness). Let be a relational structure satisfying the conditions of (4) from Theorem 8. Then the algorithm described in Section 3.2 decides CSP( ).
Proof. Let be an instance of CSP( ). If a solution exists, i.e., a homomorphism , then, since , we can use automorphisms of to move into the sample on
Finite on Top of Temporal CSPs in Fixed-Point Logic
which the algorithm operates. By construction, no values occurring in will be deleted from any set of the tuber system, so the algorithm accepts.
Assume now the algorithm accepts as an instance of CSP( ). By Proposition 14, there is a colour-determined CSAC tuber system of , and Lemma 15 then gives a solution of .
6 Fixed-Point Implementation
The algorithm described in Section 3.2 has a uniform logical implementation in FP*. Fix a structure which is finite-on-top-of-temporal. We will specify an FP* sentence such that a given finite structure satisfies if and only if has a homomorphism to . A fixed first-order sentence handles inputs with fewer than elements; this allows each colour to be represented by one numerical variable on the remaining inputs. The sentence has three nested fixed points to perform AC deletions, singleton tests for CSAC, and colour-pair tests, respectively. We will first define and then prove that it has the required properties.
Let be the signature of . Let be the arity of , and put , where labels the auxiliary pair constraints and . Fix a bijection . Define .
Define the numerical first-order formulas
Thus, defines the number whenever it is present, and Large := tests whether the input has at least elements.
Let be the finite set of all -structures on , for integers , that admit a homomorphism to . For each , let be the first-order sentence asserting that the input is isomorphic to : existentially name all its elements, assert that they are distinct and exhaust the universe, and specify the truth value of every relation tuple. Put . This fixed first-order sentence handles all inputs with fewer than elements.
For the remaining inputs, a value code consists of one numerical variable for its colour and one numerical variable for its rank. Define .
It is easy to see that the expansion of by the unary relations is homogeneous, and therefore has quantifier elimination, i.e., for each of positive arity there exists a quantifier-free definition of in . Translate it into a numerical formula as follows. Equality becomes equality of value codes, becomes equality of colour variables, becomes , and becomes equality of both colours to together with the numerical comparison of ranks.
We encode the constraint lists of a tuber system, including the auxiliary pair constraints from Section 3.2. Throughout this section, abbreviates . Thus, a non-empty system is AC precisely when for every constraint containing . Testing every constraint tuple also tests every variable value, since pinning in pins to . The outer tests will pin individual tuples of the pair constraints and run CSAC on the resulting system.
For the translation of colour predicates, put for ; thus is . All of these choices depend only on .
Put . For , let be ; put and . A label is represented by one numerical variable , using . A constraint code is a tuple , where consists of input variables. A tuple code is , where consists of value-code blocks. The following formulas describe the constraints and their initial lists:
Positions beyond the arity of a constraint repeat and its value. The equality implications also ensure that repeated variables receive equal values. In particular, the initial list of consists exactly of the diagonal pairs. Each tuple on the distinct variables of a constraint has a unique code. The formula Con is independent of Tup, so an initially empty constraint list still has a constraint code.
In what follows, denote tuples of code variables, a tuple of constraint-code variables, an input variable, and a value-code block. Expressions such as , and abbreviate the corresponding blocks of variables. Define
Tuple equalities are coordinatewise. Quantifiers over codes abbreviate quantification over their input and numerical variables.
Let D be a relation variable with the argument places of a tuple code; it records the deleted tuples. Put
The first formula detects an empty remaining constraint list, including one that was empty initially. The second detects a tuple whose value at some variable has no support in another constraint list containing that variable. The diagonal pair constraints supply all the information otherwise stored in variable lists.
For tuple-code variables , define
Adding to the deletion set restricts the constraint list containing to that tuple. If has already been deleted, the resulting list is empty. For a formula with a deletion-predicate parameter and a formula on tuple codes, denotes substitution for that parameter, with bound variables renamed to avoid capture. The same convention applies to Reject( ).
Finite on Top of Temporal CSPs in Fixed-Point Logic
For example, means , with fresh. Pinning parameters remain free in the inner fixed points.
With Z a relation variable of the same arity as D, define
This formula performs the deletions needed for AC. Testing each tuple of every constraint list gives
(2b)
Finally, test each tuple of each auxiliary pair constraint by running CSAC after pinning that tuple:
2c
All deletion predicates occur positively. Since the code lengths and the sets of labels are fixed, these are FP* formulas. They implement the three levels of deletion in Section 3.2, with all currently justified deletions performed in parallel. Define
where is the always-false predicate on tuple codes. Expanding the abbreviations yields a closed FP* sentence in signature . It uses neither counting terms nor an order on input elements.
▶ Proposition 23. Under conditions (a) and (b), for every finite -structure , if and only if there is a homomorphism . In particular, CSP( ) is definable in FP*.
Proof. Write . If , then Large is false and the definition of proves the assertion, including for the empty input. Suppose . Then Large is true and is false.
The number sort contains every colour and label code. Value codes represent the sample , and defines . Consequently, Con and Tup encode the constraints of , including the auxiliary pair constraints, and their initial lists , with nullary constraints omitted. Let be this set of constraints, including all for . Identify the set of tuple codes with . For , write and . We identify the formulas with the relations they define on these codes.
Every non-empty AC subsystem of survives the deletions in , since it supplies a support for each of its tuples in every incident constraint list. Conversely, if Reject( ), no remaining tuple is unsupported. The projections of all constraint lists containing therefore agree, and equal the projection of the diagonal list . Thus is AC. It is the greatest non-empty AC subsystem of ; rejection occurs precisely when no such subsystem exists.
Similarly, every non-empty CSAC subsystem survives . AC deletions preserve , and an AC-certificate in for a tuple prevents rejection after adding . Conversely, put and suppose Reject( ). Closure gives , so is AC. For each surviving tuple code , closure also gives Reject( ). The preceding paragraph supplies a non-empty AC subsystem of whose list at consists only of the tuple coded by . Hence is CSAC. Certificates for variable values follow by applying this observation to diagonal pair tuples. Thus leaves the greatest non-empty CSAC subsystem, or rejects if none exists.
Suppose first that a homomorphism exists. By sampling, there is one, say , whose image lies in . Let contain the tuple assigned by to the variables of , for each . This defines a non-empty CSAC subsystem of . By induction, none of its tuples is deleted at any stage of . Indeed, CSAC deletions preserve . If a pair tuple belongs to , pinning also preserves , which witnesses that the ensuing CSAC test cannot reject. Every list therefore retains its tuple from , and .
Conversely, suppose , and put and L = L^D^*. Then and , so is a finite non-empty CSAC tuber system. For every and , let code . Since survives and holds, the outer fixed-point equation implies . Its remaining constraint lists form a finite non-empty CSAC subsystem with . Thus
for every and , there is a finite
non-empty CSAC subsystem with .
(4)
With the variable lists read from the diagonal constraints, this is exactly the certificate property used in the proof of Proposition 14. That proof applies to and yields a finite non-empty colour-determined CSAC tuber system. Lemma 15 then gives a homomorphism .
7 Obstructions and the Classification
In this section we show that the CSP of a structure that does not satisfy one of the conditions in (4) of Theorem 8 is inexpressible in FPC, and then finish the proof of Theorem 7 and Theorem 8.
▶ Lemma 24. Let be finite-on-top-of-temporal, let , and let . Then if and only if there exists a binary and an embedding such that .
Proof. Suppose first that is such that , and let be finite. The map sending to for is a finite partial automorphism of . Extend it to an automorphism of this order, and act as the identity on the other colours. The resulting map is an automorphism of , hence of . Thus agrees with on , proving that .
Conversely, suppose . Take the elementary diagram of , using constants for , i.e., the set of all first-order sentences that hold in the expansion of with the additional constants for . Then further expand the signature by fresh constant symbols , one for every . For every basic -ary relation and all , , add . Also add for all . Let be the resulting set of first-order sentences. Every finite subset of is satisfiable in : interpret the by and the using a global polymorphism whose restriction agrees with at the finitely many specified pairs. A standard model theory argument using Compactness and downward Löwenheim–Skolem therefore give a countable model of (see, e.g., [20]). Its reduct to the signature of is isomorphic to by -categoricity of . Fix such an isomorphism , and define and
Finite on Top of Temporal CSPs in Fixed-Point Logic
for . The relation-preservation sentences make a polymorphism of . The elementary diagram makes an increasing embedding into , and the added equalities give .
▶ Proposition 25 ([1], [12, Theorem 2.7, Proposition 2.8]). Let and be structures with finite relational signatures such that is pp-constructible from . If CSP( ) is expressible in FPC, then CSP( ) is expressible in FPC.
▶ Proposition 26. Let be finite-on-top-of-temporal which does not satisfy one of the conditions in Theorem 8. Then pp-constructs or some finite affine structure, and CSP( ) is inexpressible in FPC.
Proof. Assume first that does not satisfy condition (a) for . By Lemma 24, we get that contains no operation from . Note that , and that every automorphism of can be extended to an automorphism of . Hence, after appropriately identifying with we obtain , and since is locally closed, . Since for each we have , there is some such that is not preserved by . We take . This is a temporal structure with finite signature and no polymorphism from . By Theorem 10, it pp-constructs or ; 1IN3), and is inexpressible in FPC. For every relation of , the relation is preserved by all polymorphisms of and hence is pp-definable in . We obtain a pp-construction of in . Proposition 25 implies that is inexpressible in FPC. By transitivity of pp-constructions, pp-constructs either or ; 1IN3). In the former case, we are done. In the latter case, by [4, Theorem 3.2.2], it also constructs a finite affine structure.
Assume now that does not satisfy condition (b), i.e., there are no such that are 3-4 weak near-unanimity operations. We write . Since is a relation of and thus taking induced operations commutes with composition, is a clone over which does not contain 3-4 weak near-unanimity operations. Write for the set of ternary and quaternary operations on which are not in , i.e., . For each , choose not preserved by , and take . By the choice of all from , all ternary and quaternary polymorphisms of are precisely the 3- and 4-ary operations in . By Theorem 2.8 from [22] (also see [5, Theorem 15.62]), we know that pp-constructs a finite affine structure and, by Theorem 10 of [1], is inexpressible in FPC. For every relation of , the relation is preserved by all polymorphisms of , and so has a pp-definition. This yields a pp-construction of in , so Proposition 25 again gives the inexpressibility of in FPC, and by transitivity of pp-constructions, also pp-constructs a finite affine structure.
Proof of Theorems 7 and 8. We prove the equivalence of the four items by showing (4) → (3) → (1) → (2) → (4). By Proposition 23, if is finite-on-top-of-temporal satisfying the conditions of (4), then is definable in , which is item (3). By definition, , so (3) implies (1). The implication (1) to (2) follows by contraposition and transitivity of pp-constructions, since neither nor any finite affine structure have a CSP expressible in FPC ([12], [1]), and the implication from (2) to (4) follow by contraposition of Proposition 26.
▶ Remark 27 (Decidability of the meta-problem). Given k and first-order definitions of the additional relations of , it is decidable whether conditions (a) and (b) in Theorem 8 hold, and hence it is decidable whether is definable in FPC. This essentially follows from the results and techniques in [11] and will be presented in the full version of this paper.
8 Conclusion and Open Problems
We proved that every CSP for a template which is finite-on-top-of-temporal is either expressible in FP*, or not even expressible in FPC. The difficult part is showing that there exists an FP* sentence in the situation where known obstructions to FPC fail. Our FP* sentence implements a relatively expensive algorithm based on first sampling a sufficiently large finite substructure of the template and then running a consistency algorithm which establishes an extension of the constraint singleton arc-consistency algorithm of Zhuk. We do not know whether a simpler, less expensive form of consistency suffices (but our proof strategy relies on it).
The proof also leaves open whether ordinary FP suffices throughout the positive class. The full version will extend the classification to arbitrary first-order reducts of . We mention two orthogonal directions for future research.
■ Classify the CSPs for finite-on-top-of-temporal templates with respect to containment in P and NP-hardness. This is challenging, because it is a proper generalisation of the Bulatov-Zhuk dichotomy result; in fact, already the case is challenging, because it requires to deal with combinations of quotient clones that cannot be solved by Datalog with algorithms for temporal CSPs that cannot be expressed in FPC; it is in general unclear which tractable templates can arise in this setting.
■ Determine which structures of polynomial orbit growth have a CSP in FP* and in FPC.
References
1 Albert Atserias, Andrei A. Bulatov, and Anuj Dawar. Affine systems of equations and counting infinitary logic. Theoretical Computer Science, 410(18):1666–1683, 2009.
2 Libor Barto and Marcin Kozik. Constraint satisfaction problems solvable by local consistency methods. Journal of the ACM, 61(1), 2014. Article 3. doi:10.1145/2556646.
3 Libor Barto, Jakub Opršal, and Michael Pinsker. The wonderland of reflections. Israel Journal of Mathematics, 223(1):363–398, 2018. URL: https://arxiv.org/abs/1510.04521, arXiv:1510.04521, doi:10.1007/s11856-017-1621-9.
4 Manuel Bodirsky. Complexity of Infinite-Domain Constraint Satisfaction, volume 52 of Lecture Notes in Logic. Cambridge University Press, 2021. Relation names and theorem numbers refer to the author's postprint of 31 January 2026. URL: https://wwwpub.zih.tu-dresden.de/~bodirsky/Book.pdf, doi:10.1017/9781107337534.
5 Manuel Bodirsky. Graph homomorphisms and universal algebra, 2026. URL: https://arxiv.org/abs/2602.14243, arXiv:2602.14243.
6 Manuel Bodirsky and Johannes Greiner. Tractable combinations of theories via sampling. In Proceedings of JELIA 2021, volume 12678 of Lecture Notes in Computer Science, pages 133–146. Springer, 2021. doi:10.1007/978-3-030-75775-5_10.
7 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.
8 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.
9 Manuel Bodirsky, Dugald Macpherson, and Johan Thapper. Constraint satisfaction tractability from semi-lattice operations on infinite sets. ACM Transactions on Computational Logic, 14(4):1–19, 2013. Article 30. doi:10.1145/2528933.
10 Manuel Bodirsky and Jaroslav Nešetril. Constraint satisfaction with countable homogeneous templates. In Computer science logic, volume 2803 of Lecture Notes in Comput. Sci., pages
Finite on Top of Temporal CSPs in Fixed-Point Logic
44–57. Springer, Berlin, 2003. URL: https://doi.org/10.1007/978-3-540-45220-1_5, doi:10.1007/978-3-540-45220-1_5.
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.
12 Manuel Bodirsky and Jakub Rydval. On the descriptive complexity of temporal constraint satisfaction problems. J. ACM, 70(1):2:1–2:58, 2023. A conference version of this article appear under the title “Temporal Constraint Satisfaction Problems in Fixed-Point Logic” in LICS'20.
13 Bertalan Bodor. Classification of -categorical monadically stable structures. J. Symb. Log., 89(2):460–495, 2024. URL: https://doi.org/10.1017/jsl.2023.66, doi:10.1017/JSL.2023.66.
14 Bertalan Bodor. Structures with not too fast unlabelled growth. The Journal of Symbolic Logic, page 1–49, 2026. doi:10.1017/jsl.2026.10239.
15 Samuel Braunfeld and Michael C. Laskowski. Characterizations of monadic NIP. Transactions of the American Mathematical Society, Series B, 8:948–970, 2021. Corrected author version: arXiv:2104.12989v3. URL: https://arxiv.org/abs/2104.12989v3, arXiv:2104.12989v3, doi:10.1090/btran/94.
16 Andrei A. Bulatov, Andrei Krokhin, and Benoit Larose. Dualities for Constraint Satisfaction Problems, page 93–124. Springer-Verlag, Berlin, Heidelberg, 2008. URL: https://doi.org/10.1007/978-3-540-92800-3_5.
17 Peter J. Cameron. Transitivity of permutation groups on unordered sets. Mathematische Zeitschrift, 148:127–139, 1976.
18 Justine Falque and Nicolas M. Thiéry. Classification of P-oligomorphic groups, conjectures of Cameron and Macpherson, 2020. Preprint, version 2. URL: https://arxiv.org/abs/2005.05296v2, arXiv:2005.05296v2.
19 Erich Grädel. Finite model theory and descriptive complexity. In Finite Model Theory and Its Applications, pages 125–230. Springer, 2007. doi:10.1007/3-540-68804-8_3.
20 Wilfrid Hodges. A shorter model theory. Cambridge University Press, Cambridge, 1997.
21 Marcin Kozik. Solving CSPs using weak local consistency. SIAM Journal on Computing, 50(4):1263–1286, 2021. doi:10.1137/18M117577X.
22 Marcin Kozik, Andrei Krokhin, Matt Valeriote, and Ross Willard. Characterizations of several maltsev conditions. Algebra Universalis, 73(3):205–224, 2015. doi:10.1007/s00012-015-0327-2.
23 Leonid Libkin. Elements of Finite Model Theory. Springer, 2004.
24 Antoine Mottet. Algebraic and algorithmic synergies between promise and infinite-domain CSPs. In Proceedings of LICS 2025, pages 357–371. IEEE, 2025. doi:10.1109/LICS65433.2025.00034.
25 Martin Otto. Bounded variable logics and counting, volume 9 of Lecture Notes in Logic. Springer-Verlag, Berlin, 1997. A study in finite models. doi:10.1007/978-3-662-21676-7.
26 Reinhard Pöschel and Lev A. Kaluzhnin. Funktionen- und Relationenalgebren, volume 15 of Mathematische Monographien [Mathematical Monographs]. VEB Deutscher Verlag der Wissenschaften, Berlin, 1979. Ein Kapitel der diskreten Mathematik. [A chapter in discrete mathematics].
27 Agnes Szendrei. Clones in universal algebra, volume 99 of Séminaire de Mathématiques Supérieures [Seminar on Higher Mathematics]. Presses de l'Université de Montréal, Montreal, QC, 1986.
28 Dmitriy Zhuk. Singleton algorithms for the constraint satisfaction problem, 2026. Accepted for FOCS 2026; proceedings forthcoming. The detailed results cited are in the full version, version 3, March 2026. URL: https://arxiv.org/abs/2509.18434v3, arXiv:2509.18434v3.