Manuscript Offprint
arXiv:2610.06493Maslov's class K with Equivalence
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Maslov's class K is a decidable fragment of equality-free first-order logic. It subsumes numerous classical decidable fragments, including the equality-free monadic fragment, the equality-free two-variable fragment, and the Gödel class. Introduced over 50 years ago, the class K has been studied in automated deduction, primarily through resolution-based methods. Despite this long history, the precise complexity of the satisfiability problem for K remained open until recently, when NExpTime-completeness was finally established.
The two main contributions of this work are as follows.
-
The recent proofs of NExpTime-completeness and the finite model property for K are highly non-trivial and technically sophisticated. We present considerably simpler proofs of both results. Our approach combines a novel reduction from K to the class of solvable Skolem sentences with a randomised construction of finite models.
-
We introduce the class K+E by allowing sentences in K to contain one distinguished binary predicate E whose interpretation is constrained to be an equivalence relation. By leveraging our approach to this extended class, we prove that K+E has the finite model property and that its satisfiability problem is 2-NExpTime-complete.
1 Introduction
Hilbert's Entscheidungsproblem asked for a general algorithm to determine the satisfiability of first-order statements. Church and Turing famously showed that no such algorithm exists by establishing the undecidability of first-order logic. This negative result gave rise to a broad research programme aimed at identifying fragments of first-order logic for which satisfiability remains decidable. Over the decades, this effort has led to the discovery of numerous decidable formalisms, including the Bernays-Schönfinkel class, the monadic fragment, the Ackermann class, the Gödel class, the two-variable fragment, and the guarded fragment, among others.
One motivation for studying decidable fragments comes from automated deduction, a branch of computer science that seeks effective methods for solving the satisfiability problem, not in full generality, but for broad and practically relevant classes of instances. One of the pioneers of automated deduction was S. J. Maslov, who introduced the class K [12, 32]. In the 1960s, Maslov developed a proof procedure, called the inverse method [30], for deciding validity and applied it to the class K. Subsequent work shifted attention to the dual class, denoted , and to its satisfiability problem. In the 1980s, Zamov proposed a resolution procedure for ; see Chapter 6 of the monograph Resolution Methods for the Decision Problem [9]. In 1999, Hustadt and Schmidt [21] continued Zamov's work and developed a refined variant of his procedure.
The importance of Maslov's class stems from the fact that it is one of the broadest fragments of (equality-free) first-order logic. In particular, subsumes many classical fragments (all considered without equality), including: the monadic fragment [31], the Ackermann class [1] and its generalised variant due to Voigt [40], the Gödel class [14], and the solvable Skolem class from Dreben and Goldfarb's monograph [7] (there denoted as Class 2.4). Moreover, the even
Supported by Polish National Science Center, grant No. 2021/41/B/ST6/00996.
Fiuk
broader class of conjunctions of sentences, denoted , is decidable [21]. The absence of equality in is unavoidable: already the Gödel class with equality is undecidable [15].
The class also subsumes the equality-free two-variable fragment, , in the sense that sentences in Scott normal form belong to [38]. As a consequence, many standard modal and description logics can be translated into . This connection is discussed in the survey [22], where is considered alongside other well-known fragments such as the guarded fragment and the fluted fragment, all of which are incomparable in expressive power with .
After the early 2000s, has received relatively little attention. A renewed interest in is motivated by the study of the uniform one-dimensional fragment, denoted . Introduced by Hella and Kuusisto in 2014 [20], see also [24, 29], was designed as a canonical generalisation of to predicates of arity greater than 2. The satisfiability problem for (with equality) is NEXPTIME-complete [24], matching the complexity of . To increase the expressive power of (equality-free) , Kieroński [10] proposed a generalisation denoted . He observed that , when put into a suitable normal form, falls within . In [11], an even broader extension of (equality-free) , denoted , is introduced. It, too, is subsumed by .
Despite this broad applicability, the class remained poorly understood from a theoretical perspective, as the two central questions for logical fragments—the finite model property and the precise complexity of the satisfiability problem—remained open for over 50 years.
These questions were resolved only recently: in 2024, Fiuk, Kieroński, and Michielini [11] established that has the finite model property and that the satisfiability problem for is NEXPTIME-complete. In light of this result, the significance of becomes even more apparent: it can express many non-trivial properties, not expressible in other fragments, while being no harder than , , or the Gödel class. This contrasts with the guarded fragment, which is 2-EXPTIME-complete [18], and with the fluted fragment, which is TOWER-complete [36].
Our contribution. The proof of the finite model property and the NEXPTIME upper bound for given in [11] is technically involved and difficult to follow; we discuss it in more detail in Section 5. Our first contribution is a new and substantially simpler proof of these results.
Our approach is based on a novel Skolemisation procedure that transforms sentences in into the solvable Skolem class [7, 17]. Notably, the precise complexity of the solvable Skolem class was itself open prior to [11]. We then apply Goldfarb's probabilistic construction of finite models for sentences in the solvable Skolem class [17], which generalises the earlier approach of Gurevich and Shelah for the Gödel class [19]. A direct application of this randomised model construction, however, does not yield the desired model-size bound. To obtain a tight exponential bound, we refine the construction using ideas from [11], which, thanks to our Skolemisation procedure, can be applied in a considerably simpler setting.
Our second contribution extends the decidability result beyond the class . A common way of increasing the expressive power of decidable fragments is to restrict the class of admissible structures. For instance, has been studied over structures equipped with linear orders [33, 37], equivalence relations [27, 26, 28], and transitive relations [13, 34]. We follow this line of research and prove that remains decidable when extended with one equivalence relation. More precisely, we introduce the class , obtained by adding to one distinguished binary predicate whose interpretation is required to be an equivalence relation. We show that has the finite model property and that its satisfiability problem is 2-NEXPTIME-complete.
Organisation. Section 2 introduces the notation and basic definitions. Section 3 presents the class and related fragments. Section 4 develops the Skolemisation procedure. Section 5 gives
In particular, it appears that [9, 21, 8] refrain from making explicit claims regarding the complexity of , or even the running time of their decision procedures. Nevertheless, elementary upper bounds can be derived from Theorem 6.3 in [9] and Theorem 6 in [21]; however, these bounds are at best doubly or triply exponential.
Fiuk
a simplified proof of the NEXPTIME upper bound for . Section 6 establishes that is 2-NEXPTIME-complete and shows that closely related extensions are already undecidable. Finally, Section 7 concludes with remarks on the possible addition of equality to .
First-order logic. We assume general familiarity with first-order logic (FO). The logical symbols are =, ⊥, ⊥, ∨, ∧, ¬, →, ↔, and the quantifiers ∀, ∃. The non-logical symbols are relation symbols (from a countably infinite set), constant symbols (also from a countably infinite set), and variables (again countably many). We do not allow function symbols of positive arity.
A signature is a pair , where is a non-empty tuple of relation symbols and is a tuple of constant symbols. When convenient, we identify with the set . Every relation symbol comes with associated arity, denoted arity( ).
The length of a formula , denoted , is the total number of symbols it contains, where each occurrence of a symbol—be it a variable, relation symbol, or constant—contributes 1. The signature of consists of relation and constant symbols that appear in the formula. The set of atomic subformulas of is denoted by atoms(). The set of free variables of is denoted by vars(); we often view this set as a tuple and indicate this by . Given a tuple of elements of the same length as , we write for the result of componentwise substitution of the variables in by the corresponding elements of . More generally, for any tuple of variables , not necessarily coinciding with the free variables of , and any tuple of elements of the same length as , we write for the result of componentwise substitution of the variables in by the corresponding elements of . We write to denote either or .
We use Fraktur letters such as to denote structures, and the corresponding Roman letters for their domains. Let be a signature. A -structure interprets every relation symbol as a relation and every constant symbol as an element . An element is unnamed if for every constant .
For a sub-signature , the -reduct of is a -structure obtained from by forgetting the interpretations of the symbols in . Equivalently, is a -expansion of .
Finite model property. Let be a fragment (or class) of FO sentences. The fragment has the finite model property if every satisfiable sentence admits a finite model. If there exists a fixed polynomial such that every satisfiable sentence admits a model over a domain of size at most , then has the exponential model property. If, instead, the domain size is bounded by , then has the doubly exponential model property.
The satisfiability problem for is to decide whether an input sentence admits a model. The finite model property for implies that the satisfiability problem for is decidable. The exponential model property for implies that the satisfiability problem for is in NEXPTIME, while the doubly exponential model property implies that it is in 2-NEXPTIME.
Types and outer-types. Let be a signature. For , let denote the set of all literals over and the variables ; literals involving = or are not included.
For , a -type over is a maximal consistent subset of ; that is, for every pair of dual literals , exactly one of and belongs to the -type. A 0-type contains
Fiuk
literals involving only constants. A -type extends a -type if . A type is simply a -type for some . When convenient, we identify types with the conjunctions of the literals they contain. Let denote the set of all -types over , and write .
Let be a -structure, and let be a -tuple of pairwise distinct unnamed elements of . We write for the -type realised by in , where denotes the substitution .
Our notion of types is a slight adaptation of the standard notion of atomic types, tailored to the setting needed in this paper. First, our types do not contain equality literals. Second, we define the type realised by a tuple only when its elements are pairwise distinct and unnamed.
In our proofs, we also need a refined variant of types. For , let
A k-outer-type over is a maximal consistent subset of . Thus, a k-outer-type is akin to a k-type, but contains only literals involving either all variables or at most one of them. In particular, k-types and k-outer-types coincide for .
We use for outer-types the terminology and conventions introduced above for types. In particular, an outer-type is a k-outer-type for some , and we identify outer-types with the conjunctions of their literals when convenient. We write and for the sets of all k-outer-types and all outer-types over , respectively.
For a k-tuple of pairwise distinct unnamed elements of , the k-outer-type realised by in is .
For a k-outer-type , we write for the 1-type induced on the variable . It is obtained by taking all literals such that and renaming with . Intuitively, if a tuple realises in a structure, then is the 1-type of the ith element of .
For a k-type and pairwise distinct indices , we write for the -outer-type induced by on . It is obtained by taking all literals such that either or for some , and then renaming the variables according to the mapping for every . Intuitively, if a tuple realises in a structure, then is the -outer-type of the subtuple .
For the set of all outer-types induced by the k-type , we write
3 The Class and Related Fragments
Definition. Let be an equality-free sentence in negation normal form. The sentence may contain constant symbols. Without loss of generality, we assume that distinct quantifier occurrences in bind distinct variables.
For an atom , the -prefix of is the sequence of quantifiers in that bind the variables in . The order of quantifiers in the -prefix matches the order of their occurrences in from left to right. In contrast, the order and multiplicity of variables within , as well as the constants occurring in , are irrelevant for determining its -prefix. In particular, if contains only constant symbols, then its -prefix is the empty sequence.
The sentence belongs to the class if there exists a selection of universal quantifier occurrences in , for some , such that:
-
None of the selected universal quantifiers is in the scope of an existential quantifier.
-
For every atom , at least one of the following holds:
(i) the -prefix of has length at most 1;
Fiuk
(ii) the -prefix of consists exactly of the selected universal quantifiers ;
(iii) the last quantifier in the -prefix of is existential.
The selected universal quantifiers are listed in their left-to-right order in , but need not form a contiguous block in the sequence of all quantifiers of . The variables bound by the selected quantifiers are called the uniform variables of , and is called the uniformity of .
To avoid ambiguity, we adopt the convention that is always chosen as small as possible. Since for condition (ii) is subsumed by condition (i), we have or . Under this convention, the required selection , whenever it exists, is unique. Moreover, if , it must coincide with the -prefix of some atom of .
The above definition of does not essentially rely on negation normal form; it only requires that every quantifier occur positively. We therefore adopt a more liberal syntax for and allow arbitrary Boolean combinations within quantifier-free subformulas. In particular, we admit and , provided that no quantifier occurs in the premise of an implication or on either side of a bi-implication.
Prenex form. It is often convenient to consider sentences of in prenex form. Given a sentence , its standard conversion to prenex form yields, up to a reordering of the initial universal quantifiers, a sentence of the form
where , each , and is equality-free and quantifier-free.
The conditions on -prefixes translate as follows: for every atom , at least one of the following holds:
(i)
(ii) , where are the uniform variables of ;
(iii) the variable with maximal index is existentially quantified.
Conversely, it is straightforward to verify that a sentence in negation normal form belongs to whenever its standard conversion to prenex form satisfies the conditions above.
Examples. We illustrate the definition of with a few examples.
Example 1. Consider the sentence :
The sentence belongs to with uniform variables . The -prefixes of its atoms satisfy the conditions of the definition as follows:
(i) the prefixes , and have length at most 1;
(ii) the prefix consists of all selected universal quantifiers;
(iii) the remaining prefixes , , and end with an existential quantifier.
Example 2. Consider the sentence :
The sentence belongs to with no uniform variables. The -prefixes of its atoms satisfy the conditions of the definition as follows:
(i) the prefixes , and have length at most 1;
(iii) the remaining prefixes , and end with an existential quantifier.
Example 3. Observe that allows permutations of variables within atoms:
Fiuk
Indeed, belongs to with uniform variables : every atom has the same -prefix , which satisfies condition (ii).
Nonexample. Consider the transitivity axiom
Its atoms have the -prefixes , , and . They have length greater than 1, do not end with an existential quantifier, and cannot all satisfy condition (ii). Hence, .
The class . Following [21], let denote the class of conjunctions of sentences; that is,
A sentence of need not be equivalent to a sentence of : conjuncts of different uniformities cannot, in general, share a common sequence of uniform variables. If they have the same uniformity, however, they can be combined into a single sentence. To see this, consider of the same uniformity. Without loss of generality, both are in prenex form (1), with the same sequence of uniform variables. Writing , for , we have
A routine check shows that the sentence on the right belongs to .
The solvable Skolem class. In their monograph [7], Dreben and Goldfarb systematically study solvable classes of formulas, including several classes of Skolem sentences ( ). One of these, referred to as Class 2.4 and later also studied in [17], is the only such class relevant to this paper. We therefore refer to it simply as the solvable Skolem class.
Sentences in the solvable Skolem class have the form
where , is equality-free and quantifier-free, and every satisfies at least one of the following:
(i)
(ii) ;
(iii) for some .
The solvable Skolem class is a subfragment of : its sentences are in prenex form (1), with as uniform variables, subject to the additional restriction that all existential quantifiers follow all universal quantifiers. In contrast, allows arbitrary quantifier alternation after the initial block binding the uniform variables.
The solvable Skolem class will play an important role in our decidability proof, as we show that every sentence of can be reduced to this class while preserving satisfiability.
Other fragments. From the perspective of satisfiability, Maslov's class subsumes several important fragments of equality-free FO. These include the Ackermann class (the prenex class ), the Scott class (the normal form of ), and the Gödel class (the prenex class ), where the Ackermann and Scott classes are understood without equality. The initial block of existential quantifiers in the Ackermann and Gödel classes can be replaced by fresh constants while preserving satisfiability. These fragments are discussed in detail in the monographs [6, 35].
The class also subsumes the normal form of the equality-free uniform one-dimensional fragment [20, 24], as well as its variants with alternating quantifier blocks studied in [10, 11]. In contrast, is incomparable with several other well-known decidable fragments. These include the guarded and clique-guarded fragments [2, 4], the unary negation fragment [39], and the fluted and adjacent fragments [36, 5].
Fiuk
4 A Skolemisation Procedure
In this section, we introduce the Skolem normal form for sentences in , which allows for a substantially simpler treatment of in subsequent proofs. We then show a polynomial-time reduction from the general case to Skolem normal form that preserves (finite) satisfiability.
Definition 1. We say that a sentence is in Skolem normal form if
where is a finite set of indices, is a variable sequence of length , common to all , is a single variable, and is quantifier-free.
For every , let
and let denote the uniformity of , with uniform variables .
We partition the set of atoms of as atoms , where
Let denote the class of all Skolem normal form sentences of . Whenever we consider a sentence of , we use the notation of Definition 1.
We now establish the required reduction from to . Since the reduction can be viewed as a form of relational Skolemisation, we refer to it as the Skolemisation procedure.
The usual Skolem form can subsequently be obtained by replacing the existential variable in each conjunct by a fresh term . We will not need this form.
Proposition 2. There exists a polynomial-time function such that, for every non-empty domain , has a model over if and only if has a model over .
Proof. We show the rewriting for a single sentence; the extension to is straightforward.
Let and let be the signature of . By converting to the prenex form (1) and introducing dummy quantifiers whenever necessary, we may assume that
where are the uniform variables, is even, the quantifier binding is universal for odd and existential for even , and is quantifier-free.
We proceed by induction on . If , then is already in , and we set . Suppose now that . Let and
Thus, .
Define . We extend to a signature by introducing a fresh -ary relation symbol and, for every , a fresh -ary relation symbol . Let be obtained from by replacing every occurrence of each atom by . The new atoms use precisely the variables , in this order, while the subscript records the original relation symbol and its full sequence of arguments, including repetitions and constants.
Over , define
Fiuk
The above sentences provide an intermediate rewriting step in the construction of . We return to shortly and first verify the correctness of this step.
We first show that . By the definition of , we may replace the conjunct in the matrix of by when deriving a consequence of . It follows that
For every , the equivalence allows each occurrence of in to be replaced by the corresponding atom . By the definition of , performing these replacements reconstructs . It follows that
The sentence on the right is precisely . Hence, .
Conversely, suppose that . We expand to a -structure by interpreting
By construction, the resulting expansion satisfies
Thus, every model of admits a -expansion satisfying . It remains to show that .
Since , we have
Together with , this yields .
Moreover, allows every occurrence of an atom in to be replaced by . Hence, by the definition of ,
Combining this with yields . Therefore, . This establishes the correctness of the rewriting step. We now return to the construction of .
The sentence belongs to . The sentence need not belong to , but it is again a sentence, now with uniform variables . Moreover, has strictly smaller quantifier alternation depth than , so the induction hypothesis applies to it. We set .
Finally, we introduce dummy universal quantifiers as necessary to ensure that all conjuncts have the same number of them, as required by Definition 1. This establishes the reduction. ☐
A simple decidability argument. Observe that sentences in are, in fact, conjunctions of sentences in the solvable Skolem class. Combining this observation with Proposition 2 yields a simple decidability argument for , based on the earlier work of Goldfarb [17].
Using a probabilistic method, Goldfarb establishes the finite model property and decidability of the solvable Skolem class. Although his result is technically stated for a single sentence in the solvable Skolem class, whereas consists of conjunctions of such sentences, his argument extends seamlessly to this broader setting. Thus, we obtain the following result.
Corollary 3. The class has the finite model property. The satisfiability problem for the class is decidable.
Fiuk
5 The Complexity of : A Simpler Proof
In this section, we show the optimal NEXPTIME upper bound on the complexity of and . As this result is not new, we begin with a brief overview of the existing literature.
• Dreben and Goldfarb [7] showed that the solvable Skolem class (referred to as Class 2.4 therein) has the finite model property, with a doubly exponential bound on the size of constructed models. Later, Goldfarb [17] provided an alternative proof by extending the probabilistic method of Gurevich and Shelah [19] for the Gödel class. However, he proved only that, as the domain size tends to infinity, the probability that a random structure satisfies a given sentence converges to 1. A closer inspection of the argument yields at best a doubly exponential upper bound on the required domain size. Moreover, none of [7, 17] addresses the complexity of satisfiability, and only a naïve 2-NEXPTIME upper bound can be inferred. The optimal NEXPTIME upper bound for the solvable Skolem class follows instead from the corresponding upper bound for and is stated as a corollary in [11]. It also appears that standard proofs of the NEXPTIME upper bound for the Gödel class (see, e.g., [6, 35]) do not extend to the solvable Skolem class. In particular, these proofs exploit the fact that Gödel-class sentences admit only two universal quantifiers.
- A recent work [11] establishes that has the exponential model property and is therefore NEXPTIME-complete. However, the approach is technically involved. In the absence of a suitable Skolemisation procedure, the authors work directly with sentences featuring quantifier alternation, handled via a game-theoretic approach (the so-called satisfiability game in [11]). Satisfiability is characterised in terms of the existence of a winning strategy in this game. To obtain exponential bounds, equivalence relations on game positions are introduced to yield a compact representation of strategies. From such representations, finite models are constructed using technically intricate arguments: construction is based on so-called paradoxical tournament graphs with vertices labelled by game positions.
Our proof avoids the technical complications of [11] and yields the optimal NEXPTIME upper bound via a substantially simpler argument. Our plan is as follows.
In Subsection 5.1, we begin with two preliminary reductions that simplify the subsequent arguments. In Subsection 5.2, we provide a criterion for satisfiability of sentences in in terms of the existence of a combinatorial certificate, called a satisfiability witness, and show that this condition is both necessary and sufficient. For the sufficiency direction, we construct finite random models by refining Goldfarb's approach with a more detailed analysis of probabilities.
A purely random construction is not sufficient, as the size of satisfiability witnesses is, in general, doubly exponential. Therefore, in Subsection 5.3, we show that every satisfiable sentence admits a witness of exponential size. This part of the proof is inspired by [11]; however, thanks to our Skolemisation procedure, ideas of [11] are applied in a more direct setting.
5.1 Preliminary reductions
Standard names. In a structure , distinct constants may be interpreted by the same element, , which is inconvenient in the subsequent proofs. Hence, from this point until the end of the section, we adopt the standard name assumption: distinct constants denote distinct elements, and we identify each constant with its interpretation, that is, . This assumption is without loss of generality for both satisfiability and model-size bounds. Indeed, whenever , the constant can be replaced by throughout without affecting its satisfaction.
Goldfarb [16] also developed a probabilistic proof for a different fragment, called the Maslov–Krom class. This fragment is unrelated to the class K and should not be confused with it.
Fiuk
or the size of the model. Accordingly, we partition the domain as , where is the set of unnamed elements and is the tuple of constants in the signature.
Simple assignments. To avoid case distinctions, decidability proofs for the Gödel class (see, e.g., [19]) typically begin with a simple reduction that allows one to consider only pairs of distinct elements. Namely, an input sentence , with quantifier-free, is transformed into
where is a tuple of fresh variables of the same length as . Over domains of size at least two, this transformation preserves satisfiability. Its advantage is that the subsequent argument need only consider the case , since the case is accounted for by the second conjunct . Equality is used only as part of the reduction and is not allowed to occur in .
We generalise this idea to by introducing simple assignments, which map distinct variables to pairwise distinct unnamed elements. The reduction follows the same general scheme as for the Gödel class: it considers all possible equality patterns among the universal variables and constants. Consequently, the subsequent arguments become significantly cleaner, as it suffices to consider only simple assignments.
However, unlike in the Gödel-class case, carrying out the reduction is not immediate. Indeed, with an unbounded number of universal variables, the number of equality patterns is exponential in the sentence length. We address this issue by carefully controlling the relevant syntactic parameters and expressing the resulting model-size bounds in terms of the length of the input sentence. We formalise this convention as follows.
Given a structure and , we write for the set of all -tuples whose entries are pairwise distinct and unnamed. The following lemma establishes a reduction that allows satisfaction of sentences in to be verified by considering only tuples from .
Lemma 4. Every sentence can be reduced to a sentence over the same signature such that, with the notation of Definition 1 applied to , the following hold:
-
The sentences and are logically equivalent.
-
For every structure A with at least m unnamed elements,
Moreover, the reduction does not introduce new variables and the following bounds hold:
Proof. We fix an input sentence , and let be its signature. For the duration of this proof, the notation of Definition 1 refers to , rather than to the resulting sentence as in the statement of the lemma. Hence,
Let be an equivalence relation on . We call an equality pattern if no two distinct constants are -equivalent, and write for the set of all equality patterns.
For and , we define the -representative of as follows. If the -class contains a constant, then this constant is unique, and we take it as the -representative of . Otherwise, we take the variable with the least index . We denote by the substitution that maps each variable in to its -representative and fixes .
For and , let be obtained from by applying . We define
Fiuk
We claim that . To see this, fix and . Write . Recall that are the uniform variables of . Consider those among them that are their own e-representatives, that is, the variables such that and . If there are at least two such variables, select them as the uniform variables of . Otherwise, take to have no uniform variables. Let denote the number of the selected uniform variables. This selection does not necessarily satisfy the convention imposed in Definition 1, since it needs not form an initial segment of . This can be remedied, when necessary, by suitably renaming the universally quantified variables in .
We now define the partition atoms( ) = . If , we set
If , we instead set
In both cases, every atom in contains at most one variable, every atom in contains precisely the declared uniform variables, and every atom in contains the existential variable . Thus, every conjunct of belongs to , and hence .
It is straightforward to verify that and are logically equivalent. Indeed, since the variables in are universally quantified, already accounts for all possible identifications among variables and substitutions by constants. The constructed sentence merely makes this fact explicit through considering all equality patterns.
This explicit treatment of equality patterns allows satisfaction of over any structure with at least unnamed elements to be verified by considering only tuples from . To see this, take a tuple and write . Let be the equivalence relation generated by
Distinct constants cannot be identified because we work under the standard name assumption. Hence, is an equality pattern. We construct a tuple in two steps. First, for every -representative variable , its -class contains no constant, and we set the th entry of as in . These entries are pairwise distinct and unnamed. Second, using the assumption that has at least unnamed elements, we fill the remaining positions with fresh unnamed elements so that all entries of are pairwise distinct. The definition of then ensures that
Thus, witnesses for all tuples in suffice to provide witnesses for arbitrary tuples.
It remains to bound the increase in the relevant syntactic parameters. The first two bounds of the lemma are immediate. The number of conjuncts of is , and every introduced conjunct satisfies . We now establish the third bound, namely, that the total number of distinct -atoms occurring in conjuncts of uniformity at least 2 remains quadratic in the size of the input sentence.
Fix . For every with , we have . It therefore suffices to bound the number of distinct images of each atom under the substitutions .
Suppose that for some . For every , the substitution maps either to some variable , with , or to a constant in . Hence, as ranges over , the atom has at most distinct images.
Fiuk
Consequently,
Since and , the desired quadratic bound follows.
5.2 A Satisfiability Criterion
For the rest of this section, we fix an input sentence and let be the sentence obtained from by Lemma 4. Let denote their common signature. Unless stated otherwise, we consider only -structures with at least unnamed elements. From this point on, the notation of Definition 1 always refers to the components of , while is retained only to record the size of the input. This distinction is important because the reduction incurs an exponential blow-up, whereas the model-size bounds established below must be stated in terms of rather than . For this purpose, Lemma 4 also records precise bounds on the relevant syntactic parameters of . The significance of these bounds will become clear in Subsection 5.3.
Satisfiability witnesses. Following [17], we characterise satisfiability of in terms of the existence of a collection of outer-types satisfying suitable realisability and extension properties.
We first characterise, in combinatorial terms, when a collection of outer-types corresponds to the set of all k-outer-types for realised in a structure in which every realised 1-type has at least distinct realisations. This is captured by the notion of -realisability.
Definition 5. A set of outer-types is -realisable if the following conditions hold:
• S contains a unique 0-type, and every other outer-type is consistent with it.
• S contains at least one 1-type.
• S is closed under automorphisms of outer-types induced by permutations of variables.
• For every and every -outer-type , for every .
- For every and all 1-types , there exists a k-outer-type such that for every .
Suppose for a moment that we want to construct a model of using only outer-types from a fixed -realisable set S. A natural approach is to proceed inductively as follows.
Suppose that a structure has already been constructed. We select a tuple , representing an assignment to the universal variables, and an index of a conjunct that is unsatisfied for , that is, . We then extend in three steps. First, we introduce a fresh element to serve as a witness. Next, we define the -type of the extended tuple so that . Finally, using -realisability of , we complete the structure by choosing outer-types from for the remaining tuples involving .
For such a construction to succeed, two properties must be satisfied. First, the chosen -type must be compatible both with the m-type already realised by and with the collection S of allowed outer-types. Second, it must be possible to assign outer-types from S to the remaining tuples involving b consistently with the facts already defined.
We defer the second issue and focus for now on capturing the first at the level of types.
An -requirement is any -type that induces only outer-types from . An -extension of is any -type that extends , satisfies , and likewise induces only outer-types from . The -extension property requires that every -requirement has an -extension for every index . Formally:
Fiuk
Definition 6. Let . An m-type is an -requirement if . Given , an -extension of is an -type such that and .
The set S has the -extension property if, for every S-requirement and every , there exists an -extension of .
We combine the notions of -realisability and the -extension property in the following definition of a satisfiability witness. As we show subsequently, is satisfiable if and only if there exists a collection of outer-types with these two properties.
Definition 7. A set of outer-types is called a satisfiability witness for if it is -realisable and has the -extension property.
Completeness. The notion of a satisfiability witness is complete: whenever is satisfiable, it admits a satisfiability witness. This is established by the following argument.
We begin with an auxiliary claim describing a type-surgery operation that allows us to transfer witnessing extensions between m-types while controlling the induced outer-types.
Claim 8. Fix , and let be m-types such that
-
for every ;
-
for every .
Let be an -type extending and satisfying , and define . Then is an -type extending and satisfying . Moreover, .
Proof. Clearly, extends . We now verify that . Replacing by preserves the truth values of all atoms in . Moreover, since every atom in contains , its truth value is determined by the literals in and is therefore the same in as in . Thus, every atom of has the same truth value in and . Since , it follows that .
It remains to verify the inclusion of induced outer-types. Since and agree on the induced 1-types, and the literals in are retained in , every outer-type induced by that involves is also induced by . Every remaining outer-type induced by is induced on some of the first variables, and hence is induced by . Therefore, .
We now return to the completeness argument. Let . We first transform into a new structure by taking its infinite unfolding, constructed as follows. The domain consists of countably many copies of each element of and is identified with , where is identified with the constant . For every relation symbol of arity , we define
By a standard argument, . Moreover, for every and every , there exists an unnamed element not occurring in such that . Indeed, every element , including one identified with a constant, is indistinguishable from its copy . Hence, any witness for can be replaced by an unnamed copy not occurring in .
Let consist of all -outer-types, for , realised in . We claim that is a satisfiability witness for .
By construction of , every realised 1-type has infinitely many distinct realisations. It directly follows that is -realisable. It remains to verify the -extension property.
Fix and let be a -requirement. Consider the atoms in , that is, those that contain only universal variables. The atoms in depend only on the 1-types induced by , while those in depend only on the outer-type induced on the uniform variables . Hence, although itself need not be realised in , we can choose a tuple that agrees with on . Indeed, we first choose distinct unnamed elements realising
Fiuk
. We then choose distinct unnamed elements , also distinct from the preceding ones, such that for every .
Let and . Then extends and satisfies . By the choice of , the types and agree on all atoms in and induce the same sequences of 1-types. Hence, Claim 8, applied to and , shows that extends , satisfies , and . Since is a -requirement, we have . Moreover, is realised in , and hence . Therefore, , so is a -extension of .
Consequently, W has the -extension property and is therefore a satisfiability witness for .
Random models. We now establish the more interesting direction, namely that the notion of a satisfiability witness is sound for finite satisfiability: whenever admits a satisfiability witness, it has a finite model. The proof follows Goldfarb's probabilistic approach [17], but refines the probability analysis to obtain an explicit bound on the size of the constructed models.
The randomised construction relies on a simple observation, which we call the independence property for outer-types. Once the 1-types of the elements have been fixed, outer-types can be assigned independently to distinct sets of elements, provided that they are consistent with these 1-types. For each such set, it suffices to choose the outer-type of a single ordering; those of all other orderings are then determined by the corresponding permutations of variables.
This independence property fails for ordinary types. To see this, consider and . Even after the 1-types of the elements have been fixed, the 3-types of and cannot be chosen independently: the literals in the type of and in the type of both determine the truth value of and must therefore agree. By contrast, 3-outer-types avoid this dependence by omitting such literals with two distinct variables.
We now proceed to the construction. Fix a satisfiability witness for . Let be a parameter, to be determined later, specifying the number of unnamed elements in the domain. We construct a finite -structure with domain in three steps:
-
For every , choose uniformly at random a 1-type , and set .
-
For every and every , choose uniformly at random a -outer-type such that for every . Since is -realisable, at least one such -outer-type exists. By the independence property for outer-types, can be assigned to without affecting the outer-type assigned to any other tuple with a different set of underlying elements. Thus, set .
-
Set to false the truth values of all facts with more than distinct unnamed elements.
The construction of is now complete. In particular, recall that types and outer-types also include literals involving constants. Thus, all facts involving them are implicitly defined.
We now show that once the parameter is sufficiently large. For the proof, let and .
Claim 9. Let and let . Then .
Proof. Write and condition on the type . By construction of , every outer-type induced by belongs to , and hence is a -requirement. Since is a satisfiability witness, admits a -extension .
Fix an element . We lower-bound the probability that is a witness for , that is, that . Since , it suffices that every atom of has the same truth value on as in , namely,
Since extends , the atoms in already have the required truth values. It therefore remains to consider the atoms in . For an atom with ,
Fiuk
the required truth value is ensured whenever
Let be the event that (4) holds for every . For this event to occur, the 1-type of must agree with the 1-type induced by on , and the outer-type of every relevant tuple must agree with the corresponding outer-type induced by .
Each of the above requirements is an admissible choice in the random construction, and each of them is made uniformly from a set of at most possibilities. As there are at most such requirements, the product rule for probabilities gives
Now let . The events are mutually independent, conditional on . Indeed, for distinct , the events and depend on disjoint random choices, except for the 1-types of the elements of , which are fixed by the conditioning. Consequently, the probability that no element provides a witness for is at most
Since , we obtain . As the final bound is independent of , the condition may be dropped.
We now bound the probability that the sampled structure fails to satisfy . By the form of , we have precisely when for every and every tuple . For every such pair and , Claim 9 gives . Taking the union bound over all and , and using , we obtain
For fixed and , the right-hand side of (7) tends to 0 as , since its polynomial factor is dominated by the exponentially decreasing factor . Thus, for sufficiently large , . Consequently, there exists a finite model of .
A more careful analysis of (7) gives the following quantitative version of the result, which will be needed for our complexity bounds.
Lemma 10. Let , and let be obtained from by the reduction of Lemma 4. Given a satisfiability witness for , the sentence admits a finite model with domain size
Proof. It suffices to choose p so that the right-hand side of (7) is strictly smaller than 1. For convenience, we impose the stronger requirement that it be at most 1/e, that is, we require
Taking natural logarithms, inequality (8) is equivalent to
Using for , it suffices that
Rearranging, this is equivalent to
Fiuk
Bounding each of , m, and 1 by , it suffices that
Absorbing the lower-order terms, it is enough to require
Since for all , inequality (13) is satisfied whenever
Thus, it suffices to take .
By Lemma 4, and . Consequently, for
the random model construction yields a model of the claimed size.
5.3 Exponential-Size Certificates
We retain the notation from Subsection 5.2: the input sentence , its conversion given by Lemma 4, and the signature . In this subsection, using techniques from [11], we show that whenever is satisfiable, it admits a satisfiability witness of size exponential in . Stating the bound in terms of is important, because is exponentially larger than .
Obtaining the desired bound is not immediate. A straightforward estimate on the number of possible k-outer-types gives a doubly exponential bound in the size of the signature . In the presence of constants and relation symbols of unbounded arity, this bound is already attained at . Thus, simply counting all outer-types that may occur in a satisfiability witness yields only a doubly exponential bound. To obtain a singly exponential bound, we act as follows.
We start with an arbitrary satisfiability witness for and reduce its size in two stages. First, we reduce the number of 1-types occurring in , obtaining a new witness . This step may, in fact, increase the number of k-outer-types for . Second, we take the witness and reduce the number of k-outer-types for while preserving the number of 1-types. This way we obtain the final witness which is exponentially bounded in .
Reduction of 1-types. Recall that the notation of Definition 1 refers to , and, in particular, that atoms . For the construction, we define the auxiliary sets
For brevity, we introduce the following notation for the relevant set sizes:
We reduce the number of 1-types occurring in by introducing a family of equivalence relations. For and 1-types , define if
Above, the notation stands for the substitution replacing every variable with . Let denote the number of equivalence classes of . By definition,
For every , we fix a choice function that selects a representative from each equivalence class of . For convenience, for a 1-type , we write for the chosen -representative of .
Fiuk
More generally, let be a k-outer-type and let . For every , let and . We write for the k-outer-type obtained from by replacing each induced 1-type by , and leaving all other literals unchanged; formally:
where denotes the result of substituting the variable by in the 1-type .
Observe that replacing the induced 1-types leaves unchanged every literal involving at least two distinct variables. Moreover, since all 1-types under consideration belong to W, they induce the same 0-type, and hence the variable-free literals remain unchanged as well. Therefore, the outer-types and may differ only in literals involving precisely one variable.
We now define
We claim that the set defined above is again a satisfiability witness for . Before formalising and proving this claim, we introduce one auxiliary notion.
Given a consistent set of literals over variables , a -completion of is a -type such that and . Whenever is obtained by consistently fixing the 1-types and some outer-types from , -realisability of ensures that a -completion exists. Indeed, for each remaining set of variables, -realisability provides an outer-type from consistent with the prescribed 1-types, while the independence property for outer-types allows these choices to be made independently of the outer-types already fixed.
Claim 11. The set is a satisfiability witness for .
Proof. A routine verification of the definition shows that is -realisable.
To establish the -extension property for , fix a -requirement and . Write
By construction of , we can choose an -outer-type and indices such that . Moreover, for every , we can choose such that . We now construct a -requirement in three steps:
-
Set .
-
For every , set .
-
Using -realisability of W, take a W-completion of the resulting set of literals.
Since W is a satisfiability witness, admits a -extension . Write
We next define an -type in two steps:
-
Set .
-
Replace the 1-type induced on by setting .
We claim that the resulting -type is a -extension of . Clearly, extends , so it remains to verify that and that .
Before verifying these two properties, we record the key properties of the construction:
and
Figure 1 illustrates the above relationships among the types in the construction. The upper row represents and its extension , while the lower row represents the corresponding types and . The individual circles represent the 1-types and , whereas the
Fiuk

