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 K ˉ \bar{K} K ˉ , and to its satisfiability problem. In the 1980s, Zamov proposed a resolution procedure for K ˉ \bar{K} K ˉ ; see Chapter 6 of the monograph Resolution Methods for the Decision Problem [9 ] . In 1999, Hustaдt and Schmidt [21 ] continued Zamov’s work and developed a refined variant of his procedure.
The importance of Maslov’s class K ˉ \bar{K} K ˉ stems from the fact that it is one of the broadest fragments of (equality-free) first-order logic. In particular, K ˉ \bar{K} K ˉ 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 broader class of conjunctions of K ‾ \overline{\mathrm{K}} K sentences, denoted D K ‾ \overline{\mathrm{DK}} DK , is decidable [21 ] . The absence of equality in K ‾ \overline{\mathrm{K}} K is unavoidable: already the Gödel class with equality is undecidable [15 ] .
The class K ‾ \overline{\mathrm{K}} K also subsumes the equality-free two-variable fragment, F O 2 \mathrm{FO}^{2} FO 2 , in the sense that sentences in Scott normal form belong to K ‾ \overline{\mathrm{K}} K [38 ] . As a consequence, many standard modal and description logics can be translated into K ‾ \overline{\mathrm{K}} K . This connection is discussed in the survey [22 ] , where K ‾ \overline{\mathrm{K}} K 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 K ‾ \overline{\mathrm{K}} K .
After the early 2000s, K ‾ \overline{\mathrm{K}} K has received relatively little attention. A renewed interest in K ‾ \overline{\mathrm{K}} K is motivated by the study of the uniform one-dimensional fragment, denoted U F 1 \mathrm{UF}_{1} UF 1 . Introduced by Hella and Kuusisto in 2014 [20 ] , see also [24 , 29 ] , U F 1 \mathrm{UF}_{1} UF 1 was designed as a canonical generalisation of F O 2 \mathrm{FO}^{2} FO 2 to predicates of arity greater than 2. The satisfiability problem for U F 1 \mathrm{UF}_{1} UF 1 (with equality) is N E x p T i m e \mathrm{NExpTime} NExpTime -complete [24 ] , matching the complexity of F O 2 \mathrm{FO}^{2} FO 2 . To increase the expressive power of (equality-free) U F 1 \mathrm{UF}_{1} UF 1 , Kieroński [10 ] proposed a generalisation denoted A U F − \mathrm{AUF}^{-} AUF − . He observed that A U F − \mathrm{AUF}^{-} AUF − , when put into a suitable normal form, falls within D K ‾ \overline{\mathrm{DK}} DK . In [11 ] , an even broader extension of (equality-free) U F 1 \mathrm{UF}_{1} UF 1 , denoted ∀ \forall ∀ -U F 1 \mathrm{UF}_{1} UF 1 , is introduced. It, too, is subsumed by D K ‾ \overline{\mathrm{DK}} DK .
Despite this broad applicability, the class K ‾ \overline{\mathrm{K}} K 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.2
These questions were resolved only recently: in 2024, Fiuk, Kieroński, and Michielini [11 ] established that K ‾ \overline{\mathrm{K}} K has the finite model property and that the satisfiability problem for K ‾ \overline{\mathrm{K}} K is N E x p T i m e \mathrm{NExpTime} NExpTime -complete. In light of this result, the significance of K ‾ \overline{\mathrm{K}} K becomes even more apparent: it can express many non-trivial properties, not expressible in other fragments, while being no harder than F O 2 \mathrm{FO}^{2} FO 2 , U F 1 \mathrm{UF}_{1} UF 1 , or the Gödel class. This contrasts with the guarded fragment, which is 2 - E x p T i m e \mathrm{2\text{-}ExpTime} 2 - ExpTime -complete [18 ] , and with the fluted fragment, which is T o w e r \mathrm{Tower} Tower -complete [36 ] .
Our contribution. The proof of the finite model property and the N E x p T i m e \mathrm{NExpTime} NExpTime upper bound for K ‾ \overline{\mathrm{K}} K 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 K ‾ \overline{\mathrm{K}} K 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 K ‾ \overline{\mathrm{K}} K . A common way of increasing the expressive power of decidable fragments is to restrict the class of admissible structures. For instance, F O 2 \mathrm{FO}^{2} FO 2 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 K ‾ \overline{\mathrm{K}} K remains decidable when extended with one equivalence relation. More precisely, we introduce the class K ‾ + E \overline{\mathrm{K}}+E K + E , obtained by adding to K ‾ \overline{\mathrm{K}} K one distinguished binary predicate E E E whose interpretation is required to be an equivalence relation. We show that K ‾ + E \overline{\mathrm{K}}+E K + E has the finite model property and that its satisfiability problem is 2 - N E x p T i m e \mathrm{2\text{-}NExpTime} 2 - NExpTime -complete.
Organisation. § 2 introduces the notation and basic definitions. § 3 presents the class K ‾ \overline{\mathrm{K}} K and related fragments. § 4 develops the Skolemisation procedure. Section 5 gives a simplified proof of the N E x p T i m e \mathrm{NExpTime} NExpTime upper bound for K ‾ \overline{K} K . § 6 establishes that K ‾ + E \overline{K}+E K + E is 2 2 2 -N E x p T i m e \mathrm{NExpTime} NExpTime -complete and shows that closely related extensions are already undecidable. Finally, § 7 concludes with remarks on the possible addition of equality to K ‾ \overline{K} K .
Preliminaries
Notation. Let N = { 0 , 1 , 2 , … } \mathbb{N} = \{0,1,2,\ldots\} N = { 0 , 1 , 2 , … } . For k ∈ N k \in\mathbb{N} k ∈ N , the notation [ k ] [k] [ k ] stands for the set { 1 , … , k } \{1,\ldots,k\} { 1 , … , k } , with the convention that [ 0 ] = ∅ [0] = \varnothing [ 0 ] = ∅ . More generally, we use interval notation [ a , b ] ⊆ N [a,b] \subseteq\mathbb{N} [ a , b ] ⊆ N to denote the set { a , a + 1 , … , b } \{a,a+1,\ldots,b\} { a , a + 1 , … , b } for a ≤ b a \leq b a ≤ b , and the empty set ∅ \varnothing ∅ for a > b a>b a > b . The powerset of a set S S S is denoted by 2 S 2^{S} 2 S . Tuples are denoted by bars and, by abuse of notation, sometimes regarded as sets of their elements. Concatenation of tuples is denoted by juxtaposition.
First-order logic. We assume general familiarity with first-order logic (FO). The logical symbols are = = = , ⊥ \bot ⊥ , ⊤ \top ⊤ , ∨ \lor ∨ , ∧ \land ∧ , ¬ \neg ¬ , → \to → , ↔ \leftrightarrow ↔ , and the quantifiers ∀ \forall ∀ , ∃ \exists ∃ . 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 Σ = ⟨ R ‾ , c ‾ ⟩ \Sigma= \langle\overline{R},\overline{c}\rangle Σ = ⟨ R , c ⟩ , where R ‾ \overline{R} R is a non-empty tuple of relation symbols and c ‾ \overline{c} c is a tuple of constant symbols. When convenient, we identify Σ \Sigma Σ with the set R ‾ ∪ c ‾ \overline{R}\cup\overline{c} R ∪ c . Every relation symbol R ∈ R ‾ R \in\overline{R} R ∈ R comes with associated arity, denoted arity ( R ) \operatorname{arity}(R) arity ( R ) .
The length of a formula φ \varphi φ , denoted ∣ φ ∣ |\varphi| ∣ φ ∣ , 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 φ \varphi φ consists of relation and constant symbols that appear in the formula. The set of atomic subformulas of φ \varphi φ is denoted by atoms ( φ ) \operatorname{atoms}(\varphi) atoms ( φ ) . The set of free variables of φ \varphi φ is denoted by vars ( φ ) \operatorname{vars}(\varphi) vars ( φ ) ; we often view this set as a tuple x ‾ \overline{x} x and indicate this by φ [ x ‾ ] \varphi[\overline{x}] φ [ x ] . Given a tuple of elements a ‾ \overline{a} a of the same length as x ‾ \overline{x} x , we write φ [ a ‾ ] \varphi[\overline{a}] φ [ a ] for the result of componentwise substitution of the variables in x ‾ \overline{x} x by the corresponding elements of a ‾ \overline{a} a . More generally, for any tuple of variables y ‾ \overline{y} y , not necessarily coinciding with the free variables of φ \varphi φ , and any tuple of elements b ‾ \overline{b} b of the same length as y ‾ \overline{y} y , we write φ [ b ‾ / y ‾ ] \varphi[\overline{b}/\overline{y}] φ [ b / y ] for the result of componentwise substitution of the variables in y ‾ \overline{y} y by the corresponding elements of b ‾ \overline{b} b . We write ± φ \pm\varphi ± φ to denote either φ \varphi φ or ¬ φ \neg\varphi ¬ φ .
We use Fraktur letters such as A , B , … \mathcal{A},\mathcal{B},\ldots A , B , … to denote structures, and the corresponding Roman letters A , B , … A,B,\ldots A , B , … for their domains. Let Σ = ⟨ R ‾ , c ‾ ⟩ \Sigma= \langle\overline{R},\overline{c}\rangle Σ = ⟨ R , c ⟩ be a signature. A Σ \Sigma Σ -structure A \mathcal{A} A interprets every relation symbol R ∈ R ‾ R \in\overline{R} R ∈ R as a relation R A ⊆ A arity ( R ) R^{\mathcal{A}} \subseteq A^{\operatorname{arity}(R)} R A ⊆ A arity ( R ) and every constant symbol c ∈ c ‾ c \in\overline{c} c ∈ c as an element c A ∈ A c^{\mathcal{A}} \in A c A ∈ A . An element a ∈ A a \in A a ∈ A is named if a = c A a = c^{\mathcal{A}} a = c A for every constant c ∈ c ‾ c \in\overline{c} c ∈ c .
For a sub-signature Σ 0 ⊆ Σ \Sigma_{0} \subseteq\Sigma Σ 0 ⊆ Σ , the Σ 0 \Sigma_{0} Σ 0 -reduct of A \mathcal{A} A is a Σ 0 \Sigma_{0} Σ 0 -structure A 0 \mathcal{A}_{0} A 0 obtained from A \mathcal{A} A by forgetting the interpretations of the symbols in Σ ∖ Σ 0 \Sigma\setminus\Sigma_{0} Σ ∖ Σ 0 . Equivalently, A \mathcal{A} A is a Σ \Sigma Σ -expansion of A 0 \mathcal{A}_{0} A 0 .
Finite model property. Let F \mathcal{F} F be a fragment (or class) of FO sentences. The fragment F \mathcal{F} F has the finite model property if every satisfiable sentence φ ∈ F \varphi\in\mathcal{F} φ ∈ F admits a finite model. If there exists a fixed polynomial p p p such that every satisfiable sentence φ ∈ F \varphi\in\mathcal{F} φ ∈ F admits a model over a domain of size at most 2 p ( ∣ φ ∣ ) 2^{p(|\varphi|)} 2 p ( ∣ φ ∣ ) , then F \mathcal{F} F has the exponential model property . If, instead, the domain size is bounded by 2 2 p ( ∣ φ ∣ ) 2^{2^{p(|\varphi|)}} 2 2 p ( ∣ φ ∣ ) , then F \mathcal{F} F has the doubly exponential model property .
The satisfiability problem for F \mathcal{F} F is to decide whether an input sentence φ ∈ F \varphi\in\mathcal{F} φ ∈ F admits a model. The finite model property for F \mathcal{F} F implies that the satisfiability problem for F \mathcal{F} F is decidable. The exponential model property for F \mathcal{F} F implies that the satisfiability problem for F \mathcal{F} F is in N E x p T i m e \mathrm{NExpTime} NExpTime , while the doubly exponential model property implies that it is in 2 2 2 -N E x p T i m e \mathrm{NExpTime} NExpTime .
Types and outer-types. Let Σ = ⟨ R ‾ , c ‾ ⟩ \Sigma= \langle\overline{R},\overline{c}\rangle Σ = ⟨ R , c ⟩ be a signature. For k ∈ N k \in\mathbb{N} k ∈ N , let lit k ( Σ ) \operatorname{lit}^{k}(\Sigma) lit k ( Σ ) denote the set of all literals over Σ \Sigma Σ and the variables x 1 , … , x k x_{1},\ldots,x_{k} x 1 , … , x k ; literals involving = = = or ≠ \neq = are not included.
For k ∈ N k \in\mathbb{N} k ∈ N , a k k k -type over Σ \Sigma Σ is a maximal consistent subset of lit k ( Σ ) \operatorname{lit}^{k}(\Sigma) lit k ( Σ ) ; that is, for every pair of dual literals λ , ¬ λ ∈ lit k ( Σ ) \lambda,\neg\lambda\in\operatorname{lit}^{k}(\Sigma) λ , ¬ λ ∈ lit k ( Σ ) , exactly one of λ \lambda λ and ¬ λ \neg\lambda ¬ λ belongs to the k k k -type. A 0 0 0 -type contains literals involving only constants. A ( k + 1 ) (k+1) ( k + 1 ) -type σ \sigma σ extends a k k k -type τ \tau τ if τ ⊆ σ \tau\subseteq\sigma τ ⊆ σ . A type is simply a k k k -type for some k ≥ 0 k \ge0 k ≥ 0 . When convenient, we identify types with the conjunctions of the literals they contain. Let T k ( Σ ) \mathcal{T}^{k}(\Sigma) T k ( Σ ) denote the set of all k k k -types over Σ \Sigma Σ , and write T ( Σ ) : = ⋃ k ∈ N T k ( Σ ) \mathcal{T}(\Sigma) := \bigcup_{k \in\mathbb{N}} \mathcal{T}^{k}(\Sigma) T ( Σ ) := ⋃ k ∈ N T k ( Σ ) .
Let A \mathcal{A} A be a Σ \Sigma Σ -structure, and let a ˉ = ⟨ a 1 , … , a k ⟩ \bar{a} = \langle a_1, \ldots, a_k \rangle a ˉ = ⟨ a 1 , … , a k ⟩ be a k k k -tuple of pairwise distinct unnamed elements of A \mathcal{A} A . We write tp A [ a 1 , … , a k ] : = { λ ∈ lit k ( Σ ) ∣ A ⊨ λ [ a ˉ / x ˉ ] } \operatorname{tp}^{\mathcal{A}}[a_1, \ldots, a_k] := \{ \lambda\in\operatorname{lit}^{k}(\Sigma) \mid\mathcal{A} \models\lambda[\bar{a}/\bar{x}] \} tp A [ a 1 , … , a k ] := { λ ∈ lit k ( Σ ) ∣ A ⊨ λ [ a ˉ / x ˉ ]} for the k k k -type realised by a ˉ \bar{a} a ˉ in A \mathcal{A} A , where [ a ˉ / x ˉ ] [\bar{a}/\bar{x}] [ a ˉ / x ˉ ] denotes the substitution x i ↦ a i x_i \mapsto a_i x i ↦ a i .
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 k ∈ N k \in\mathbb{N} k ∈ N , let
lit o k ( Σ ) : = { λ ∈ lit k ( Σ ) ∣ vars ( λ ) = { x 1 , … , x k } or ∣ vars ( λ ) ∣ ≤ 1 } . \operatorname{lit}^{k}_{o}(\Sigma) := \{ \lambda\in\operatorname{lit}^{k}(\Sigma) \mid\operatorname{vars}(\lambda) = \{x_1, \ldots, x_k\} \text{ or } |\operatorname{vars}(\lambda)| \le1 \}. lit o k ( Σ ) := { λ ∈ lit k ( Σ ) ∣ vars ( λ ) = { x 1 , … , x k } or ∣ vars ( λ ) ∣ ≤ 1 } .
A k k k -outer-type over Σ \Sigma Σ is a maximal consistent subset of lit o k ( Σ ) \operatorname{lit}^{k}_{o}(\Sigma) lit o k ( Σ ) . Thus, a k k k -outer-type is akin to a k k k -type, but contains only literals involving either all variables x 1 , … , x k x_1, \ldots, x_k x 1 , … , x k or at most one of them. In particular, k k k -types and k k k -outer-types coincide for k ≤ 2 k \le2 k ≤ 2 .
We use for outer-types the terminology and conventions introduced above for types. In particular, an outer-type is a k k k -outer-type for some k ≥ 0 k \ge0 k ≥ 0 , and we identify outer-types with the conjunctions of their literals when convenient. We write T o k ( Σ ) \mathcal{T}^{k}_{o}(\Sigma) T o k ( Σ ) and T o ( Σ ) \mathcal{T}_{o}(\Sigma) T o ( Σ ) for the sets of all k k k -outer-types and all outer-types over Σ \Sigma Σ , respectively.
For a k k k -tuple a ˉ = ⟨ a 1 , … , a k ⟩ \bar{a} = \langle a_1, \ldots, a_k \rangle a ˉ = ⟨ a 1 , … , a k ⟩ of pairwise distinct unnamed elements of A \mathcal{A} A , the k k k -outer-type realised by a ˉ \bar{a} a ˉ in A \mathcal{A} A is tp o A [ a 1 , … , a k ] : = tp A [ a 1 , … , a k ] ∩ lit o k ( Σ ) \operatorname{tp}^{\mathcal{A}}_{o}[a_1, \ldots, a_k] := \operatorname{tp}^{\mathcal{A}}[a_1, \ldots, a_k] \cap\operatorname{lit}^{k}_{o}(\Sigma) tp o A [ a 1 , … , a k ] := tp A [ a 1 , … , a k ] ∩ lit o k ( Σ ) .
For a k k k -outer-type τ o \tau_o τ o , we write τ o ⟨ x i ⟩ \tau_o\langle x_i\rangle τ o ⟨ x i ⟩ for the 1-type induced on the variable x i x_i x i . It is obtained by taking all literals λ ∈ τ o \lambda\in\tau_o λ ∈ τ o such that vars ( λ ) ⊆ { x i } \operatorname{vars}(\lambda) \subseteq\{x_i\} vars ( λ ) ⊆ { x i } and renaming x i x_i x i with x 1 x_1 x 1 . Intuitively, if a tuple a ˉ \bar{a} a ˉ realises τ o \tau_o τ o in a structure, then τ o ⟨ x i ⟩ \tau_o\langle x_i\rangle τ o ⟨ x i ⟩ is the 1-type of the i i i th element of a ˉ \bar{a} a ˉ .
For a k k k -type τ \tau τ and pairwise distinct indices i 1 , … , i ℓ ∈ [ k ] i_1, \ldots, i_\ell\in[k] i 1 , … , i ℓ ∈ [ k ] , we write τ ⟨ x i 1 , … , x i ℓ ⟩ \tau\langle x_{i_1}, \ldots, x_{i_\ell}\rangle τ ⟨ x i 1 , … , x i ℓ ⟩ for the ℓ \ell ℓ -outer-type induced by τ \tau τ on ⟨ x i 1 , … , x i ℓ ⟩ \langle x_{i_1}, \ldots, x_{i_\ell}\rangle ⟨ x i 1 , … , x i ℓ ⟩ . It is obtained by taking all literals λ ∈ τ \lambda\in\tau λ ∈ τ such that either vars ( λ ) = { x i 1 , … , x i ℓ } \operatorname{vars}(\lambda) = \{x_{i_1}, \ldots, x_{i_\ell}\} vars ( λ ) = { x i 1 , … , x i ℓ } or vars ( λ ) ⊆ { x i j } \operatorname{vars}(\lambda) \subseteq\{x_{i_j}\} vars ( λ ) ⊆ { x i j } for some j ∈ [ ℓ ] j \in[\ell] j ∈ [ ℓ ] , and then renaming the variables according to the mapping x i j ↦ x j x_{i_j} \mapsto x_j x i j ↦ x j for every j ∈ [ ℓ ] j \in[\ell] j ∈ [ ℓ ] . Intuitively, if a tuple ⟨ a 1 , … , a k ⟩ \langle a_1, \ldots, a_k\rangle ⟨ a 1 , … , a k ⟩ realises τ \tau τ in a structure, then τ ⟨ x i 1 , … , x i ℓ ⟩ \tau\langle x_{i_1}, \ldots, x_{i_\ell}\rangle τ ⟨ x i 1 , … , x i ℓ ⟩ is the ℓ \ell ℓ -outer-type of the subtuple ⟨ a i 1 , … , a i ℓ ⟩ \langle a_{i_1}, \ldots, a_{i_\ell}\rangle ⟨ a i 1 , … , a i ℓ ⟩ .
For the set of all outer-types induced by the k k k -type τ \tau τ , we write
T o ( τ ) : = { τ ⟨ x i 1 , … , x i ℓ ⟩ ∣ ℓ ∈ [ 0 , k ] and i 1 , … , i ℓ ∈ [ k ] are pairwise distinct } . \mathcal{T}_{o}(\tau) := \{ \tau\langle x_{i_1}, \ldots, x_{i_\ell}\rangle\mid\ell\in[0,k] \text{ and } i_1, \ldots, i_\ell\in[k] \text{ are pairwise distinct} \}. T o ( τ ) := { τ ⟨ x i 1 , … , x i ℓ ⟩ ∣ ℓ ∈ [ 0 , k ] and i 1 , … , i ℓ ∈ [ k ] are pairwise distinct } .
The Class K ‾ \overline{\mathrm{K}} K and Related Fragments
Definition. Let φ \varphi φ be an equality-free sentence in negation normal form. The sentence φ \varphi φ may contain constant symbols. Without loss of generality, we assume that distinct quantifier occurrences in φ \varphi φ bind distinct variables.
For an atom α ∈ atoms ( φ ) \alpha\in\operatorname{atoms}(\varphi) α ∈ atoms ( φ ) , the φ \varphi φ -prefix of α \alpha α is the sequence of quantifiers in φ \varphi φ that bind the variables in vars ( α ) \operatorname{vars}(\alpha) vars ( α ) . The order of quantifiers in the φ \varphi φ -prefix matches the order of their occurrences in φ \varphi φ from left to right. In contrast, the order and multiplicity of variables within α \alpha α , as well as the constants occurring in α \alpha α , are irrelevant for determining its φ \varphi φ -prefix. In particular, if α \alpha α contains only constant symbols, then its φ \varphi φ -prefix is the empty sequence.
The sentence φ \varphi φ belongs to the class K ‾ \overline{\mathrm{K}} K if there exists a selection ∀ x 1 , … , ∀ x n \forall x_1, \ldots, \forall x_n ∀ x 1 , … , ∀ x n of universal quantifier occurrences in φ \varphi φ , for some n ≥ 0 n \ge0 n ≥ 0 , such that:
None of the selected universal quantifiers is in the scope of an existential quantifier.
For every atom α ∈ atoms ( φ ) \alpha\in\operatorname{atoms}(\varphi) α ∈ atoms ( φ ) , at least one of the following holds:
the φ \varphi φ -prefix of α \alpha α has length at most 1;
(ii) the φ \varphi φ -prefix of α \alpha α consists exactly of the selected universal quantifiers ∀ x 1 , … , ∀ x n \forall x_1,\ldots,\forall x_n ∀ x 1 , … , ∀ x n ;
(iii) the last quantifier in the φ \varphi φ -prefix of α \alpha α is existential.
The selected universal quantifiers are listed in their left-to-right order in φ \varphi φ , but need not form a contiguous block in the sequence of all quantifiers of φ \varphi φ . The variables x 1 , … , x n x_1,\ldots,x_n x 1 , … , x n bound by the selected quantifiers are called the uniform variables of φ \varphi φ , and n n n is called the uniformity of φ \varphi φ .
To avoid ambiguity, we adopt the convention that n n n is always chosen as small as possible. Since for n = 1 n=1 n = 1 condition (ii) is subsumed by condition (i), we have n = 0 n=0 n = 0 or n ≥ 2 n\geq2 n ≥ 2 . Under this convention, the required selection ∀ x 1 , … , ∀ x n \forall x_1,\ldots,\forall x_n ∀ x 1 , … , ∀ x n , whenever it exists, is unique. Moreover, if n ≥ 2 n\geq2 n ≥ 2 , it must coincide with the φ \varphi φ -prefix of some atom of φ \varphi φ .
The above definition of K ‾ \overline{K} K does not essentially rely on negation normal form; it only requires that every quantifier occur positively. We therefore adopt a more liberal syntax for K ‾ \overline{K} K and allow arbitrary Boolean combinations within quantifier-free subformulas. In particular, we admit → \to → and ↔ \leftrightarrow ↔ , 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 K ‾ \overline{K} K in prenex form. Given a sentence φ ∈ K ‾ \varphi\in\overline{K} φ ∈ K , its standard conversion to prenex form yields, up to a reordering of the initial universal quantifiers, a sentence of the form
∀ x 1 … ∀ x n Q n + 1 x n + 1 … Q m x m ψ , (1) \forall x_1\ldots\forall x_n Q_{n+1}x_{n+1}\ldots Q_mx_m\ \psi, \tag*{(1)} ∀ x 1 … ∀ x n Q n + 1 x n + 1 … Q m x m ψ , (1)
where 0 ≤ n ≤ m 0\leq n\leq m 0 ≤ n ≤ m , each Q i ∈ { ∀ , ∃ } Q_i\in\{\forall,\exists\} Q i ∈ { ∀ , ∃ } , and ψ \psi ψ is equality-free and quantifier-free.
The conditions on φ \varphi φ -prefixes translate as follows: for every atom α ∈ atoms ( ψ ) \alpha\in\operatorname{atoms}(\psi) α ∈ atoms ( ψ ) , at least one of the following holds:
(i) ∣ vars ( α ) ∣ ≤ 1 |\operatorname{vars}(\alpha)|\leq1 ∣ vars ( α ) ∣ ≤ 1 ;
(ii) vars ( α ) = { x 1 , … , x n } \operatorname{vars}(\alpha)=\{x_1,\ldots,x_n\} vars ( α ) = { x 1 , … , x n } , where x 1 , … , x n x_1,\ldots,x_n x 1 , … , x n are the uniform variables of φ \varphi φ ;
(iii) the variable x i ∈ vars ( α ) x_i\in\operatorname{vars}(\alpha) x i ∈ vars ( α ) with maximal index i i i is existentially quantified.
Conversely, it is straightforward to verify that a sentence in negation normal form belongs to K ‾ \overline{K} K whenever its standard conversion to prenex form satisfies the conditions above.
Examples. We illustrate the definition of K ‾ \overline{K} K with a few examples.
Example 1. Consider the sentence φ 1 \varphi_1 φ 1 :
∀ a , j , s ( ( article ( a ) ∧ journal ( j ) ∧ scientist ( s ) ∧ submittedToBy ( a , j , s ) ) → ∃ r ( reviewer ( r ) ∧ reviewsFor ( r , j ) ∧ ¬ hasConflict ( r , s ) ∧ qualifiedFor ( r , a ) ) ) . \forall a,j,s\ \bigl((\operatorname{article}(a)\land\operatorname{journal}(j)\land\operatorname{scientist}(s)\land\operatorname{submittedToBy}(a,j,s))\to\exists r\ (\operatorname{reviewer}(r)\land\operatorname{reviewsFor}(r,j)\land\neg\operatorname{hasConflict}(r,s)\land\operatorname{qualifiedFor}(r,a))\bigr). ∀ a , j , s ( ( article ( a ) ∧ journal ( j ) ∧ scientist ( s ) ∧ submittedToBy ( a , j , s )) → ∃ r ( reviewer ( r ) ∧ reviewsFor ( r , j ) ∧ ¬ hasConflict ( r , s ) ∧ qualifiedFor ( r , a )) ) .
The sentence φ 1 \varphi_1 φ 1 belongs to K ‾ \overline{K} K with uniform variables a , j , s a,j,s a , j , s . The φ 1 \varphi_1 φ 1 -prefixes of its atoms satisfy the conditions of the definition as follows:
(i) the prefixes ∀ a \forall a ∀ a , ∀ j \forall j ∀ j , ∀ s \forall s ∀ s , and ∃ r \exists r ∃ r have length at most 1;
(ii) the prefix ∀ a ∀ j ∀ s \forall a\forall j\forall s ∀ a ∀ j ∀ s consists of all selected universal quantifiers;
(iii) the remaining prefixes ∀ j ∃ r \forall j\exists r ∀ j ∃ r , ∀ s ∃ r \forall s\exists r ∀ s ∃ r , and ∀ a ∃ r \forall a\exists r ∀ a ∃ r end with an existential quantifier.
Example 2. Consider the sentence φ 2 \varphi_2 φ 2 :
∀ s ( student ( s ) → ∃ p ( professor ( p ) ∧ teaches ( p , s ) ∧ ∀ w ( week ( w ) → ∃ h ( homework ( h ) ∧ assignedToBy ( h , s , p ) ∧ deadlineFor ( w , h ) ) ) ) ) . \forall s\ (\operatorname{student}(s)\to\exists p\ (\operatorname{professor}(p)\land\operatorname{teaches}(p,s)\land\forall w\ (\operatorname{week}(w)\to\exists h\ (\operatorname{homework}(h)\land\operatorname{assignedToBy}(h,s,p)\land\operatorname{deadlineFor}(w,h))))). ∀ s ( student ( s ) → ∃ p ( professor ( p ) ∧ teaches ( p , s ) ∧ ∀ w ( week ( w ) → ∃ h ( homework ( h ) ∧ assignedToBy ( h , s , p ) ∧ deadlineFor ( w , h ))))) .
The sentence φ 2 \varphi_2 φ 2 belongs to K ‾ \overline{K} K with no uniform variables. The φ 2 \varphi_2 φ 2 -prefixes of its atoms satisfy the conditions of the definition as follows:
(i) the prefixes ∀ s \forall s ∀ s , ∃ p \exists p ∃ p , ∀ w \forall w ∀ w , and ∃ h \exists h ∃ h have length at most 1;
(iii) the remaining prefixes ∀ s ∃ p \forall s\exists p ∀ s ∃ p , ∀ s ∃ p ∀ w ∃ h \forall s\exists p\forall w\exists h ∀ s ∃ p ∀ w ∃ h , and ∀ w ∃ h \forall w\exists h ∀ w ∃ h end with an existential quantifier.
Example 3. Observe that K ‾ \overline{K} K allows permutations of variables within atoms:
φ 3 : = ∀ x 1 , x 2 , x 3 , x 4 ( P ( x 1 , x 2 , x 3 , x 4 ) → ( P ( x 2 , x 1 , x 3 , x 4 ) ∧ P ( x 2 , x 3 , x 4 , x 1 ) ) ) . \varphi_3:=\forall x_1,x_2,x_3,x_4\ \bigl(P(x_1,x_2,x_3,x_4)\to(P(x_2,x_1,x_3,x_4)\land P(x_2,x_3,x_4,x_1))\bigr). φ 3 := ∀ x 1 , x 2 , x 3 , x 4 ( P ( x 1 , x 2 , x 3 , x 4 ) → ( P ( x 2 , x 1 , x 3 , x 4 ) ∧ P ( x 2 , x 3 , x 4 , x 1 )) ) .
Indeed, φ 3 \varphi_3 φ 3 belongs to K ‾ \overline{\mathrm{K}} K with uniform variables x 1 , x 2 , x 3 , x 4 x_1,x_2,x_3,x_4 x 1 , x 2 , x 3 , x 4 : every atom has the same φ 3 \varphi_3 φ 3 -prefix ∀ x 1 ∀ x 2 ∀ x 3 ∀ x 4 \forall x_1\forall x_2\forall x_3\forall x_4 ∀ x 1 ∀ x 2 ∀ x 3 ∀ x 4 , which satisfies condition (ii).
Nonexample. Consider the transitivity axiom
φ 4 : = ∀ x , y , z ( ( T ( x , y ) ∧ T ( y , z ) ) → T ( x , z ) ) . \varphi_4 := \forall x,y,z\left((T(x,y)\land T(y,z))\to T(x,z)\right). φ 4 := ∀ x , y , z ( ( T ( x , y ) ∧ T ( y , z )) → T ( x , z ) ) .
Its atoms have the φ 4 \varphi_4 φ 4 -prefixes ∀ x ∀ y \forall x\forall y ∀ x ∀ y , ∀ y ∀ z \forall y\forall z ∀ y ∀ z , and ∀ x ∀ z \forall x\forall z ∀ x ∀ z . They have length greater than 1, do not end with an existential quantifier, and cannot all satisfy condition (ii). Hence, φ 4 ∉ K ‾ \varphi_4\notin\overline{\mathrm{K}} φ 4 ∈ / K .
The class D K ‾ \overline{\mathrm{D}\mathrm{K}} DK . Following [21 ] , let D K ‾ \overline{\mathrm{D}\mathrm{K}} DK denote the class of conjunctions of K ‾ \overline{\mathrm{K}} K sentences; that is,
φ 1 ∧ ⋯ ∧ φ k ∈ D K ‾ whenever φ 1 , … , φ k ∈ K ‾ . \varphi_1\land\cdots\land\varphi_k\in\overline{\mathrm{D}\mathrm{K}}
\qquad\text{whenever}\qquad
\varphi_1,\ldots,\varphi_k\in\overline{\mathrm{K}}. φ 1 ∧ ⋯ ∧ φ k ∈ DK whenever φ 1 , … , φ k ∈ K .
A sentence of D K ‾ \overline{\mathrm{D}\mathrm{K}} DK need not be equivalent to a sentence of K ‾ \overline{\mathrm{K}} K : 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 K ‾ \overline{\mathrm{K}} K sentence. To see this, consider φ 1 , φ 2 ∈ K ‾ \varphi_1,\varphi_2\in\overline{\mathrm{K}} φ 1 , φ 2 ∈ K of the same uniformity. Without loss of generality, both are in prenex form (1) , with the same sequence x ˉ \bar{x} x ˉ of uniform variables. Writing φ i = ∀ x ˉ φ i ′ [ x ˉ ] \varphi_i=\forall\bar{x}\,\varphi_i'[\bar{x}] φ i = ∀ x ˉ φ i ′ [ x ˉ ] , for i ∈ { 1 , 2 } i\in\{1,2\} i ∈ { 1 , 2 } , we have
φ 1 ∧ φ 2 ⟺ ∀ x ˉ ( φ 1 ′ [ x ˉ ] ∧ φ 2 ′ [ x ˉ ] ) . \varphi_1\land\varphi_2\Longleftrightarrow\forall\bar{x}\left(\varphi_1'[\bar{x}]\land\varphi_2'[\bar{x}]\right). φ 1 ∧ φ 2 ⟺ ∀ x ˉ ( φ 1 ′ [ x ˉ ] ∧ φ 2 ′ [ x ˉ ] ) .
A routine check shows that the sentence on the right belongs to K ‾ \overline{\mathrm{K}} K .
The solvable Skolem class. In their monograph [7 ] , Dreben and Goldfarb systematically study solvable classes of formulas, including several classes of Skolem sentences (∀ ∗ ∃ ∗ \forall^*\exists^* ∀ ∗ ∃ ∗ ). 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
∀ x 1 … ∀ x n ∀ x n + 1 … ∀ x ℓ ∃ x ℓ + 1 … ∃ x m ψ , (2) \forall x_1\ldots\forall x_n\ \forall x_{n+1}\ldots\forall x_\ell\ \exists x_{\ell+1}\ldots\exists x_m\ \psi, \tag*{(2)} ∀ x 1 … ∀ x n ∀ x n + 1 … ∀ x ℓ ∃ x ℓ + 1 … ∃ x m ψ , (2)
where 0 ≤ n ≤ ℓ ≤ m 0\le n\le\ell\le m 0 ≤ n ≤ ℓ ≤ m , ψ \psi ψ is equality-free and quantifier-free, and every α ∈ atoms ( ψ ) \alpha\in\operatorname{atoms}(\psi) α ∈ atoms ( ψ ) satisfies at least one of the following:
(i) ∣ vars ( α ) ∣ ≤ 1 |\operatorname{vars}(\alpha)|\le1 ∣ vars ( α ) ∣ ≤ 1 ;
(ii) vars ( α ) = { x 1 , … , x n } \operatorname{vars}(\alpha)=\{x_1,\ldots,x_n\} vars ( α ) = { x 1 , … , x n } ;
(iii) x i ∈ vars ( α ) x_i\in\operatorname{vars}(\alpha) x i ∈ vars ( α ) for some i > ℓ i>\ell i > ℓ .
The solvable Skolem class is a subfragment of K ‾ \overline{\mathrm{K}} K : its sentences are in prenex form (1) , with x 1 , … , x n x_1,\ldots,x_n x 1 , … , x n as uniform variables, subject to the additional restriction that all existential quantifiers follow all universal quantifiers. In contrast, K ‾ \overline{\mathrm{K}} K 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 K ‾ \overline{\mathrm{K}} K can be reduced to this class while preserving satisfiability.
Other fragments. From the perspective of satisfiability, Maslov’s class K ‾ \overline{\mathrm{K}} K subsumes several important fragments of equality-free FO. These include the Ackermann class (the prenex class ∃ ∗ ∀ ∃ ∗ \exists^*\forall\exists^* ∃ ∗ ∀ ∃ ∗ ), the Scott class (the normal form of FO2 ^2 2 ), and the Gödel class (the prenex class ∃ ∗ ∀ ∀ ∃ ∗ \exists^*\forall\forall\exists^* ∃ ∗ ∀∀ ∃ ∗ ), 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 K ‾ \overline{\mathrm{K}} K 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, K ‾ \overline{\mathrm{K}} K 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 ] .
A Skolemisation Procedure
In this section, we introduce the Skolem normal form for sentences in D K ‾ \overline{\mathrm{DK}} DK , which allows for a substantially simpler treatment of D K ‾ \overline{\mathrm{DK}} DK 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 φ ∈ D K ‾ \varphi\in\overline{\mathrm{DK}} φ ∈ DK is in Skolem normal form if
φ = ⋀ t ∈ I ∀ x ˉ ∃ x m + 1 ψ t [ x ˉ , x m + 1 ] , \varphi= \bigwedge_{t \in I} \forall\bar{x}\ \exists x_{m+1}\ \psi_t[\bar{x},x_{m+1}], φ = t ∈ I ⋀ ∀ x ˉ ∃ x m + 1 ψ t [ x ˉ , x m + 1 ] , where I I I is a finite set of indices, x ˉ = ⟨ x 1 , … , x m ⟩ \bar{x} = \langle x_1,\ldots,x_m\rangle x ˉ = ⟨ x 1 , … , x m ⟩ is a variable sequence of length m ≥ 1 m \ge1 m ≥ 1 , common to all t t t , x m + 1 x_{m+1} x m + 1 is a single variable, and ψ t [ x ˉ , x m + 1 ] \psi_t[\bar{x},x_{m+1}] ψ t [ x ˉ , x m + 1 ] is quantifier-free.
For every t ∈ I t \in I t ∈ I , let
φ t : = ∀ x ˉ ∃ x m + 1 ψ t \varphi_t := \forall\bar{x}\ \exists x_{m+1}\ \psi_t φ t := ∀ x ˉ ∃ x m + 1 ψ t and let n t ∈ { 0 } ∪ [ 2 , m ] n_t \in\{0\} \cup[2,m] n t ∈ { 0 } ∪ [ 2 , m ] denote the uniformity of φ t \varphi_t φ t , with uniform variables x 1 , … , x n t x_1,\ldots,x_{n_t} x 1 , … , x n t . We partition the set of atoms of ψ t \psi_t ψ t as atoms ( ψ t ) = α t ∪ β t ∪ γ t \operatorname{atoms}(\psi_t) = \alpha_t \cup\beta_t \cup\gamma_t atoms ( ψ t ) = α t ∪ β t ∪ γ t , where
α t : = { α ∈ atoms ( ψ t ) ∣ vars ( α ) ⊆ { x i } for some i ∈ [ m ] } , \alpha_t := \{\alpha\in\operatorname{atoms}(\psi_t) \mid\operatorname{vars}(\alpha) \subseteq\{x_i\}\text{ for some }i \in[m]\}, α t := { α ∈ atoms ( ψ t ) ∣ vars ( α ) ⊆ { x i } for some i ∈ [ m ]} , β t : = { α ∈ atoms ( ψ t ) ∣ n t ≥ 2 and vars ( α ) = { x 1 , … , x n t } } , \beta_t := \{\alpha\in\operatorname{atoms}(\psi_t) \mid n_t \ge2\text{ and }\operatorname{vars}(\alpha) = \{x_1,\ldots,x_{n_t}\}\}, β t := { α ∈ atoms ( ψ t ) ∣ n t ≥ 2 and vars ( α ) = { x 1 , … , x n t }} , γ t : = { α ∈ atoms ( ψ t ) ∣ x m + 1 ∈ vars ( α ) } . \gamma_t := \{\alpha\in\operatorname{atoms}(\psi_t) \mid x_{m+1} \in\operatorname{vars}(\alpha)\}. γ t := { α ∈ atoms ( ψ t ) ∣ x m + 1 ∈ vars ( α )} .
Let D K ‾ s n f \overline{\mathrm{DK}}_{\mathrm{snf}} DK snf denote the class of all Skolem normal form sentences of D K ‾ \overline{\mathrm{DK}} DK . Whenever we consider a sentence of D K ‾ s n f \overline{\mathrm{DK}}_{\mathrm{snf}} DK snf , we use the notation of Definition 1.
We now establish the required reduction from D K ‾ \overline{\mathrm{DK}} DK to D K ‾ s n f \overline{\mathrm{DK}}_{\mathrm{snf}} DK snf . 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 x m + 1 x_{m+1} x m + 1 in each conjunct φ t \varphi_t φ t by a fresh term f t ( x 1 , … , x m ) f_t(x_1,\ldots,x_m) f t ( x 1 , … , x m ) . We will not need this form.
Proposition 2. There exists a polynomial-time function F : D K ‾ → D K ‾ s n f F:\overline{\mathrm{DK}} \to\overline{\mathrm{DK}}_{\mathrm{snf}} F : DK → DK snf such that, for every non-empty domain D D D , φ ∈ D K ‾ \varphi\in\overline{\mathrm{DK}} φ ∈ DK has a model over D D D if and only if F ( φ ) F(\varphi) F ( φ ) has a model over $D.
Proof. We show the rewriting for a single K ‾ \overline{\mathrm{K}} K sentence; the extension to D K ‾ \overline{\mathrm{DK}} DK is straightforward.
Let φ ∈ K ‾ \varphi\in\overline{\mathrm{K}} φ ∈ K and let Σ = ⟨ R , c ˉ ⟩ \Sigma= \langle R,\bar{c}\rangle Σ = ⟨ R , c ˉ ⟩ be the signature of φ \varphi φ . By converting φ \varphi φ to the prenex form (1) and introducing dummy quantifiers whenever necessary, we may assume that
φ = ∀ x ˉ ∀ x n + 1 ∃ x n + 2 ⋯ ∀ x m − 1 ∃ x m ψ , \varphi= \forall\bar{x}\ \forall x_{n+1}\ \exists x_{n+2}\ \cdots\ \forall x_{m-1}\ \exists x_m\ \psi, φ = ∀ x ˉ ∀ x n + 1 ∃ x n + 2 ⋯ ∀ x m − 1 ∃ x m ψ ,
where x ˉ = ⟨ x 1 , … , x n ⟩ \bar{x} = \langle x_1,\ldots,x_n\rangle x ˉ = ⟨ x 1 , … , x n ⟩ are the uniform variables, m − n > 0 m-n>0 m − n > 0 is even, the quantifier binding x n + i x_{n+i} x n + i is universal for odd i i i and existential for even i i i , and ψ \psi ψ is quantifier-free.
We proceed by induction on m − n m-n m − n . If m − n = 2 m-n=2 m − n = 2 , then φ = ∀ x 1 ⋯ ∀ x n + 1 ∃ x n + 2 ψ \varphi= \forall x_1\cdots\forall x_{n+1}\exists x_{n+2}\ \psi φ = ∀ x 1 ⋯ ∀ x n + 1 ∃ x n + 2 ψ is already in D K ‾ s n f \overline{\mathrm{DK}}_{\mathrm{snf}} DK snf , and we set F ( φ ) : = φ F(\varphi):=\varphi F ( φ ) := φ . Suppose now that m − n > 2 m-n>2 m − n > 2 . Let x ˉ ′ = ⟨ x 1 , … , x n + 2 ⟩ \bar{x}' = \langle x_1,\ldots,x_{n+2}\rangle x ˉ ′ = ⟨ x 1 , … , x n + 2 ⟩ and
χ [ x ˉ ′ ] : = ∀ x n + 3 ∃ x n + 4 ⋯ ∀ x m − 1 ∃ x m ψ . \chi[\bar{x}'] := \forall x_{n+3}\ \exists x_{n+4}\ \cdots\ \forall x_{m-1}\ \exists x_m\ \psi. χ [ x ˉ ′ ] := ∀ x n + 3 ∃ x n + 4 ⋯ ∀ x m − 1 ∃ x m ψ .
Thus, φ = ∀ x ˉ ∀ x n + 1 ∃ x n + 2 χ \varphi= \forall\bar{x}\ \forall x_{n+1}\ \exists x_{n+2}\ \chi φ = ∀ x ˉ ∀ x n + 1 ∃ x n + 2 χ .
Define δ : = { α ∈ atoms ( ψ ) ∣ vars ( α ) ⊆ { x 1 , … , x n + 2 } } \delta:= \{\alpha\in\operatorname{atoms}(\psi) \mid\operatorname{vars}(\alpha) \subseteq\{x_1,\ldots,x_{n+2}\}\} δ := { α ∈ atoms ( ψ ) ∣ vars ( α ) ⊆ { x 1 , … , x n + 2 }} . We extend Σ \Sigma Σ to a signature Σ + \Sigma^+ Σ + by introducing a fresh ( n + 2 ) (n+2) ( n + 2 ) -ary relation symbol R χ R_\chi R χ and, for every α ∈ δ \alpha\in\delta α ∈ δ , a fresh ( n + 2 ) (n+2) ( n + 2 ) -ary relation symbol R α R_\alpha R α . Let χ + \chi^+ χ + be obtained from χ \chi χ by replacing every occurrence of each atom α ∈ δ \alpha\in\delta α ∈ δ by R α ( x ˉ ′ ) R_\alpha(\bar{x}') R α ( x ˉ ′ ) . The new atoms use precisely the variables x ˉ ′ = ⟨ x 1 , … , x n + 2 ⟩ \bar{x}' = \langle x_1,\ldots,x_{n+2}\rangle x ˉ ′ = ⟨ x 1 , … , x n + 2 ⟩ , in this order, while the subscript α \alpha α records the original relation symbol and its full sequence of arguments, including repetitions and constants.
Over Σ + \Sigma^+ Σ + , define
μ : = ∀ x ˉ ∀ x n + 1 ∃ x n + 2 ( R χ ( x ˉ ′ ) ∧ ⋀ α ∈ δ ( α ↔ R α ( x ˉ ′ ) ) ) \mu:= \forall\bar{x}\ \forall x_{n+1}\ \exists x_{n+2}\left(R_\chi(\bar{x}') \land\bigwedge_{\alpha\in\delta}\left(\alpha\leftrightarrow R_\alpha(\bar{x}')\right)\right) μ := ∀ x ˉ ∀ x n + 1 ∃ x n + 2 ( R χ ( x ˉ ′ ) ∧ α ∈ δ ⋀ ( α ↔ R α ( x ˉ ′ ) ) )
and
ν : = ∀ x ˉ ′ ( R χ ( x ˉ ′ ) → χ + ) . \nu:= \forall\bar{x}'\left(R_\chi(\bar{x}') \to\chi^+\right). ν := ∀ x ˉ ′ ( R χ ( x ˉ ′ ) → χ + ) .
The above sentences provide an intermediate rewriting step in the construction of F ( φ ) \mathcal{F}(\varphi) F ( φ ) . We return to F ( φ ) \mathcal{F}(\varphi) F ( φ ) shortly and first verify the correctness of this step.
We first show that μ ∧ ν ⊨ φ \mu\land\nu\models\varphi μ ∧ ν ⊨ φ . By the definition of ν \nu ν , we may replace the conjunct R χ ( x ˉ ′ ) R_{\chi}(\bar{x}') R χ ( x ˉ ′ ) in the matrix of μ \mu μ by χ + \chi^{+} χ + when deriving a consequence of μ ∧ ν \mu\land\nu μ ∧ ν . It follows that
μ ∧ ν ⊨ ∀ x ˉ ∀ x n + 1 ∃ x n + 2 ( χ + ∧ ⋀ α ∈ δ ( α ↔ R α ( x ˉ ′ ) ) ) . \mu\land\nu\models\forall\bar{x}\ \forall x_{n+1}\ \exists x_{n+2}\left(\chi^{+} \land\bigwedge_{\alpha\in\delta}(\alpha\leftrightarrow R_{\alpha}(\bar{x}'))\right). μ ∧ ν ⊨ ∀ x ˉ ∀ x n + 1 ∃ x n + 2 ( χ + ∧ α ∈ δ ⋀ ( α ↔ R α ( x ˉ ′ )) ) .
For every α ∈ δ \alpha\in\delta α ∈ δ , the equivalence α ↔ R α ( x ˉ ′ ) \alpha\leftrightarrow R_{\alpha}(\bar{x}') α ↔ R α ( x ˉ ′ ) allows each occurrence of R α ( x ˉ ′ ) R_{\alpha}(\bar{x}') R α ( x ˉ ′ ) in χ + \chi^{+} χ + to be replaced by the corresponding atom α \alpha α . By the definition of χ + \chi^{+} χ + , performing these replacements reconstructs χ \chi χ . It follows that
μ ∧ ν ⊨ ∀ x ˉ ∀ x n + 1 ∃ x n + 2 χ . \mu\land\nu\models\forall\bar{x}\ \forall x_{n+1}\ \exists x_{n+2}\ \chi. μ ∧ ν ⊨ ∀ x ˉ ∀ x n + 1 ∃ x n + 2 χ .
The sentence on the right is precisely φ \varphi φ . Hence, μ ∧ ν ⊨ φ \mu\land\nu\models\varphi μ ∧ ν ⊨ φ .
Conversely, suppose that A ⊨ φ \mathfrak{A} \models\varphi A ⊨ φ . We expand A \mathfrak{A} A to a Σ + \Sigma^{+} Σ + -structure by interpreting
R χ A : = { a ˉ ∈ A n + 2 ∣ A ⊨ χ [ a ˉ ] } , R α A : = { a ˉ ∈ A n + 2 ∣ A ⊨ α [ a ˉ / x ˉ ′ ] } for α ∈ δ . R_{\chi}^{\mathfrak{A}} := \{\bar{a} \in A^{n+2} \mid\mathfrak{A} \models\chi[\bar{a}]\}, \qquad R_{\alpha}^{\mathfrak{A}} := \{\bar{a} \in A^{n+2} \mid\mathfrak{A} \models\alpha[\bar{a}/\bar{x}']\}\quad\text{for }\alpha\in\delta. R χ A := { a ˉ ∈ A n + 2 ∣ A ⊨ χ [ a ˉ ]} , R α A := { a ˉ ∈ A n + 2 ∣ A ⊨ α [ a ˉ / x ˉ ′ ]} for α ∈ δ .
By construction, the resulting expansion satisfies
η : = ∀ x ˉ ′ ( R χ ( x ˉ ′ ) ↔ χ ) and θ : = ∀ x ˉ ′ ⋀ α ∈ δ ( α ↔ R α ( x ˉ ′ ) ) . \eta:= \forall\bar{x}'\left(R_{\chi}(\bar{x}') \leftrightarrow\chi\right) \qquad\text{and}\qquad\theta:= \forall\bar{x}'\bigwedge_{\alpha\in\delta}\left(\alpha\leftrightarrow R_{\alpha}(\bar{x}')\right). η := ∀ x ˉ ′ ( R χ ( x ˉ ′ ) ↔ χ ) and θ := ∀ x ˉ ′ α ∈ δ ⋀ ( α ↔ R α ( x ˉ ′ ) ) .
Thus, every model of φ \varphi φ admits a Σ + \Sigma^{+} Σ + -expansion satisfying φ ∧ η ∧ θ \varphi\land\eta\land\theta φ ∧ η ∧ θ . It remains to show that φ ∧ η ∧ θ ⊨ μ ∧ ν \varphi\land\eta\land\theta\models\mu\land\nu φ ∧ η ∧ θ ⊨ μ ∧ ν .
Since φ = ∀ x ˉ ∀ x n + 1 ∃ x n + 2 χ \varphi= \forall\bar{x}\ \forall x_{n+1}\ \exists x_{n+2}\ \chi φ = ∀ x ˉ ∀ x n + 1 ∃ x n + 2 χ , we have
φ ∧ η ⊨ ∀ x ˉ ∀ x n + 1 ∃ x n + 2 R χ ( x ˉ ′ ) . \varphi\land\eta\models\forall\bar{x}\ \forall x_{n+1}\ \exists x_{n+2}\ R_{\chi}(\bar{x}'). φ ∧ η ⊨ ∀ x ˉ ∀ x n + 1 ∃ x n + 2 R χ ( x ˉ ′ ) .
Together with θ \theta θ , this yields φ ∧ η ∧ θ ⊨ μ \varphi\land\eta\land\theta\models\mu φ ∧ η ∧ θ ⊨ μ .
Moreover, θ \theta θ allows every occurrence of an atom α ∈ δ \alpha\in\delta α ∈ δ in χ \chi χ to be replaced by R α ( x ˉ ′ ) R_{\alpha}(\bar{x}') R α ( x ˉ ′ ) . Hence, by the definition of χ + \chi^{+} χ + ,
θ ⊨ ∀ x ˉ ′ ( χ ↔ χ + ) . \theta\models\forall\bar{x}'\left(\chi\leftrightarrow\chi^{+}\right). θ ⊨ ∀ x ˉ ′ ( χ ↔ χ + ) .
Combining this with η \eta η yields η ∧ θ ⊨ ν \eta\land\theta\models\nu η ∧ θ ⊨ ν . Therefore, φ ∧ η ∧ θ ⊨ μ ∧ ν \varphi\land\eta\land\theta\models\mu\land\nu φ ∧ η ∧ θ ⊨ μ ∧ ν . This establishes the correctness of the rewriting step. We now return to the construction of F ( φ ) \mathcal{F}(\varphi) F ( φ ) .
The sentence μ \mu μ belongs to D K ‾ s n f \overline{\mathrm{DK}}_{\mathrm{snf}} DK snf . The sentence ν \nu ν need not belong to D K ‾ s n f \overline{\mathrm{DK}}_{\mathrm{snf}} DK snf , but it is again a K ‾ \overline{\mathrm{K}} K sentence, now with uniform variables x ˉ ′ \bar{x}' x ˉ ′ . Moreover, ν \nu ν has strictly smaller quantifier alternation depth than φ \varphi φ , so the induction hypothesis applies to it. We set F ( φ ) : = μ ∧ F ( ν ) \mathcal{F}(\varphi) := \mu\land\mathcal{F}(\nu) F ( φ ) := μ ∧ F ( ν ) .
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 D K ‾ s n f \overline{\mathrm{DK}}_{\mathrm{snf}} DK snf are, in fact, conjunctions of sentences in the solvable Skolem class. Combining this observation with Proposition 2 yields a simple decidability argument for D K ‾ \overline{\mathrm{DK}} DK , 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 D K ‾ s n f \overline{\mathrm{DK}}_{\mathrm{snf}} DK snf consists of conjunctions of such sentences, his argument extends seamlessly to this broader setting. Thus, we obtain the following result.
Corollary 3. The class D K ‾ \overline{\mathrm{DK}} DK has the finite model property. The satisfiability problem for the class D K ‾ \overline{\mathrm{DK}} DK is decidable.
The Complexity of D K ‾ \overline{\mathrm{DK}} DK : A Simpler Proof
In this section, we show the optimal NExpTime upper bound on the complexity of K ‾ \overline{\mathrm{K}} K and D K ‾ \overline{\mathrm{DK}} DK . 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.3 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 K ‾ \overline{\mathrm{K}} K 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 K ‾ \overline{\mathrm{K}} K 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 K ‾ \overline{\mathrm{K}} K 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 D K ‾ s n f \overline{\mathrm{DK}}_{\mathrm{snf}} DK snf 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.
Preliminary reductions
Standard names. In a structure A \mathcal{A} A , distinct constants may be interpreted by the same element, c 1 A = c 2 A c^{\mathcal{A}}_1 = c^{\mathcal{A}}_2 c 1 A = c 2 A , 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, c A = c c^{\mathcal{A}} = c c A = c . This assumption is without loss of generality for both satisfiability and model-size bounds. Indeed, whenever c 1 A = c 2 A c^{\mathcal{A}}_1 = c^{\mathcal{A}}_2 c 1 A = c 2 A , the constant c 2 c_2 c 2 can be replaced by c 1 c_1 c 1 throughout φ \varphi φ without affecting its satisfaction or the size of the model. Accordingly, we partition the domain as A = A 0 ∪ ˙ c ˉ A = A_0 \mathbin{\dot\cup} \bar{c} A = A 0 ∪ ˙ c ˉ , where A 0 A_0 A 0 is the set of unnamed elements and c ˉ \bar{c} c ˉ 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 ∀ x 1 , x 2 ∃ y ˉ ψ [ x ˉ 1 , x ˉ 2 , y ˉ ] \forall x_1,x_2\ \exists\bar{y}\ \psi[\bar{x}_1,\bar{x}_2,\bar{y}] ∀ x 1 , x 2 ∃ y ˉ ψ [ x ˉ 1 , x ˉ 2 , y ˉ ] , with ψ \psi ψ quantifier-free, is transformed into
∀ x 1 , x 2 ∃ y ˉ ∃ z ˉ ( x 1 ≠ x 2 → ( ψ [ x 1 , x 2 , y ˉ ] ∧ ψ [ x 1 , x 1 , z ˉ ] ) ) . \forall x_1,x_2\ \exists\bar{y}\exists\bar{z}\ (x_1 \ne x_2 \to(\psi[x_1,x_2,\bar{y}] \land\psi[x_1,x_1,\bar{z}])). ∀ x 1 , x 2 ∃ y ˉ ∃ z ˉ ( x 1 = x 2 → ( ψ [ x 1 , x 2 , y ˉ ] ∧ ψ [ x 1 , x 1 , z ˉ ])) .
where z ˉ \bar{z} z ˉ is a tuple of fresh variables of the same length as y ˉ \bar{y} y ˉ . Over domains of size at least two, this transformation preserves satisfiability. Its advantage is that the subsequent argument need only consider the case x 1 ≠ x 2 x_1 \ne x_2 x 1 = x 2 , since the case x 1 = x 2 x_1 = x_2 x 1 = x 2 is accounted for by the second conjunct ψ [ x 1 , x 1 , z ˉ ] \psi[x_1,x_1,\bar{z}] ψ [ x 1 , x 1 , z ˉ ] . Equality is used only as part of the reduction and is not allowed to occur in ψ \psi ψ .
We generalise this idea to D K s n f \mathrm{DK}_{\mathrm{snf}} DK snf 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 A \mathcal{A} A and m ∈ N m \in\mathbb{N} m ∈ N , we write ⟨ A ⟩ m \langle\mathcal{A}\rangle^m ⟨ A ⟩ m for the set of all m m m -tuples a ˉ ∈ A m \bar{a} \in A^m a ˉ ∈ A m whose entries are pairwise distinct and unnamed. The following lemma establishes a reduction that allows satisfaction of sentences in D K s n f \mathrm{DK}_{\mathrm{snf}} DK snf to be verified by considering only tuples from ⟨ A ⟩ m \langle\mathcal{A}\rangle^m ⟨ A ⟩ m .
Lemma 4. Every sentence φ i n ∈ D K ‾ s n f \varphi_{\mathrm{in}} \in\overline{\mathrm{DK}}_{\mathrm{snf}} φ in ∈ DK snf can be reduced to a sentence φ ∈ D K ‾ s n f \varphi\in\overline{\mathrm{DK}}_{\mathrm{snf}} φ ∈ DK snf over the same signature such that, with the notation of Definition 1 applied to φ \varphi φ , the following hold:
The sentences φ i n \varphi_{\mathrm{in}} φ in and φ \varphi φ are logically equivalent.
For every structure A \mathcal{A} A with at least m m m unnamed elements,
A ⊨ φ ⟺ for every t ∈ I and a ˉ ∈ ⟨ A ⟩ m , there exists b ∈ A such that A ⊨ ψ t [ a ˉ , b ] . \mathcal{A} \models\varphi\quad\Longleftrightarrow\quad\text{for every } t \in I \text{ and } \bar{a} \in\langle\mathcal{A}\rangle^m,\text{ there exists } b \in A \text{ such that } \mathcal{A} \models\psi_t[\bar{a},b]. A ⊨ φ ⟺ for every t ∈ I and a ˉ ∈ ⟨ A ⟩ m , there exists b ∈ A such that A ⊨ ψ t [ a ˉ , b ] . Moreover, the reduction does not introduce new variables and the following bounds hold:
∣ I ∣ = 2 O ( ∣ φ i n ∣ log ∣ φ i n ∣ ) , max t ∈ I ∣ ψ t ∣ = O ( ∣ φ i n ∣ ) , ∣ ⋃ t ∈ I : n t ≥ 2 α t ∣ = O ( ∣ φ i n ∣ 2 ) . |I| = 2^{O(|\varphi_{\mathrm{in}}|\log|\varphi_{\mathrm{in}}|)},\qquad\max_{t\in I}|\psi_t| = O(|\varphi_{\mathrm{in}}|),\qquad\left|\bigcup_{t\in I:n_t\ge2}\alpha_t\right| = O(|\varphi_{\mathrm{in}}|^2). ∣ I ∣ = 2 O ( ∣ φ in ∣ l o g ∣ φ in ∣ ) , t ∈ I max ∣ ψ t ∣ = O ( ∣ φ in ∣ ) , t ∈ I : n t ≥ 2 ⋃ α t = O ( ∣ φ in ∣ 2 ) .
Proof. We fix an input sentence φ i n ∈ D K ‾ s n f \varphi_{\mathrm{in}} \in\overline{\mathrm{DK}}_{\mathrm{snf}} φ in ∈ DK snf and let Σ = ⟨ R ˉ , c ˉ ⟩ \Sigma= \langle\bar{R},\bar{c}\rangle Σ = ⟨ R ˉ , c ˉ ⟩ be its signature. For the duration of this proof, the notation of Definition 1 refers to φ i n \varphi_{\mathrm{in}} φ in , rather than to the resulting sentence φ \varphi φ as in the statement of the lemma. Hence,
φ = ⋀ t ∈ I ∀ x ˉ ∃ x m + 1 ψ t [ x ˉ , x m + 1 ] . \varphi= \bigwedge_{t\in I}\forall\bar{x}\ \exists x_{m+1}\ \psi_t[\bar{x},x_{m+1}]. φ = t ∈ I ⋀ ∀ x ˉ ∃ x m + 1 ψ t [ x ˉ , x m + 1 ] .
Let e e e be an equivalence relation on x ˉ ∪ c ˉ \bar{x}\cup\bar{c} x ˉ ∪ c ˉ . We call e e e an equality pattern if no two distinct constants are e e e -equivalent, and write E \mathcal{E} E for the set of all equality patterns.
For e ∈ E e \in\mathcal{E} e ∈ E and a ∈ x ˉ ∪ c ˉ a \in\bar{x}\cup\bar{c} a ∈ x ˉ ∪ c ˉ , we define the e e e -representative of a a a as follows. If the e e e -class [ a ] e [a]_e [ a ] e contains a constant, then this constant is unique, and we take it as the e e e -representative of a a a . Otherwise, we take the variable x i ∈ [ a ] e x_i \in[a]_e x i ∈ [ a ] e with the least index i i i . We denote by ρ e \rho_e ρ e the substitution that maps each variable in x ˉ \bar{x} x ˉ to its e e e -representative and fixes x m + 1 x_{m+1} x m + 1 .
For t ∈ I t \in I t ∈ I and e ∈ E e \in\mathcal{E} e ∈ E , let ψ t , e \psi_{t,e} ψ t , e be obtained from ψ t \psi_t ψ t by applying ρ e \rho_e ρ e . We define
φ : = ⋀ ( t , e ) ∈ I × E ∀ x ˉ ∃ x m + 1 ψ t , e [ x ˉ , x m + 1 ] . \varphi:= \bigwedge_{(t,e)\in I\times\mathcal{E}}\forall\bar{x}\ \exists x_{m+1}\ \psi_{t,e}[\bar{x},x_{m+1}]. φ := ( t , e ) ∈ I × E ⋀ ∀ x ˉ ∃ x m + 1 ψ t , e [ x ˉ , x m + 1 ] .
We claim that φ ∈ D K ‾ \varphi\in\overline{\mathrm{DK}} φ ∈ DK . To see this, fix t ∈ I t \in\mathcal{I} t ∈ I and e ∈ E e \in\mathcal{E} e ∈ E . Write φ t , e : = ∀ x ‾ ∃ x m + 1 ψ t , e \varphi_{t,e} := \forall\overline{x}\ \exists x_{m+1}\ \psi_{t,e} φ t , e := ∀ x ∃ x m + 1 ψ t , e . Recall that x 1 , … , x n t x_1,\ldots,x_{n_t} x 1 , … , x n t are the uniform variables of φ t \varphi_t φ t . Consider those among them that are their own e e e -representatives, that is, the variables x i x_i x i such that i ≤ n t i \le n_t i ≤ n t and ρ e ( x i ) = x i \rho_e(x_i)=x_i ρ e ( x i ) = x i . If there are at least two such variables, select them as the uniform variables of φ t , e \varphi_{t,e} φ t , e . Otherwise, take φ t , e \varphi_{t,e} φ t , e to have no uniform variables. Let n t , e n_{t,e} n t , e denote the number of the selected uniform variables. This selection does not necessarily satisfy the convention imposed in Definition 1 , since it need not form an initial segment of x 1 , … , x m x_1,\ldots,x_m x 1 , … , x m . This can be remedied, when necessary, by suitably renaming the universally quantified variables in φ t , e \varphi_{t,e} φ t , e .
We now define the partition atoms ( ψ t , e ) = α t , e ∪ β t , e ∪ γ t , e (\psi_{t,e})=\alpha_{t,e}\cup\beta_{t,e}\cup\gamma_{t,e} ( ψ t , e ) = α t , e ∪ β t , e ∪ γ t , e . If n t , e = 0 n_{t,e}=0 n t , e = 0 , we set
α t , e : = ρ e ( α t ) ∪ ρ e ( β t ) , β t , e : = ∅ , γ t , e : = ρ e ( γ t ) . \alpha_{t,e}:=\rho_e(\alpha_t)\cup\rho_e(\beta_t),\qquad\beta_{t,e}:=\varnothing,\qquad\gamma_{t,e}:=\rho_e(\gamma_t). α t , e := ρ e ( α t ) ∪ ρ e ( β t ) , β t , e := ∅ , γ t , e := ρ e ( γ t ) .
If n t , e ≥ 2 n_{t,e}\ge2 n t , e ≥ 2 , we instead set
α t , e : = ρ e ( α t ) , β t , e : = ρ e ( β t ) , γ t , e : = ρ e ( γ t ) . \alpha_{t,e}:=\rho_e(\alpha_t),\qquad\beta_{t,e}:=\rho_e(\beta_t),\qquad\gamma_{t,e}:=\rho_e(\gamma_t). α t , e := ρ e ( α t ) , β t , e := ρ e ( β t ) , γ t , e := ρ e ( γ t ) .
In both cases, every atom in α t , e \alpha_{t,e} α t , e contains at most one variable, every atom in β t , e \beta_{t,e} β t , e contains precisely the declared uniform variables, and every atom in γ t , e \gamma_{t,e} γ t , e contains the existential variable x m + 1 x_{m+1} x m + 1 . Thus, every conjunct of φ \varphi φ belongs to K ‾ \overline{\mathrm{K}} K , and hence φ ∈ D K ‾ \varphi\in\overline{\mathrm{DK}} φ ∈ DK .
It is straightforward to verify that φ i n \varphi_{\mathrm{in}} φ in and φ \varphi φ are logically equivalent. Indeed, since the variables in x ‾ \overline{x} x are universally quantified, φ i n \varphi_{\mathrm{in}} φ in already accounts for all possible identifications among variables and substitutions by constants. The constructed sentence φ \varphi φ merely makes this fact explicit through considering all equality patterns.
This explicit treatment of equality patterns allows satisfaction of φ \varphi φ over any structure A \mathcal{A} A with at least m m m unnamed elements to be verified by considering only tuples from ⟨ A ⟩ m \langle\mathcal{A}\rangle^m ⟨ A ⟩ m . To see this, take a tuple a ‾ ∈ A m \overline{a}\in A^m a ∈ A m and write a ‾ = ⟨ a 1 , … , a m ⟩ \overline{a}=\langle a_1,\ldots,a_m\rangle a = ⟨ a 1 , … , a m ⟩ . Let e e e be the equivalence relation generated by
{ ( x i , x j ) ∣ i , j ∈ [ m ] , a i = a j } ∪ { ( x i , c ) ∣ i ∈ [ m ] , c ∈ c ‾ , a i = c } . \{(x_i,x_j)\mid i,j\in[m],\ a_i=a_j\}\cup\{(x_i,c)\mid i\in[m],\ c\in\overline{c},\ a_i=c\}. {( x i , x j ) ∣ i , j ∈ [ m ] , a i = a j } ∪ {( x i , c ) ∣ i ∈ [ m ] , c ∈ c , a i = c } .
Distinct constants cannot be identified because we work under the standard name assumption. Hence, e e e is an equality pattern. We construct a tuple a ‾ ′ ∈ ⟨ A ⟩ m \overline{a}'\in\langle\mathcal{A}\rangle^m a ′ ∈ ⟨ A ⟩ m in two steps. First, for every e e e -representative variable x i x_i x i , its e e e -class contains no constant, and we set the i i i th entry of a ‾ ′ \overline{a}' a ′ as in a ‾ \overline{a} a . These entries are pairwise distinct and unnamed. Second, using the assumption that A \mathcal{A} A has at least m m m unnamed elements, we fill the remaining positions with fresh unnamed elements so that all entries of a ‾ ′ \overline{a}' a ′ are pairwise distinct. The definition of ρ e \rho_e ρ e then ensures that
A ⊨ ψ t , e [ a ‾ ′ , b ] ⟺ A ⊨ ψ t [ a ‾ , b ] for every b ∈ A . \mathcal{A}\models\psi_{t,e}[\overline{a}',b]\quad\Longleftrightarrow\quad\mathcal{A}\models\psi_t[\overline{a},b]\qquad\text{for every }b\in A. A ⊨ ψ t , e [ a ′ , b ] ⟺ A ⊨ ψ t [ a , b ] for every b ∈ A .
Thus, witnesses for all tuples in ⟨ A ⟩ m \langle\mathcal{A}\rangle^m ⟨ A ⟩ m 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 φ \varphi φ is ∣ I × E ∣ = 2 O ( ∣ φ i n ∣ log ∣ φ i n ∣ ) |\mathcal{I}\times\mathcal{E}|=2^{O(|\varphi_{\mathrm{in}}|\log|\varphi_{\mathrm{in}}|)} ∣ I × E ∣ = 2 O ( ∣ φ in ∣ l o g ∣ φ in ∣ ) , and every introduced conjunct satisfies ∣ ψ t , e ∣ = O ( ∣ φ i n ∣ ) |\psi_{t,e}|=O(|\varphi_{\mathrm{in}}|) ∣ ψ t , e ∣ = O ( ∣ φ in ∣ ) . We now establish the third bound, namely, that the total number of distinct α \boldsymbol{\alpha} α -atoms occurring in conjuncts of uniformity at least 2 2 2 remains quadratic in the size of the input sentence.
Fix t ∈ I t\in\mathcal{I} t ∈ I . For every e ∈ E e\in\mathcal{E} e ∈ E with n t , e ≥ 2 n_{t,e}\ge2 n t , e ≥ 2 , we have α t , e = ρ e ( α t ) \alpha_{t,e}=\rho_e(\alpha_t) α t , e = ρ e ( α t ) . It therefore suffices to bound the number of distinct images of each atom α ∈ α t \alpha\in\alpha_t α ∈ α t under the substitutions ρ e \rho_e ρ e .
Suppose that vars ( α ) ⊆ { x i } \operatorname{vars}(\alpha)\subseteq\{x_i\} vars ( α ) ⊆ { x i } for some i ∈ [ m ] i\in[m] i ∈ [ m ] . For every e ∈ E e\in\mathcal{E} e ∈ E , the substitution ρ e \rho_e ρ e maps x i x_i x i either to some variable x j x_j x j , with j ∈ [ m ] j\in[m] j ∈ [ m ] , or to a constant in c ‾ \overline{c} c . Hence, as e e e ranges over E \mathcal{E} E , the atom α \alpha α has at most m + ∣ c ‾ ∣ m+|\overline{c}| m + ∣ c ∣ distinct images.
Consequently,
∣ ⋃ ( t , e ) ∈ I × E n t , e ≥ 2 α t , e ∣ ≤ ∑ t ∈ I ∣ α t ∣ ⋅ ( m + ∣ c ˉ ∣ ) . \left|\bigcup_{\substack{(t,e)\in I\times E\\ n_{t,e}\ge2}}\alpha_{t,e}\right| \leq\sum_{t\in I}|\alpha_t|\cdot(m+|\bar{c}|). ( t , e ) ∈ I × E n t , e ≥ 2 ⋃ α t , e ≤ t ∈ I ∑ ∣ α t ∣ ⋅ ( m + ∣ c ˉ ∣ ) .
Since ∑ t ∈ I ∣ α t ∣ = O ( ∣ φ i n ∣ ) \sum_{t\in I}|\alpha_t|=\mathcal{O}(|\varphi_{\mathrm{in}}|) ∑ t ∈ I ∣ α t ∣ = O ( ∣ φ in ∣ ) and m + ∣ c ˉ ∣ = O ( ∣ φ i n ∣ ) m+|\bar{c}|=\mathcal{O}(|\varphi_{\mathrm{in}}|) m + ∣ c ˉ ∣ = O ( ∣ φ in ∣ ) , the desired quadratic bound follows.
A Satisfiability Criterion
For the rest of this section, we fix an input sentence φ i n ∈ D K ‾ s n f \varphi_{\mathrm{in}}\in\overline{\mathrm{DK}}_{\mathrm{snf}} φ in ∈ DK snf and let φ \varphi φ be the sentence obtained from φ i n \varphi_{\mathrm{in}} φ in by Lemma 4 . Let Σ = ⟨ R ‾ , c ˉ ⟩ \Sigma=\langle\overline{R},\bar{c}\rangle Σ = ⟨ R , c ˉ ⟩ denote their common signature. Unless stated otherwise, we consider only Σ \Sigma Σ -structures with at least m m m unnamed elements. From this point on, the notation of Definition 1 always refers to the components of φ \varphi φ , while φ i n \varphi_{\mathrm{in}} φ in 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 ∣ φ i n ∣ |\varphi_{\mathrm{in}}| ∣ φ in ∣ rather than ∣ φ ∣ |\varphi| ∣ φ ∣ . For this purpose, Lemma 4 also records precise bounds on the relevant syntactic parameters of φ \varphi φ . The significance of these bounds will become clear in Subsection 5.3.
Satisfiability witnesses. Following [17 ] , we characterise satisfiability of φ \varphi φ 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 k k -outer-types for k ≤ m + 1 k\leq m+1 k ≤ m + 1 realised in a structure in which every realised 1-type has at least m + 1 m+1 m + 1 distinct realisations. This is captured by the notion of φ \varphi φ -realisability.
Definition 5. A set of outer-types S ⊆ τ o ( Σ ) S\subseteq\tau^{o}(\Sigma) S ⊆ τ o ( Σ ) is φ \varphi φ -realisable if the following conditions hold:
S S S contains a unique 0-type, and every other outer-type τ o ∈ S \tau_o\in S τ o ∈ S is consistent with it.
S S S contains at least one 1-type.
S S S is closed under automorphisms of outer-types induced by permutations of variables.
For every k ∈ [ m + 1 ] k\in[m+1] k ∈ [ m + 1 ] and every k k k -outer-type τ o ∈ S \tau_o\in S τ o ∈ S , τ o ⟨ x i ⟩ ∈ S \tau_o\langle x_i\rangle\in S τ o ⟨ x i ⟩ ∈ S for every i ∈ [ k ] i\in[k] i ∈ [ k ] .
For every k ∈ [ m + 1 ] k\in[m+1] k ∈ [ m + 1 ] and all 1-types π 1 , … , π k ∈ S \pi_1,\ldots,\pi_k\in S π 1 , … , π k ∈ S , there exists a k k k -outer-type τ o ∈ S \tau_o\in S τ o ∈ S such that τ o ⟨ x i ⟩ = π i \tau_o\langle x_i\rangle=\pi_i τ o ⟨ x i ⟩ = π i for every i ∈ [ k ] i\in[k] i ∈ [ k ] .
Suppose for a moment that we want to construct a model of φ \varphi φ using only outer-types from a fixed φ \varphi φ -realisable set S S S . A natural approach is to proceed inductively as follows.
Suppose that a structure A \mathcal{A} A has already been constructed. We select a tuple a ˉ ∈ ⟨ A ⟩ m \bar{a}\in\langle\mathcal{A}\rangle^m a ˉ ∈ ⟨ A ⟩ m , representing an assignment to the universal variables, and an index t ∈ I t\in I t ∈ I of a conjunct that is unsatisfied for a ˉ \bar{a} a ˉ , that is, A ⊭ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ] \mathcal{A}\not\models\exists x_{m+1}\ \psi_t[\bar{a},x_{m+1}] A ⊨ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ] . We then extend A \mathcal{A} A in three steps. First, we introduce a fresh element b b b to serve as a witness. Next, we define the ( m + 1 ) (m+1) ( m + 1 ) -type of the extended tuple a ˉ b \bar{a}b a ˉ b so that A ⊨ ψ t [ a ˉ , b ] \mathcal{A}\models\psi_t[\bar{a},b] A ⊨ ψ t [ a ˉ , b ] . Finally, using φ \varphi φ -realisability of S S S , we complete the structure by choosing outer-types from S S S for the remaining tuples involving b b b .
For such a construction to succeed, two properties must be satisfied. First, the chosen ( m + 1 ) (m+1) ( m + 1 ) -type must be compatible both with the m m m -type already realised by a ˉ \bar{a} a ˉ and with the collection S S S of allowed outer-types. Second, it must be possible to assign outer-types from S S S to the remaining tuples involving b b 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 S S S -requirement is any m m m -type τ \tau τ that induces only outer-types from S S S . An ( S , t ) (S,t) ( S , t ) -extension of τ \tau τ is any ( m + 1 ) (m+1) ( m + 1 ) -type σ \sigma σ that extends τ \tau τ , satisfies ψ t \psi_t ψ t , and likewise induces only outer-types from S S S . The φ \varphi φ -extension property requires that every S S S -requirement has an ( S , t ) (S,t) ( S , t ) -extension for every index t ∈ I t\in I t ∈ I . Formally:
Definition 6. Let S ⊆ τ o ( Σ ) \mathcal{S} \subseteq\tau_o(\Sigma) S ⊆ τ o ( Σ ) . An m m m -type τ \tau τ is an S \mathcal{S} S -requirement if τ o ( τ ) ⊆ S \tau_o(\tau) \subseteq\mathcal{S} τ o ( τ ) ⊆ S . Given t ∈ I t \in\mathcal{I} t ∈ I , an ( S , t ) (\mathcal{S},t) ( S , t ) -extension of τ \tau τ is an ( m + 1 ) (m+1) ( m + 1 ) -type σ \sigma σ such that τ o ( σ ) ⊆ S \tau_o(\sigma) \subseteq\mathcal{S} τ o ( σ ) ⊆ S and σ ⊨ τ ∧ ψ t \sigma\models\tau\land\psi_t σ ⊨ τ ∧ ψ t .
The set S \mathcal{S} S has the φ \varphi φ -extension property if, for every S \mathcal{S} S -requirement τ \tau τ and every t ∈ I t \in\mathcal{I} t ∈ I , there exists an ( S , t ) (\mathcal{S},t) ( S , t ) -extension of τ \tau τ .
We combine the notions of φ \varphi φ -realisability and the φ \varphi φ -extension property in the following definition of a satisfiability witness. As we show subsequently, φ \varphi φ is satisfiable if and only if there exists a collection of outer-types with these two properties.
Definition 7. A set of outer-types W ⊆ τ o ( Σ ) \mathcal{W} \subseteq\tau_o(\Sigma) W ⊆ τ o ( Σ ) is called a satisfiability witness for φ \varphi φ if it is φ \varphi φ -realisable and has the φ \varphi φ -extension property.
Completeness. The notion of a satisfiability witness is complete : whenever φ \varphi φ 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 m m -types while controlling the induced outer-types.
Claim 8. Fix t ∈ I t \in\mathcal{I} t ∈ I , and let τ 1 , τ 2 \tau_1,\tau_2 τ 1 , τ 2 be m m m -types such that
τ 1 ⊨ α ⟺ τ 2 ⊨ α \tau_1 \models\alpha\Longleftrightarrow\tau_2 \models\alpha τ 1 ⊨ α ⟺ τ 2 ⊨ α for every α ∈ α t ∪ β t \alpha\in\alpha_t \cup\beta_t α ∈ α t ∪ β t ;
τ 1 ⟨ x i ⟩ = τ 2 ⟨ x i ⟩ \tau_1\langle x_i\rangle= \tau_2\langle x_i\rangle τ 1 ⟨ x i ⟩ = τ 2 ⟨ x i ⟩ for every i ∈ [ m ] i \in[m] i ∈ [ m ] .
Let σ 1 \sigma_1 σ 1 be an ( m + 1 ) (m+1) ( m + 1 ) -type extending τ 1 \tau_1 τ 1 and satisfying ψ t \psi_t ψ t , and define σ 2 : = ( σ 1 ∖ τ 1 ) ∪ τ 2 \sigma_2 := (\sigma_1 \setminus\tau_1) \cup\tau_2 σ 2 := ( σ 1 ∖ τ 1 ) ∪ τ 2 . Then σ 2 \sigma_2 σ 2 is an ( m + 1 ) (m+1) ( m + 1 ) -type extending τ 2 \tau_2 τ 2 and satisfying ψ t \psi_t ψ t . Moreover, τ o ( σ 2 ) ⊆ τ o ( τ 2 ) ∪ τ o ( σ 1 ) \tau_o(\sigma_2) \subseteq\tau_o(\tau_2) \cup\tau_o(\sigma_1) τ o ( σ 2 ) ⊆ τ o ( τ 2 ) ∪ τ o ( σ 1 ) .
Proof. Clearly, σ 2 \sigma_2 σ 2 extends τ 2 \tau_2 τ 2 . We now verify that σ 2 ⊨ ψ t \sigma_2 \models\psi_t σ 2 ⊨ ψ t . Replacing τ 1 \tau_1 τ 1 by τ 2 \tau_2 τ 2 preserves the truth values of all atoms in α t ∪ β t \alpha_t \cup\beta_t α t ∪ β t . Moreover, since every atom in γ t \gamma_t γ t contains x m + 1 x_{m+1} x m + 1 , its truth value is determined by the literals in σ 1 ∖ τ 1 \sigma_1 \setminus\tau_1 σ 1 ∖ τ 1 and is therefore the same in σ 2 \sigma_2 σ 2 as in σ 1 \sigma_1 σ 1 . Thus, every atom of ψ t \psi_t ψ t has the same truth value in σ 1 \sigma_1 σ 1 and σ 2 \sigma_2 σ 2 . Since σ 1 ⊨ ψ t \sigma_1 \models\psi_t σ 1 ⊨ ψ t , it follows that σ 2 ⊨ ψ t \sigma_2 \models\psi_t σ 2 ⊨ ψ t .
It remains to verify the inclusion of induced outer-types. Since τ 1 \tau_1 τ 1 and τ 2 \tau_2 τ 2 agree on the induced 1 1 1 -types, and the literals in σ 1 ∖ τ 1 \sigma_1 \setminus\tau_1 σ 1 ∖ τ 1 are retained in σ 2 \sigma_2 σ 2 , every outer-type induced by σ 2 \sigma_2 σ 2 that involves x m + 1 x_{m+1} x m + 1 is also induced by σ 1 \sigma_1 σ 1 . Every remaining outer-type induced by σ 2 \sigma_2 σ 2 is induced on some of the first m m m variables, and hence is induced by τ 2 \tau_2 τ 2 . Therefore, τ o ( σ 2 ) ⊆ τ o ( τ 2 ) ∪ τ o ( σ 1 ) \tau_o(\sigma_2) \subseteq\tau_o(\tau_2) \cup\tau_o(\sigma_1) τ o ( σ 2 ) ⊆ τ o ( τ 2 ) ∪ τ o ( σ 1 ) .
We now return to the completeness argument. Let A ⊨ φ \mathcal{A} \models\varphi A ⊨ φ . We first transform A \mathcal{A} A into a new structure B \mathcal{B} B by taking its infinite unfolding , constructed as follows. The domain B \mathcal{B} B consists of countably many copies of each element of A \mathcal{A} A and is identified with A × N A \times\mathbb{N} A × N , where ( c , 0 ) (c,0) ( c , 0 ) is identified with the constant c ∈ c ˉ c \in\bar{c} c ∈ c ˉ . For every relation symbol R ∈ R ˉ R \in\bar{R} R ∈ R ˉ of arity k k k , we define
R B = { ( ( a 1 , i 1 ) , … , ( a k , i k ) ) ∣ a 1 , … , a k ∈ A , i 1 , … , i k ∈ N , R A ( a 1 , … , a k ) } . R^{\mathcal{B}} = \{((a_1,i_1),\ldots,(a_k,i_k)) \mid a_1,\ldots,a_k \in A,\ i_1,\ldots,i_k \in\mathbb{N},\ R^{\mathcal{A}}(a_1,\ldots,a_k)\}. R B = {(( a 1 , i 1 ) , … , ( a k , i k )) ∣ a 1 , … , a k ∈ A , i 1 , … , i k ∈ N , R A ( a 1 , … , a k )} .
By a standard argument, B ⊨ φ \mathcal{B} \models\varphi B ⊨ φ . Moreover, for every t ∈ I t \in\mathcal{I} t ∈ I and every a ˉ ∈ ⟨ B ⟩ m \bar{a} \in\langle B\rangle^m a ˉ ∈ ⟨ B ⟩ m , there exists an unnamed element b a ˉ , t ∈ B b_{\bar{a},t} \in B b a ˉ , t ∈ B not occurring in a ˉ \bar{a} a ˉ such that B ⊨ ψ t [ a ˉ , b a ˉ , t ] \mathcal{B} \models\psi_t[\bar{a},b_{\bar{a},t}] B ⊨ ψ t [ a ˉ , b a ˉ , t ] . Indeed, every element ( a , i ) ∈ B (a,i) \in B ( a , i ) ∈ B , including one identified with a constant, is indistinguishable from its copy ( a , j ) ∈ B (a,j) \in B ( a , j ) ∈ B . Hence, any witness for ψ t \psi_t ψ t can be replaced by an unnamed copy not occurring in a ˉ \bar{a} a ˉ .
Let W \mathcal{W} W consist of all k k k -outer-types, for k ≤ m + 1 k \leq m+1 k ≤ m + 1 , realised in B \mathcal{B} B . We claim that W \mathcal{W} W is a satisfiability witness for φ \varphi φ .
By construction of B \mathcal{B} B , every realised 1 1 1 -type has infinitely many distinct realisations. It directly follows that W \mathcal{W} W is φ \varphi φ -realisable. It remains to verify the φ \varphi φ -extension property.
Fix t ∈ I t \in\mathcal{I} t ∈ I and let τ \tau τ be a W \mathcal{W} W -requirement. Consider the atoms in α t ∪ β t \alpha_t \cup\beta_t α t ∪ β t , that is, those that contain only universal variables. The atoms in α t \alpha_t α t depend only on the 1 1 1 -types induced by τ \tau τ , while those in β t \beta_t β t depend only on the outer-type induced on the uniform variables x 1 , … , x n t x_1,\ldots,x_{n_t} x 1 , … , x n t . Hence, although τ \tau τ itself need not be realised in B \mathcal{B} B , we can choose a tuple a ˉ ∈ ⟨ B ⟩ m \bar{a} \in\langle B\rangle^m a ˉ ∈ ⟨ B ⟩ m that agrees with τ \tau τ on α t ∪ β t \alpha_t \cup\beta_t α t ∪ β t . Indeed, we first choose distinct unnamed elements a 1 , … , a n t a_1,\ldots,a_{n_t} a 1 , … , a n t realising τ ⟨ x 1 , … , x n t ⟩ \tau\langle x_1,\ldots,x_{n_t}\rangle τ ⟨ x 1 , … , x n t ⟩ . We then choose distinct unnamed elements a n t + 1 , … , a m a_{n_t+1},\ldots,a_m a n t + 1 , … , a m , also distinct from the preceding ones, such that tp B 3 [ a i ] = τ ⟨ x i ⟩ \operatorname{tp}^{3}_{\mathcal{B}}[a_i]=\tau\langle x_i\rangle tp B 3 [ a i ] = τ ⟨ x i ⟩ for every i ∈ [ n t + 1 , m ] i\in[n_t+1,m] i ∈ [ n t + 1 , m ] .
Let τ ′ : = tp B 3 [ a ˉ ] \tau' := \operatorname{tp}^{3}_{\mathcal{B}}[\bar{a}] τ ′ := tp B 3 [ a ˉ ] and σ ′ : = tp B 3 [ a ˉ , b ˉ a ˉ , t ] \sigma' := \operatorname{tp}^{3}_{\mathcal{B}}[\bar{a},\bar{b}_{\bar{a},t}] σ ′ := tp B 3 [ a ˉ , b ˉ a ˉ , t ] . Then σ ′ \sigma' σ ′ extends τ ′ \tau' τ ′ and satisfies ψ t \psi_t ψ t . By the choice of a ˉ \bar{a} a ˉ , the types τ \tau τ and τ ′ \tau' τ ′ agree on all atoms in α t ∪ β t \alpha_t\cup\beta_t α t ∪ β t and induce the same sequences of 1-types. Hence, Claim 8, applied to τ \tau τ and τ ′ \tau' τ ′ , shows that σ : = ( σ ′ ∖ τ ′ ) ∪ τ \sigma:= (\sigma'\setminus\tau')\cup\tau σ := ( σ ′ ∖ τ ′ ) ∪ τ extends τ \tau τ , satisfies ψ t \psi_t ψ t , and T o ( σ ) ⊆ T o ( τ ) ∪ T o ( σ ′ ) \mathcal{T}_{\mathrm{o}}(\sigma)\subseteq\mathcal{T}_{\mathrm{o}}(\tau)\cup\mathcal{T}_{\mathrm{o}}(\sigma') T o ( σ ) ⊆ T o ( τ ) ∪ T o ( σ ′ ) . Since τ \tau τ is a W \mathcal{W} W -requirement, we have T o ( τ ) ⊆ W \mathcal{T}_{\mathrm{o}}(\tau)\subseteq\mathcal{W} T o ( τ ) ⊆ W . Moreover, σ ′ \sigma' σ ′ is realised in B \mathcal{B} B , and hence T o ( σ ′ ) ⊆ W \mathcal{T}_{\mathrm{o}}(\sigma')\subseteq\mathcal{W} T o ( σ ′ ) ⊆ W . Therefore, T o ( σ ) ⊆ W \mathcal{T}_{\mathrm{o}}(\sigma)\subseteq\mathcal{W} T o ( σ ) ⊆ W , so σ \sigma σ is a ( W , t ) (\mathcal{W},t) ( W , t ) -extension of τ \tau τ . Consequently, W \mathcal{W} W has the φ \varphi φ -extension property and is therefore a satisfiability witness for φ \varphi φ .
Random models. We now establish the more interesting direction, namely that the notion of a satisfiability witness is sound for finite satisfiability: whenever φ \varphi φ 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 a ˉ = ⟨ a 1 , a 2 , a 3 ⟩ \bar{a}=\langle a_1,a_2,a_3\rangle a ˉ = ⟨ a 1 , a 2 , a 3 ⟩ and a ˉ ′ = ⟨ a 2 , a 3 , a 4 ⟩ \bar{a}'=\langle a_2,a_3,a_4\rangle a ˉ ′ = ⟨ a 2 , a 3 , a 4 ⟩ . Even after the 1-types of the elements have been fixed, the 3-types of a ˉ \bar{a} a ˉ and a ˉ ′ \bar{a}' a ˉ ′ cannot be chosen independently: the literals ± R ( x 2 , x 3 ) \pm R(x_2,x_3) ± R ( x 2 , x 3 ) in the type of a ˉ \bar{a} a ˉ and ± R ( x 1 , x 2 ) \pm R(x_1,x_2) ± R ( x 1 , x 2 ) in the type of a ˉ ′ \bar{a}' a ˉ ′ both determine the truth value of R ( a 2 , a 3 ) R(a_2,a_3) R ( a 2 , a 3 ) 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 W \mathcal{W} W for φ \varphi φ . Let p ∈ N p\in\mathbb{N} p ∈ N be a parameter, to be determined later, specifying the number of unnamed elements in the domain. We construct a finite Σ \Sigma Σ -structure A \mathcal{A} A with domain A : = [ p ] ∪ c ˉ A:=[p]\cup\bar{c} A := [ p ] ∪ c ˉ in three steps:
For every a ∈ [ p ] a\in[p] a ∈ [ p ] , choose uniformly at random a 1-type π ∈ W ∩ T 1 ( Σ ) \pi\in\mathcal{W}\cap\mathcal{T}^{1}(\Sigma) π ∈ W ∩ T 1 ( Σ ) , and set tp A [ a ] : = π \operatorname{tp}^{\mathcal{A}}[a]:=\pi tp A [ a ] := π .
For every k ∈ [ 2 , m + 1 ] k\in[2,m+1] k ∈ [ 2 , m + 1 ] and every { a 1 < ⋯ < a k } ⊆ [ p ] \{a_1<\cdots<a_k\}\subseteq[p] { a 1 < ⋯ < a k } ⊆ [ p ] , choose uniformly at random a k k k -outer-type τ o ∈ W ∩ T o k ( Σ ) \tau_{\mathrm{o}}\in\mathcal{W}\cap\mathcal{T}^{k}_{\mathrm{o}}(\Sigma) τ o ∈ W ∩ T o k ( Σ ) such that τ o ⟨ x i ⟩ = tp A [ a i ] \tau_{\mathrm{o}}\langle x_i\rangle=\operatorname{tp}^{\mathcal{A}}[a_i] τ o ⟨ x i ⟩ = tp A [ a i ] for every i ∈ [ k ] i\in[k] i ∈ [ k ] . Since W \mathcal{W} W is φ \varphi φ -realisable, at least one such k k k -outer-type exists. By the independence property for outer-types, τ o \tau_{\mathrm{o}} τ o can be assigned to ⟨ a 1 , … , a k ⟩ \langle a_1,\ldots,a_k\rangle ⟨ a 1 , … , a k ⟩ without affecting the outer-type assigned to any other tuple with a different set of underlying elements. Thus, set tp o A [ a 1 , … , a k ] : = τ o \operatorname{tp}^{\mathcal{A}}_{\mathrm{o}}[a_1,\ldots,a_k]:=\tau_{\mathrm{o}} tp o A [ a 1 , … , a k ] := τ o .
Set to false the truth values of all facts with more than m + 1 m+1 m + 1 distinct unnamed elements.
The construction of A \mathcal{A} A 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 P [ A ⊨ φ ] > 0 \mathbb{P}[\mathcal{A}\models\varphi]>0 P [ A ⊨ φ ] > 0 once the parameter p p p is sufficiently large. For the proof, let s γ : = max t ∈ I ∣ γ t ∣ s_{\gamma}:=\max_{t\in I}|\gamma_t| s γ := max t ∈ I ∣ γ t ∣ and δ : = ∣ W ∣ − ( s γ + 1 ) \delta:=|\mathcal{W}|^{-(s_{\gamma}+1)} δ := ∣ W ∣ − ( s γ + 1 ) .
Claim 9. Let t ∈ I t\in I t ∈ I and let a ˉ ∈ ⟨ A ⟩ m \bar{a}\in\langle A\rangle^m a ˉ ∈ ⟨ A ⟩ m . Then P [ A ⊭ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ] ] ≤ ( 1 − δ ) p − m \mathbb{P}[\mathcal{A}\not\models\exists x_{m+1}\,\psi_t[\bar{a},x_{m+1}]]\leq(1-\delta)^{p-m} P [ A ⊨ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ]] ≤ ( 1 − δ ) p − m .
Proof. Write a ˉ = ⟨ a 1 , … , a m ⟩ \bar{a}=\langle a_1,\ldots,a_m\rangle a ˉ = ⟨ a 1 , … , a m ⟩ and condition on the type τ : = tp A [ a ˉ ] \tau:=\operatorname{tp}^{\mathcal{A}}[\bar{a}] τ := tp A [ a ˉ ] . By construction of A \mathcal{A} A , every outer-type induced by τ \tau τ belongs to W \mathcal{W} W , and hence τ \tau τ is a W \mathcal{W} W -requirement. Since W \mathcal{W} W is a satisfiability witness, φ \varphi φ admits a ( W , t ) (\mathcal{W},t) ( W , t ) -extension σ \sigma σ .
Fix an element a m + 1 ∈ [ p ] ∖ a ˉ a_{m+1}\in[p]\setminus\bar{a} a m + 1 ∈ [ p ] ∖ a ˉ . We lower-bound the probability that a m + 1 a_{m+1} a m + 1 is a witness for a ˉ \bar{a} a ˉ , that is, that A ⊨ ψ t [ a ˉ , a m + 1 ] \mathcal{A}\models\psi_t[\bar{a},a_{m+1}] A ⊨ ψ t [ a ˉ , a m + 1 ] . Since σ ⊨ ψ t \sigma\models\psi_t σ ⊨ ψ t , it suffices that every atom of ψ t \psi_t ψ t has the same truth value on ⟨ a 1 , … , a m + 1 ⟩ \langle a_1,\ldots,a_{m+1}\rangle ⟨ a 1 , … , a m + 1 ⟩ as in σ \sigma σ , namely,
tp A [ a 1 , … , a m + 1 ] ⊨ α ⟺ σ ⊨ α for every α ∈ atoms ( ψ t ) . (3) \operatorname{tp}^{\mathcal{A}}[a_1,\ldots,a_{m+1}]\models\alpha\quad\Longleftrightarrow\quad\sigma\models\alpha\qquad\text{for every }\alpha\in\operatorname{atoms}(\psi_t). \tag*{(3)} tp A [ a 1 , … , a m + 1 ] ⊨ α ⟺ σ ⊨ α for every α ∈ atoms ( ψ t ) . (3)
Since σ \sigma σ extends τ \tau τ , the atoms in α t ∪ β t \alpha_t\cup\beta_t α t ∪ β t already have the required truth values. It therefore remains to consider the atoms in γ t \gamma_t γ t . For an atom α ∈ γ t \alpha\in\gamma_t α ∈ γ t with vars ( α ) = { x i 1 , … , x i k , x m + 1 } \operatorname{vars}(\alpha)=\{x_{i_1},\ldots,x_{i_k},x_{m+1}\} vars ( α ) = { x i 1 , … , x i k , x m + 1 } , the required truth value is ensured whenever
tp A [ a i 1 , … , a i k , a m + 1 ] = σ ⟨ x i 1 , … , x i k , x m + 1 ⟩ . (4) \operatorname{tp}^{\mathcal A}[a_{i_1},\ldots,a_{i_k},a_{m+1}]=\sigma\langle x_{i_1},\ldots,x_{i_k},x_{m+1}\rangle. \tag*{(4)} tp A [ a i 1 , … , a i k , a m + 1 ] = σ ⟨ x i 1 , … , x i k , x m + 1 ⟩ . (4)
Let E ( a m + 1 ) \mathcal{E}(a_{m+1}) E ( a m + 1 ) be the event that (4) holds for every α ∈ γ t \alpha\in\gamma_t α ∈ γ t . For this event to occur, the 1-type of a m + 1 a_{m+1} a m + 1 must agree with the 1-type induced by σ \sigma σ on x m + 1 x_{m+1} x m + 1 , and the outer-type of every relevant tuple ⟨ a i 1 , … , a i k , a m + 1 ⟩ \langle a_{i_1},\ldots,a_{i_k},a_{m+1}\rangle ⟨ a i 1 , … , a i k , a m + 1 ⟩ must agree with the corresponding outer-type induced by σ \sigma σ . 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 ∣ W ∣ |W| ∣ W ∣ possibilities. As there are at most ∣ γ t ∣ + 1 ≤ s γ + 1 |\gamma_t|+1\le s_\gamma+1 ∣ γ t ∣ + 1 ≤ s γ + 1 such requirements, the product rule for probabilities gives
P [ E ( a m + 1 ) ∣ tp A [ a ˉ ] = τ ] ≥ ∣ W ∣ − ( s γ + 1 ) = δ . (5) \mathbb{P}\left[\mathcal{E}(a_{m+1})\mid\operatorname{tp}^{\mathcal A}[\bar a]=\tau\right]\ge|W|^{-(s_\gamma+1)}=\delta. \tag*{(5)} P [ E ( a m + 1 ) ∣ tp A [ a ˉ ] = τ ] ≥ ∣ W ∣ − ( s γ + 1 ) = δ . (5)
Now let B : = [ p ] ∖ a ˉ B:=[p]\setminus\bar a B := [ p ] ∖ a ˉ . The events { E ( b ) ∣ b ∈ B } \{\mathcal{E}(b)\mid b\in B\} { E ( b ) ∣ b ∈ B } are mutually independent, conditional on tp A [ a ˉ ] = τ \operatorname{tp}^{\mathcal A}[\bar a]=\tau tp A [ a ˉ ] = τ . Indeed, for distinct b , b ′ ∈ B b,b'\in B b , b ′ ∈ B , the events E ( b ) \mathcal{E}(b) E ( b ) and E ( b ′ ) \mathcal{E}(b') E ( b ′ ) depend on disjoint random choices, except for the 1-types of the elements of a ˉ \bar a a ˉ , which are fixed by the conditioning. Consequently, the probability that no element b ∈ B b\in B b ∈ B provides a witness for a ˉ \bar a a ˉ is at most
P [ ⋂ b ∈ B ¬ E ( b ) ∣ tp A [ a ˉ ] = τ ] = ∏ b ∈ B P [ ¬ E ( b ) ∣ tp A [ a ˉ ] = τ ] ≤ ( 1 − δ ) ∣ B ∣ . (6) \mathbb{P}\left[\bigcap_{b\in B}\neg\mathcal{E}(b)\mid\operatorname{tp}^{\mathcal A}[\bar a]=\tau\right]=\prod_{b\in B}\mathbb{P}\left[\neg\mathcal{E}(b)\mid\operatorname{tp}^{\mathcal A}[\bar a]=\tau\right]\le(1-\delta)^{|B|}. \tag*{(6)} P [ b ∈ B ⋂ ¬ E ( b ) ∣ tp A [ a ˉ ] = τ ] = b ∈ B ∏ P [ ¬ E ( b ) ∣ tp A [ a ˉ ] = τ ] ≤ ( 1 − δ ) ∣ B ∣ . (6)
Since ∣ B ∣ = p − m |B|=p-m ∣ B ∣ = p − m , we obtain P [ A ⊭ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ] ∣ tp A [ a ˉ ] = τ ] ≤ ( 1 − δ ) p − m \mathbb{P}[\mathcal A\not\models\exists x_{m+1}\,\psi_t[\bar a,x_{m+1}]\mid\operatorname{tp}^{\mathcal A}[\bar a]=\tau]\le(1-\delta)^{p-m} P [ A ⊨ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ] ∣ tp A [ a ˉ ] = τ ] ≤ ( 1 − δ ) p − m . As the final bound is independent of τ \tau τ , the condition tp A [ a ˉ ] = τ \operatorname{tp}^{\mathcal A}[\bar a]=\tau tp A [ a ˉ ] = τ may be dropped. □
We now bound the probability that the sampled structure fails to satisfy φ \varphi φ . By the form of φ \varphi φ , we have A ⊨ φ \mathcal A\models\varphi A ⊨ φ precisely when A ⊨ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ] \mathcal A\models\exists x_{m+1}\,\psi_t[\bar a,x_{m+1}] A ⊨ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ] for every t ∈ I t\in I t ∈ I and every tuple a ˉ ∈ ⟨ A ⟩ m \bar a\in\langle A\rangle^m a ˉ ∈ ⟨ A ⟩ m . For every such pair t t t and a ˉ \bar a a ˉ , Claim 9 gives P [ A ⊭ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ] ] ≤ ( 1 − δ ) p − m \mathbb{P}[\mathcal A\not\models\exists x_{m+1}\,\psi_t[\bar a,x_{m+1}]]\le(1-\delta)^{p-m} P [ A ⊨ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ]] ≤ ( 1 − δ ) p − m . Taking the union bound over all t ∈ I t\in I t ∈ I and a ˉ ∈ ⟨ A ⟩ m \bar a\in\langle A\rangle^m a ˉ ∈ ⟨ A ⟩ m , and using ∣ ⟨ A ⟩ m ∣ ≤ p m |\langle A\rangle^m|\le p^m ∣ ⟨ A ⟩ m ∣ ≤ p m , we obtain
P [ A ⊭ φ ] ≤ ∑ t ∈ I ∑ a ˉ ∈ ⟨ A ⟩ m P [ A ⊭ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ] ] ≤ ∣ I ∣ ⋅ p m ⋅ ( 1 − δ ) p − m . (7) \mathbb{P}[\mathcal A\not\models\varphi]\le\sum_{t\in I}\sum_{\bar a\in\langle A\rangle^m}\mathbb{P}[\mathcal A\not\models\exists x_{m+1}\,\psi_t[\bar a,x_{m+1}]]\le|I|\cdot p^m\cdot(1-\delta)^{p-m}. \tag*{(7)} P [ A ⊨ φ ] ≤ t ∈ I ∑ a ˉ ∈ ⟨ A ⟩ m ∑ P [ A ⊨ ∃ x m + 1 ψ t [ a ˉ , x m + 1 ]] ≤ ∣ I ∣ ⋅ p m ⋅ ( 1 − δ ) p − m . (7)
For fixed φ \varphi φ and W W W , the right-hand side of (7) tends to 0 0 0 as p → ∞ p\to\infty p → ∞ , since its polynomial factor p m p^m p m is dominated by the exponentially decreasing factor ( 1 − δ ) p − m (1-\delta)^{p-m} ( 1 − δ ) p − m . Thus, for sufficiently large p p p , P [ A ⊭ φ ] > 0 \mathbb{P}[\mathcal A\not\models\varphi]>0 P [ A ⊨ φ ] > 0 . Consequently, there exists a finite model of φ \varphi φ .
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 φ i n ∈ D K ‾ s n f \varphi_{\mathrm{in}}\in\overline{\mathrm{DK}}_{\mathrm{snf}} φ in ∈ DK snf , and let φ \varphi φ be obtained from φ i n \varphi_{\mathrm{in}} φ in by the reduction of Lemma 4 . Given a satisfiability witness W W W for φ \varphi φ , the sentence φ \varphi φ admits a finite model A \mathcal A A with domain size
∣ A ∣ = 2 O ( ∣ φ i n ∣ log ∣ φ i n ∣ ) ⋅ ∣ W ∣ O ( ∣ φ i n ∣ ) . |A|=2^{O(|\varphi_{\mathrm{in}}|\log|\varphi_{\mathrm{in}}|)}\cdot|W|^{O(|\varphi_{\mathrm{in}}|)}. ∣ A ∣ = 2 O ( ∣ φ in ∣ l o g ∣ φ in ∣ ) ⋅ ∣ W ∣ O ( ∣ φ in ∣ ) .
Proof. It suffices to choose p p p so that the right-hand side of (7) is strictly smaller than 1 1 1 . For convenience, we impose the stronger requirement that it be at most 1 / e 1/e 1/ e , that is, we require
∣ I ∣ ⋅ p m ⋅ ( 1 − δ ) p − m ≤ 1 e . (8) |I|\cdot p^m\cdot(1-\delta)^{p-m}\le\frac{1}{e}. \tag*{(8)} ∣ I ∣ ⋅ p m ⋅ ( 1 − δ ) p − m ≤ e 1 . (8)
Taking natural logarithms, inequality (8) is equivalent to
log ∣ I ∣ + m ⋅ log p + ( p − m ) ⋅ log ( 1 − δ ) ≤ − 1. (9) \log|I|+m\cdot\log p+(p-m)\cdot\log(1-\delta)\le-1. \tag*{(9)} log ∣ I ∣ + m ⋅ log p + ( p − m ) ⋅ log ( 1 − δ ) ≤ − 1. (9)
Using log ( 1 − x ) ≤ − x \log(1-x)\le-x log ( 1 − x ) ≤ − x for x ∈ ( 0 , 1 ) x\in(0,1) x ∈ ( 0 , 1 ) , it suffices that
log ∣ I ∣ + m ⋅ log p − ( p − m ) ⋅ δ ≤ − 1. (10) \log|I|+m\cdot\log p-(p-m)\cdot\delta\le-1. \tag*{(10)} log ∣ I ∣ + m ⋅ log p − ( p − m ) ⋅ δ ≤ − 1. (10)
Rearranging, this is equivalent to
( log ∣ I ∣ + m ⋅ log p + 1 ) ⋅ δ − 1 + m ≤ p . (11) (\log|I|+m\cdot\log p+1)\cdot\delta^{-1}+m\le p. \tag*{(11)} ( log ∣ I ∣ + m ⋅ log p + 1 ) ⋅ δ − 1 + m ≤ p . (11)
Bounding each of log ∣ I ∣ \log|\mathcal{I}| log ∣ I ∣ , m m m , and 1 1 1 by ∣ φ ∣ |\varphi| ∣ φ ∣ , it suffices that
( ∣ φ ∣ + ∣ φ ∣ ⋅ log p + ∣ φ ∣ ) ⋅ δ − 1 + ∣ φ ∣ ≤ p . (12) \left(|\varphi|+|\varphi|\cdot\log p+|\varphi|\right)\cdot\delta^{-1}+|\varphi|\leq p. \tag*{(12)} ( ∣ φ ∣ + ∣ φ ∣ ⋅ log p + ∣ φ ∣ ) ⋅ δ − 1 + ∣ φ ∣ ≤ p . (12)
Absorbing the lower-order terms, it is enough to require
4 ⋅ ∣ φ ∣ ⋅ δ − 1 ⋅ log p ≤ p . (13) 4\cdot|\varphi|\cdot\delta^{-1}\cdot\log p\leq p. \tag*{(13)} 4 ⋅ ∣ φ ∣ ⋅ δ − 1 ⋅ log p ≤ p . (13)
Since log p ≤ p \log p\leq\sqrt{p} log p ≤ p for all p ≥ 1 p\geq1 p ≥ 1 , inequality (13) is satisfied whenever
4 ⋅ ∣ φ ∣ ⋅ δ − 1 ≤ p . (14) 4\cdot|\varphi|\cdot\delta^{-1}\leq\sqrt{p}. \tag*{(14)} 4 ⋅ ∣ φ ∣ ⋅ δ − 1 ≤ p . (14)
Thus, it suffices to take p > 16 ⋅ ∣ φ ∣ 2 ⋅ δ − 2 p>16\cdot|\varphi|^2\cdot\delta^{-2} p > 16 ⋅ ∣ φ ∣ 2 ⋅ δ − 2 .
By Lemma 4, ∣ φ ∣ = 2 O ( ∣ φ i n ∣ log ∣ φ i n ∣ ) |\varphi|=2^{O(|\varphi_{\mathrm{in}}|\log|\varphi_{\mathrm{in}}|)} ∣ φ ∣ = 2 O ( ∣ φ in ∣ l o g ∣ φ in ∣ ) and δ − 1 = ∣ W ∣ O ( ∣ φ i n ∣ ) \delta^{-1}=|\mathcal{W}|^{O(|\varphi_{\mathrm{in}}|)} δ − 1 = ∣ W ∣ O ( ∣ φ in ∣ ) . Consequently, for
p = 2 O ( ∣ φ i n ∣ log ∣ φ i n ∣ ) ⋅ ∣ W ∣ O ( ∣ φ i n ∣ ) , (15) p=2^{O(|\varphi_{\mathrm{in}}|\log|\varphi_{\mathrm{in}}|)}\cdot|\mathcal{W}|^{O(|\varphi_{\mathrm{in}}|)}, \tag*{(15)} p = 2 O ( ∣ φ in ∣ l o g ∣ φ in ∣ ) ⋅ ∣ W ∣ O ( ∣ φ in ∣ ) , (15)
the random model construction yields a model A ⊨ φ \mathcal{A}\models\varphi A ⊨ φ of the claimed size.
Exponential-Size Certificates
We retain the notation from Subsection 5.2: the input sentence φ i n ∈ D K ‾ s n f \varphi_{\mathrm{in}}\in\overline{\mathrm{DK}}_{\mathrm{snf}} φ in ∈ DK snf , its conversion φ \varphi φ given by Lemma 4, and the signature Σ = ⟨ R ‾ , c ˉ ⟩ \Sigma=\langle\overline{R},\bar{c}\rangle Σ = ⟨ R , c ˉ ⟩ . In this subsection, using techniques from [11 ] , we show that whenever φ \varphi φ is satisfiable, it admits a satisfiability witness of size exponential in ∣ φ i n ∣ |\varphi_{\mathrm{in}}| ∣ φ in ∣ . Stating the bound in terms of φ i n \varphi_{\mathrm{in}} φ in is important, because φ \varphi φ is exponentially larger than φ i n \varphi_{\mathrm{in}} φ in .
Obtaining the desired bound is not immediate. A straightforward estimate on the number of possible k k k -outer-types gives a doubly exponential bound in the size of the signature Σ \Sigma Σ . In the presence of constants and relation symbols of unbounded arity, this bound is already attained at k = 1 k=1 k = 1 . 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 W \mathcal{W} W for φ \varphi φ and reduce its size in two stages. First, we reduce the number of 1 1 1 -types occurring in W \mathcal{W} W , obtaining a new witness W ′ \mathcal{W}' W ′ . This step may, in fact, increase the number of k k k -outer-types for k > 1 k>1 k > 1 . Second, we take the witness W ′ \mathcal{W}' W ′ and reduce the number of k k k -outer-types for k > 1 k>1 k > 1 while preserving the number of 1 1 1 -types. This way we obtain the final witness W ′ ′ \mathcal{W}'' W ′′ which is exponentially bounded in ∣ φ i n ∣ |\varphi_{\mathrm{in}}| ∣ φ in ∣ .
Reduction of 1-types. Recall that the notation of Definition 1 refers to φ \varphi φ , and, in particular, that atoms ( ψ t ) = α t ∪ β t ∪ γ t \operatorname{atoms}(\psi_t)=\alpha_t\cup\beta_t\cup\gamma_t atoms ( ψ t ) = α t ∪ β t ∪ γ t . For the construction, we define the auxiliary sets
α ∗ : = ⋃ t ∈ I n t ≥ 2 α t , γ t ′ : = { α ∈ γ t ∣ vars ( α ) = { x m + 1 } } . (16) \alpha^*:=\bigcup_{\substack{t\in\mathcal{I}\\ n_t\geq2}}\alpha_t,\qquad
\gamma'_t:=\{\alpha\in\gamma_t\mid\operatorname{vars}(\alpha)=\{x_{m+1}\}\}. \tag*{(16)} α ∗ := t ∈ I n t ≥ 2 ⋃ α t , γ t ′ := { α ∈ γ t ∣ vars ( α ) = { x m + 1 }} . (16)
For brevity, we introduce the following notation for the relevant set sizes:
s α ∗ = ∣ α ∗ ∣ , s α = max t ∈ I ∣ α t ∣ , s β = max t ∈ I ∣ β t ∣ , s γ ′ = max t ∈ I ∣ γ t ′ ∣ . s_\alpha^*=|\alpha^*|,\qquad s_\alpha=\max_{t\in\mathcal{I}}|\alpha_t|,\qquad s_\beta=\max_{t\in\mathcal{I}}|\beta_t|,\qquad s'_\gamma=\max_{t\in\mathcal{I}}|\gamma'_t|. s α ∗ = ∣ α ∗ ∣ , s α = t ∈ I max ∣ α t ∣ , s β = t ∈ I max ∣ β t ∣ , s γ ′ = t ∈ I max ∣ γ t ′ ∣.
We reduce the number of 1 1 1 -types occurring in W \mathcal{W} W by introducing a family of equivalence relations. For t ∈ I t\in\mathcal{I} t ∈ I and 1 1 1 -types π 1 , π 2 ∈ W ∩ τ − 1 ( Σ ) \pi_1,\pi_2\in\mathcal{W}\cap\tau^{-1}(\Sigma) π 1 , π 2 ∈ W ∩ τ − 1 ( Σ ) , define π 1 ∼ t π 2 \pi_1\sim_t\pi_2 π 1 ∼ t π 2 if
π 1 ⊨ α [ x 1 / ⋅ ] ⟺ π 2 ⊨ α [ x 1 / ⋅ ] for every α ∈ α ∗ ∪ γ t ′ . \pi_1\models\alpha[x_1/\mathord{\cdot}]\Longleftrightarrow\pi_2\models\alpha[x_1/\mathord{\cdot}]
\quad\text{for every }\alpha\in\alpha^*\cup\gamma'_t. π 1 ⊨ α [ x 1 / ⋅ ] ⟺ π 2 ⊨ α [ x 1 / ⋅ ] for every α ∈ α ∗ ∪ γ t ′ .
Above, the notation [ x 1 / ⋅ ] [x_1/\mathord{\cdot}] [ x 1 / ⋅ ] stands for the substitution replacing every variable with x 1 x_1 x 1 . Let N ∼ t N_{\sim_t} N ∼ t denote the number of equivalence classes of ∼ t \sim_t ∼ t . By definition,
∑ t ∈ I N ∼ t ≤ ∣ I ∣ ⋅ 2 s α ∗ + s γ ′ . (17) \sum_{t\in\mathcal{I}}N_{\sim_t}\leq|\mathcal{I}|\cdot2^{s_\alpha^*+s'_\gamma}. \tag*{(17)} t ∈ I ∑ N ∼ t ≤ ∣ I ∣ ⋅ 2 s α ∗ + s γ ′ . (17)
For every t ∈ I t\in\mathcal{I} t ∈ I , we fix a choice function ch t : ( W ∩ τ − 1 ( Σ ) ) / ∼ t → W ∩ τ − 1 ( Σ ) \operatorname{ch}_t:(\mathcal{W}\cap\tau^{-1}(\Sigma))/_{\sim_t}\to\mathcal{W}\cap\tau^{-1}(\Sigma) ch t : ( W ∩ τ − 1 ( Σ )) / ∼ t → W ∩ τ − 1 ( Σ ) that selects a representative from each equivalence class of ∼ t \sim_t ∼ t . For convenience, for a 1 1 1 -type π ∈ W \pi\in\mathcal{W} π ∈ W , we write ch ( π ; t ) : = ch t ( [ π ] ∼ t ) \operatorname{ch}(\pi;t):=\operatorname{ch}_t([\pi]_{\sim_t}) ch ( π ; t ) := ch t ([ π ] ∼ t ) for the chosen ∼ t \sim_t ∼ t -representative of π \pi π .
More generally, let τ o ∈ W \tau_o \in\mathcal{W} τ o ∈ W be a k k k -outer-type and let t 1 , … , t k ∈ I t_1,\ldots,t_k \in\mathcal{I} t 1 , … , t k ∈ I . For every i ∈ [ k ] i \in[k] i ∈ [ k ] , let π i : = τ o ⟨ x i ⟩ \pi_i := \tau_o\langle x_i\rangle π i := τ o ⟨ x i ⟩ and π i ′ : = chc ( π i ; t i ) \pi_i' := \operatorname{chc}(\pi_i;t_i) π i ′ := chc ( π i ; t i ) . We write chc ( τ o ; t 1 , … , t k ) \operatorname{chc}(\tau_o;t_1,\ldots,t_k) chc ( τ o ; t 1 , … , t k ) for the k k k -outer-type obtained from τ o \tau_o τ o by replacing each induced 1-type π i \pi_i π i by π i ′ \pi_i' π i ′ , and leaving all other literals unchanged; formally:
chc ( τ o ; t 1 , … , t k ) : = τ o ∖ ( π 1 [ x 1 ] ∪ ⋯ ∪ π k [ x k ] ) ∪ π 1 ′ [ x 1 ] ∪ ⋯ ∪ π k ′ [ x k ] , \operatorname{chc}(\tau_o;t_1,\ldots,t_k) := \tau_o \setminus\left(\pi_1[x_1]\cup\cdots\cup\pi_k[x_k]\right)\cup\pi_1'[x_1]\cup\cdots\cup\pi_k'[x_k], chc ( τ o ; t 1 , … , t k ) := τ o ∖ ( π 1 [ x 1 ] ∪ ⋯ ∪ π k [ x k ] ) ∪ π 1 ′ [ x 1 ] ∪ ⋯ ∪ π k ′ [ x k ] ,
where π [ x i ] \pi[x_i] π [ x i ] denotes the result of substituting the variable x 1 x_1 x 1 by x i x_i x i in the 1-type π \pi π .
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 \mathcal{W} W , they induce the same 0-type, and hence the variable-free literals remain unchanged as well. Therefore, the outer-types τ o \tau_o τ o and chc ( τ o ; t 1 , … , t k ) \operatorname{chc}(\tau_o;t_1,\ldots,t_k) chc ( τ o ; t 1 , … , t k ) may differ only in literals involving precisely one variable.
We now define
W ′ : = { chc ( τ o ; t 1 , … , t k ) ∣ k ∈ [ 0 , m + 1 ] , τ o ∈ W ∩ τ o k ( Σ ) , t 1 , … , t k ∈ I } . \mathcal{W}' := \{\operatorname{chc}(\tau_o;t_1,\ldots,t_k) \mid k\in[0,m+1],\ \tau_o\in\mathcal{W}\cap\tau_o^k(\Sigma),\ t_1,\ldots,t_k\in\mathcal{I}\}. W ′ := { chc ( τ o ; t 1 , … , t k ) ∣ k ∈ [ 0 , m + 1 ] , τ o ∈ W ∩ τ o k ( Σ ) , t 1 , … , t k ∈ I } .
We claim that the set W ′ \mathcal{W}' W ′ defined above is again a satisfiability witness for φ \varphi φ . Before formalising and proving this claim, we introduce one auxiliary notion.
Given a consistent set of literals Γ \Gamma Γ over variables x 1 , … , x k x_1,\ldots,x_k x 1 , … , x k , a W \mathcal{W} W -completion of Γ \Gamma Γ is a k k k -type τ \tau τ such that Γ ⊆ τ \Gamma\subseteq\tau Γ ⊆ τ and τ o ( τ ) ⊆ W \tau_o(\tau)\subseteq\mathcal{W} τ o ( τ ) ⊆ W . Whenever Γ \Gamma Γ is obtained by consistently fixing the 1-types and some outer-types from W \mathcal{W} W , φ \varphi φ -realisability of W \mathcal{W} W ensures that a W \mathcal{W} W -completion exists. Indeed, for each remaining set of variables, φ \varphi φ -realisability provides an outer-type from W \mathcal{W} W 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 W ′ \mathcal{W}' W ′ is a satisfiability witness for φ \varphi φ .
Proof. A routine verification of the definition shows that W ′ \mathcal{W}' W ′ is φ \varphi φ -realisable.
To establish the φ \varphi φ -extension property for W ′ \mathcal{W}' W ′ , fix a W ′ \mathcal{W}' W ′ -requirement τ ′ \tau' τ ′ and t ∈ I t\in\mathcal{I} t ∈ I . Write
π i ′ : = τ ′ ⟨ x i ⟩ for i ∈ [ m ] , τ o ′ : = τ ′ ⟨ x 1 , … , x n t ⟩ . \pi_i' := \tau'\langle x_i\rangle\text{ for }i\in[m],\qquad\tau_o' := \tau'\langle x_1,\ldots,x_{n_t}\rangle. π i ′ := τ ′ ⟨ x i ⟩ for i ∈ [ m ] , τ o ′ := τ ′ ⟨ x 1 , … , x n t ⟩ .
By construction of W ′ \mathcal{W}' W ′ , we can choose an n t n_t n t -outer-type τ o ∈ W \tau_o\in\mathcal{W} τ o ∈ W and indices t 1 , … , t n t ∈ I t_1,\ldots,t_{n_t}\in\mathcal{I} t 1 , … , t n t ∈ I such that τ o ′ = chc ( τ o ; t 1 , … , t n t ) \tau_o'=\operatorname{chc}(\tau_o;t_1,\ldots,t_{n_t}) τ o ′ = chc ( τ o ; t 1 , … , t n t ) . Moreover, for every i ∈ [ n t + 1 , m ] i\in[n_t+1,m] i ∈ [ n t + 1 , m ] , we can choose t i ∈ I t_i\in\mathcal{I} t i ∈ I such that π i ′ = chc ( π i ; t i ) \pi_i'=\operatorname{chc}(\pi_i;t_i) π i ′ = chc ( π i ; t i ) . We now construct a W \mathcal{W} W -requirement τ \tau τ in three steps:
Set τ ⟨ x 1 , … , x n t ⟩ : = τ o \tau\langle x_1,\ldots,x_{n_t}\rangle:=\tau_o τ ⟨ x 1 , … , x n t ⟩ := τ o .
For every i ∈ [ n t + 1 , m ] i\in[n_t+1,m] i ∈ [ n t + 1 , m ] , set τ ⟨ x i ⟩ : = π i ′ \tau\langle x_i\rangle:=\pi_i' τ ⟨ x i ⟩ := π i ′ .
Using φ \varphi φ -realisability of W \mathcal{W} W , take a W \mathcal{W} W -completion of the resulting set of literals.
Since W \mathcal{W} W is a satisfiability witness, τ \tau τ admits a ( W , t ) (\mathcal{W},t) ( W , t ) -extension σ \sigma σ . Write
π i : = σ ⟨ x i ⟩ for i ∈ [ m + 1 ] , π m + 1 ′ : = chc ( π m + 1 ; t ) . \pi_i:=\sigma\langle x_i\rangle\text{ for }i\in[m+1],\qquad\pi_{m+1}':=\operatorname{chc}(\pi_{m+1};t). π i := σ ⟨ x i ⟩ for i ∈ [ m + 1 ] , π m + 1 ′ := chc ( π m + 1 ; t ) .
We next define an ( m + 1 ) (m+1) ( m + 1 ) -type σ ′ \sigma' σ ′ in two steps:
Set σ ′ : = ( σ ∖ τ ) ∪ τ ′ \sigma':=(\sigma\setminus\tau)\cup\tau' σ ′ := ( σ ∖ τ ) ∪ τ ′ .
Replace the 1-type induced on x m + 1 x_{m+1} x m + 1 by setting σ ′ ⟨ x m + 1 ⟩ : = π m + 1 ′ \sigma'\langle x_{m+1}\rangle:=\pi_{m+1}' σ ′ ⟨ x m + 1 ⟩ := π m + 1 ′ .
We claim that the resulting ( m + 1 ) (m+1) ( m + 1 ) -type σ ′ \sigma' σ ′ is a ( W ′ , t ) (\mathcal{W}',t) ( W ′ , t ) -extension of τ ′ \tau' τ ′ . Clearly, σ ′ \sigma' σ ′ extends τ ′ \tau' τ ′ , so it remains to verify that σ ′ ⊨ ψ t \sigma'\models\psi_t σ ′ ⊨ ψ t and that τ o ( σ ′ ) ⊆ W ′ \tau_o(\sigma')\subseteq\mathcal{W}' τ o ( σ ′ ) ⊆ W ′ .
Before verifying these two properties, we record the key properties of the construction:
π i ∼ t i π i ′ for i ∈ [ n t ] , π i = π i ′ for i ∈ [ n t + 1 , m ] , π m + 1 ∼ t π m + 1 ′ , \pi_i\sim_{t_i}\pi_i'\text{ for }i\in[n_t],\qquad\pi_i=\pi_i'\text{ for }i\in[n_t+1,m],\qquad\pi_{m+1}\sim_t\pi_{m+1}', π i ∼ t i π i ′ for i ∈ [ n t ] , π i = π i ′ for i ∈ [ n t + 1 , m ] , π m + 1 ∼ t π m + 1 ′ ,
and
τ o ′ = chc ( τ o ; t 1 , … , t n t ) . \tau_o'=\operatorname{chc}(\tau_o;t_1,\ldots,t_{n_t}). τ o ′ = chc ( τ o ; t 1 , … , t n t ) .
Figure 1 illustrates the above relationships among the types in the construction. The upper row represents τ \tau τ and its extension σ \sigma σ , while the lower row represents the corresponding types τ ′ \tau' τ ′ and σ ′ \sigma' σ ′ . The individual circles represent the 1-types π 1 , … , π m + 1 \pi_1,\ldots,\pi_{m+1} π 1 , … , π m + 1 and π 1 ′ , … , π m + 1 ′ \pi_1',\ldots,\pi_{m+1}' π 1 ′ , … , π m + 1 ′ , whereas the large rounded regions represent the outer-types τ o \tau_o τ o and τ o ′ \tau'_o τ o ′ on the uniform variables x 1 , … , x n t x_1,\ldots,x_{n_t} x 1 , … , x n t . The vertical arrows indicate the applications of chc \operatorname{chc} chc with the displayed parameters. Finally, the braces indicate which variables are covered by τ \tau τ , σ \sigma σ , τ ′ \tau' τ ′ , and σ ′ \sigma' σ ′ .
Figure 1. In the figure chc t ˉ \operatorname{chc}_{\bar{t}} chc t ˉ abbreviates τ o ↦ chc ( τ o ; t 1 , … , t n t ) \tau_o \mapsto\operatorname{chc}(\tau_o;t_1,\ldots,t_{n_t}) τ o ↦ chc ( τ o ; t 1 , … , t n t ) .
We first verify that σ ′ ⊨ ψ t \sigma' \models\psi_t σ ′ ⊨ ψ t . Since σ ⊨ ψ t \sigma\models\psi_t σ ⊨ ψ t , it suffices to show that every atom of ψ t \psi_t ψ t has the same truth value in σ ′ \sigma' σ ′ as in σ \sigma σ . Recall that, by convention, n t ∈ { 0 } ∪ [ 2 , m ] n_t \in\{0\} \cup[2,m] n t ∈ { 0 } ∪ [ 2 , m ] . We first consider the case n t ≥ 2 n_t \ge2 n t ≥ 2 and examine the possible forms of an atom α ∈ atoms ( ψ t ) \alpha\in\operatorname{atoms}(\psi_t) α ∈ atoms ( ψ t ) .
(a) Suppose that α ∈ α t \alpha\in\alpha_t α ∈ α t and vars ( α ) ⊆ { x i } \operatorname{vars}(\alpha) \subseteq\{x_i\} vars ( α ) ⊆ { x i } for some i ∈ [ n t ] i \in[n_t] i ∈ [ n t ] . Since n t ≥ 2 n_t \ge2 n t ≥ 2 , we have α t ⊆ α ∗ \alpha_t \subseteq\alpha^* α t ⊆ α ∗ . Hence, by the definition of ∼ t i \sim_{t_i} ∼ t i and π i ∼ t i π i ′ \pi_i \sim_{t_i} \pi'_i π i ∼ t i π i ′ , we have σ ⊨ α ⟺ σ ′ ⊨ α \sigma\models\alpha\Longleftrightarrow\sigma' \models\alpha σ ⊨ α ⟺ σ ′ ⊨ α .
(b) Suppose that α ∈ α t \alpha\in\alpha_t α ∈ α t and vars ( α ) ⊆ { x i } \operatorname{vars}(\alpha) \subseteq\{x_i\} vars ( α ) ⊆ { x i } for some i ∈ [ n t + 1 , m ] i \in[n_t+1,m] i ∈ [ n t + 1 , m ] . Since π i = π i ′ \pi_i=\pi'_i π i = π i ′ , we directly obtain σ ⊨ α ⟺ σ ′ ⊨ α \sigma\models\alpha\Longleftrightarrow\sigma' \models\alpha σ ⊨ α ⟺ σ ′ ⊨ α .
(c) Suppose that α ∈ β t \alpha\in\beta_t α ∈ β t . Then α \alpha α involves precisely the uniform variables x 1 , … , x n t x_1,\ldots,x_{n_t} x 1 , … , x n t , and hence its truth value in σ \sigma σ is determined by the induced outer-type τ o = σ ⟨ x 1 , … , x n t ⟩ \tau_o=\sigma\langle x_1,\ldots,x_{n_t}\rangle τ o = σ ⟨ x 1 , … , x n t ⟩ , whereas its truth value in σ ′ \sigma' σ ′ is determined by τ o ′ = σ ′ ⟨ x 1 , … , x n t ⟩ \tau'_o=\sigma'\langle x_1,\ldots,x_{n_t}\rangle τ o ′ = σ ′ ⟨ x 1 , … , x n t ⟩ . By construction, τ o ′ = chc ( τ o ; t 1 , … , t n t ) \tau'_o=\operatorname{chc}(\tau_o;t_1,\ldots,t_{n_t}) τ o ′ = chc ( τ o ; t 1 , … , t n t ) . Since the mapping τ o ↦ chc ( τ o ; t 1 , … , t n t ) \tau_o \mapsto\operatorname{chc}(\tau_o;t_1,\ldots,t_{n_t}) τ o ↦ chc ( τ o ; t 1 , … , t n t ) changes only the induced 1-types, it preserves all literals involving at least two distinct variables. As α \alpha α involves precisely n t ≥ 2 n_t \ge2 n t ≥ 2 distinct variables, we obtain σ ⊨ α ⟺ σ ′ ⊨ α \sigma\models\alpha\Longleftrightarrow\sigma' \models\alpha σ ⊨ α ⟺ σ ′ ⊨ α .
(d) Suppose that α ∈ γ t ′ \alpha\in\gamma'_t α ∈ γ t ′ . Then α \alpha α is determined by the 1-type induced on x m + 1 x_{m+1} x m + 1 . Since π m + 1 ∼ t π m + 1 ′ \pi_{m+1} \sim_t \pi'_{m+1} π m + 1 ∼ t π m + 1 ′ , the definition of ∼ t \sim_t ∼ t yields σ ⊨ α ⟺ σ ′ ⊨ α \sigma\models\alpha\Longleftrightarrow\sigma' \models\alpha σ ⊨ α ⟺ σ ′ ⊨ α .
(e) Finally, suppose that α ∈ γ t ∖ γ t ′ \alpha\in\gamma_t \setminus\gamma'_t α ∈ γ t ∖ γ t ′ . Then α \alpha α contains x m + 1 x_{m+1} x m + 1 and at least one further variable. Its corresponding literal ± α \pm\alpha ± α is contained in σ ∖ τ \sigma\setminus\tau σ ∖ τ , but does not belong to the 1-type induced on x m + 1 x_{m+1} x m + 1 . It is therefore retained in σ ′ \sigma' σ ′ . Hence, σ ⊨ α ⟺ σ ′ ⊨ α \sigma\models\alpha\Longleftrightarrow\sigma' \models\alpha σ ⊨ α ⟺ σ ′ ⊨ α .
Since the cases above collectively cover all atoms of ψ t \psi_t ψ t , it follows that σ ′ ⊨ ψ t \sigma' \models\psi_t σ ′ ⊨ ψ t .
We now consider the case n t = 0 n_t = 0 n t = 0 . The argument above applies with only minor simplifications. In this case, τ o \tau_o τ o and τ o ′ \tau'_o τ o ′ are simply the 0-type of W W W , 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, σ ′ ⊨ ψ t \sigma' \models\psi_t σ ′ ⊨ ψ t also when n t = 0 n_t = 0 n t = 0 .
We now verify that τ o ( σ ′ ) ⊆ W ′ \tau_o(\sigma') \subseteq W' τ o ( σ ′ ) ⊆ W ′ . Since σ ′ \sigma' σ ′ extends τ ′ \tau' τ ′ and τ ′ \tau' τ ′ is a W ′ W' W ′ -requirement, every outer-type induced by σ ′ \sigma' σ ′ on any sequence of the first m m m variables already belongs to W ′ W' W ′ . It remains therefore to verify outer-types induced on sequences involving x m + 1 x_{m+1} x m + 1 . Hence, consider such a sequence of pairwise distinct variables x i 1 , … , x i k , x m + 1 x_{i_1},\ldots,x_{i_k},x_{m+1} x i 1 , … , x i k , x m + 1 . Let τ ~ o : = σ ⟨ x i 1 , … , x i k , x m + 1 ⟩ \widetilde{\tau}_o := \sigma\langle x_{i_1},\ldots,x_{i_k},x_{m+1}\rangle τ o := σ ⟨ x i 1 , … , x i k , x m + 1 ⟩ . Since σ \sigma σ is a ( W , t ) (W,t) ( W , t ) -extension, we have τ ~ o ∈ W \widetilde{\tau}_o \in W τ o ∈ W . By construction of σ ′ \sigma' σ ′ ,
σ ′ ⟨ x i 1 , … , x i k , x m + 1 ⟩ = chc ( τ ~ o ; t i 1 , … , t i k , t ) . \sigma'\langle x_{i_1},\ldots,x_{i_k},x_{m+1}\rangle= \operatorname{chc}(\widetilde{\tau}_o;t_{i_1},\ldots,t_{i_k},t). σ ′ ⟨ x i 1 , … , x i k , x m + 1 ⟩ = chc ( τ o ; t i 1 , … , t i k , t ) .
Hence, by the construction of W ′ W' W ′ , σ ′ ⟨ x i 1 , … , x i k , x m + 1 ⟩ ∈ W ′ \sigma'\langle x_{i_1},\ldots,x_{i_k},x_{m+1}\rangle\in W' σ ′ ⟨ x i 1 , … , x i k , x m + 1 ⟩ ∈ W ′ . Thus, τ o ( σ ′ ) ⊆ W ′ \tau_o(\sigma') \subseteq W' τ o ( σ ′ ) ⊆ W ′ .
We have shown that σ ′ \sigma' σ ′ extends τ ′ \tau' τ ′ , satisfies ψ t \psi_t ψ t , and induces only outer-types from W ′ W' W ′ . Therefore, σ ′ \sigma' σ ′ is a ( W ′ , t ) (W',t) ( W ′ , t ) -extension of τ ′ \tau' τ ′ , as claimed. □
Reduction of witness size. We now reduce the size of W ′ W' W ′ by introducing another family of equivalence relations, this time on the W ′ W' W ′ -requirements.
For t ∈ I t \in\mathcal{I} t ∈ I and W ′ W' W ′ -requirements τ 1 , τ 2 \tau_1,\tau_2 τ 1 , τ 2 , we define τ 1 ≈ t τ 2 \tau_1 \approx_t \tau_2 τ 1 ≈ t τ 2 if
τ 1 ⊨ α ⟺ τ 2 ⊨ α \tau_1 \models\alpha\Longleftrightarrow\tau_2 \models\alpha τ 1 ⊨ α ⟺ τ 2 ⊨ α for every α ∈ α t ∪ β t \alpha\in\alpha_t \cup\beta_t α ∈ α t ∪ β t ;
τ 1 ⟨ x i ⟩ = τ 2 ⟨ x i ⟩ \tau_1\langle x_i\rangle= \tau_2\langle x_i\rangle τ 1 ⟨ x i ⟩ = τ 2 ⟨ x i ⟩ for every i ∈ [ m ] i \in[m] i ∈ [ m ] .
Let N ≈ t N_{\approx_t} N ≈ t denote the number of equivalence classes of ≈ t \approx_t ≈ t . There are ∣ W ′ ∩ τ 1 ( Σ ) ∣ m \lvert W' \cap\tau^1(\Sigma)\rvert^m ∣ W ′ ∩ τ 1 ( Σ ) ∣ m sequences of 1-types of length m m m and at most 2 s α + s β 2^{s_\alpha+s_\beta} 2 s α + s β truth assignments to the atoms in α t ∪ β t \alpha_t \cup\beta_t α t ∪ β t . Hence,
∑ t ∈ I N ≈ t ≤ ∣ I ∣ ⋅ ∣ W ′ ∩ τ 1 ( Σ ) ∣ m ⋅ 2 s α + s β . (18) \sum_{t\in\mathcal{I}} N_{\approx_t} \leq|\mathcal{I}| \cdot\lvert W' \cap\tau^1(\Sigma)\rvert^m \cdot2^{s_\alpha+s_\beta}. \tag*{(18)} t ∈ I ∑ N ≈ t ≤ ∣ I ∣ ⋅ ∣ W ′ ∩ τ 1 ( Σ ) ∣ m ⋅ 2 s α + s β . (18)
We construct the final set W ′ ′ W'' W ′′ of outer-types in two stages:
For each t ∈ I t \in\mathcal{I} t ∈ I and each equivalence class C C C of ≈ t \approx_t ≈ t , choose a representative τ ∈ C \tau\in C τ ∈ C and a ( W ′ , t ) (W',t) ( W ′ , t ) -extension σ \sigma σ of τ \tau τ , and include all outer-types from τ o ( σ ) \tau_o(\sigma) τ o ( σ ) .
For each k ∈ [ m + 1 ] k \in[m+1] k ∈ [ m + 1 ] and each sequence of 1-types π 1 , … , π k ∈ W ′ ∩ τ 1 ( Σ ) \pi_1,\ldots,\pi_k \in W' \cap\tau^1(\Sigma) π 1 , … , π k ∈ W ′ ∩ τ 1 ( Σ ) , choose a single k k k -outer-type τ o ∈ W ′ \tau_o \in W' τ o ∈ W ′ such that τ o ⟨ x i ⟩ = π i \tau_o\langle x_i\rangle= \pi_i τ o ⟨ x i ⟩ = π i for every i ∈ [ k ] i \in[k] i ∈ [ k ] , and include all k k k -outer-types obtainable from τ o \tau_o τ o by permuting variables.
Claim 12. The set W ′ ′ W'' W ′′ is a satisfiability witness for φ \varphi φ .
Proof. We first verify the φ \varphi φ -extension property. Let τ \tau τ be any W ′ ′ W'' W ′′ -requirement and let t ∈ I t \in\mathcal{I} t ∈ I . Since W ′ ′ ⊆ W ′ W'' \subseteq W' W ′′ ⊆ W ′ , the type τ \tau τ is also a W ′ W' W ′ -requirement. Let τ ′ \tau' τ ′ be the representative of the ≈ t \approx_t ≈ t -class of τ \tau τ selected in stage 1, and let σ ′ \sigma' σ ′ be the selected ( W ′ , t ) (W',t) ( W ′ , t ) -extension of τ ′ \tau' τ ′ . By Claim 8 , σ : = ( σ ′ ∖ τ ′ ) ∪ τ \sigma:= (\sigma' \setminus\tau') \cup\tau σ := ( σ ′ ∖ τ ′ ) ∪ τ extends τ \tau τ and satisfies ψ t \psi_t ψ t . Moreover, every outer-type induced by σ \sigma σ is induced either by σ ′ \sigma' σ ′ or by τ \tau τ . The former belong to W ′ ′ W'' W ′′ by stage 1, while the latter belong to W ′ ′ W'' W ′′ because τ \tau τ is a W ′ ′ W'' W ′′ -requirement. Hence, σ \sigma σ is in fact a ( W ′ ′ , t ) (W'',t) ( W ′′ , t ) -extension of τ \tau τ .
It remains to verify that W ′ ′ W'' W ′′ is φ \varphi φ -realisable. The outer-types included in stage 1 already satisfy all conditions of φ \varphi φ -realisability except, potentially, the condition requiring every sequence of 1-types of length at most m + 1 m+1 m + 1 to be induced by some outer-type. The outer-types included in stage 2 ensure that this remaining condition is satisfied. □
Size bound. An ( m + 1 ) (m+1) ( m + 1 ) -type can induce at most ∑ i = 0 m + 1 ( m + 1 i ) ⋅ i ! ≤ ( m + 1 ) m + 2 \sum_{i=0}^{m+1}\binom{m+1}{i}\cdot i! \le(m+1)^{m+2} ∑ i = 0 m + 1 ( i m + 1 ) ⋅ i ! ≤ ( m + 1 ) m + 2 distinct outer-types. For each equivalence class C C C of ≈ t \approx_t ≈ t , stage 1 includes all outer-types induced by one selected ( m + 1 ) (m+1) ( m + 1 ) -type extending the representative of C C C . Moreover, stage 2 includes at most ( m + 1 ) ! (m+1)! ( m + 1 )! additional outer-types for every sequence of 1-types of length at most m + 1 m+1 m + 1 . Therefore,
∣ W ′ ′ ∣ ≤ ∑ t ∈ T N ≈ t ⋅ ( m + 1 ) m + 2 + ∑ k ∈ [ m + 1 ] ∣ W ′ ∩ τ 1 ( Σ ) ∣ k ⋅ ( m + 1 ) ! . (19) |W^{\prime\prime}| \le\sum_{t\in T}N_{\approx_t}\cdot(m+1)^{m+2}+\sum_{k\in[m+1]}|W^{\prime}\cap\tau^1(\Sigma)|^k\cdot(m+1)!. \tag*{(19)} ∣ W ′′ ∣ ≤ t ∈ T ∑ N ≈ t ⋅ ( m + 1 ) m + 2 + k ∈ [ m + 1 ] ∑ ∣ W ′ ∩ τ 1 ( Σ ) ∣ k ⋅ ( m + 1 )! . (19)
Combining inequalities (17) , (18) , and (19) yields
∣ W ′ ′ ∣ ≤ ∣ I ∣ m + 1 ⋅ 2 m ⋅ ( s α ∗ + s γ ′ ) + s α + s β ⋅ ( m + 1 ) m + 2 + ( m + 1 ) ⋅ ∣ I ∣ m + 1 ⋅ 2 ( m + 1 ) ⋅ ( s α ∗ + s γ ′ ) ⋅ ( m + 1 ) ! . (20) |W^{\prime\prime}| \le|\mathcal{I}|^{m+1}\cdot2^{m\cdot(s_{\alpha}^{\ast}+s_{\gamma}^{\prime})+s_{\alpha}+s_{\beta}}\cdot(m+1)^{m+2}+(m+1)\cdot|\mathcal{I}|^{m+1}\cdot2^{(m+1)\cdot(s_{\alpha}^{\ast}+s_{\gamma}^{\prime})}\cdot(m+1)!. \tag*{(20)} ∣ W ′′ ∣ ≤ ∣ I ∣ m + 1 ⋅ 2 m ⋅ ( s α ∗ + s γ ′ ) + s α + s β ⋅ ( m + 1 ) m + 2 + ( m + 1 ) ⋅ ∣ I ∣ m + 1 ⋅ 2 ( m + 1 ) ⋅ ( s α ∗ + s γ ′ ) ⋅ ( m + 1 )! . (20)
By Lemma 4, s α ∗ = O ( ∣ φ i n ∣ 2 ) s_{\alpha}^{\ast}=O(|\varphi_{\mathrm{in}}|^2) s α ∗ = O ( ∣ φ in ∣ 2 ) , ∣ I ∣ = 2 O ( ∣ φ i n ∣ log ∣ φ i n ∣ ) |\mathcal{I}|=2^{O(|\varphi_{\mathrm{in}}|\log|\varphi_{\mathrm{in}}|)} ∣ I ∣ = 2 O ( ∣ φ in ∣ l o g ∣ φ in ∣ ) , and m m m , s α s_{\alpha} s α , s β s_{\beta} s β , and s γ ′ s_{\gamma}^{\prime} s γ ′ are all O ( ∣ φ i n ∣ ) O(|\varphi_{\mathrm{in}}|) O ( ∣ φ in ∣ ) . Substituting these bounds into (20) gives ∣ W ′ ′ ∣ = 2 O ( ∣ φ i n ∣ 3 ) |W^{\prime\prime}|=2^{O(|\varphi_{\mathrm{in}}|^3)} ∣ W ′′ ∣ = 2 O ( ∣ φ in ∣ 3 ) .
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 D K ‾ \overline{\mathrm{DK}} DK admits a model of exponential size. Hence, D K ‾ \overline{\mathrm{DK}} DK has the exponential model property and its satisfiability problem is in NExpTime.
For the lower bound, recall that D K ‾ \overline{\mathrm{DK}} DK subsumes the Scott normal form of equality-free FO2 ^2 2 , whose satisfiability problem is NExpTime-hard; see, e.g., [35 ] .
Theorem 13. The class D K ‾ \overline{\mathrm{DK}} DK has the exponential model property. The satisfiability problem for D K ‾ \overline{\mathrm{DK}} DK is NExpTime-complete.
The Decidability of DK with Equivalence
In this section, we study extensions of D K ‾ \overline{\mathrm{DK}} DK with distinguished equivalence and transitive relations. Our main result is that satisfiability for D K ‾ \overline{\mathrm{DK}} DK 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 F \mathcal{F} F , we write F + E \mathcal{F}+E F + E for its extension with a single distinguished binary relation symbol E E E , called the equivalence symbol . Models are restricted to structures in which E E E is interpreted as an equivalence relation. More generally, for k ∈ N k\in\mathbb{N} k ∈ N , we write F + k E \mathcal{F}+kE F + k E for the extension with k k k distinguished equivalence symbols E 1 , … , E k E_1,\ldots,E_k E 1 , … , E k .
We write F + T \mathcal{F}+T F + T for the extension with a single distinguished binary relation symbol T T T , called the transitive symbol , whose interpretation is required to be transitive. Analogously, we write F + T ∗ \mathcal{F}+T^\ast F + T ∗ for the extension with a single distinguished binary relation symbol T ∗ T^\ast T ∗ , called the reflexive-transitive symbol , whose interpretation is required to be both reflexive and transitive.
Free use. In K ‾ + E \overline{\mathrm{K}}+E K + E , the equivalence symbol E E E may, without loss of generality, be used freely , meaning that atoms involving E E E need not satisfy the restrictions of K ‾ \overline{\mathrm{K}} K on φ \varphi φ -prefixes. Indeed, assuming that the sentence is in negation normal form, which we may always do, every literal involving E E E can be rewritten using the equivalence
± x E y ⟺ ∃ z ( x E z ∧ ± z E y ) , (21) \pm xEy \quad\Longleftrightarrow\quad\exists z\,(xEz\land\pm zEy), \tag*{(21)} ± x E y ⟺ ∃ z ( x E z ∧ ± z E y ) , (21)
where z z z is fresh. Since E E E is interpreted as an equivalence relation, the rewriting is sound, and both introduced occurrences of E E E have φ \varphi φ -prefixes ending with an existential quantifier.
The same observation applies to K ‾ + T ∗ \overline{\mathrm{K}}+T^\ast K + T ∗ : the distinguished symbol T ∗ T^\ast T ∗ 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 K ‾ \overline{\mathrm{K}} K by the sentence ∀ x T ( x , x ) \forall xT(x,x) ∀ x T ( x , x ) .
Lower Bounds and Undecidability
We now establish the 2 2 2 -NExpTime lower bound for K ˉ + E \bar{K}+E K ˉ + E and show that the closely related extensions K ˉ + 2 E \bar{K}+2E K ˉ + 2 E and K ˉ + T ∗ \bar{K}+T^{*} K ˉ + T ∗ are already undecidable.
Lower bounds. Kieroński and Kuusisto [25 ] studied the uniform one-dimensional fragment U F 1 \mathrm{UF}_{1} UF 1 with free use of the equivalence symbol E E E ; under our convention, this logic is denoted by U F 1 + E \mathrm{UF}_{1}+E UF 1 + E . They proved that satisfiability for U F 1 + E \mathrm{UF}_{1}+E UF 1 + E is 2 2 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 K ˉ + E \bar{K}+E K ˉ + E . In particular, free occurrences of E E E 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 2 2 and hence merged into a single K ˉ + E \bar{K}+E K ˉ + E sentence. Thus, satisfiability for K ˉ + E \bar{K}+E K ˉ + E is 2 2 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 M O N + E \mathrm{MON}+E MON + E , in which the distinguished equivalence symbol E E 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 2 2 -NExpTime lower bound holds already for M O N + E \mathrm{MON}+E MON + E . The details of this reduction are deferred to Appendix § 9 .
Proposition 14. The satisfiability problem for M O N + E \mathrm{MON}+E MON + E is 2 2 2 -NExpTime-hard.
Since M O N ⊆ K ˉ \mathrm{MON}\subseteq\bar{K} MON ⊆ K ˉ and free use of E E E is permitted by (21) , we have M O N + E ⊆ K ˉ + E \mathrm{MON}+E\subseteq\bar{K}+E MON + E ⊆ K ˉ + E . Thus, Proposition 14 in particular yields the 2 2 2 -NExpTime lower bound for K ˉ + E \bar{K}+E K ˉ + E .
Undecidability. In the same work, Kieroński and Kuusisto [25 Section 5.5] proved that satisfiability for U F 1 \mathrm{UF}_{1} UF 1 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 U F 1 + 2 E \mathrm{UF}_{1}+2E UF 1 + 2 E and U F 1 + T \mathrm{UF}_{1}+T UF 1 + T , 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 M O N + 2 E \mathrm{MON}+2E MON + 2 E and M O N + T \mathrm{MON}+T MON + T .
Since free use of the equivalence symbols is permitted by (21) , it follows directly that satisfiability for K ˉ + 2 E \bar{K}+2E K ˉ + 2 E 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 M O N + T \mathrm{MON}+T 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 M O N + T ∗ \mathrm{MON}+T^{*} MON + T ∗ and, by (21) , also for K ˉ + T ∗ \bar{K}+T^{*} K ˉ + T ∗ . We provide further details in Appendix § 9 .
Proposition 15. The satisfiability problems for M O N + 2 E \mathrm{MON}+2E MON + 2 E and M O N + T ∗ \mathrm{MON}+T^{*} MON + T ∗ are co-RE-complete.
An Upper Bound
We now turn to the main result of this section: the decidability of D K ‾ + E \overline{\mathrm{DK}}+E DK + E . More precisely, we establish a 2 2 2 -NExpTime upper bound, matching the lower bound from Subsection 6.1.
The Skolemisation procedure of Proposition 2 remains sound for D K ‾ + E \overline{\mathrm{DK}}+E DK + E . 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 E E is preserved. Hence, we work with D K ‾ s n f + E \overline{\mathrm{DK}}_{\mathrm{snf}}+E DK snf + E rather than the full class D K ‾ + E \overline{\mathrm{DK}}+E DK + E .
The two preliminary reductions from Subsection 5.1 extend to D K ‾ s n f + E \overline{\mathrm{DK}}_{\mathrm{snf}} + E DK snf + E 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 φ i n ∈ D K ‾ s n f + E \varphi_{\mathrm{in}} \in\overline{\mathrm{DK}}_{\mathrm{snf}} + E φ in ∈ DK snf + E , and let φ \varphi φ be the sentence obtained from φ i n \varphi_{\mathrm{in}} φ in by Lemma 4 . As before, φ i n \varphi_{\mathrm{in}} φ in is retained only for measuring the input size, while all subsequent arguments concern φ \varphi φ . We use for φ \varphi φ the notation introduced in Definition 1 .
Let Σ 0 = ⟨ R ‾ , c ‾ ⟩ \Sigma_0 = \langle\overline{R},\overline{c}\rangle Σ 0 = ⟨ R , c ⟩ be the base signature of φ \varphi φ , consisting of the free relation symbols and constants, and let Σ E = ⟨ R ‾ ∪ { E } , c ‾ ⟩ \Sigma_E = \langle\overline{R} \cup\{E\},\overline{c}\rangle Σ E = ⟨ R ∪ { E } , c ⟩ be the full signature of φ \varphi φ , obtained by extending Σ 0 \Sigma_0 Σ 0 with the equivalence symbol E E E .
Class labels. Our first step is to encode the equivalence classes of E E E by unary predicates. For each j ∈ N j \in\mathbb{N} j ∈ N , introduce a fresh unary predicate L j L_j L j , called a class label , and let L : = { L j ∣ j ∈ N } L := \{L_j \mid j \in\mathbb{N}\} L := { L j ∣ j ∈ N } . We use the auxiliary signature Σ L : = ⟨ R ‾ ∪ L , c ‾ ⟩ \Sigma_L := \langle\overline{R} \cup L,\overline{c}\rangle Σ L := ⟨ R ∪ L , c ⟩ , obtained from the base signature Σ 0 \Sigma_0 Σ 0 by adding the class-label predicates. Note that, by construction, the signature Σ L \Sigma_L Σ L is countably infinite.
Given a Σ E \Sigma_E Σ E -structure A \mathcal{A} A in which E A E^{\mathcal{A}} E A is an equivalence relation, we associate with it a Σ L \Sigma_L Σ L -structure by assigning a distinct class label to each equivalence class. More precisely, enumerate the classes in A / E A A/E^{\mathcal{A}} A / E A and assign to each C ∈ A / E A C \in A/E^{\mathcal{A}} C ∈ A / E A one previously unused class label L j L_j L j by interpreting L j A = C L_j^{\mathcal{A}} = C L j A = C . If A / E A A/E^{\mathcal{A}} A / E A is finite, all unused class labels L j L_j L j are interpreted as empty.
Thus, now every element carries exactly one class label, and two elements are E E E -equivalent precisely when they carry the same label, that is, for every elements a , b ∈ A a,b \in A a , b ∈ A ,
A ⊨ a E b ⟺ A ⊨ L j ( a ) ∧ L j ( b ) for some j ∈ N . \mathcal{A} \models aEb \Longleftrightarrow\mathcal{A} \models L_j(a) \land L_j(b) \text{ for some } j \in\mathbb{N}. A ⊨ a E b ⟺ A ⊨ L j ( a ) ∧ L j ( b ) for some j ∈ N .
We then forget the interpretation E A E^{\mathcal{A}} E A and view A \mathcal{A} A as a Σ L \Sigma_L Σ L -structure. No information is lost in doing so, since E A E^{\mathcal{A}} E A can be recovered entirely from the class labels using the above equivalence. Conversely, any Σ L \Sigma_L Σ L -structure in which every element carries exactly one class label induces in this way an equivalence relation, which we take as the interpretation of E E E . Accordingly, from this point on we work exclusively with the signature Σ L \Sigma_L Σ L and regard E E E as implicitly encoded. Under this convention, φ \varphi φ can still be evaluated in Σ L \Sigma_L Σ L -structures. Importantly, φ \varphi φ has no direct access to the predicates L j L_j L j and can only use the derived relation E E E .
Types and outer-types. We henceforth work with types and outer-types over the auxiliary signature Σ L \Sigma_L Σ L . 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 Σ L \Sigma_L Σ L , individual types and outer-types admit finite descriptions: each is represented by its Σ 0 \Sigma_0 Σ 0 -reduct together with the class labels of its variables and constants.
As with Σ L \Sigma_L Σ L -structures, we adopt the convention that in a type or outer-type the equivalence relation E E E is induced by the class-label predicates L j L_j L j .
The following terminology will be convenient. A class label L j L_j L j occurs in a type or outer-type τ \tau τ if τ \tau τ contains a positive L j L_j L j -literal involving a variable or a constant; the corresponding variable or constant then carries the class label L j L_j L j . A 1-type τ \tau τ carries a class label L j L_j L j if τ ⊨ L j ( x 1 ) \tau\models L_j(x_1) τ ⊨ L j ( x 1 ) . More generally, L j L_j L j 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 Σ L \Sigma_L Σ L . 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 φ \varphi φ 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 φ \varphi φ admits a satisfiability witness, it admits a finite satisfiability witness of size doubly exponential in ∣ φ i n ∣ |\varphi_{\mathrm{in}}| ∣ φ 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 \mathcal{W} W for φ \varphi φ . In W \mathcal{W} W , the number of 1-types carrying any fixed class label L j L_j L j 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 t ∈ I t \in\mathcal{I} t ∈ I , we introduced an equivalence relation ∼ t \sim_t ∼ t on 1-types. In the present setting, we refine ∼ t \sim_t ∼ t by additionally requiring equivalent 1-types to carry the same class label.
Let the sets α ∗ \alpha^* α ∗ and γ t ′ \gamma'_t γ t ′ be as in (16) , and let [ x 1 / ⋅ ] [x_1/\cdot] [ x 1 / ⋅ ] denote the substitution identifying every variable with x 1 x_1 x 1 . For t ∈ I t \in\mathcal{I} t ∈ I and 1-types π 1 , π 2 ∈ W ∩ τ − 1 ( Σ L ) \pi_1,\pi_2 \in\mathcal{W} \cap\tau^{-1}(\Sigma_L) π 1 , π 2 ∈ W ∩ τ − 1 ( Σ L ) , we set π 1 ∼ t π 2 \pi_1 \sim_t \pi_2 π 1 ∼ t π 2 if
π 1 ⊨ α [ x 1 / ⋅ ] ⟺ π 2 ⊨ α [ x 1 / ⋅ ] \pi_1 \models\alpha[x_1/\cdot] \Longleftrightarrow\pi_2 \models\alpha[x_1/\cdot] π 1 ⊨ α [ x 1 / ⋅ ] ⟺ π 2 ⊨ α [ x 1 / ⋅ ] for every α ∈ α ∗ ∪ γ t ′ \alpha\in\alpha^* \cup\gamma'_t α ∈ α ∗ ∪ γ t ′ ;
π 1 ⊨ L j ( x 1 ) \pi_1 \models L_j(x_1) π 1 ⊨ L j ( x 1 ) and π 2 ⊨ L j ( x 1 ) \pi_2 \models L_j(x_1) π 2 ⊨ L j ( x 1 ) for some j ∈ N j \in\mathbb{N} j ∈ N .
For every t ∈ I t \in\mathcal{I} t ∈ I , fix a choice function chc t : ( W ∩ τ − 1 ( Σ L ) ) / ∼ t ⟶ W ∩ τ − 1 ( Σ L ) \operatorname{chc}_t : (\mathcal{W} \cap\tau^{-1}(\Sigma_L))/\sim_t \longrightarrow\mathcal{W} \cap\tau^{-1}(\Sigma_L) chc t : ( W ∩ τ − 1 ( Σ L )) / ∼ t ⟶ W ∩ τ − 1 ( Σ L ) selecting representatives of ∼ t \sim_t ∼ t -classes. Recall from Subsection 5.3 that, for a k k k -outer-type τ o ∈ W \tau_o \in\mathcal{W} τ o ∈ W and t 1 , … , t k ∈ I t_1,\ldots,t_k \in\mathcal{I} t 1 , … , t k ∈ I , we write chc ( τ o ; t 1 , … , t k ) \operatorname{chc}(\tau_o;t_1,\ldots,t_k) chc ( τ o ; t 1 , … , t k ) for the k k k -outer-type obtained from τ o \tau_o τ o by replacing each induced 1-type π i : = τ o ⟨ x i ⟩ \pi_i := \tau_o\langle x_i\rangle π i := τ o ⟨ x i ⟩ with chc t i ( [ π i ] ∼ t i ) \operatorname{chc}_{t_i}([\pi_i]_{\sim_{t_i}}) chc t i ([ π i ] ∼ t i ) , while leaving all remaining literals unchanged.
We now define
W ′ : = { chc ( τ o ; t 1 , … , t k ) ∣ k ∈ [ 0 , m + 1 ] , τ o ∈ W ∩ τ − k ( Σ L ) , t 1 , … , t k ∈ I } . \mathcal{W}' := \left\{ \operatorname{chc}(\tau_o;t_1,\ldots,t_k) \mid k \in[0,m+1],\ \tau_o \in\mathcal{W} \cap\tau^{-k}(\Sigma_L),\ t_1,\ldots,t_k \in\mathcal{I} \right\}. W ′ := { chc ( τ o ; t 1 , … , t k ) ∣ k ∈ [ 0 , m + 1 ] , τ o ∈ W ∩ τ − k ( Σ L ) , t 1 , … , t k ∈ I } .
The definition of W ′ \mathcal{W}' W ′ 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 L j L_j L j . Thus, W ′ \mathcal{W}' W ′ is a satisfiability witness for φ \varphi φ .
It remains to bound the number of 1-types carrying a fixed label. Let s α ∗ : = ∣ α ∗ ∣ s^*_\alpha:= |\alpha^*| s α ∗ := ∣ α ∗ ∣ and s γ ′ : = max t ∈ I ∣ γ t ′ ∣ s'_\gamma:= \max_{t\in\mathcal{I}}|\gamma'_t| s γ ′ := max t ∈ I ∣ γ t ′ ∣ . Fix j ∈ N j \in\mathbb{N} j ∈ N . For a given t ∈ I t \in\mathcal{I} t ∈ I , there are at most 2 s α ∗ + s γ ′ 2^{s^*_\alpha+s'_\gamma} 2 s α ∗ + s γ ′ distinct ∼ t \sim_t ∼ t -classes carrying the label L j L_j L j . As W ′ \mathcal{W}' W ′ retains one representative for each ∼ t \sim_t ∼ t -class for each t t t , we obtain
∣ { π ∈ W ′ ∩ τ − 1 ( Σ L ) ∣ π ⊨ L j ( x 1 ) } ∣ ≤ ∣ I ∣ ⋅ 2 s α ∗ + s γ ′ . (22) \left|\left\{ \pi\in\mathcal{W}' \cap\tau^{-1}(\Sigma_L) \mid\pi\models L_j(x_1) \right\}\right| \leq|\mathcal{I}| \cdot2^{s^*_\alpha+s'_\gamma}. \tag*{(22)} { π ∈ W ′ ∩ τ − 1 ( Σ L ) ∣ π ⊨ L j ( x 1 ) } ≤ ∣ I ∣ ⋅ 2 s α ∗ + s γ ′ . (22)
By Lemma 4 , the right-hand side of (22) is 2 O ( ∣ φ i n ∣ 2 ) 2^{O(|\varphi_{\mathrm{in}}|^2)} 2 O ( ∣ φ in ∣ 2 ) . Therefore, the number of 1-types in W ′ \mathcal{W}' W ′ carrying any fixed class label is singly exponential in ∣ φ i n ∣ |\varphi_{\mathrm{in}}| ∣ φ in ∣ , as desired. At this stage, however, W ′ \mathcal{W}' W ′ 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 W ′ \mathcal{W}' W ′ 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 W ′ \mathcal{W}' W ′ 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 j ∈ N j \in\mathbb{N} j ∈ N , let
R j : = { π ∈ τ − 1 ( Σ 0 ) ∣ π is the Σ 0 -reduct of a 1-type in W ′ that contains L j ( x 1 ) } R_j := \left\{ \pi\in\tau^{-1}(\Sigma_0) \mid\pi\text{ is the }\Sigma_0\text{-reduct of a 1-type in }\mathcal{W}'\text{ that contains }L_j(x_1) \right\} R j := { π ∈ τ − 1 ( Σ 0 ) ∣ π is the Σ 0 -reduct of a 1-type in W ′ that contains L j ( x 1 ) }
and
C j : = { c ∈ c ˉ ∣ the unique 0-type of W ′ contains L j ( c ) } . C_j := \left\{ c \in\bar{c} \mid\text{the unique 0-type of }\mathcal{W}'\text{ contains }L_j(c) \right\}. C j := { c ∈ c ˉ ∣ the unique 0-type of W ′ contains L j ( c ) } .
We call the pair P j : = ( R j , C j ) P_j := (R_j,C_j) P j := ( R j , C j ) the profile of the class label L j L_j L j .
The set R j R_j R j records the underlying 1-types over the base signature Σ 0 \Sigma_0 Σ 0 that carry the class label L j L_j L j , while C j C_j C j records the constants carrying that label. Hence, the number of distinct profiles P j P_j P j is clearly finite. More precisely, it is at most doubly exponential in ∣ φ i n ∣ |\varphi_{\mathrm{in}}| ∣ φ in ∣ .
Indeed, by (22) , the number of distinct sets R j R_j R j is bounded by
∣ { R j ∣ j ∈ N } ∣ ≤ ∣ T 1 ( Σ 0 ) ∣ 2 O ( ∣ φ i n ∣ 2 ) ≤ ( 2 2 O ( ∣ φ i n ∣ log ∣ φ i n ∣ ) ) 2 O ( ∣ φ i n ∣ 2 ) ≤ 2 2 O ( ∣ φ i n ∣ 2 ) . (23) \left|\{R_j \mid j \in\mathbb{N}\}\right| \leq\left|\mathcal{T}^{1}(\Sigma_0)\right|^{2^{O(\lvert\varphi_{\mathrm{in}}\rvert^2)}} \leq\left(2^{2^{O(\lvert\varphi_{\mathrm{in}}\rvert\log\lvert\varphi_{\mathrm{in}}\rvert)}}\right)^{2^{O(\lvert\varphi_{\mathrm{in}}\rvert^2)}} \leq2^{2^{O(\lvert\varphi_{\mathrm{in}}\rvert^2)}}. \tag*{(23)} ∣ { R j ∣ j ∈ N } ∣ ≤ T 1 ( Σ 0 ) 2 O (∣ φ in ∣ 2 ) ≤ ( 2 2 O (∣ φ in ∣ l o g ∣ φ in ∣) ) 2 O (∣ φ in ∣ 2 ) ≤ 2 2 O (∣ φ in ∣ 2 ) . (23)
The second component C j C_j C j contributes only linearly many additional possibilities: if C j ≠ ∅ C_j \neq\varnothing C j = ∅ , then no other class label has the same profile as L j L_j L j .
A highly symmetric witness. We now close W ′ W' W ′ under permutations of class labels having the same profile. We say that a bijection ρ : N → N \rho\colon\mathbb{N} \to\mathbb{N} ρ : N → N is profile-preserving if
P j = P ρ ( j ) for every j ∈ N . P_j = P_{\rho(j)} \qquad\text{for every } j \in\mathbb{N}. P j = P ρ ( j ) for every j ∈ N .
A profile-preserving bijection ρ \rho ρ acts on types and outer-types by renaming class labels: each literal ± L j ( a ) \pm L_j(a) ± L j ( a ) is replaced by ± L ρ ( j ) ( a ) \pm L_{\rho(j)}(a) ± L ρ ( j ) ( a ) , while all other literals remain unchanged. We then set
W ′ ′ : = { ρ ( τ ) ∣ τ ∈ W ′ and ρ is a profile-preserving bijection } . W'' := \{\rho(\tau) \mid\tau\in W' \text{ and } \rho\text{ is a profile-preserving bijection}\}. W ′′ := { ρ ( τ ) ∣ τ ∈ W ′ and ρ is a profile-preserving bijection } .
We claim that W ′ ′ W'' W ′′ is a satisfiability witness. First, observe that for every 1-type π ∈ T 1 ( Σ L ) \pi\in\mathcal{T}^{1}(\Sigma_L) π ∈ T 1 ( Σ L ) and every profile-preserving bijection ρ \rho ρ , we have π ∈ W ′ ⟺ π ∈ ρ ( W ′ ) \pi\in W' \Longleftrightarrow\pi\in\rho(W') π ∈ W ′ ⟺ π ∈ ρ ( W ′ ) . It follows that the construction of W ′ ′ W'' W ′′ preserves the 1-types: π ∈ W ′ ′ ⟺ π ∈ W ′ \pi\in W'' \Longleftrightarrow\pi\in W' π ∈ W ′′ ⟺ π ∈ W ′ . Consequently,
π ∈ W ′ ′ ⟺ π ∈ W ′ ⟺ π ∈ ρ ( W ′ ) . (24) \pi\in W'' \Longleftrightarrow\pi\in W' \Longleftrightarrow\pi\in\rho(W'). \tag*{(24)} π ∈ W ′′ ⟺ π ∈ W ′ ⟺ π ∈ ρ ( W ′ ) . (24)
It follows directly that W ′ ′ W'' W ′′ is φ \varphi φ -realisable. Indeed, let π 1 , … , π k ∈ W ′ ′ \pi_1,\ldots,\pi_k \in W'' π 1 , … , π k ∈ W ′′ be 1-types, where k ≤ m + 1 k \leq m+1 k ≤ m + 1 . By (24), π 1 , … , π k ∈ W ′ \pi_1,\ldots,\pi_k \in W' π 1 , … , π k ∈ W ′ . Since W ′ W' W ′ is φ \varphi φ -realisable, there exists a k k k -outer-type τ o ∈ W ′ \tau_o \in W' τ o ∈ W ′ inducing π 1 , … , π k \pi_1,\ldots,\pi_k π 1 , … , π k . By the identity bijection, we have W ′ ⊆ W ′ ′ W' \subseteq W'' W ′ ⊆ W ′′ , and hence τ o ∈ W ′ ′ \tau_o \in W'' τ o ∈ W ′′ . The remaining conditions of φ \varphi φ -realisability are straightforward.
We next verify the φ \varphi φ -extension property. Fix t ∈ I t \in I t ∈ I and a W ′ ′ W'' W ′′ -requirement τ \tau τ . Write
τ o : = τ ⟨ x 1 , … , x n t ⟩ , π i : = τ ⟨ x i ⟩ for i ∈ [ n t + 1 , m ] . \tau_o := \tau\langle x_1,\ldots,x_{n_t}\rangle,\qquad\pi_i := \tau\langle x_i\rangle\text{ for } i \in[n_t+1,m]. τ o := τ ⟨ x 1 , … , x n t ⟩ , π i := τ ⟨ x i ⟩ for i ∈ [ n t + 1 , m ] .
Thus, τ o \tau_o τ o is the outer-type induced on the uniform variables x 1 , … , x n t x_1,\ldots,x_{n_t} x 1 , … , x n t , while π n t + 1 , … , π m \pi_{n_t+1},\ldots,\pi_m π n t + 1 , … , π m are the 1-types induced on the remaining universal variables. Since τ \tau τ is a W ′ ′ W'' W ′′ -requirement, we have τ o ∈ W ′ ′ \tau_o \in W'' τ o ∈ W ′′ . Choose a profile-preserving bijection ρ \rho ρ witnessing this membership, that is, such that τ o ∈ ρ ( W ′ ) \tau_o \in\rho(W') τ o ∈ ρ ( W ′ ) . By (24), each 1-type π i \pi_i π i is in ρ ( W ′ ) \rho(W') ρ ( W ′ ) .
We now construct a W ′ W' W ′ -requirement τ ′ \tau' τ ′ in three steps:
Set τ ′ ⟨ x 1 , … , x n t ⟩ : = ρ − 1 ( τ o ) \tau'\langle x_1,\ldots,x_{n_t}\rangle:= \rho^{-1}(\tau_o) τ ′ ⟨ x 1 , … , x n t ⟩ := ρ − 1 ( τ o ) .
For every i ∈ [ n t + 1 , m ] i \in[n_t+1,m] i ∈ [ n t + 1 , m ] , set τ ′ ⟨ x i ⟩ : = ρ − 1 ( π i ) \tau'\langle x_i\rangle:= \rho^{-1}(\pi_i) τ ′ ⟨ x i ⟩ := ρ − 1 ( π i ) .
Using φ \varphi φ -realisability of W ′ W' W ′ , take a W ′ W' W ′ -completion of the resulting set of literals.
Recall from Subsection 5.3 that a W ′ W' W ′ -completion of a set of literals Γ \Gamma Γ is any m m m -type τ ′ \tau' τ ′ such that Γ ⊆ τ ′ \Gamma\subseteq\tau' Γ ⊆ τ ′ and τ o ( τ ′ ) ⊆ W ′ \tau_o(\tau') \subseteq W' τ o ( τ ′ ) ⊆ W ′ . Therefore, the constructed m m m -type τ ′ \tau' τ ′ is indeed a W ′ W' W ′ -requirement.
Let σ ′ \sigma' σ ′ be a ( W ′ , t ) (W',t) ( W ′ , t ) -extension of τ ′ \tau' τ ′ , and set σ : = ρ ( σ ′ ) ∪ τ \sigma:= \rho(\sigma') \cup\tau σ := ρ ( σ ′ ) ∪ τ . By steps 1 and 2, the m m m -types τ \tau τ and ρ ( τ ′ ) \rho(\tau') ρ ( τ ′ ) agree on all atoms in α t ∪ β t \alpha_t \cup\beta_t α t ∪ β t 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 σ \sigma σ extends τ \tau τ , satisfies ψ t \psi_t ψ t , and that τ o ( σ ) ⊆ τ o ( τ ) ∪ τ o ( ρ ( σ ′ ) ) \tau_o(\sigma) \subseteq\tau_o(\tau) \cup\tau_o(\rho(\sigma')) τ o ( σ ) ⊆ τ o ( τ ) ∪ τ o ( ρ ( σ ′ )) . Since τ \tau τ is a W ′ ′ W'' W ′′ -requirement, τ o ( τ ) ⊆ W ′ ′ \tau_o(\tau) \subseteq W'' τ o ( τ ) ⊆ W ′′ . Since σ ′ \sigma' σ ′ is a ( W ′ , t ) (W',t) ( W ′ , t ) -extension, τ o ( σ ′ ) ⊆ W ′ \tau_o(\sigma') \subseteq W' τ o ( σ ′ ) ⊆ W ′ and therefore τ o ( ρ ( σ ′ ) ) ⊆ ρ ( W ′ ) ⊆ W ′ ′ \tau_o(\rho(\sigma')) \subseteq\rho(W') \subseteq W'' τ o ( ρ ( σ ′ )) ⊆ ρ ( W ′ ) ⊆ W ′′ . Thus τ o ( σ ) ⊆ W ′ ′ \tau_o(\sigma) \subseteq W'' τ o ( σ ) ⊆ W ′′ , so σ \sigma σ is a ( W ′ ′ , t ) (W'',t) ( W ′′ , t ) -extension of τ \tau τ .
A finite witness. We now retain only finitely many class labels of each profile. For every profile P P P , let J P : = { j ∈ N ∣ P j = P } \mathcal{J}_P := \{j \in\mathbb{N} \mid P_j = P\} J P := { j ∈ N ∣ P j = P } , and choose K P ⊆ J P K_P \subseteq\mathcal{J}_P K P ⊆ J P such that ∣ K P ∣ = min { ∣ J P ∣ , m + 1 } \lvert K_P\rvert= \min\{\lvert\mathcal{J}_P\rvert,m+1\} ∣ K P ∣ = min {∣ J P ∣ , m + 1 } .
Write K : = ⋃ P K P \mathcal{K} := \bigcup_P K_P K := ⋃ P K P . Let W ′ ′ ′ W''' W ′′′ consist of the outer-types in W ′ ′ W'' W ′′ in which every variable carries a class label L j L_j L j with j ∈ K j \in\mathcal{K} j ∈ K . Formally, for every k ∈ [ 0 , m + 1 ] k \in[0,m+1] k ∈ [ 0 , m + 1 ] and every k k k -outer-type τ o \tau_o τ o ,
τ o ∈ W ′ ′ ′ ⟺ τ o ∈ W ′ ′ and τ o ⊨ L j 1 ( x 1 ) ∧ ⋯ ∧ L j k ( x k ) for some j 1 , … , j k ∈ K . \tau_o \in W''' \Longleftrightarrow\tau_o \in W'' \text{ and } \tau_o \models L_{j_1}(x_1) \land\cdots\land L_{j_k}(x_k) \text{ for some } j_1,\ldots,j_k \in\mathcal{K}. τ o ∈ W ′′′ ⟺ τ o ∈ W ′′ and τ o ⊨ L j 1 ( x 1 ) ∧ ⋯ ∧ L j k ( x k ) for some j 1 , … , j k ∈ K .
Note that class labels carried by constants are retained: if C j ≠ ∅ C_j \neq\varnothing C j = ∅ , then J P j = { j } \mathcal{J}_{P_j} = \{j\} J P j = { j } .
Claim 16. The set W ′ ′ ′ W''' W ′′′ is a satisfiability witness for φ \varphi φ .
Proof. It is straightforward to verify that W ′ ′ ′ W''' W ′′′ is φ \varphi φ -realisable. To verify the φ \varphi φ -extension property, fix t ∈ I t \in I t ∈ I and a W ′ ′ ′ W''' W ′′′ -requirement τ \tau τ . Since W ′ ′ ′ ⊆ W ′ ′ W''' \subseteq W'' W ′′′ ⊆ W ′′ , the m m m -type τ \tau τ is also a W ′ ′ W'' W ′′ -requirement, and hence admits a ( W ′ ′ , t ) (W'',t) ( W ′′ , t ) -extension σ \sigma σ . Let L j L_j L j be the class label carried by the variable x m + 1 x_{m+1} x m + 1 in σ \sigma σ , and let P = P j P=P_j P = P j . If j ∈ K P j \in K_P j ∈ K P , then σ \sigma σ is already a ( W ′ ′ ′ , t ) (W''',t) ( W ′′′ , t ) -extension of τ \tau τ .
Suppose otherwise. Then ∣ J P ∣ > m + 1 |J_P|>m+1 ∣ J P ∣ > m + 1 and ∣ K P ∣ = m + 1 |K_P|=m+1 ∣ K P ∣ = m + 1 . Since the variables occurring in τ \tau τ carry at most m m m distinct class labels, there exists k ∈ K P k \in K_P k ∈ K P that is not carried by any of them. As P j = P k P_j=P_k P j = P k , the transposition exchanging j j j and k k k is profile-preserving. Moreover, it fixes τ \tau τ , while replacing the label of x m + 1 x_{m+1} x m + 1 by the retained label L k L_k L k . Since W ′ ′ W'' W ′′ is closed under profile-preserving bijections, the image of σ \sigma σ under this transposition is a ( W ′ ′ , t ) (W'',t) ( W ′′ , t ) -extension of τ \tau τ . Since all labels occurring in τ \tau τ are retained in W ′ ′ ′ W''' W ′′′ , it is in fact a ( W ′ ′ ′ , t ) (W''',t) ( W ′′′ , t ) -extension of τ \tau τ . □ \square □
Size bound. We now bound the size of W ′ ′ ′ W''' W ′′′ . Each outer-type in W ′ ′ ′ W''' W ′′′ is described by its Σ 0 \Sigma_0 Σ 0 -reduct and the class labels carried by its variables and constants. For every k ≤ m + 1 k \le m+1 k ≤ m + 1 , the number of all k k k -outer-types over Σ 0 \Sigma_0 Σ 0 is 2 2 O ( ∣ φ i n ∣ log ∣ φ i n ∣ ) 2^{2^{O(|\varphi_{\mathrm{in}}|\log|\varphi_{\mathrm{in}}|)}} 2 2 O ( ∣ φ in ∣ l o g ∣ φ in ∣ ) . Since at most m + 1 m+1 m + 1 class labels are retained for each profile P j P_j P j , the number of class labels occurring in W ′ ′ ′ W''' W ′′′ is at most m + 1 m+1 m + 1 times the bound in (23) , and hence at most 2 2 O ( ∣ φ i n ∣ 2 ) 2^{2^{O(|\varphi_{\mathrm{in}}|^2)}} 2 2 O ( ∣ φ in ∣ 2 ) . Therefore, ∣ W ′ ′ ′ ∣ |W'''| ∣ W ′′′ ∣ is doubly exponential in ∣ φ i n ∣ |\varphi_{\mathrm{in}}| ∣ φ in ∣ .
We now take the reduct of W ′ ′ ′ W''' W ′′′ 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 D K ‾ + E \overline{\mathrm{DK}}+E DK + E has the doubly exponential model property. The satisfiability problem for D K ‾ + E \overline{\mathrm{DK}}+E DK + E is 2-NExpTime-complete.
Remarks on Equality
Extending the class K ‾ \overline{\mathrm{K}} K 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 ∀ ∀ ∃ \forall\forall\exists ∀∀∃ with equality [15 ] . In this section, we investigate syntactic restrictions on the use of equality in K ‾ \overline{\mathrm{K}} K that preserve decidability of satisfiability.
Nominals. Let K ‾ + O \overline{\mathrm{K}}+\mathrm{O} K + O denote the extension of K ‾ \overline{\mathrm{K}} K in which equality atoms may contain at most one variable. Thus, equality atoms may have the forms x = x x=x x = x , x = c x=c x = c , and c = c ′ c=c' c = c ′ , where x x x is a variable and c , c ′ c,c' c , c ′ are constants. Such atoms are treated syntactically as ordinary atoms with at most one variable. For example, K ‾ + O \overline{\mathrm{K}}+\mathrm{O} K + O contains sentences such as
θ ∀ , c : = ∀ x ( P ( x ) → x = c ) . \theta_{\forall,c} := \forall x\left(P(x)\rightarrow x=c\right). θ ∀ , c := ∀ x ( P ( x ) → x = c ) .
which requires P P P to have at most one realisation.
Nevertheless, satisfiability for K ‾ + O \overline{\mathrm{K}}+\mathrm{O} K + O is undecidable. We show this by a reduction from the equality-free and constant-free prefix class ∀ ∀ ∃ \forall\forall\exists ∀∀∃ , whose satisfiability is undecidable [23 , 6 ] . Fix such a sentence φ = ∀ x 1 ∃ x 2 ∀ x 3 ψ \varphi=\forall x_1\exists x_2\forall x_3\,\psi φ = ∀ x 1 ∃ x 2 ∀ x 3 ψ , where ψ \psi ψ is equality-free and constant-free. For every relation symbol R R R occurring in ψ \psi ψ , introduce a fresh relation symbol R + R^+ R + whose arity is one greater than that of R R R . Let ψ + \psi^+ ψ + be obtained from ψ \psi ψ by replacing every atom R ( x ‾ ) R(\overline{x}) R ( x ) by R + ( x ‾ , x 4 ) R^+(\overline{x},x_4) R + ( x , x 4 ) , where x 4 x_4 x 4 is fresh. Letting P P P be the same predicate as in the sentence θ ∀ , c \theta_{\forall,c} θ ∀ , c , define
χ : = ∀ x 1 ∃ x 2 ∀ x 3 ∃ x 4 ( P ( x 4 ) ∧ ψ + ) . \chi:= \forall x_1\exists x_2\forall x_3\exists x_4\left(P(x_4)\wedge\psi^+\right). χ := ∀ x 1 ∃ x 2 ∀ x 3 ∃ x 4 ( P ( x 4 ) ∧ ψ + ) .
The sentence χ \chi χ belongs to K ‾ \overline{K} K with no uniform variables. Indeed, every atom of χ \chi χ contains x 4 x_4 x 4 and hence has a χ \chi χ -prefix ending with the existential quantifier ∃ x 4 \exists x_4 ∃ x 4 . Moreover, χ ∧ θ ∀ , c \chi\land\theta_{\forall,c} χ ∧ θ ∀ , c is satisfiable if and only if φ \varphi φ is satisfiable. Consequently, satisfiability for K ‾ + O \overline{K} + \mathcal{O} K + O is undecidable.
The preceding reduction crucially relies on introducing relation symbols of arity at least 3. Indeed, for a binary relation symbol R R R , the formula ∃ y ( y = c ∧ R ( x , y ) ) \exists y\ (y = c \land R(x,y)) ∃ y ( y = c ∧ R ( x , y )) is equivalent to R ( x , c ) R(x,c) R ( x , c ) . The latter contains only one variable, so its φ \varphi φ -prefix has length at most 1 and therefore satisfies the restrictions of K ‾ \overline{K} K . This is not a coincidence, as shown by the following proposition.
Proposition 18. The satisfiability problem for K ‾ + O \overline{K} + \mathcal{O} K + O is decidable over signatures containing only unary and binary relation symbols.
Proof. Fix a sentence φ ∈ K ‾ + O \varphi\in\overline{K} + \mathcal{O} φ ∈ K + O over a signature Σ = ⟨ R ‾ , c ‾ ⟩ \Sigma= \langle\overline{R}, \overline{c} \rangle Σ = ⟨ R , c ⟩ such that every relation symbol in R ‾ \overline{R} R is unary or binary. Introduce a fresh unary relation symbol C o n \mathrm{Con} Con , intended to distinguish the elements named by constants from the unnamed elements.
We first conjoin to φ \varphi φ the sentence ⋀ c ∈ c ‾ C o n ( c ) \bigwedge_{c \in\overline{c}} \mathrm{Con}(c) ⋀ c ∈ c Con ( c ) , asserting that every constant satisfies C o n \mathrm{Con} Con , and then systematically replace each subformula of the form ∃ x ψ \exists x\ \psi ∃ x ψ by
∃ x ( ¬ C o n ( x ) ∧ ψ ) ∨ ⋁ c ∈ c ‾ ψ [ c / x ] . \exists x\ (\neg\mathrm{Con}(x) \land\psi) \lor\bigvee_{c \in\overline{c}} \psi[c/x]. ∃ x ( ¬ Con ( x ) ∧ ψ ) ∨ c ∈ c ⋁ ψ [ c / x ] . and each subformula of the form ∀ x ψ \forall x\ \psi ∀ x ψ by
∀ x ( ¬ C o n ( x ) → ψ ) ∧ ⋀ c ∈ c ‾ ψ [ c / x ] . \forall x\ (\neg\mathrm{Con}(x) \to\psi) \land\bigwedge_{c \in\overline{c}} \psi[c/x]. ∀ x ( ¬ Con ( x ) → ψ ) ∧ c ∈ c ⋀ ψ [ c / x ] . 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 x = c x = c x = c and c = c ′ c = c' c = c ′ with c ≠ c ′ c \ne c' c = c ′ are replaced by ⊥ \bot ⊥ , while atoms of the forms x = x x = x x = x and c = c c = c c = c are replaced by ⊤ \top ⊤ . Indeed, an atom x = c x = c x = c occurs only in a part of the formula in which x x x ranges over unnamed elements, while distinct constants denote distinct elements by the standard name assumption.
Let φ ′ \varphi' φ ′ be the resulting equality-free sentence. Then φ ′ \varphi' φ ′ belongs to K ‾ \overline{K} K . 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 φ ′ \varphi' φ ′ -prefix arising from such a substitution has length at most 1.
By construction, φ \varphi φ is satisfiable if and only if φ ′ \varphi' φ ′ admits a model in which no unnamed element satisfies C o n \mathrm{Con} Con . This additional requirement can be dropped. Indeed, all quantifiers in φ ′ \varphi' φ ′ are relativised to ¬ C o n \neg\mathrm{Con} ¬ Con , so unnamed elements satisfying C o n \mathrm{Con} Con can simply be discarded without affecting satisfaction of φ ′ \varphi' φ ′ .
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, K ‾ \overline{K} K remains quite expressive. For example, it contains sentences such as
∀ x 1 ∀ x 2 ∀ x 3 ∃ x 4 ( E ( x 1 , x 4 ) ∧ E ( x 2 , x 4 ) ∧ E ( x 3 , x 4 ) ) . \forall x_1\ \forall x_2\ \forall x_3\ \exists x_4\ (E(x_1,x_4) \land E(x_2,x_4) \land E(x_3,x_4)). ∀ x 1 ∀ x 2 ∀ x 3 ∃ x 4 ( E ( x 1 , x 4 ) ∧ E ( x 2 , x 4 ) ∧ E ( x 3 , x 4 )) .
which requires every three elements to have a common E E E -successor. The extension K ‾ + O \overline{K} + \mathcal{O} K + O additionally allows nominals , that is, singleton concepts, to be expressed.
Equality in prenex conjuncts
We now consider a different approach to incorporating equality into K ‾ \overline{K} K . Rather than allowing equality atoms directly in K ‾ \overline{K} K sentences, we ask whether decidability can be preserved by conjoining a sentence of K ‾ \overline{K} K with a sentence from some fragment F \mathcal{F} F with equality. Thus, we consider sentences of the form μ ∧ ν \mu\land\nu μ ∧ ν with μ ∈ K ‾ \mu\in\overline{K} μ ∈ K and ν ∈ F \nu\in\mathcal{F} ν ∈ F .
To obtain a meaningful classification, we restrict attention to prenex classes. The reduction establishing undecidability of K ‾ + O \overline{K} + \mathcal{O} K + O already shows that undecidability arises when K ‾ \overline{K} K is extended by a single fixed sentence θ ∀ , c \theta_{\forall,c} θ ∀ , c with prefix ∀ \forall ∀ and one constant. The constant can be avoided. at the cost of a slightly longer prefix: undecidability persists for a single fixed sentence with prefix ∀ ∀ \forall\forall ∀∀ or ∃ ∀ \exists\forall ∃∀ . Indeed, in the reduction for K ‾ + O \overline{\mathsf{K}}+\mathcal{O} K + O , it suffices to replace θ ∀ , c \theta_{\forall,c} θ ∀ , c by either of the sentences enforcing that P P P has at most one realisation:
θ ∀ ∀ : = ∀ x 1 ∀ x 2 ( P ( x 1 ) ∧ P ( x 2 ) → x 1 = x 2 ) , θ ∃ ∀ : = ∃ x 1 ∀ x 2 ( P ( x 2 ) → x 1 = x 2 ) . \theta_{\forall\forall}:=\forall x_1\ \forall x_2\ \left(P(x_1)\land P(x_2)\to x_1=x_2\right),\qquad\theta_{\exists\forall}:=\exists x_1\ \forall x_2\ \left(P(x_2)\to x_1=x_2\right). θ ∀∀ := ∀ x 1 ∀ x 2 ( P ( x 1 ) ∧ P ( x 2 ) → x 1 = x 2 ) , θ ∃∀ := ∃ x 1 ∀ x 2 ( P ( x 2 ) → x 1 = x 2 ) .
For a sentence θ \theta θ , let K ‾ ∧ θ \overline{\mathsf{K}}\land\theta K ∧ θ denote the class of sentences of the form μ ∧ θ \mu\land\theta μ ∧ θ with μ \mu μ ranging K ‾ \overline{\mathsf{K}} K . By the argument above, satisfiability for each of K ‾ ∧ θ ∀ , c \overline{\mathsf{K}}\land\theta_{\forall,c} K ∧ θ ∀ , c , K ‾ ∧ θ ∀ ∀ \overline{\mathsf{K}}\land\theta_{\forall\forall} K ∧ θ ∀∀ , and K ‾ ∧ θ ∃ ∀ \overline{\mathsf{K}}\land\theta_{\exists\forall} K ∧ θ ∃∀ is undecidable, with the latter two results holding even over constant-free signatures.
By the considerations above, the only remaining choices for F \mathcal{F} F among prenex classes are ∃ ∗ \exists^* ∃ ∗ over signatures with constants and ∀ ∃ ∗ \forall\exists^* ∀ ∃ ∗ 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 [ ∀ ∃ ∗ ] [\forall\exists^*] [ ∀ ∃ ∗ ] denote the class of sentences of the form ∀ x 1 ∃ x 2 ⋯ ∃ x m ψ \forall x_1\exists x_2\cdots\exists x_m\ \psi ∀ x 1 ∃ x 2 ⋯ ∃ x m ψ , where m ≥ 1 m\geq1 m ≥ 1 and ψ \psi ψ is quantifier-free, equality-free, and constant-free. Let [ ∀ ∃ ∗ ] = [\forall\exists^*]_{=} [ ∀ ∃ ∗ ] = denote the analogous class in which equality is allowed in ψ \psi ψ . We first observe that equality can be eliminated from [ ∀ ∃ ∗ ] = [\forall\exists^*]_{=} [ ∀ ∃ ∗ ] = .
Lemma 19. Let Σ = ⟨ R , ∅ ⟩ \Sigma=\langle R,\varnothing\rangle Σ = ⟨ R , ∅ ⟩ be a signature, and let E E E be a fresh binary relation symbol. For every sentence φ ∈ [ ∀ ∃ ∗ ] = \varphi\in[\forall\exists^*]_{=} φ ∈ [ ∀ ∃ ∗ ] = over Σ \Sigma Σ , one can construct a sentence φ E ∈ [ ∀ ∃ ∗ ] \varphi_E\in[\forall\exists^*] φ E ∈ [ ∀ ∃ ∗ ] over Σ ∪ { E } \Sigma\cup\{E\} Σ ∪ { E } such that φ E ⊨ φ \varphi_E\models\varphi φ E ⊨ φ and every model of φ \varphi φ admits a ( Σ ∪ { E } ) (\Sigma\cup\{E\}) ( Σ ∪ { E }) -expansion that satisfies φ E \varphi_E φ E .
The lemma follows by setting p = 0 p=0 p = 0 in [6 Proposition 6.3.31] , where p p p denotes the number of leading existential quantifiers in the prefix class ∃ p ∀ ∃ ∗ \exists^p\forall\exists^* ∃ p ∀ ∃ ∗ . Although the proposition itself states a weaker condition than φ E ⊨ φ \varphi_E\models\varphi φ E ⊨ φ , in the special case p = 0 p=0 p = 0 , its proof in fact yields this entailment.
We now define the class of interest D K ‾ + [ ∀ ∃ ∗ ] = \overline{\mathsf{DK}}+[\forall\exists^*]_{=} DK + [ ∀ ∃ ∗ ] = to consist of sentences of the form
φ 1 ∧ ⋯ ∧ φ k , where k ≥ 1 and φ 1 , … , φ k ∈ K ‾ ∪ [ ∀ ∃ ∗ ] = . \varphi_1\land\cdots\land\varphi_k,\qquad\text{where } k\geq1\text{ and }\varphi_1,\ldots,\varphi_k\in\overline{\mathsf{K}}\cup[\forall\exists^*]_{=}. φ 1 ∧ ⋯ ∧ φ k , where k ≥ 1 and φ 1 , … , φ k ∈ K ∪ [ ∀ ∃ ∗ ] = .
By Lemma 19, every [ ∀ ∃ ∗ ] = [\forall\exists^*]_{=} [ ∀ ∃ ∗ ] = conjunct can be replaced by an equality-free [ ∀ ∃ ∗ ] [\forall\exists^*] [ ∀ ∃ ∗ ] conjunct, and the latter class is a syntactic subfragment of K ‾ \overline{\mathsf{K}} K . More precisely, we apply the lemma separately to each [ ∀ ∃ ∗ ] = [\forall\exists^*]_{=} [ ∀ ∃ ∗ ] = conjunct, introducing a fresh binary relation symbol E E E each time. This yields an equisatisfiable conjunction of K ‾ \overline{\mathsf{K}} K sentences, and thus a reduction to satisfiability for D K ‾ \overline{\mathsf{DK}} DK .
Proposition 20. The satisfiability problem for D K ‾ + [ ∀ ∃ ∗ ] = \overline{\mathsf{DK}}+[\forall\exists^*]_{=} DK + [ ∀ ∃ ∗ ] = is decidable over signatures without constant symbols.
Acknowledgment. The author thanks Emanuel Kieróń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
Missing Proofs from Subsection 6.1
Proof of Proposition 14
In this subsection, we establish that satisfiability for M O N + E \mathrm{MON} + E MON + E is 2-NExpTime-hard. The corresponding 2-NExpTime lower bound for K ‾ + E \overline{K} + E K + E can also be inferred from the work of Kieronski 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 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 T = ⟨ C , c I , c F , H , V , n ⟩ \mathcal{T}=\langle C,c_I,c_F,\mathcal{H},\mathcal{V},n\rangle T = ⟨ C , c I , c F , H , V , n ⟩ , where C C C is a non-empty finite set of colours , c I , c F ∈ C c_I,c_F\in C c I , c F ∈ C are the initial and final colours, H , V ⊆ C × C \mathcal{H},\mathcal{V}\subseteq C\times C H , V ⊆ C × C are the sets of admissible horizontal and vertical pairs, respectively, and n ∈ N n\in\mathbb{N} n ∈ N is given in unary. The instance T \mathcal{T} T is solvable if there exists a tiling f : [ 0 , 2 2 n − 1 ] × [ 0 , 2 2 n − 1 ] ⟶ C f:[0,2^{2^n}-1]\times[0,2^{2^n}-1]\longrightarrow C f : [ 0 , 2 2 n − 1 ] × [ 0 , 2 2 n − 1 ] ⟶ C such that:
f ( 0 , 0 ) = c I f(0,0)=c_I f ( 0 , 0 ) = c I and f ( 2 2 n − 1 , 2 2 n − 1 ) = c F f(2^{2^n}-1,2^{2^n}-1)=c_F f ( 2 2 n − 1 , 2 2 n − 1 ) = c F ;
⟨ f ( i , j ) , f ( i + 1 , j ) ⟩ ∈ H \langle f(i,j),f(i+1,j)\rangle\in\mathcal{H} ⟨ f ( i , j ) , f ( i + 1 , j )⟩ ∈ H for every i ∈ [ 0 , 2 2 n − 2 ] i\in[0,2^{2^n}-2] i ∈ [ 0 , 2 2 n − 2 ] and j ∈ [ 0 , 2 2 n − 1 ] j\in[0,2^{2^n}-1] j ∈ [ 0 , 2 2 n − 1 ] ;
⟨ f ( i , j ) , f ( i , j + 1 ) ⟩ ∈ V \langle f(i,j),f(i,j+1)\rangle\in\mathcal{V} ⟨ f ( i , j ) , f ( i , j + 1 )⟩ ∈ V for every i ∈ [ 0 , 2 2 n − 1 ] i\in[0,2^{2^n}-1] i ∈ [ 0 , 2 2 n − 1 ] and j ∈ [ 0 , 2 2 n − 2 ] j\in[0,2^{2^n}-2] j ∈ [ 0 , 2 2 n − 2 ] .
The doubly exponential tiling problem asks whether a given instance T \mathcal{T} T is solvable.
Fix an instance T = ⟨ C , c I , c F , H , V , n ⟩ \mathcal{T}=\langle C,c_I,c_F,\mathcal{H},\mathcal{V},n\rangle T = ⟨ C , c I , c F , H , V , n ⟩ . We construct, in time polynomial in the size of T \mathcal{T} T , a sentence φ T ∈ M O N + E \varphi_{\mathcal{T}}\in\mathrm{MON}+E φ T ∈ MON + E such that T \mathcal{T} T is solvable if and only if φ T \varphi_{\mathcal{T}} φ T is satisfiable.
The signature of φ T \varphi_{\mathcal{T}} φ T is constant-free and, besides the distinguished equivalence symbol E E E , contains the following unary relation symbols: P i P_i P i (i ∈ [ 0 , n − 1 ] i\in[0,n-1] i ∈ [ 0 , n − 1 ] ), F c F_c F c (c ∈ C c\in C c ∈ C ), X X X , Y Y Y .
We naturally view the predicates P 0 , … , P n − 1 P_0,\ldots,P_{n-1} P 0 , … , P n − 1 as bits, thereby associating with each domain element an integer in the range [ 0 , 2 n − 1 ] [0,2^n-1] [ 0 , 2 n − 1 ] . More precisely, for a domain element a a a , let
p a : = ∑ i = 0 n − 1 p a , i ⋅ 2 i , where p a , i : = { 1 if P i ( a ) holds , 0 otherwise. p_a:=\sum_{i=0}^{n-1}p_{a,i}\cdot2^i,\qquad\text{where}\qquad p_{a,i}:=\begin{cases}1&\text{if }P_i(a)\text{ holds},\\0&\text{otherwise.}\end{cases} p a := i = 0 ∑ n − 1 p a , i ⋅ 2 i , where p a , i := { 1 0 if P i ( a ) holds , otherwise.
Let ψ i P \psi_i^P ψ i P , ψ + 1 P \psi_{+1}^P ψ + 1 P , ψ = P \psi_=^P ψ = P , and ψ < P \psi_<^P ψ < P be the standard formulas, of size polynomial in n n n , expressing ψ i P ( a ) ⟺ p a = i \psi_i^P(a)\Longleftrightarrow p_a=i ψ i P ( a ) ⟺ p a = i , ψ + 1 P ( a , b ) ⟺ p a + 1 = p b \psi_{+1}^P(a,b)\Longleftrightarrow p_a+1=p_b ψ + 1 P ( a , b ) ⟺ p a + 1 = p b , ψ = P ( a , b ) ⟺ p a = p b \psi_=^P(a,b)\Longleftrightarrow p_a=p_b ψ = P ( a , b ) ⟺ p a = p b , ψ < P ( a , b ) ⟺ p a < p b \psi_<^P(a,b)\Longleftrightarrow p_a<p_b ψ < P ( a , b ) ⟺ p a < p b .
We first ensure that every equivalence class contains a representative of each possible value of p a p_a p a , ranging from 0 0 0 to 2 n − 1 2^n-1 2 n − 1 :
∀ x ( ∃ y ( x E y ∧ ψ 0 P ( y ) ) ∧ ( ¬ ψ 2 n − 1 P ( x ) → ∃ y ( x E y ∧ ψ + 1 P ( x , y ) ) ) ) . (25) \forall x\left(\exists y\left(xEy\land\psi_0^P(y)\right)\land\left(\neg\psi_{2^n-1}^P(x)\rightarrow\exists y\left(xEy\land\psi_{+1}^P(x,y)\right)\right)\right). \tag*{(25)} ∀ x ( ∃ y ( x E y ∧ ψ 0 P ( y ) ) ∧ ( ¬ ψ 2 n − 1 P ( x ) → ∃ y ( x E y ∧ ψ + 1 P ( x , y ) ) ) ) . (25)
We further require that elements of the same equivalence class representing the same integer agree on the predicates X X X and Y Y Y :
∀ x , y ( ( x E y ∧ ψ = P ( x , y ) ) → ( ( X ( x ) ↔ X ( y ) ) ∧ ( Y ( x ) ↔ Y ( y ) ) ) ) . (26) \forall x,y\left((xEy\land\psi_=^P(x,y))\rightarrow\left((X(x)\leftrightarrow X(y))\land(Y(x)\leftrightarrow Y(y))\right)\right). \tag*{(26)} ∀ x , y ( ( x E y ∧ ψ = P ( x , y )) → ( ( X ( x ) ↔ X ( y )) ∧ ( Y ( x ) ↔ Y ( y )) ) ) . (26)
We can now associate with every equivalence class of E E E a pair of integers in the range [ 0 , 2 2 n − 1 ] [0,2^{2^n}-1] [ 0 , 2 2 n − 1 ] . Let E \mathcal{E} E be an equivalence class of the interpretation of E E E . We define
X E : = ∑ i = 0 2 n − 1 X E , i ⋅ 2 i , where X E , i : = { 1 if X ( a ) holds for some a ∈ E with p a = i , 0 otherwise. X_{\mathcal{E}}:=\sum_{i=0}^{2^n-1}X_{\mathcal{E},i}\cdot2^i,\qquad\text{where}\qquad X_{\mathcal{E},i}:=\begin{cases}1&\text{if }X(a)\text{ holds for some }a\in\mathcal{E}\text{ with }p_a=i,\\0&\text{otherwise.}\end{cases} X E := i = 0 ∑ 2 n − 1 X E , i ⋅ 2 i , where X E , i := { 1 0 if X ( a ) holds for some a ∈ E with p a = i , otherwise.
The integer Y E Y_{\mathcal{E}} Y E is defined analogously, using Y Y Y in place of X X X .
Every value i ∈ [ 0 , 2 n − 1 ] i\in[0,2^n-1] i ∈ [ 0 , 2 n − 1 ] is represented in E \mathcal{E} E , and any two elements of E \mathcal{E} E representing the same value agree on both X X X and Y Y Y . Hence, X E X_{\mathcal{E}} X E and Y E Y_{\mathcal{E}} Y E are well-defined. We call them the X X X -coordinate and Y Y Y -coordinate of E \mathcal{E} E , respectively, and view the pair ⟨ X E , Y E ⟩ \langle X_{\mathcal{E}},Y_{\mathcal{E}}\rangle ⟨ X E , Y E ⟩ as a position in the doubly exponential grid. For convenience, we extend the notions of X X X -coordinate and Y Y Y -coordinate to domain elements: for each a ∈ E a\in\mathcal{E} a ∈ E , we set X a : = X E X_a:=X_{\mathcal{E}} X a := X E and Y a : = Y E Y_a:=Y_{\mathcal{E}} Y a := Y E .
Under this convention, we define formulas ψ 0 X \psi_0^X ψ 0 X , ψ 2 2 n − 1 X \psi_{2^{2^n}-1}^X ψ 2 2 n − 1 X , ψ + 1 X \psi_{+1}^X ψ + 1 X , and ψ = X \psi_=^X ψ = X expressing
ψ 0 X ( a ) ⟺ X a = 0 , ψ 2 2 n − 1 X ( a ) ⟺ X a = 2 2 n − 1 , \psi_0^X(a)\Longleftrightarrow X_a=0,\qquad\psi_{2^{2^n}-1}^X(a)\Longleftrightarrow X_a=2^{2^n}-1, ψ 0 X ( a ) ⟺ X a = 0 , ψ 2 2 n − 1 X ( a ) ⟺ X a = 2 2 n − 1 ,
ψ + 1 X ( a , b ) ⟺ X a + 1 = X b , ψ = X ( a , b ) ⟺ X a = X b . \psi_{+1}^X(a,b)\Longleftrightarrow X_a+1=X_b,\qquad\psi_=^X(a,b)\Longleftrightarrow X_a=X_b. ψ + 1 X ( a , b ) ⟺ X a + 1 = X b , ψ = X ( a , b ) ⟺ X a = X b .
The formulas for the two extreme values and for equality of coordinates are straightforward:
ψ 0 X ( x ) : = ∀ y ( x E y → ¬ X ( y ) ) , ψ 2 n − 1 X ( x ) : = ∀ y ( x E y → X ( y ) ) , \psi^{X}_{0}(x) := \forall y\ (xEy \to\neg X(y)),
\qquad
\psi^{X}_{2^{n}-1}(x) := \forall y\ (xEy \to X(y)), ψ 0 X ( x ) := ∀ y ( x E y → ¬ X ( y )) , ψ 2 n − 1 X ( x ) := ∀ y ( x E y → X ( y )) ,
ψ = X ( x , y ) : = ∀ x ′ , y ′ ( ( x E x ′ ∧ y E y ′ ∧ ψ = P ( x ′ , y ′ ) ) → ( X ( x ′ ) ↔ X ( y ′ ) ) ) . \psi^{X}_{=}(x,y) := \forall x',y'\ \bigl((xEx' \land yEy' \land\psi^{P}_{=}(x',y')) \to(X(x') \leftrightarrow X(y'))\bigr). ψ = X ( x , y ) := ∀ x ′ , y ′ ( ( x E x ′ ∧ y E y ′ ∧ ψ = P ( x ′ , y ′ )) → ( X ( x ′ ) ↔ X ( y ′ )) ) .
The increment formula is slightly more involved. We first define a bit-level auxiliary formula
ψ + 1 , b i t X ( x ′ , y ′ ) : = ( ∃ x ′ ′ ( x ′ E x ′ ′ ∧ ψ < P ( x ′ ′ , x ′ ) ∧ ¬ X ( x ′ ′ ) ) ) ↔ ( X ( x ′ ) ↔ X ( y ′ ) ) . \psi^{X}_{+1,\mathrm{bit}}(x',y') := \bigl(\exists x''\ (x'Ex'' \land\psi^{P}_{<}(x'',x') \land\neg X(x''))\bigr) \leftrightarrow(X(x') \leftrightarrow X(y')). ψ + 1 , bit X ( x ′ , y ′ ) := ( ∃ x ′′ ( x ′ E x ′′ ∧ ψ < P ( x ′′ , x ′ ) ∧ ¬ X ( x ′′ )) ) ↔ ( X ( x ′ ) ↔ X ( y ′ )) .
Using this auxiliary formula, we set
ψ + 1 X ( x , y ) : = ¬ ψ 2 n − 1 X ( x ) ∧ ∀ x ′ , y ′ ( ( x E x ′ ∧ y E y ′ ∧ ψ = P ( x ′ , y ′ ) ) → ψ + 1 , b i t X ( x ′ , y ′ ) ) . \psi^{X}_{+1}(x,y) := \neg\psi^{X}_{2^{n}-1}(x) \land\forall x',y'\ \bigl((xEx' \land yEy' \land\psi^{P}_{=}(x',y')) \to\psi^{X}_{+1,\mathrm{bit}}(x',y')\bigr). ψ + 1 X ( x , y ) := ¬ ψ 2 n − 1 X ( x ) ∧ ∀ x ′ , y ′ ( ( x E x ′ ∧ y E y ′ ∧ ψ = P ( x ′ , y ′ )) → ψ + 1 , bit X ( x ′ , y ′ ) ) .
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 i i remains unchanged precisely when there is a 0-bit at some lower-order position j < i j<i j < i . The formula ψ + 1 , b i t X \psi^{X}_{+1,\mathrm{bit}} ψ + 1 , bit X expresses exactly this condition for each bit position, while ¬ ψ 2 2 n − 1 X ( x ) \neg\psi^{X}_{2^{2n}-1}(x) ¬ ψ 2 2 n − 1 X ( x ) excludes the maximal value and hence prevents overflow.
The formulas ψ 0 Y \psi^{Y}_{0} ψ 0 Y , ψ 2 2 n − 1 Y \psi^{Y}_{2^{2n}-1} ψ 2 2 n − 1 Y , ψ + 1 Y \psi^{Y}_{+1} ψ + 1 Y , and ψ = Y \psi^{Y}_{=} ψ = Y for the Y Y Y -coordinate are defined analogously by replacing X X X by Y Y Y .
Having defined the formulas above, we can now encode a solution to the tiling instance T \mathcal{T} T . We first ensure that every element is assigned exactly one colour:
∀ x ⋁ c ∈ C ( F c ( x ) ∧ ⋀ c ′ ∈ C ∖ { c } ¬ F c ′ ( x ) ) . (27) \forall x\ \bigvee_{c\in C}\left(F_c(x)\land\bigwedge_{c'\in C\setminus\{c\}}\neg F_{c'}(x)\right). \tag*{(27)} ∀ x c ∈ C ⋁ F c ( x ) ∧ c ′ ∈ C ∖ { c } ⋀ ¬ F c ′ ( x ) . (27)
Since different E E 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:
∀ x , y ( ψ = X ( x , y ) ∧ ψ = Y ( x , y ) → ⋀ c ∈ C ( F c ( x ) ↔ F c ( y ) ) ) . (28) \forall x,y\left(\psi^{X}_{=}(x,y)\land\psi^{Y}_{=}(x,y)\to\bigwedge_{c\in C}(F_c(x)\leftrightarrow F_c(y))\right). \tag*{(28)} ∀ x , y ( ψ = X ( x , y ) ∧ ψ = Y ( x , y ) → c ∈ C ⋀ ( F c ( x ) ↔ F c ( y )) ) . (28)
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:
∃ x ( ψ 0 X ( x ) ∧ ψ 0 Y ( x ) ∧ F c I ( x ) ) ∧ ∃ x ( ψ 2 2 n − 1 X ( x ) ∧ ψ 2 2 n − 1 Y ( x ) ∧ F c F ( x ) ) . (29) \exists x\left(\psi^{X}_{0}(x)\land\psi^{Y}_{0}(x)\land F_{c_I}(x)\right)
\land
\exists x\left(\psi^{X}_{2^{2n}-1}(x)\land\psi^{Y}_{2^{2n}-1}(x)\land F_{c_F}(x)\right). \tag*{(29)} ∃ x ( ψ 0 X ( x ) ∧ ψ 0 Y ( x ) ∧ F c I ( x ) ) ∧ ∃ x ( ψ 2 2 n − 1 X ( x ) ∧ ψ 2 2 n − 1 Y ( x ) ∧ F c F ( x ) ) . (29)
Finally, we ensure the existence of appropriately coloured horizontal and vertical successors. Every point whose X X X -coordinate is not maximal has a point immediately to its right, with the same Y Y Y -coordinate and a horizontally compatible colour:
∀ x ( ¬ ψ 2 2 n − 1 X ( x ) → ∃ y ( ψ + 1 X ( x , y ) ∧ ψ = Y ( x , y ) ∧ ⋁ ⟨ c , c ′ ⟩ ∈ H ( F c ( x ) ∧ F c ′ ( y ) ) ) ) . (30) \forall x\left(\neg\psi^{X}_{2^{2n}-1}(x)\to\exists y\left(\psi^{X}_{+1}(x,y)\land\psi^{Y}_{=}(x,y)\land\bigvee_{\langle c,c'\rangle\in H}(F_c(x)\land F_{c'}(y))\right)\right). \tag*{(30)} ∀ x ¬ ψ 2 2 n − 1 X ( x ) → ∃ y ψ + 1 X ( x , y ) ∧ ψ = Y ( x , y ) ∧ ⟨ c , c ′ ⟩ ∈ H ⋁ ( F c ( x ) ∧ F c ′ ( y )) . (30)
Similarly, every point whose Y Y Y -coordinate is not maximal has a point immediately above it, with the same X X X -coordinate and a vertically compatible colour:
∀ x ( ¬ ψ 2 2 n − 1 Y ( x ) → ∃ y ( ψ = X ( x , y ) ∧ ψ + 1 Y ( x , y ) ∧ ⋁ ⟨ c , c ′ ⟩ ∈ V ( F c ( x ) ∧ F c ′ ( y ) ) ) ) . (31) \forall x\left(\neg\psi^{Y}_{2^{2n}-1}(x)\to\exists y\left(\psi^{X}_{=}(x,y)\land\psi^{Y}_{+1}(x,y)\land\bigvee_{\langle c,c'\rangle\in V}(F_c(x)\land F_{c'}(y))\right)\right). \tag*{(31)} ∀ x ¬ ψ 2 2 n − 1 Y ( x ) → ∃ y ψ = X ( x , y ) ∧ ψ + 1 Y ( x , y ) ∧ ⟨ c , c ′ ⟩ ∈ V ⋁ ( F c ( x ) ∧ F c ′ ( y )) . (31)
Let φ T \varphi_T φ T be the conjunction of sentences (25)–(31). It is satisfiable if and only if the tiling instance T \mathcal{T} T is solvable. Moreover, φ T \varphi_T φ T belongs to MON + + + E and can be constructed from T \mathcal{T} T 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.
Proof of Proposition 15
In this subsection, we establish that satisfiability for MON + 2 E 2E 2 E and MON + T ∗ T^{*} T ∗ 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 T T can be modified for the case with T ∗ T^{*} T ∗ , and then give details of the corresponding construction for 2 E 2E 2 E , 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 T = ⟨ C , c I , H , V ⟩ \mathcal{T} = \langle C, c_I, \mathcal{H}, \mathcal{V}\rangle T = ⟨ C , c I , H , V ⟩ , where C C C is a non-empty finite set of colours , c I ∈ C c_I \in C c I ∈ C is the initial colour , and H , V ⊆ C × C \mathcal{H}, \mathcal{V} \subseteq C \times C H , V ⊆ C × C are the sets of admissible horizontal and vertical pairs, respectively. The instance T \mathcal{T} T is solvable if there exists a tiling f : N × N ⟶ C f : \mathbb{N} \times\mathbb{N} \longrightarrow C f : N × N ⟶ C such that:
f ( 0 , 0 ) = c I f(0,0) = c_I f ( 0 , 0 ) = c I ;
⟨ f ( i , j ) , f ( i + 1 , j ) ⟩ ∈ H \langle f(i,j), f(i+1,j)\rangle\in\mathcal{H} ⟨ f ( i , j ) , f ( i + 1 , j )⟩ ∈ H for every i , j ∈ N i,j \in\mathbb{N} i , j ∈ N ;
⟨ f ( i , j ) , f ( i , j + 1 ) ⟩ ∈ V \langle f(i,j), f(i,j+1)\rangle\in\mathcal{V} ⟨ f ( i , j ) , f ( i , j + 1 )⟩ ∈ V for every i , j ∈ N i,j \in\mathbb{N} i , j ∈ N .
The infinite tiling problem asks whether a given instance T \mathcal{T} T is solvable.
Reflexive-transitive relation. Fix an instance T = ⟨ C , c I , H , V ⟩ \mathcal{T} = \langle C, c_I, \mathcal{H}, \mathcal{V}\rangle T = ⟨ C , c I , H , V ⟩ . We construct, effectively from T \mathcal{T} T , a sentence φ T ∈ M O N + T ∗ \varphi_{\mathcal{T}} \in\mathrm{MON} + T^{*} φ T ∈ MON + T ∗ such that T \mathcal{T} T is solvable if and only if φ T \varphi_{\mathcal{T}} φ T is satisfiable.
Besides the distinguished symbol T ∗ T^{*} T ∗ , the signature of φ T \varphi_{\mathcal{T}} φ T contains the following unary relation symbols: X i X_i X i (i ∈ [ 0 , 3 ] i \in[0,3] i ∈ [ 0 , 3 ] ), Y j Y_j Y j (j ∈ [ 0 , 3 ] j \in[0,3] j ∈ [ 0 , 3 ] ), and F c F_c F c (c ∈ C c \in C c ∈ C ).
The intended structure representing the infinite N × N \mathbb{N} \times\mathbb{N} N × N grid is depicted on the left in Figure 2 . Each element represents a single tile at some position ( i , j ) (i,j) ( i , j ) . It satisfies precisely one predicate X i ′ X_{i'} X i ′ , where i ′ ≡ i ( m o d 4 ) i' \equiv i \pmod4 i ′ ≡ i ( mod 4 ) , and precisely one predicate Y j ′ Y_{j'} Y j ′ , where j ′ ≡ j ( m o d 4 ) j' \equiv j \pmod4 j ′ ≡ j ( mod 4 ) . The pairs related by T ∗ T^{*} T ∗ 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.
Figure 2. Grid structures.
We now describe this structure by a sentence in M O N + T ∗ \mathrm{MON}+T^{*} MON + T ∗ . First, we require every element to satisfy precisely one X i X_i X i and precisely one Y j Y_j Y j :
∀ x ⋁ i , j ∈ [ 0 , 3 ] ( X i ( x ) ∧ Y j ( x ) ∧ ⋀ i ′ ≠ i ¬ X i ′ ( x ) ∧ ⋀ j ′ ≠ j ¬ Y j ′ ( x ) ) . (32) \forall x\ \bigvee_{i,j\in[0,3]}\left(X_i(x) \land Y_j(x) \land\bigwedge_{i'\ne i}\neg X_{i'}(x) \land\bigwedge_{j'\ne j}\neg Y_{j'}(x)\right). \tag*{(32)} ∀ x i , j ∈ [ 0 , 3 ] ⋁ X i ( x ) ∧ Y j ( x ) ∧ i ′ = i ⋀ ¬ X i ′ ( x ) ∧ j ′ = j ⋀ ¬ Y j ′ ( x ) . (32)
We now define a formula expressing that y y y is a horizontal successor of x x x . For k ∈ N k \in\mathbb{N} k ∈ N , write T k ∗ ( x , y ) T_k^*(x,y) T k ∗ ( x , y ) for T ∗ ( x , y ) T^*(x,y) T ∗ ( x , y ) when k k k is even and for T ∗ ( y , x ) T^*(y,x) T ∗ ( y , x ) when k k k is odd. Then set
ψ H ( x , y ) : = ⋁ i , j ∈ [ 0 , 3 ] ( X i ( x ) ∧ X i + 1 ( y ) ∧ Y j ( x ) ∧ Y j ( y ) ∧ T i + j ∗ ( x , y ) ∧ ¬ T i + j ∗ ( y , x ) ) , \psi_H(x,y) := \bigvee_{i,j \in[0,3]} \left(X_i(x) \land X_{i+1}(y) \land Y_j(x) \land Y_j(y) \land T^*_{i+j}(x,y) \land\neg T^*_{i+j}(y,x)\right), ψ H ( x , y ) := i , j ∈ [ 0 , 3 ] ⋁ ( X i ( x ) ∧ X i + 1 ( y ) ∧ Y j ( x ) ∧ Y j ( y ) ∧ T i + j ∗ ( x , y ) ∧ ¬ T i + j ∗ ( y , x ) ) ,
where the subscript of X i + 1 X_{i+1} X i + 1 is taken modulo 4.
The formula ψ V ( x , y ) \psi_V(x,y) ψ V ( x , y ) expressing that y y y is a vertical successor of x x x is defined analogously: the Y Y Y -index is increased by one modulo 4, while the X X X -index remains unchanged.
We also introduce an auxiliary formula expressing that two elements represent the same tile:
ψ E ( x , y ) : = T ∗ ( x , y ) ∧ T ∗ ( y , x ) . \psi_E(x,y) := T^*(x,y) \land T^*(y,x). ψ E ( x , y ) := T ∗ ( x , y ) ∧ T ∗ ( y , x ) .
Since T ∗ T^* T ∗ is reflexive and transitive, the relation defined by ψ E \psi_E ψ E 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 X i X_i X i , Y j Y_j Y j , and F c F_c F c :
∀ x , y ( ψ E ( x , y ) → ⋀ P i s u n a r y ( P ( x ) ↔ P ( y ) ) ) . (33) \forall x,y\left(\psi_E(x,y) \to\bigwedge_{P\ \mathrm{is\ unary}}(P(x) \leftrightarrow P(y))\right). \tag*{(33)} ∀ x , y ψ E ( x , y ) → P is unary ⋀ ( P ( x ) ↔ P ( y )) . (33)
Next, horizontal successors are required to be unique up to ψ E \psi_E ψ E -equivalence:
∀ x , y , z ( ( ψ H ( x , y ) ∧ ψ H ( x , z ) ) → ψ E ( y , z ) ) . (34) \forall x,y,z\left((\psi_H(x,y) \land\psi_H(x,z)) \to\psi_E(y,z)\right). \tag*{(34)} ∀ x , y , z ( ( ψ H ( x , y ) ∧ ψ H ( x , z )) → ψ E ( y , z ) ) . (34)
Likewise, vertical successors are required to be unique up to ψ E \psi_E ψ E -equivalence:
∀ x , y , z ( ( ψ V ( x , y ) ∧ ψ V ( x , z ) ) → ψ E ( y , z ) ) . (35) \forall x,y,z\left((\psi_V(x,y) \land\psi_V(x,z)) \to\psi_E(y,z)\right). \tag*{(35)} ∀ x , y , z ( ( ψ V ( x , y ) ∧ ψ V ( x , z )) → ψ E ( y , z ) ) . (35)
Finally, we require every element to be the lower-left corner of a grid square:
∀ x ∃ y , z , t ( ψ H ( x , y ) ∧ ψ V ( y , z ) ∧ ψ H ( t , z ) ∧ ψ V ( x , t ) ) . (36) \forall x\ \exists y,z,t\left(\psi_H(x,y) \land\psi_V(y,z) \land\psi_H(t,z) \land\psi_V(x,t)\right). \tag*{(36)} ∀ x ∃ y , z , t ( ψ H ( x , y ) ∧ ψ V ( y , z ) ∧ ψ H ( t , z ) ∧ ψ V ( x , t ) ) . (36)
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 a x a_x a x , and let a y , a z , a t a_y,a_z,a_t a y , a z , a t be witnesses for (36) . Set b x : = a y b_x := a_y b x := a y , and let b y , b z , b t b_y,b_z,b_t b y , b z , b t be witnesses for the same formula with b x b_x b x in place of a x a_x a x . Then both a z a_z a z and b t b_t b t are vertical successors of a y = b x a_y = b_x a y = b x . Hence, by (35) , ψ E ( a z , b t ) \psi_E(a_z,b_t) ψ E ( a z , b t ) holds. Thus, up to ψ E \psi_E ψ E -equivalence, the square ( b x , b y , b z , b t ) (b_x,b_y,b_z,b_t) ( b x , b y , b z , b t ) shares its left vertical side with the right vertical side of ( a x , a y , a z , a t ) (a_x,a_y,a_z,a_t) ( a x , a y , a z , a t ) .
Analogously, using (34) , squares can be joined along their horizontal sides. Iterating this construction therefore yields a representation of the N × N \mathbb{N} \times\mathbb{N} N × N grid, up to replacing individual grid points by ψ E \psi_E ψ E -equivalent elements. By (33) , such replacements preserve all X i X_i X i , Y j Y_j Y j , and F c F_c F c 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:
∀ x ⋁ c ∈ C ( F c ( x ) ∧ ⋀ c ′ ∈ C ∖ { c } ¬ F c ′ ( x ) ) ∧ ∃ x F c I ( x ) . (37) \forall x\bigvee_{c \in C}\left(F_c(x) \land\bigwedge_{c' \in C \setminus\{c\}}\neg F_{c'}(x)\right) \land\exists x\,F_{c_I}(x). \tag*{(37)} ∀ x c ∈ C ⋁ F c ( x ) ∧ c ′ ∈ C ∖ { c } ⋀ ¬ F c ′ ( x ) ∧ ∃ x F c I ( x ) . (37)
The horizontal and vertical compatibility conditions are expressed, respectively, by
∀ x ∃ y ( ψ H ( x , y ) ∧ ⋁ ⟨ c , c ′ ⟩ ∈ H ( F c ( x ) ∧ F c ′ ( y ) ) ) (38) \forall x\ \exists y\left(\psi_H(x,y) \land\bigvee_{\langle c,c'\rangle\in\mathcal{H}}(F_c(x) \land F_{c'}(y))\right) \tag*{(38)} ∀ x ∃ y ψ H ( x , y ) ∧ ⟨ c , c ′ ⟩ ∈ H ⋁ ( F c ( x ) ∧ F c ′ ( y )) (38)
and
∀ x ∃ y ( ψ V ( x , y ) ∧ ⋁ ⟨ c , c ′ ⟩ ∈ V ( F c ( x ) ∧ F c ′ ( y ) ) ) . (39) \forall x\ \exists y\left(\psi_V(x,y) \land\bigvee_{\langle c,c'\rangle\in\mathcal{V}}(F_c(x) \land F_{c'}(y))\right). \tag*{(39)} ∀ x ∃ y ψ V ( x , y ) ∧ ⟨ c , c ′ ⟩ ∈ V ⋁ ( F c ( x ) ∧ F c ′ ( y )) . (39)
Two equivalence relations. Fix an instance T = ⟨ C , c I , H , V ⟩ \mathcal{T} = \langle C,c_I,\mathcal{H},\mathcal{V}\rangle T = ⟨ C , c I , H , V ⟩ . We construct, effectively from T \mathcal{T} T , a sentence φ T ∈ M O N + 2 E \varphi_{\mathcal{T}} \in\mathrm{MON} + 2E φ T ∈ MON + 2 E such that T \mathcal{T} T is solvable if and only if φ T \varphi_{\mathcal{T}} φ T is satisfiable.
We adapt the construction given above for M O N + T ∗ \mathrm{MON} + T^* MON + T ∗ . Let E 1 , E 2 E_1,E_2 E 1 , E 2 denote the two distinguished equivalence symbols of M O N + 2 E \mathrm{MON} + 2E MON + 2 E , and use the same unary predicates X i X_i X i , Y j Y_j Y j , and F c F_c F c as before.
The intended structure representing the infinite N × N \mathbb{N} \times\mathbb{N} N × N grid is depicted on the right in Figure 2 . The dark grey regions represent E 2 E_2 E 2 -classes, while the light grey regions represent E 1 E_1 E 1 -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 E 1 E_1 E 1 -class and an E 2 E_2 E 2 -class contains precisely one grid point in the intended structure.
As before, we first require every element to satisfy precisely one predicate X i X_i X i and precisely one predicate Y j Y_j Y j . For k ∈ N k \in\mathbb{N} k ∈ N , write E k E_k E k for E 1 E_1 E 1 when k k k is odd and for E 2 E_2 E 2 when k k k is even. We then define the horizontal-successor formula by
ψ H ( x , y ) : = ⋁ i , j ∈ [ 0 , 3 ] ( X i ( x ) ∧ X i + 1 ( y ) ∧ Y j ( x ) ∧ Y j ( y ) ∧ E i ( x , y ) ∧ ¬ E i + 1 ( x , y ) ) \psi_H(x,y) := \bigvee_{i,j \in[0,3]} \left(X_i(x) \wedge X_{i+1}(y) \wedge Y_j(x) \wedge Y_j(y) \wedge E_i(x,y) \wedge\neg E_{i+1}(x,y)\right) ψ H ( x , y ) := i , j ∈ [ 0 , 3 ] ⋁ ( X i ( x ) ∧ X i + 1 ( y ) ∧ Y j ( x ) ∧ Y j ( y ) ∧ E i ( x , y ) ∧ ¬ E i + 1 ( x , y ) )
where the subscript of X i + 1 X_{i+1} X i + 1 is taken modulo 4. Similarly, we define
ψ V ( x , y ) : = ⋁ i , j ∈ [ 0 , 3 ] ( X i ( x ) ∧ X i ( y ) ∧ Y j ( x ) ∧ Y j + 1 ( y ) ∧ E j ( x , y ) ∧ ¬ E j + 1 ( x , y ) ) \psi_V(x,y) := \bigvee_{i,j \in[0,3]} \left(X_i(x) \wedge X_i(y) \wedge Y_j(x) \wedge Y_{j+1}(y) \wedge E_j(x,y) \wedge\neg E_{j+1}(x,y)\right) ψ V ( x , y ) := i , j ∈ [ 0 , 3 ] ⋁ ( X i ( x ) ∧ X i ( y ) ∧ Y j ( x ) ∧ Y j + 1 ( y ) ∧ E j ( x , y ) ∧ ¬ E j + 1 ( x , y ) )
where the subscript of Y j + 1 Y_{j+1} Y j + 1 is again taken modulo 4.
Finally, we redefine the auxiliary formula identifying copies of the same grid point by
ψ E ( x , y ) : = E 1 ( x , y ) ∧ E 2 ( x , y ) . \psi_E(x,y) := E_1(x,y) \wedge E_2(x,y). ψ E ( x , y ) := E 1 ( x , y ) ∧ E 2 ( x , y ) .
Since E 1 E_1 E 1 and E 2 E_2 E 2 are equivalence relations, ψ E \psi_E ψ E defines an equivalence relation as well.
We now use these formulas in place of the corresponding formulas from the M O N + T ∗ \mathrm{MON} + T^* MON + T ∗ 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 ψ E \psi_E ψ E -equivalence, while (33) ensures that ψ E \psi_E ψ E -equivalent elements agree on their coordinate and colour predicates. Consequently, the resulting structure represents an N × N \mathbb{N} \times\mathbb{N} N × N grid carrying a valid tiling exactly when T \mathcal{T} T is solvable.