Figure 1: In the figure abbreviates .
large rounded regions represent the outer-types and on the uniform variables . The vertical arrows indicate the applications of chc with the displayed parameters. Finally, the braces indicate which variables are covered by , and .
We first verify that . Since , it suffices to show that every atom of has the same truth value in as in . Recall that, by convention, . We first consider the case and examine the possible forms of an atom .
(a) Suppose that and for some . Since , we have . Hence, by the definition of and , we have .
(b) Suppose that and for some . Since , we directly obtain .
(c) Suppose that . Then involves precisely the uniform variables , and hence its truth value in is determined by the induced outer-type , whereas its truth value in is determined by . By construction, . Since the mapping changes only the induced 1-types, it preserves all literals involving at least two distinct variables. As involves precisely distinct variables, we obtain .
Fiuk
(d) Suppose that . Then is determined by the 1-type induced on . Since , the definition of yields .
(e) Finally, suppose that . Then contains and at least one further variable. Its corresponding literal is contained in , but does not belong to the 1-type induced on . It is therefore retained in . Hence, .
Since the cases above collectively cover all atoms of , it follows that .
We now consider the case . The argument above applies with only minor simplifications. In this case, and are simply the 0-type of , so no choice of 1-types is involved in their construction. Moreover, cases (a) and (c) cannot occur, while all remaining cases apply verbatim. Thus, also when .
We now verify that . Since extends and is a -requirement, every outer-type induced by on any sequence of the first variables already belongs to . It remains therefore to verify outer-types induced on sequences involving . Hence, consider such a sequence of pairwise distinct variables . Let . Since is a -extension, we have . By construction of ,
Hence, by the construction of , . Thus, .
We have shown that extends , satisfies , and induces only outer-types from . Therefore, is a -extension of , as claimed.
Reduction of witness size. We now reduce the size of by introducing another family of equivalence relations, this time on the -requirements.
For and -requirements , we define if
• for every ;
• for every .
Let denote the number of equivalence classes of . There are sequences of 1-types of length and at most truth assignments to the atoms in . Hence,
We construct the final set of outer-types in two stages:
-
For each and each equivalence class of , choose a representative and a -extension of , and include all outer-types from .
-
For each and each sequence of 1-types , choose a single -outer-type such that for every , and include all -outer-types obtainable from by permuting variables.
Claim 12. The set is a satisfiability witness for .
Proof. We first verify the -extension property. Let be any -requirement and let . Since , the type is also a -requirement. Let be the representative of the -class of selected in stage 1, and let be the selected -extension of . By Claim 8, extends and satisfies . Moreover, every outer-type induced by is induced either by or by . The former belong to by stage 1, while the latter belong to because is a -requirement. Hence, is in fact a -extension of .
It remains to verify that is -realisable. The outer-types included in stage 1 already satisfy all conditions of -realisability except, potentially, the condition requiring every sequence of 1-types of length at most to be induced by some outer-type. The outer-types included in stage 2 ensure that this remaining condition is satisfied.
Fiuk
Size bound. An -type can induce at most distinct outer-types. For each equivalence class of , stage 1 includes all outer-types induced by one selected -type extending the representative of . Moreover, stage 2 includes at most additional outer-types for every sequence of 1-types of length at most . Therefore,
Combining inequalities (17), (18), and (19) yields
By Lemma 4, , , and , , , and are all . Substituting these bounds into (20) gives .
We have therefore established an exponential bound on the size of minimal satisfiability witnesses. By applying Lemma 10 to such a witness, we obtain that every satisfiable sentence in admits a model of exponential size. Hence, has the exponential model property and its satisfiability problem is in NEXPTIME.
For the lower bound, recall that subsumes the Scott normal form of equality-free , whose satisfiability problem is NEXPTIME-hard; see, e.g., [35].
Theorem 13. The class has the exponential model property. The satisfiability problem for is NEXPTIME-complete.
6 The Decidability of with Equivalence
In this section, we study extensions of with distinguished equivalence and transitive relations. Our main result is that satisfiability for extended with a single equivalence relation is 2-NEXPTIME-complete. We also show that allowing two equivalence relations, or a single transitive relation, leads to undecidability. We begin by introducing the relevant notation.
Notation. For a fragment , we write for its extension with a single distinguished binary relation symbol , called the equivalence symbol. Models are restricted to structures in which is interpreted as an equivalence relation. More generally, for , we write for the extension with distinguished equivalence symbols .
We write for the extension with a single distinguished binary relation symbol , called the transitive symbol, whose interpretation is required to be transitive. Analogously, we write for the extension with a single distinguished binary relation symbol , called the reflexive-transitive symbol, whose interpretation is required to be both reflexive and transitive.
Free use. In , the equivalence symbol may, without loss of generality, be used freely, meaning that atoms involving need not satisfy the restrictions of on -prefixes. Indeed, assuming that the sentence is in negation normal form, which we may always do, every literal involving can be rewritten using the equivalence
where z is fresh. Since E is interpreted as an equivalence relation, the rewriting is sound, and both introduced occurrences of E have -prefixes ending with an existential quantifier.
The same observation applies to : the distinguished symbol may, without loss of generality, be used freely. Indeed, the above rewriting applies to any reflexive and transitive relation. This is the reason why we consider a distinguished reflexive-transitive relation rather than merely a transitive one. For the undecidability results established below, however, this entails no loss of generality: reflexivity can itself be expressed in by the sentence .
Fiuk
6.1 Lower Bounds and Undecidability
We now establish the 2-NEXPTIME lower bound for and show that the closely related extensions and are already undecidable.
Lower bounds. Kieroński and Kuusisto [25] studied the uniform one-dimensional fragment with free use of the equivalence symbol ; under our convention, this logic is denoted by . They proved that satisfiability for is 2-NEXPTIME-complete, with the lower bound already holding for the equality-free fragment. A direct inspection of their construction in [25, Section 5.1] shows that, up to straightforward logical manipulations, all formulas used there belong to . In particular, free occurrences of are permitted by (21). Moreover, since all relation symbols involved in the construction are unary or binary, the resulting conjuncts can all be taken to have uniformity 2 and hence merged into a single sentence. Thus, satisfiability for is 2-NEXPTIME-hard.
We strengthen this lower bound by restricting the non-distinguished part of the signature to unary predicates. Let MON denote the monadic fragment of equality-free, constant-free FO, that is, the class of all equality-free sentences over signatures containing only unary predicate symbols. We consider its extension MON + E, in which the distinguished equivalence symbol E is the only binary symbol available and can be used freely. By reducing from the doubly exponential grid tiling problem, we show that the 2-NEXPTIME lower bound holds already for MON + E. The details of this reduction are deferred to Appendix A.
Proposition 14. The satisfiability problem for MON + E is 2-NEXPTIME-hard.
Since MON and free use of is permitted by (21), we have MON + . Thus, Proposition 14 in particular yields the 2-NEXPTIME lower bound for .
Undecidability. In the same work, Kieroński and Kuusisto [25, Section 5.5] proved that satisfiability for with either free use of two equivalence symbols or free use of a single transitive symbol is undecidable. Under our convention, these logics are denoted by and , respectively. Inspection of their constructions shows that all non-distinguished relation symbols used in the reductions are in fact unary. Consequently, their results already yield undecidability of and .
Since free use of the equivalence symbols is permitted by (21), it follows directly that satisfiability for is undecidable. In contrast, the rewriting in (21) cannot be applied to a merely transitive relation, since both reflexivity and transitivity are required. We therefore modify the construction for MON+T by adding all self-loops to the distinguished relation. This makes the relation reflexive while preserving transitivity and, by inspection of the construction, does not affect the correctness of the reduction. Hence, satisfiability is undecidable already for MON+T* and, by (21), also for . We provide further details in Appendix A.
Proposition 15. The satisfiability problems for MON+2E and MON+T* are co-RE-complete.
6.2 An Upper Bound
We now turn to the main result of this section: the decidability of . More precisely, we establish a 2-NEXPTIME upper bound, matching the lower bound from Subsection 6.1.
The Skolemisation procedure of Proposition 2 remains sound for . Indeed, the input sentence and its Skolem normal form are satisfied in precisely the same structures, up to the interpretation of the fresh predicates introduced during the reduction. In particular, the intended interpretation of the equivalence symbol E is preserved. Hence, we work with rather than the full class .
Fiuk
The two preliminary reductions from Subsection 5.1 extend to as well: we may adopt the standard name assumption and apply Lemma 4 to reduce to simple assignments.
Accordingly, from this point on we adopt the standard name assumption, fix an input sentence , and let be the sentence obtained from by Lemma 4. As before, is retained only for measuring the input size, while all subsequent arguments concern . We use for the notation introduced in Definition 1.
Let be the base signature of , consisting of the free relation symbols and constants, and let be the full signature of , obtained by extending with the equivalence symbol .
Class labels. Our first step is to encode the equivalence classes of by unary predicates. For each , introduce a fresh unary predicate , called a class label, and let . We use the auxiliary signature , obtained from the base signature by adding the class-label predicates. Note that, by construction, the signature is countably infinite.
Given a -structure in which is an equivalence relation, we associate with it a -structure by assigning a distinct class label to each equivalence class. More precisely, enumerate the classes in and assign to each one previously unused class label by interpreting . If is finite, all unused class labels are interpreted as empty.
Thus, now every element carries exactly one class label, and two elements are E-equivalent precisely when they carry the same label, that is, for every elements ,
We then forget the interpretation and view as a -structure. No information is lost in doing so, since can be recovered entirely from the class labels using the above equivalence. Conversely, any -structure in which every element carries exactly one class label induces in this way an equivalence relation, which we take as the interpretation of . Accordingly, from this point on we work exclusively with the signature and regard as implicitly encoded. Under this convention, can still be evaluated in -structures. Importantly, has no direct access to the predicates and can only use the derived relation .
Types and outer-types. We henceforth work with types and outer-types over the auxiliary signature . They are defined as before, with the additional requirement that every variable or constant occurring in a type or outer-type satisfies exactly one class-label predicate. Thus, despite the infinite signature , individual types and outer-types admit finite descriptions: each is represented by its -reduct together with the class labels of its variables and constants.
As with -structures, we adopt the convention that in a type or outer-type the equivalence relation E is induced by the class-label predicates .
The following terminology will be convenient. A class label occurs in a type or outer-type if contains a positive -literal involving a variable or a constant; the corresponding variable or constant then carries the class label . A 1-type carries a class label if . More generally, occurs in a set of outer-types if it occurs in one of its members.
Satisfiability witnesses. We adapt Definitions 5 and 6, and consequently Definition 7, to the present setting by taking all types and outer-types occurring in those definitions over . Apart from this change of signature, the definitions remain unchanged. In particular, satisfiability witnesses may now be infinite.
The notion of a satisfiability witness remains complete, that is, whenever is satisfiable, it admits a satisfiability witness. This is established by the argument from Subsection 5.2, which applies unchanged to the class-label encoding.
It remains to establish the converse direction with suitable size bounds. We show that whenever admits a satisfiability witness, it admits a finite satisfiability witness of size doubly
Fiuk
exponential in . We then apply the random model construction of Subsection 5.2 to obtain a finite model of doubly exponential size. This yields the desired 2-NEXPTIME upper bound.
Local reduction of 1-types. Fix a satisfiability witness W for . In W, the number of 1-types carrying any fixed class label may be doubly exponential. Our first step is to reduce this number to singly exponential. This reduction is crucial for obtaining the optimal 2-NEXPTIME upper bound; without it, the resulting complexity bound would be only 3-NEXPTIME.
We adapt the strategy from Subsection 5.3. Recall that there, for every , we introduced an equivalence relation on 1-types. In the present setting, we refine by additionally requiring equivalent 1-types to carry the same class label.
Let the sets and be as in (16), and let denote the substitution identifying every variable with . For and 1-types , we set if
-
for every ;
-
and for some .
For every , fix a choice function selecting representatives of -classes. Recall from Subsection 5.3 that, for a -outer-type and , we write for the -outer-type obtained from by replacing each induced 1-type with , while leaving all remaining literals unchanged.
We now define
The definition of differs from that used in Subsection 5.3 only in that 1-type replacements are additionally required to preserve class labels. The argument of Claim 11 extends naturally to account for the additional predicates . Thus, is a satisfiability witness for .
It remains to bound the number of 1-types carrying a fixed label. Let and . Fix . For a given , there are at most distinct -classes carrying the label . As retains one representative for each -class for each , we obtain
By Lemma 4, the right-hand side of (22) is . Therefore, the number of 1-types in carrying any fixed class label is singly exponential in , as desired. At this stage, however, may still be infinite, since infinitely many distinct class labels may occur.
Profiles of class labels. Our next goal is therefore to transform the satisfiability witness into one with only finitely many class labels. The key observation is that class labels carrying the same collection of 1-types, up to the choice of the class label itself, should be interchangeable. To make this idea precise, we associate with each class label a profile recording this collection of 1-types and, additionally, the constants carrying that label. We then close under interchanges of labels having the same profile. This will allow us to discard all but a bounded number of labels of each profile: whenever a discarded class label is needed to provide an existential witness, it can be replaced by one of the retained labels of the same profile.
For every , let
and
.
We call the pair the profile of the class label .
The set records the underlying 1-types over the base signature that carry the class label , while records the constants carrying that label. Hence, the number of distinct profiles is clearly finite. More precisely, it is at most doubly exponential in .
Fiuk
Indeed, by (22), the number of distinct sets is bounded by
The second component contributes only linearly many additional possibilities: if , then no other class label has the same profile as .
A highly symmetric witness. We now close under permutations of class labels having the same profile. We say that a bijection is profile-preserving if
A profile-preserving bijection acts on types and outer-types by renaming class labels: each literal is replaced by , while all other literals remain unchanged. We then set
We claim that is a satisfiability witness. First, observe that for every 1-type and every profile-preserving bijection , we have . It follows that the construction of preserves the 1-types: . Consequently,
It follows directly that is -realisable. Indeed, let be 1-types, where . By (24), . Since is -realisable, there exists a -outer-type inducing . By the identity bijection, we have , and hence . The remaining conditions of -realisability are straightforward.
We next verify the -extension property. Fix and a -requirement . Write
Thus, is the outer-type induced on the uniform variables , while are the 1-types induced on the remaining universal variables.
Since is a -requirement, we have . Choose a profile-preserving bijection witnessing this membership, that is, such that . By (24), each 1-type is in .
We now construct a -requirement in three steps:
-
Set .
-
For every , set .
-
Using -realisability of , take a -completion of the resulting set of literals.
Recall from Subsection 5.3 that a -completion of a set of literals is any -type such that and . Therefore, the constructed -type is indeed a -requirement.
Let be a -extension of , and set . By steps 1 and 2, the -types and agree on all atoms in and induce the same sequences of 1-types. In particular, they agree on the class-label literals. Hence, Claim 8, which extends unchanged to the class-label encoding, yields that extends , satisfies , and . Since is a -requirement, . Since is a -extension, , and therefore . Thus , so is a -extension of .
A finite witness. We now retain only finitely many class labels of each profile. For every profile , let , and choose such that .
Write . Let consist of the outer-types in in which every variable carries a class label with . Formally, for every and every -outer-type ,
Note that class labels carried by constants are retained: if , then .
Fiuk
Claim 16. The set is a satisfiability witness for .
Proof. It is straightforward to verify that is -realisable. To verify the -extension property, fix and a -requirement . Since , the -type is also a -requirement, and hence admits a -extension . Let be the class label carried by the variable in , and let . If , then is already a -extension of .
Suppose otherwise. Then and . Since the variables occurring in carry at most distinct class labels, there exists that is not carried by any of them. As , the transposition exchanging and is profile-preserving. Moreover, it fixes , while replacing the label of by the retained label . Since is closed under profile-preserving bijections, the image of under this transposition is a -extension of . Since all labels occurring in are retained in , it is in fact a -extension of .
Size bound. We now bound the size of . Each outer-type in is described by its -reduct and the class labels carried by its variables and constants. For every , the number of all -outer-types over is . Since at most class labels are retained for each profile , the number of class labels occurring in is at most times the bound in (23), and hence at most . Therefore, is doubly exponential in .
We now take the reduct of obtained by forgetting the class-label predicates, which are no longer needed. The resulting collection can be viewed as a satisfiability witness over the ordinary finite signature. The random model construction of Subsection 5.2 therefore applies without change. Hence, Lemma 10 yields a doubly exponential bound on model size.
Theorem 17. The class has the doubly exponential model property. The satisfiability problem for is 2-NEXPTIME-complete.
7 Remarks on Equality
Extending the class with equality makes satisfiability undecidable, under the convention that equality atoms are treated syntactically as ordinary atoms. This follows directly from the undecidability of the prefix class with equality [15]. In this section, we investigate syntactic restrictions on the use of equality in that preserve decidability of satisfiability.
Nominals. Let denote the extension of in which equality atoms may contain at most one variable. Thus, equality atoms may have the forms , , and , where is a variable and are constants. Such atoms are treated syntactically as ordinary atoms with at most one variable. For example, contains sentences such as
which requires P to have at most one realisation.
Nevertheless, satisfiability for is undecidable. We show this by a reduction from the equality-free and constant-free prefix class , whose satisfiability is undecidable [23, 6].
Fix such a sentence , where is equality-free and constant-free. For every relation symbol occurring in , introduce a fresh relation symbol whose arity is one greater than that of . Let be obtained from by replacing every atom by , where is fresh. Letting be the same predicate as in the sentence , define
Fiuk
The sentence belongs to with no uniform variables. Indeed, every atom of contains and hence has a -prefix ending with the existential quantifier . Moreover, is satisfiable if and only if is satisfiable. Consequently, satisfiability for is undecidable.
The preceding reduction crucially relies on introducing relation symbols of arity at least 3. Indeed, for a binary relation symbol , the formula is equivalent to . The latter contains only one variable, so its -prefix has length at most 1 and therefore satisfies the restrictions of . This is not a coincidence, as shown by the following proposition.
Proposition 18. The satisfiability problem for is decidable over signatures containing only unary and binary relation symbols.
Proof. Fix a sentence over a signature such that every relation symbol in is unary or binary. Introduce a fresh unary relation symbol Con, intended to distinguish the elements named by constants from the unnamed elements.
We first conjoin to the sentence , asserting that every constant satisfies Con, and then systematically replace each subformula of the form by
and each subformula of the form by
Thus, every quantified variable is explicitly split according to whether it is interpreted by an unnamed element or by a constant.
After this expansion, all equality atoms can be eliminated. Atoms of the forms and with are replaced by , while atoms of the forms and are replaced by . Indeed, an atom occurs only in a part of the formula in which ranges over unnamed elements, while distinct constants denote distinct elements by the standard name assumption.
Let be the resulting equality-free sentence. Then belongs to . Indeed, substituting a constant for a variable in an atom of arity at most 2 leaves at most one variable in that atom. Hence, every new -prefix arising from such a substitution has length at most 1.
By construction, is satisfiable if and only if admits a model in which no unnamed element satisfies Con. This additional requirement can be dropped. Indeed, all quantifiers in are relativised to Con, so unnamed elements satisfying Con can simply be discarded without affecting satisfaction of .
Proposition 18 is particularly relevant from the perspective of description logics; see [3] for a comprehensive introduction. Their signatures typically consist of unary relation symbols, representing concepts, and binary relation symbols, representing roles. Over such signatures, remains quite expressive. For example, it contains sentences such as
which requires every three elements to have a common E-successor. The extension additionally allows nominals, that is, singleton concepts, to be expressed.
Equality in prenex conjuncts. We now consider a different approach to incorporating equality into . Rather than allowing equality atoms directly in sentences, we ask whether decidability can be preserved by conjoining a sentence of with a sentence from some fragment with equality. Thus, we consider sentences of the form with and .
To obtain a meaningful classification, we restrict attention to prenex classes. The reduction establishing undecidability of already shows that undecidability arises when is extended by a single fixed sentence with prefix and one constant. The constant can be avoided
Fiuk
at the cost of a slightly longer prefix: undecidability persists for a single fixed sentence with prefix or . Indeed, in the reduction for , it suffices to replace by either of the sentences enforcing that has at most one realisation:
For a sentence , let denote the class of sentences of the form with ranging . By the argument above, satisfiability for each of , , and is undecidable, with the latter two results holding even over constant-free signatures.
By the considerations above, the only remaining choices for among prenex classes are over signatures with constants and over constant-free signatures. The former case is immediate: we can replace every variable by a fresh constant, and subsequently eliminate equality using the standard name assumption. We therefore focus on the latter. As we show next, this case yields a decidable formalism as well.
Let denote the class of sentences of the form , where and is quantifier-free, equality-free, and constant-free. Let denote the analogous class in which equality is allowed in . We first observe that equality can be eliminated from .
Lemma 19. Let be a signature, and let be a fresh binary relation symbol. For every sentence over , one can construct a sentence over such that and every model of admits a -expansion that satisfies .
The lemma follows by setting in [6, Proposition 6.3.31], where denotes the number of leading existential quantifiers in the prefix class . Although the proposition itself states a weaker condition than , in the special case , its proof in fact yields this entailment.
We now define the class of interest to consist of sentences of the form
By Lemma 19, every conjunct can be replaced by an equality-free conjunct, and the latter class is a syntactic subfragment of . More precisely, we apply the lemma separately to each conjunct, introducing a fresh binary relation symbol each time. This yields an equisatisfiable conjunction of sentences, and thus a reduction to satisfiability for .
Proposition 20. The satisfiability problem for is decidable over signatures without constant symbols.
Acknowledgment. The author thanks Emanuel Kieroński for discussions, and the reviewers of LPAR 2026 for their comments. The author is supported by Polish National Science Center, grant No. 2021/41/B/ST6/00996.
References
[1] Wilhelm Ackermann. Über die Erfüllbarkeit gewisser Zählausdrücke. Mathematische Annalen, 100:638–649, 1928.
[2] Hajnal Andréka, István Németi, and Johan van Benthem. Modal languages and bounded fragments of predicate logic. J. Philos. Log., 27(3):217–274, 1998.
[3] Franz Baader, Ian Horrocks, Carsten Lutz, and Ulrike Sattler. An Introduction to Description Logic. Cambridge University Press, 2017.
[4] Vince Bárány, Georg Gottlob, and Martin Otto. Querying the guarded fragment. Log. Methods Comput. Sci., 10(2), 2014.
Fiuk
[5] Bartosz Bednarczyk, Daumantas Kojelis, and Ian Pratt-Hartmann. On the limits of decision: the adjacent fragment of first-order logic. In Kousha Etessami, Uriel Feige, and Gabriele Puppis, editors, 50th International Colloquium on Automata, Languages, and Programming, ICALP 2023, Paderborn, Germany, July 10-14, 2023, volume 261 of LIPIcs, pages 111:1–111:21. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2023.
[6] Egon Börger, Erich Grädel, and Yuri Gurevich. The classical decision problem. Perspectives in Mathematical Logic. Springer, 1997.
[7] Burton Dreben and Warren D. Goldfarb. The Decision Problem: Solvable Classes of Quantificational Formulas. Addison-Wesley, 1979.
[8] Christian G. Fermüller, Alexander Leitsch, Ullrich Hustadt, and Tanel Tammet. Resolution decision procedures. In John Alan Robinson and Andrei Voronkov, editors, Handbook of Automated Reasoning (in 2 volumes), pages 1791–1849. Elsevier and MIT Press, 2001.
[9] Christian G. Fermüller, Alexander Leitsch, Tanel Tammet, and N. K. Zamov. Resolution Methods for the Decision Problem, volume 679 of Lecture Notes in Computer Science. Springer, 1993.
[10] Oskar Fiuk and Emanuel Kieronski. Alternating quantifiers in uniform one-dimensional fragments with an excursion into three-variable logic. Log. Methods Comput. Sci., 21(1), 2025.
[11] Oskar Fiuk, Emanuel Kieronski, and Vincent Michielini. On the complexity of Maslov's class K. In Pawel Sobocinski, Ugo Dal Lago, and Javier Esparza, editors, Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2024, Tallinn, Estonia, July 8-11, 2024, pages 35:1–35:14. ACM, 2024.
[12] Сергей Ю. Маслов. Обратный метод установки выводимости для логических вычислений. Тр. МИАН СССР, 98:25–95, 1968.
[13] Harald Ganzinger, Christoph Meyer, and Margus Veanes. The two-variable guarded fragment with transitive relations. In 14th Annual IEEE Symposium on Logic in Computer Science, Trento, Italy, July 2-5, 1999, pages 24–34. IEEE Computer Society, 1999.
[14] Kurt Gödel. Zum Entscheidungsproblem des logischen Funktionenkalkuils. Monatshefte für Mathematik und Physik, 40:433–443, 1933.
[15] Warren D. Goldfarb. The unsolvability of the Gödel class with identity. J. Symb. Log., 49(4):1237–1252, 1984.
[16] Warren D. Goldfarb. Random models and the Maslov class. J. Symb. Log., 54(2):460–466, 1989.
[17] Warren D. Goldfarb. Random models and solvable Skolem classes. J. Symb. Log., 58(3):908–914, 1993.
[18] Erich Grädel. On the restraining power of guards. J. Symb. Log., 64(4):1719–1742, 1999.
[19] Yuri Gurevich and Saharon Shelah. Random models and the Gödel case of the decision problem. J. Symb. Log., 48(4):1120–1124, 1983.
[20] Lauri Hella and Antti Kuusisto. One-dimensional fragment of first-order logic. In Rajeev Goré, Barteld P. Kooi, and Agi Kurucz, editors, Advances in Modal Logic 10, invited and contributed papers from the tenth conference on "Advances in Modal Logic," held in Groningen, The Netherlands, August 5-8, 2014, pages 274–293. College Publications, 2014.
[21] Ullrich Hustadt and Renate A. Schmidt. Maslov's class K revisited. In Harald Ganzinger, editor, Automated Deduction - CADE-16, 16th International Conference on Automated Deduction, Trento, Italy, July 7-10, 1999, Proceedings, volume 1632 of Lecture Notes in Computer Science, pages 172–186. Springer, 1999.
[22] Ullrich Hustadt, Renate A. Schmidt, and Lilia Georgieva. A survey of decidable first-order fragments and description logics. Journal of Relational Methods in Computer Science, 1:2004, 2004.
[23] A.S. Kahr, E.F. Moore, and H. Wang. Entscheidungsproblem reduced to the case. Proc. Nat. Acad. Sci. U.S.A., 48:365–377, 1962.
[24] Emanuel Kieronski and Antti Kuusisto. Complexity and expressivity of uniform one-dimensional fragment with equality. In Erzsébet Csuhaj-Varjú, Martin Dietzfelbinger, and Zoltán Ésik, editors,
Fiuk
Mathematical Foundations of Computer Science 2014 - 39th International Symposium, MFCS 2014, Budapest, Hungary, August 25-29, 2014. Proceedings, Part I, volume 8634 of Lecture Notes in Computer Science, pages 365–376. Springer, 2014.
[25] Emanuel Kieronski and Antti Kuusisto. Uniform One-Dimensional Fragments with One Equivalence Relation. In Stephan Kreutzer, editor, 24th EACSL Annual Conference on Computer Science Logic (CSL 2015), volume 41 of Leibniz International Proceedings in Informatics (LIPIcs), pages 597–615, Dagstuhl, Germany, 2015. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
[26] Emanuel Kieronski, Jakub Michaliszyn, Ian Pratt-Hartmann, and Lidia Tendera. Two-variable first-order logic with equivalence closure. SIAM J. Comput., 43(3):1012–1063, 2014.
[27] Emanuel Kieronski and Martin Otto. Small substructures and decidability issues for first-order logic with two variables. J. Symb. Log., 77(3):729–765, 2012.
[28] Emanuel Kieronski and Lidia Tendera. On finite satisfiability of two-variable first-order logic with equivalence relations. In Proceedings of the 24th Annual IEEE Symposium on Logic in Computer Science, LICS 2009, 11-14 August 2009, Los Angeles, CA, USA, pages 123–132. IEEE Computer Society, 2009.
[29] Antti Kuusisto. On the uniform one-dimensional fragment. In Maurizio Lenzerini and Rafael Peñaloza, editors, Proceedings of the 29th International Workshop on Description Logics, Cape Town, South Africa, April 22-25, 2016, volume 1577 of CEUR Workshop Proceedings. CEUR-WS.org, 2016.
[30] Vladimir Lifschitz. What is the inverse method? J. Autom. Reason., 5(1):1–23, mar 1989.
[31] Leopold Löwenheim. Über Möglichkeiten im Relativkalkül. Mathematische Annalen, 76:447–470, 1915.
[32] Sergei J. Maslov. The inverse method for establishing deducibility for logical calculi. The Calculi of Symbolic Logic I: Proceedings of the Steklov Institute of Mathematics, 98, 1971.
[33] Martin Otto. Two variable first-order logic over ordered domains. J. Symb. Log., 66(2):685–702, 2001.
[34] Ian Pratt-Hartmann. Finite satisfiability for two-variable, first-order logic with one transitive relation is decidable. Math. Log. Q., 64(3):218–248, 2018.
[35] Ian Pratt-Hartmann. Fragments of First-Order Logic. Oxford Logic Guides. Oxford University Press, United Kingdom, 2023.
[36] Ian Pratt-Hartmann, Wieslaw Szwast, and Lidia Tendera. The fluted fragment revisited. J. Symb. Log., 84(3):1020–1048, 2019.
[37] Thomas Schwentick and Thomas Zeume. Two-variable logic with two order relations. Log. Methods Comput. Sci., 8(1), 2012.
[38] Dana Scott. A decision method for validity of sentences in two variables. J. Symb. Log., 27:477, 1962.
[39] Luc Segoufin and Balder ten Cate. Unary negation. Log. Methods Comput. Sci., 9(3), 2013.
[40] Marco Voigt. Decidable fragments of first-order logic and of first-order linear arithmetic with uninterpreted predicates. PhD thesis, Saarland University, Saarbrücken, Germany, Saarbrücken, Germany, 2019.
A Missing Proofs from Subsection 6.1
A.1 Proof of Proposition 14
In this subsection, we establish that satisfiability for MON + E is 2-NEXPTIME-hard. The corresponding 2-NEXPTIME lower bound for can also be inferred from the work of Kieroński and Kuusisto [25, Section 5.1] on the uniform one-dimensional fragment with one equivalence relation. Our construction is similar in spirit, but yields the stronger result that all
Fiuk
non-distinguished relation symbols can be restricted to unary predicates.
We reduce from the doubly exponential tiling problem, which is 2-NEXPTIME-complete. An instance of this problem is a tuple , where is a non-empty finite set of colours, are the initial and final colours, are the sets of admissible horizontal and vertical pairs, respectively, and is given in unary. The instance is solvable if there exists a tiling such that:
• and ;
• for every and ;
• for every and .
The doubly exponential tiling problem asks whether a given instance T is solvable.
Fix an instance . We construct, in time polynomial in the size of , a sentence such that is solvable if and only if is satisfiable.
The signature of is constant-free and, besides the distinguished equivalence symbol , contains the following unary relation symbols: ( ), ( ), , .
We naturally view the predicates as bits, thereby associating with each domain element an integer in the range . More precisely, for a domain element , let
Let , , , and be the standard formulas, of size polynomial in , expressing , , , .
We first ensure that every equivalence class contains a representative of each possible value of , ranging from 0 to :
We further require that elements of the same equivalence class representing the same integer agree on the predicates X and Y:
We can now associate with every equivalence class of a pair of integers in the range . Let be an equivalence class of the interpretation of . We define
The integer is defined analogously, using Y in place of X.
Every value is represented in , and any two elements of representing the same value agree on both and . Hence, and are well-defined. We call them the -coordinate and -coordinate of , respectively, and view the pair as a position in the doubly exponential grid. For convenience, we extend the notions of -coordinate and -coordinate to domain elements: for each , we set and .
Under this convention, we define formulas , , , and expressing
Fiuk
The formulas for the two extreme values and for equality of coordinates are straightforward:
The increment formula is slightly more involved. We first define a bit-level auxiliary formula
Using this auxiliary formula, we set
To see why this expresses incrementation, recall the standard binary increment operation. When adding one to an integer, the least significant 0-bit is changed to 1, all less significant bits are changed from 1 to 0, and all more significant bits remain unchanged. Equivalently, a bit at position i remains unchanged precisely when there is a 0-bit at some lower-order position . The formula expresses exactly this condition for each bit position, while excludes the maximal value and hence prevents overflow.
The formulas , , , and for the Y-coordinate are defined analogously by replacing X by Y.
Having defined the formulas above, we can now encode a solution to the tiling instance T. We first ensure that every element is assigned exactly one colour:
Since different E-classes may represent the same position in the grid, we further require that any two representatives of the same position have the same colour:
Thus, each represented pair of coordinates has a well-defined colour.
We next require the lower-left and upper-right corners of the grid to have the prescribed initial and final colours:
Finally, we ensure the existence of appropriately coloured horizontal and vertical successors. Every point whose X-coordinate is not maximal has a point immediately to its right, with the same Y-coordinate and a horizontally compatible colour:
Similarly, every point whose Y-coordinate is not maximal has a point immediately above it, with the same X-coordinate and a vertically compatible colour:
Let be the conjunction of sentences (25)–(31). It is satisfiable if and only if the tiling instance is solvable. Moreover, belongs to MON + E and can be constructed from in polynomial time. This gives the desired reduction from the doubly exponential tiling problem to satisfiability for MON + E. Therefore, satisfiability for MON + E is 2-NEXPTIME-hard.
Fiuk
A.2 Proof of Proposition 15
In this subsection, we establish that satisfiability for MON + 2E and MON + is co-RE-complete. Membership in co-RE is immediate: the distinguished relations are finitely axiomatisable in first-order logic, so unsatisfiability reduces to first-order unsatisfiability and is therefore recursively enumerable. It thus remains to establish co-RE-hardness.
For this, we build on the reductions of Kieroński and Kuusisto [25, Section 5.5]. We first explain how their construction for T can be modified for the case with , and then give details of the corresponding construction for 2E, which are not spelled out in [25].
We reduce from the infinite tiling problem, which is co-RE-complete. An instance of this problem is a tuple , where is a non-empty finite set of colours, is the initial colour, and are the sets of admissible horizontal and vertical pairs, respectively. The instance is solvable if there exists a tiling such that:
•
• for every ;
• for every .
The infinite tiling problem asks whether a given instance T is solvable.
Reflexive-transitive relation. Fix an instance . We construct, effectively from , a sentence such that is solvable if and only if is satisfiable.
Besides the distinguished symbol , the signature of contains the following unary relation symbols: ( ), ( ), and ( ).

(a) MON +

(b) MON + 2E
Figure 2: Grid structures.
The intended structure representing the infinite grid is depicted on the left in Figure 2. Each element represents a single tile at some position . It satisfies precisely one predicate , where , and precisely one predicate , where . The pairs related by are indicated by arrows. In particular, every element has a self-loop, as required by reflexivity. The relation is arranged so that there are no directed paths of length two consisting entirely of non-reflexive edges, and therefore transitivity forces no additional connections.
We now describe this structure by a sentence in MON+ . First, we require every element to satisfy precisely one and precisely one :
Fiuk
We now define a formula expressing that is a horizontal successor of . For , write for when is even and for when is odd. Then set
where the subscript of is taken modulo 4.
The formula expressing that y is a vertical successor of x is defined analogously: the Y-index is increased by one modulo 4, while the X-index remains unchanged.
We also introduce an auxiliary formula expressing that two elements represent the same tile:
Since is reflexive and transitive, the relation defined by is an equivalence relation.
We now describe the grid connections. First, elements representing the same tile are required to agree on all unary predicates, that is, on the predicates , , and :
Next, horizontal successors are required to be unique up to -equivalence:
Likewise, vertical successors are required to be unique up to -equivalence:
Finally, we require every element to be the lower-left corner of a grid square:
Let us briefly explain why these conditions suffice to enforce the intended grid structure. The key point is that the squares provided by (36) can be consistently arranged into a grid.
Fix an element , and let be witnesses for (36). Set , and let be witnesses for the same formula with in place of . Then both and are vertical successors of . Hence, by (35), holds. Thus, up to -equivalence, the square shares its left vertical side with the right vertical side of .
Analogously, using (34), squares can be joined along their horizontal sides. Iterating this construction therefore yields a representation of the grid, up to replacing individual grid points by -equivalent elements. By (33), such replacements preserve all , , and predicates, and hence do not affect either the grid coordinates modulo 4 or the assigned colours.
It remains to impose the tiling constraints, which can be expressed in the standard way. First, every element is assigned precisely one colour and the initial colour is realised:
The horizontal and vertical compatibility conditions are expressed, respectively, by
and
Two equivalence relations. Fix an instance . We construct, effectively from , a sentence such that is solvable if and only if is satisfiable.
We adapt the construction given above for . Let denote the two distinguished equivalence symbols of , and use the same unary predicates , and
Fiuk
as before.
The intended structure representing the infinite grid is depicted on the right in Figure 2. The dark grey regions represent -classes, while the light grey regions represent -classes. The classes alternate so that every pair of horizontally or vertically adjacent grid points belongs to exactly one common equivalence class, with the choice of the equivalence relation determined by the parity of the corresponding coordinate. Moreover, the intersection of an -class and an -class contains precisely one grid point in the intended structure.
As before, we first require every element to satisfy precisely one predicate and precisely one predicate . For , write for when is odd and for when is even. We then define the horizontal-successor formula by
where the subscript of is taken modulo 4. Similarly, we define
where the subscript of is again taken modulo 4.
Finally, we redefine the auxiliary formula identifying copies of the same grid point by
Since and are equivalence relations, defines an equivalence relation as well.
We now use these formulas in place of the corresponding formulas from the MON + construction, leaving all the remaining constraints unchanged. The same argument as before applies: the conditions in (34) and (35) ensure that the squares supplied by (36) can be joined consistently up to -equivalence, while (33) ensures that -equivalent elements agree on their coordinate and colour predicates. Consequently, the resulting structure represents an grid carrying a valid tiling exactly when is solvable.