The Fluted Fragment with Transitivity
Ian Pratt-Hartmann, Lidia Tendera

TL;DR
This paper investigates the satisfiability problem for the fluted fragment extended with transitive relations, showing decidability with one relation and undecidability with three relations.
Contribution
It establishes the finite model property for the one-transitive relation case and proves undecidability for the three-transitive relations case.
Findings
Finite model property with one transitive relation
Undecidability with three transitive relations
Complexity varies with the number of transitive relations
Abstract
We study the satisfiability problem for the fluted fragment extended with transitive relations. We show that the logic enjoys the finite model property when only one transitive relation is available. On the other hand we show that the satisfiability problem is undecidable already for the two-variable fragment of the logic in the presence of three transitive relations.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
University of Warsaw, Poland/University of Opole, Poland/University of Manchester, [email protected] University of Opole, [email protected] \CopyrightIan Pratt-Hartmann and Lidia Tendera\ccsdesc[100]Theory of computation Complexity theory and logic \ccsdesc[100]Theory of computation Finite Model Theory\relatedversionThis is an extended version of the MFCS 2019 paper.
The Fluted Fragment with Transitivity
Ian Pratt-Hartmann
Lidia Tendera
Abstract
We study the satisfiability problem for the fluted fragment extended with transitive relations. We show that the logic enjoys the finite model property when only one transitive relation is available. On the other hand we show that the satisfiability problem is undecidable already for the two-variable fragment of the logic in the presence of three transitive relations.
keywords:
First-Order logic, Decidability, Satisfiability, Transitivity, Complexity.
1 Introduction
The fluted fragment, here denoted , is a fragment of first-order logic in which, roughly speaking, the order of quantification of variables coincides with the order in which those variables appear as arguments of predicates. The allusion is presumably architectural: we are invited to think of arguments of predicates as being ‘lined up’ in columns. The following formulas are sentences of
[TABLE]
with the ‘lining up’ of variables illustrated in Fig. 1. By contrast, none of the formulas
[TABLE]
expressing, respectively, the reflexivity, symmetry and transitivity of the relation , is fluted, as the atoms involved cannot be arranged so that their argument sequences ‘line up’ in the fashion of Fig. 1.
The history of this fragment is somewhat tortuous. The basic idea of fluted logic can be traced to a paper given by W.V. Quine to the 1968 International Congress of Philosophy [19], in which the author defined the homogeneous -adic formulas. Quine later relaxed this fragment, in the context of a discussion of predicate-functor logic, to what he called ‘fluted’ quantificational schemata [20], claiming that the satisfiability problem for the relaxed fragment is decidable. The viability of the proof strategy sketched by Quine was explicitly called into question by Noah [12], and the subject then taken up by W.C. Purdy [17], who gave his own definition of ‘fluted formulas’, proving decidability. It is questionable whether Purdy’s reconstruction is faithful to Quine’s intentions: the matter is clouded by differences in the definitions of predicate functors between between [12] and [20], both of which Purdy cites. In fact, Quine’s original definition of ‘fluted’ quantificational schemata appears to coincide with a logic introduced—apparently independently—by A. Herzig [4]. Rightly of wrongly, however, the name ‘fluted fragment’ has now attached itself to Purdy’s definition in [17]; and we shall continue to use it in that way in the present article. See Sec. 2 for a formal definition.
To complicate matters further, Purdy claimed in [18] that (i.e. the fluted fragment, in our sense, and his) has the exponential-sized model property: if a fluted formula is satisfiable, then it is satisfiable over a domain of size bounded by an exponential function of the number of symbols in . Purdy concluded that the satisfiability problem for is NExpTime-complete. These latter claims are false. It was shown in [15] that, although has the finite model property, there is no elementary bound on the sizes of the models required, and the satisfiability problem for is non-elementary. More precisely, define to be the subfragment of in which at most variables (free or bound) appear. Then the satisfiability problem for is -NExpTime-hard for all and in -NExpTime for all [16]. It follows that the satisfiability problem for is Tower-complete, in the framework of [21]. These results fix the exact complexity of satisfiability of for small values of . Indeed, the satisfiability problem for , the two-variable fragment of first-order logic, is known to be NExpTime-complete [3], whence the corresponding problem for is certainly in NExpTime. Moreover, for , coincides with the -variable fragment of first-order logic, whence its satisfiability problem is NPTime-complete. Thus, taking [math]-NExpTime to mean NPTime, we see that the satisfiability problem for is -NExpTime-complete, at least for .
The focus of the present paper is what happens when we add to the fluted fragment the ability to stipulate that certain designated binary relations are transitive, or are equivalence relations. The motivation comes from analogous results obtained for other decidable fragments of first-order logic. Consider basic propositional modal logic K. Under the standard translation into first-order logic (yielded by Kripke semantics), we can regard K as a fragment of first-order logic—indeed as a fragment of . From basic modal logic K, we obtain the logic K4 under the supposition that the accessibility relation on possible worlds is transitive, and the logic S5 under the supposition that it is an equivalence relation: it is well-known that the satisfiability problems for K and K4 are PSpace-complete, whereas that for S5 is NPTime-complete [11]. (For analogous results on graded modal logic, see [5].) Closely related are also description logics (cf. [1]) with role hierarchies and transitive roles. In particular, the description logic , which has the finite model property, is an ExpTime-complete fragment of with transitivity. Similar investigations have been carried out in respect of , which has the finite model property and whose satisfiability problem, as just mentioned, is NExpTime-complete. The finite model property is lost when one transitive relation or two equivalence relations are allowed. For equivalence, everything is known: the (finite) satisfiability problem for in the presence of a single equivalence relation remains NExpTime-complete, but this increases to 2-NExpTime-complete in the presence of two equivalence relations [7, 8], and becomes undecidable with three. For transitivity, we have an incomplete picture: the finite satisfiability problem for in the presence with a single transitive relation in decidable in 3-NExpTime [14], while the decidability of the satisfiability problem remains open (cf. [24]); the corresponding problems with two transitive relations are both undecidable [9].
Adding equivalence relations to the fluted fragment poses no new problems. Existing results on of with two equivalence relations can be used to show that the satisfiability and finite satisfiability problems for (not just ) with two equivalence relations are decidable. Furthermore, the proof that the corresponding problems for in the presence of three equivalence relations are undecidable can easily be seen to apply also to . On the other hand, the situation with transitivity is much less clear. In particular, it is not known to the present authors whether the description logic , the extension of where also role inverses can be used (a feature not expressible in ), enjoys the finite model property. Some indication that flutedness interacts in interesting ways with transitivity is provided by known complexity results on various extensions of guarded two-variable fragment with transitive relations. The guarded fragment, denoted GF, is that fragment of first-order logic in which all quantification is of either of the forms or , where is an atomic formula (a so-called guard) featuring all free variables of . The guarded two-variable fragment, denoted , is the intersection of GF and . It is straightforward to show that the addition of two transitive relations to yields a logic whose satisfiability problem is undecidable. However, as long as the distinguished transitive relations appear only in guards, we can extend the whole of GF with any number of transitive relations, yielding the so-called guarded fragment with transitive guards, whose satisfiability problem is in 2-ExpTime [23]. Intriguingly, in the two-variable case, we obtain a reduction in complexity if we require transitive relations in guards to point forward—i.e. allowing only rather than , and similarly for existential quantification. Thus, the extension of with (any number of) transitive guards has a 2-ExpTime-complete satisfiability problem; however, the corresponding problem under the restriction to one-way transitive guards is ExpSpace-complete [6]. Since the above-mentioned extensions of also do not enjoy the finite model property, the satisfiability and the finite satisfiability problems do not coincide. Decidability and complexity bounds for the finite satisfiability problems are shown in [9, 10].
We show in the sequel that in the presence of a single transitive relation has the finite model property. On the other hand, the satisfiability problems for in the presence of three transitive relations are undecidable even for the intersection of with . (Indeed, the same holds even when one of these transitive relations is constrained to be the identity.) The status of the decidability of with just two transitive relations remains open.
2 Preliminaries
Unless explicitly stated to the contrary, the fragments of first-order logic considered here do not contain equality. We employ purely relational signatures, i.e. no individual constants or function symbols. We do, however, allow 0-ary relations (proposition letters).
Let be a fixed sequence of variables. We define the sets of formulas (for ) by structural induction as follows: (i) any atom , where is a contiguous subsequence of , is in ; (ii) is closed under boolean combinations; (iii) if is in , then and are in . The set of fluted formulas is defined as . A fluted sentence is a fluted formula with no free variables. Thus, when forming Boolean combinations in the fluted fragment, all the combined formulas must have as their free variables some suffix of some prefix of ; and, when quantifying, only the last variable in this sequence may be bound. Note also that proposition letters (0-ary predicates) may, according to the above definitions, be combined freely with formulas: if is in , then so, for example, is , where is a proposition letter.
Denote by the sub-fragment of consisting of those formulas featuring at most variables, free or bound. Do not confuse (the set of fluted formulas with at most variables, free or bound) with (the set of fluted formulas with free variables ). These are, of course, quite different. For example, (3) is in , and (6) is in , but they are both in . Note that cannot include predicates of arity greater than .
For , denote by the -variable fluted fragment together with distinguished transitive relations. In addition, denote by the sub-fragment of in which no binary predicates occur except the distinguished transitive ones.
3 The decidability of fluted logic with one transitive relation
In this section, we show that the logic , the fluted fragment together with a single distinguished transitive relation , has the finite model property. We proceed in stages. First, we show that has a doubly exponential-sized model property. Next, we show that has a triply exponential-sized model property, via an exponential-sized reduction to . Finally, for , we provide an exponential-sized reduction of the satisfiability problem for to the corresponding problem for , showing that, if the target of the reduction has a model of size , then the source has a model of size . The satisfiability problems considered here will all have at least exponential complexity. Therefore, we may assume without loss of generality in this section that all signatures feature no 0-ary predicates, since their truth values can simply be guessed.
3.1 The logic
Fix some signature of unary predicates. We consider -formulas over the signature , where is the distinguished transitive predicate. (Thus, .) By a 1-type over , we mean a maximal consistent conjunction of literals , where . If is a structure interpreting , any element satisfies a unique 1-type over ; we denote it . Since will not vary, we typically omit reference to it when speaking of 1-types. We use the letters and always to range over 1-types and always to range over arbitrary quantifier-free -formulas involving just the variable . We write to indicate the result of substituting everywhere for in , and similarly for and .
Call a -formula over basic if it is of one of the forms
[TABLE]
The following Lemma is a version of the familiar ‘Scott normal form’ for from [22].
Lemma 3.1**.**
Let be a -sentence. There exists a set of basic -formulas with the following properties: (i) ; (ii) if has a model, then so has ; (iii) is bounded by a polynomial function of .
We say that a super-type over is a pair , where is a 1-type over and a set of 1-types over . If is a structure interpreting the signature and , the super-type of in , denoted , is the pair , where . Intuitively, a super-type is a description of an element in a structure specifying that element’s 1-type together with the 1-types of those elements to which it is related by . If is a set of super-types, we write . Since will not vary, we again omit reference to it when speaking of super-types. By a certificate, we mean a pair , where is a set of super-types and is a transitive relation on satisfying the following conditions:
(C1)
if and , then there exists with ;
(C2)
if , and , then .
If is a structure, then the certificate of , denoted , is the pair , where is the set of super-types realized in , and if and only if and are realized in and . Intuitively, a certificate is a description of a structure listing the realized super-types and containing a partial order which specifies when all elements realizing one 1-type are related by to all elements realizing another 1-type.
Lemma 3.2**.**
If is any structure interpreting , is a certificate.
Proof 3.3**.**
Write . Obviously is transitive. We must check (C1) and (C2).
(C1): Suppose and . Let be such that . Then there exists a such that and . Let .
(C2): Suppose and with , and let be such that and . Since , by construction of , we have , whence it is immediate that and .
If is a certificate, and a basic -formula, we define the relation to hold provided the following six conditions are satisfied. The motivation for this definition is provided by Lemmas 3.4 and 3.6.
- (i)
if is of the form , then, for all such that , there exists such that ; 2. (ii)
if is of the form and , then ; 3. (iii)
if is of the form , then, for all , there exists such that and there exists no such that ; 4. (iv)
if is of the form , then, for all , ; 5. (v)
if is of the form , then there exists such that ; 6. (vi)
if is of the form , then, for all , .
Lemma 3.4**.**
Let be a structure interpreting and let be a basic -formula over . If , then .
Proof 3.5**.**
We write and consider the possible forms of in turn.
- •
: Suppose . Then there exists with . Since , choose such that and , and let . Then and , as required.
- •
: It is immediate by the construction of that, if , then ;
- •
: Suppose . Then there exists with . Since , choose such that and , and let , so that . We require only to show that there exists no such that . Suppose, for contradiction, that such an exists. By (C1), . If , then, by the definition of , we have , which contradicts the supposition that . If , then, by the definition of and , we have an element such that , and , which again contradicts the supposition that .
- •
: Suppose and let be such that . Since , we have .
- •
* or . Immediate by construction of .*
Lemma 3.6**.**
If is a certificate, then there exists a structure over a domain of cardinality such that, for any basic -formula over , implies .
Proof 3.7**.**
Define and , where the various and are some objects (assumed distinct), and set . Define the binary relations and , and let be the transitive closure of . Intuitively, we may think of the elements as witnessing existential formulas of the form , where , and of the elements as witnessing existential formulas of the form . Now define on the domain by setting for all , and by setting .
We observe that if and are elements of such that is related to by either or , then . Indeed, for , this is immediate by definition; and for , it follows from property (C2) of certificates. It follows by induction that, if is related to by , then . To prove the lemma, we consider the possible forms of in turn.
- •
: Suppose . Since , there exists such that . By (C1), there exists such that . Letting , we have that is related to by . But then and by construction of .
- •
: Since , we have . Suppose now and . Thus, is related to by , and so by construction of , .
- •
: Suppose . Since , there exists such that , and such that there is no with . Now let . By construction of , . It suffices to show that . For otherwise, by the definition of , there exists a chain of elements with each related to the next by either or and with related to by . (Notice that nothing can be related by to .) Writing , we see that , and, moreover, that is either identical to , or related to it by . As we observed above, if is related to by , then . Thus, either way, . But we are supposing that no such exists.
- •
: Suppose and are elements of . We observed above that, if is related to by , then , contradicting the assumption that . Thus, by construction of , .
- •
* or . Immediate by construction of .*
Since the number of super-types over is bounded by , Lemmas 3.1–3.6 yield:
Lemma 3.8**.**
If is a satisfiable formula of , then has a model of size at most doubly exponential in . Hence the satisfiability problem for is in .
Proof 3.9**.**
A structure can be guessed and verified to be a model of any -variable first-order formula in time [26].
3.2 The logics for
Let be a signature of predicates of positive arity, excluding . An atomic formula of involving a predicate from will be called a fluted -atom over . A fluted -literal is a fluted -atom or the negation thereof. A fluted -clause is a disjunction of fluted -literals. We allow the absurd formula (i.e. the empty disjunction) to count as a fluted -clause. Thus, any literal of a fluted -clause has arguments , in that order, for some (. When writing fluted -clauses, we silently remove bracketing, re-order literals and delete duplicated literals as necessary. A fluted -type is a maximal consistent set of fluted -literals; where convenient, we identify fluted -types with their conjunctions. If is a structure interpreting , any tuple from satisfies a unique fluted -type; we denote it . Note that a fluted 1-type over coincides with what we earlier called a 1-type over . Reference to the signature will as usual be suppressed when clear from context. Predicates in will be referred to as non-distinguished. Our strategy will be to reduce the (finite) satisfiability problem for to that for (Lemma 3.16), and thence to that for (Lemma 3.13), which we have already dealt with (Lemma 3.8).
A -formula () is in clause normal form if it is of the form
[TABLE]
where are sets of fluted -clauses, and , fluted -atoms. We refer to as the static conjunct of , to conjuncts of the form as the existential conjuncts of , and to conjuncts of the form as the universal conjuncts of .
Using the same techniques as for Lemma 3.1, we can transform any -formula into clause normal form.
Lemma 3.10**.**
Let be an -formula, . There exists an -formula in clause normal form such that: (i) ; and (ii) if has a model then so has ; (iii) is bounded by a polynomial function of .
For fragments of first-order logic not involving equality, we are free to duplicate any element in a structure . More formally, we have the following lemma, which will be used as a step in the ensuing argument.
Lemma 3.11**.**
Let be any structure, and let . There exists a structure such that (i) if is any first-order formula without equality, then if and only if ; (ii) ; and (iii) if is a first-order formula without equality, and , then there exist at least distinct elements of such that .
Keeping the signature fixed, we employ the standard apparatus of resolution theorem-proving to eliminate non-distinguished predicates of arity 2 or more. Suppose is a predicate of arity , and let and be fluted -clauses over . Then, and are also fluted -clauses, as indeed is . In that case, we call a fluted resolvent of and , and we say that is obtained by fluted resolution from and on . Thus, fluted resolution is simply a restriction of the familiar resolution rule from first-order logic to the case where the resolved-on literals have maximal arity, , and (in the case ) do not feature the distinguished predicate . It may be helpful to note the following at this point: (i) if and resolve to form , then ; (ii) the fluted resolvent of two fluted -clauses may or may not involve predicates of arity ; (iii) in fluted resolution, the arguments of the literals in the fluted -clauses undergo no change when forming the resolvent; (iv) if the fluted -clause involves no predicates of arity , then it cannot undergo fluted resolution at all.
If is a set of fluted -clauses, denote by the smallest set of fluted -clauses including and closed under fluted resolution. If , we say that it is closed under fluted resolution. We further denote by the result of deleting from any clause involving a non-distinguished predicate of arity . Observe that, since all fluted -atoms involving predicates of non-maximal arity are of the form for some , it follows that features the variable only in the case , and even then only in literals of the form .
The following lemma is, in effect, nothing more than the familiar completeness theorem for (ordered) propositional resolution. Due to space limits the proof is given in Section A.2.
Lemma 3.12**.**
Let be a set of fluted -clauses over a signature , let be the result of removing all predicates of maximal arity from , and let be a fluted -type over . If is consistent with , then there exists a fluted -type over the signature such that and is consistent with .
The following lemma employs a technique from [13] to eliminate binary predicates.
Lemma 3.13**.**
Let be an -formula in clause normal form over a signature , and suppose that has existential and universal conjuncts. Then there exists a clause normal form -formula over a signature such that: (i) has at most existential and universal conjuncts; (ii) ; (iii) if has a model, so does ; and (iv) if has a model of size , then has a model of size at most .
Proof 3.14**.**
*Let , where are sets of fluted 2-clauses, and , unary predicates. Write . For all () and all , let and be new unary predicates. The intended interpretation of is “ satisfies , and also satisfies for every ;” and the intended interpretation of is “ satisfies for every .” Let be the conjunction of the sentences:
(a) ,
(b) ,
(c) , and
(d)
Observe that contains no non-distinguished binary predicates, and hence is in . Clearly, satisfies properties (i) and (ii). To show (iii), suppose , and let be the structure obtained by interpreting the predicates and as suggested above. To show (iv), suppose has a model of size . By Lemma 3.11, has a model of size in which witnesses for all the conjuncts in (c) are duplicated times. We need to show that can be expanded to a model of . Fix and suppose satisfies . Let be the set of indices such that satisfies . By (a), putting , satisfies , whence, by (c), there exists such that the pair satisfies . But Lemma 3.12 guarantees that we can expand by interpreting the non-distinguished binary predicates so that satisfies . Because of the duplication of witnesses, we can repeat with , choosing a fresh witness each time, so as to avoid clashes. Do this for all elements . At the end of the process, the partially defined expansion of satisfies all the existential conjuncts of , and violates none of the universal or static conjuncts. A precisely similar argument shows that we may complete the expansion so that no universal or static conjuncts of are violated. See Section A.3 in the Appendix for details. *
Thus, at the expense of an exponentially larger signature, we have reduced the (finite) satisfiability problem for to that for . By Lemmas 3.8 and 3.13, we obtain
Lemma 3.15**.**
Let be a -formula. If is satisfiable, then has a model of size at most triply exponential in . Hence the satisfiability problem for is in 3-NExpTime.
We now establish the finite model property for the whole of by eliminating variables from , where , one at a time. The proof of the following Lemma is similar to the proof of Lemma 3.13 and has been relegated to the Appendix.
Lemma 3.16**.**
Let be a clause normal form -formula () over a signature , and suppose that has existential conjuncts and universal conjuncts. Then there exists a clause normal form -formula over a signature such that the following hold: (i) has at most existential and universal conjuncts; (ii) ; (iii) if has a model, so does ; and (iv) if has a model of size , then has a model of size at most .
Theorem 3.17**.**
Let be a -formula for . If is satisfiable, then has a model of size at most -tuply exponential in . Hence the satisfiability problem for is in non-deterministic -tuply exponential time.
Proof 3.18**.**
Induction on . The case is Lemma 3.15. The inductive step is Lemma 3.16.
We mentioned in Sec. 1 that [15] establishes a lower bound of -NExpTime-hard for the satisfiability problem for . For , this appears to be the best available lower bound on the corresponding problem for . Thus, a gap remains between the best available upper and lower complexity bounds. Certainly, it follows that the satisfiability problem for is Tower-complete, as for .
4 Fluted Logic with more Transitive Relations
In this section we show two undecidability results for the fluted fragment with two variables, , extended with more transitive relations, that have been informally announced in [25]. We employ the apparatus of tiling systems.
A tiling system is a tuple , where is a finite set of tiles, and , are the horizontal and vertical constraints.
Let be either of the spaces , or . A tiling system tiles , if there exists a function such that for all : and . The following problems are known to be undecidable (cf. e.g. [2]):
- •
Given a tiling system determine if tiles , or .
- •
Given a tiling system determine if tiles , for some .
In this section we first prove the following theorem.
Theorem 4.1**.**
The satisfiability problem for , the two-variable fluted fragment with three transitive relations, is undecidable.
Proof 4.2**.**
Suppose the signature contains transitive relations (black), (green) and (red), and additional unary predicates , , , , (, ) and (, ); we refer to the ’s and to the ’s as colours.
We reduce from the tiling problem. We first write a formula that captures several properties of the intended expansion of the grid as shown in Fig. 2(a). There the predicates and together define a partition of the universe as follows: an element with (i.e. in the yellow region, above the diagonal) satisfies with , , and an element with (i.e. in the pink region, on or below the diagonal) satisfies with . Paths of the same transitive relation have length at most 7 and follow one of four designated patterns. Remaining unary predicates mark the following elements: —left column, —bottom row, —main diagonal, and —elements with coordinates .
The formula comprises a large number of conjuncts. To help give an overview of the construction, we have organized these conjuncts into groups, each of which secures a particular property (or collection of properties) exhibited by its models. The first two properties are very simple:
- (1)
There is an ‘initial’ element satisfying . 2. (2)
The predicates and together partition the universe.
The third property generates the path shown in Fig. 3(a):
- (3)
Each element has a - - or - successor as shown in the path shown in Fig. 3(a), and satisfying the appropriate predicates or . Specifically, if a node in this path has coordinates with , then it satisfies where and ; and when , then the node satisfies where and .
The conjuncts enforcing this property have the form
[TABLE]
where and stand for one of the predicate letters or , stands for one of the literals , , , or (i.e. the logical constant true), stands for one of the literals , , , or , and stands for one of the transitive predicate letters , or . The precise combinations of the literals and predicate letters in these conjuncts can be read from Fig. 3(a) (cf. Appendix, Table. 1 for a full list).
To connect all pairs of elements that are neighbours in the standard grid we require a fourth property, which we give in schematic form as follows:
- (4)
Certain* pairs of elements connected by one transitive relation are also connected by another, as indicated in Fig. 3(b).*
Here are some examples of the conjuncts enforcing this property:
[TABLE]
The role of these conjuncts can be explained referring to Fig. 3(b). For example, employing (4b) for the element in the intended model , we get ; hence by transitivity of , also . This, applying (4c), implies . By (4a), we get and, by transitivity of , . The process is illustrated in Fig. 3(b); when carried on along the zig-zag path, it constructs a grid-like structure.
These conjuncts depend on having available the predicates marking the borders and the diagonals. Specifically, we require the following property:
- (5)
the predicates , , and are distributed to mark the left-most column, the first row, the diagonal and the ‘super-diagonal’ of the grid, as indicated above. To secure this property, we add to several conjuncts, for instance:
[TABLE]
where denotes uniformly or . Similar conjuncts are added for the super-diagonal, left column and bottom row; and also for the connection with and between and . The conjuncts ensuring properties (4) and (5) work in tandem. For instance, applying (5a) to (1,1) we get is true at ; then, following the zig-zag path and applying more conjuncts from the group (4), we get that holds, so the node will be marked by ; this will propagate along the main diagonal.
The structure depicted in Fig. 2(a) is a model of . In fact, is an infinity axiom. To see this, let and define an injective embedding of the standard grid on into as follows. Let be the successor function defined on as depicted by the zig-zag path in the left-hand picture of Fig. 3 starting at (ignoring any colours). Denote , and . Let be an element such that that exists by condition (1). Define . Now, we proceed inductively: suppose has already been defined in step of the induction and . Let be the witness of for the appropriate conjunct from the group (3), i.e. where the unary literals for agree with the unary literals satisfied by in . Define . Using induction one can prove that is indeed injective: in the inductive step we assume that is isomorphic to , and we show that and and are again isomorphic. In the proof one considers several cases depending on the 1-type realized by . The formula ensures that are all distinct, and any eight consecutive elements of the sequence are always distinct. Consider that requires a witness for a conjunct from the group (3) such that . Suppose, , since . Then, by transitivity of , , which is a contradiction with . Other cases are similar and due to page limits have been omitted.
We are now ready to define the horizontal and vertical successors in models of of . In fact, instead of defining the horizontal grid successor as one binary relation, we define two disjoint binary relations and such that and the inverse of together give the expected horizontal grid successor; they are defined respecting the ‘direction’ of the transitive edges in the models. In the intended model holds if , and and are connected by , or ; and for to hold we require instead of . We present the definition of in detail below111Addition in subscripts of the ’s is always understood modulo 6 in the first position, and modulo 3 in the second position, i.e. denotes . Similarly, addition in subscripts of the ’s is understood modulo 3 in the first position, and modulo 6 in the second position.
[TABLE]
The relation connects elements that are connected by , or and satisfy one of the possible combinations of colours: in the second line the combinations for crossing the diagonal are listed, in the third line the left disjunction describes combinations when both elements are located above the diagonal, and in the right disjunction—when both elements are located on and below the diagonal. The definition of complements that of . Analogously, we define relations and that together define the vertical grid successor.
Now we are ready to write formulas that properly assign tiles to elements of the model. We do this with a formula , which again features several conjuncts enforcing various properties of its models. Fortunately, the properties in question are much simpler this time:
- (6)
*Each node encodes precisely one tile. * 2. (7)
*Adjacent tiles respect . * 3. (8)
Adjacent tiles respect (written as above using and ).
*Property (6) is secured by the conjunct \forall x\big{(}\bigvee_{C\in{\cal C}}C(x)\wedge\bigwedge_{C\neq D}(\neg C(x)\vee\neg D(x))\big{)}. Property (7) is secured by the conjunct *
[TABLE]
and property (8) is analogous. We remark that these latter formulas are not strictly fluted but can be rewritten as fluted using classical tautologies (cf. formula (7) in Section B).
Finally, let be the conjunction of and . The following Claim completes the reduction and the proof of our theorem.
Claim 1**.**
* is satisfiable iff tiles .*
Proof: () If tiles then to show that is satisfiable we can expand our intended model for assigning to every element of the grid a unique given by the tiling.
() Let . Let be the embedding of the standard grid into defined above. One can inductively show that maps neighbours in the grid to elements connected by one of the relations as follows ():
[TABLE]
*(Here, is exclusive disjunction.) So, we can define a tiling of the standard grid assigning to every node the unique tile such that . Conditions (7) and (8) together with the above observation ensure that this assignment satisfies the tiling conditions. *
We remark that the formula in the proof of Theorem 4.1 is an axiom of infinity, hence the satisfiability and the finite satisfiability problems do not coincide. Moreover, all formulas used in the proof are either guarded or can easily be rewritten as guarded. Furthermore, in the proof it would suffice to assume that , and are interpreted as equivalence relations. Hence, we can strengthen the above theorem as follows.
Corollary 4.3**.**
The satisfiability problem for the intersection of the fluted fragment with the two-variable guarded fragment is undecidable in the presence of three transitive relations (or three equivalence relations).
Now we improve the undecidability result to the case of with equality.
Theorem 4.4**.**
The (finite) satisfiability problem for the two-variable fluted fragment with equality is undecidable in the presence of two transitive relations.
Proof 4.5**.**
We write a formula over a signature consisting of transitive relations and , and unary predicates (). The formula captures several properties of the intended expansion of the grid as shown Fig. 2(b):
- (1)
there is an initial element: . 2. (2)
the predicates partition the universe. 3. (3)
*transitive paths do not connect distinct elements of the same colour: * 4. (4)
each element belongs to a 4-element blue clique and to a 4-element red clique. 5. (5)
certain* pairs of elements connected by are also connected by , and certain pairs of elements connected by are also connected by .*
We have given property (5) only schematically, of course; its role is analogous to that of property (4) in the proof of Theorem 4.1. The remainder of the proof is similar to the one presented for Theorem 4.1 and due to space limits it is relegated to the Appendix. We note that has also finite models expanding a toroidal grid structure () obtained by identifying elements from columns 0 and and from rows 0 and . Hence, the proof gives undecidability for both the satisfiability and the finite satisfiability problems.
Again, the formulas used in the above proof are guarded or can be rewritten as guarded. Also it suffices to assume that is an equivalence relation. Hence we get the following
Corollary 4.6**.**
The (finite) satisfiability problem for the intersection of the fluted fragment with equality with the two-variable guarded fragment is undecidable in the presence of two transitive relations (or one transitive and one equivalence relation).
5 Conclusions
In this paper, we considered the (-variable) fluted fragment in the presence of different numbers of transitive relations. We showed that has the finite model property, but admits axioms of infinity and the satisfiability problem for is undecidable. This contrasts with known results for other decidable fragments, in particular, , where the satisfiability and finite satisfiability problems are undecidable in the presence of two transitive relations, and where the finite satisfiability problem is decidable in the presence of one transitive relation. It is open whether the (finite) satisfiability problem for in the presence of two transitive relations, and , is decidable. We point out that Lemma 3.16 in Section 3 could be generalized to normal form formulas from . Hence, the (finite) satisfiability problem for in the presence of two transitive relations is decidable if and only if the corresponding problem for with two transitive relations is decidable. Unfortunately neither the method of Sec. 3 (to show decidability) nor that of Sec. 4 (to show undecidability) appears to apply here. The barrier in the former case is that pairs of elements can be related by both and via divergent - and -chains, so that simple certificates of the kind employed for do not guarantee the existence of models. The barrier in the latter case is that the grid construction has to build models featuring transitive paths of bounded length, and this seems not to be achievable with just two transitive relations. Finally, we expect that the undecidability result for can be extended to get undecidability of the corresponding finite satisfiability problem.
Appendix A Proofs from Section 3
A.1 Proof of Lemma 3.1
We employ standard ‘re-writing’ techniques, temporarily allowing 0-ary predicates. By moving negations inward in the usual way, we may assume without loss of generality that negation symbols in apply only to atoms. Suppose has a subformula (), where is quantifier-free. Let be a fresh predicate of arity (thus: 0-ary predicates can be introduced), and again let and ; hence, , and any model of can be expanded to a model of . Thus, is of the form , where is fluted and quantifier-free. Suppose, alternatively, that has a subformula . where is quantifier-free. We proceed in the similarly, except that is of the form .
Proceeding similarly with in place of , we obtain and , and so on, until we reach some point where the -sentence is a proposition letter. Defining to be , we see that , and any model of can be expanded to a model of . It should be clear that the size of is at most linear in the size of . Each of the and indeed is either a proposition letter or (following variable re-naming) of one of the forms
[TABLE]
where is a quantifier-free fluted formula in variables and a quantifier-free fluted formula with variable . Furthermore, we may re-write any formula equivalently as a conjunction , and similarly for .
Eliminate the 0-ary predicates by guessing their truth values and carrying out the obvious simplifications. Let be any satisfiable collection of formulas obtained in this way if there is one (or any of them if is not satisfiable). Massaging into a set of formulas of the desired forms is then completely routine.
A.2 Proof of Lemma 3.12
Enumerate the atoms where is of maximal arity , as . Define a level- extension of inductively as follows: (i) is a level-0 extension of ; (ii) if is a level- extension of (), then and are level- extensions of . Thus, the level- extensions of are exactly the fluted -types over entailing . If is a level- extension of (), we say that violates a clause if, for every literal in , the opposite literal is in ; we say that violates a set of clauses if violates some . We construct a sequence of level- extensions of () none of which violates .
By definition, is a level-0 extension of itself. Suppose now that is a level- extension of (). We claim that, if both and violate , then so does . For otherwise, there must be a clause violated by and a clause violated by . But in that case violates the fluted resolvent , contradicting the supposition that does not violate . This proves the claim. Now, since by hypothesis is consistent with , it does not violate . Therefore, since involves no -literals for , it does not violate either. By the above claim, then, there must be at least one level- extension of which does not violate . Since is a fluted -type, this proves the lemma.
A.3 Proof of Lemma 3.13
Let be the formula
[TABLE]
where are sets of fluted 2-clauses, and , unary predicates. Write . For all () and all , let and be new unary predicates. The intended interpretation of is “ satisfies , and also satisfies for every ;” and the intended interpretation of is “ satisfies for every .” Let be the conjunction of the sentences
[TABLE]
We claim that, if is satisfiable, then so is (see Appendix, Section A.3). This proves the lemma, since evidently contains no non-distinguished binary predicates, and hence is in .
For suppose . We expand to a model by setting, for all () and all ,
p_{i,J}^{\mathfrak{A}^{\prime}}=\{a\mid\text{\mathfrak{A}\models p_{i}[a]\mathfrak{A}\models q_{j}[a]j\in J}\} and q_{J}^{\mathfrak{A}^{\prime}}=\{a\mid\text{\mathfrak{A}\models q_{j}[a]j\in J}\}.
To see that , we simply check the truth of conjuncts (9)–(12) in in turn. Sentences (9) and (10) are immediate. For (11), fix and , and suppose . By the definition of , and for all . Since , there exists such that , and for all . Since resolution is a valid inference step, . This establishes the truth of (11) in . Sentence (12) is handled similarly.
Conversely, we claim that, if is satisfiable over a domain , then is satisfiable over a domain of size . For suppose . Let be the model of guaranteed by Lemma 3.11, where . We may assume that and hence interpret no non-distinguished predicates of arity . We proceed to expand to a model by interpreting the non-distinguished predicates of arity occurring in . Pick any element from , and let be the set of all () such that . Suppose also that, for some () . From (9), ; and from (11), we may pick such that . From the properties secured for by Lemma 3.11, we know that if, for fixed , we have for more than one value of , then we may choose the corresponding elements so that they are all distinct. For each such , then, let . Thus, is consistent with . By Lemma 3.12, there exists a fluted -type such that is consistent with . Set . Since , only non-distinguished binary predicates are being assigned, so that there is no clash with . Moreover, since the are all distinct (for a given element ), these assignments do not clash with each other. In this way, every existential conjunct of is witnessed in for every element , and no static or universal conjunct of is violated for the tuples from for which the binary predicates of have been defined. Now let be any ordered pair from for which the binary predicates of have not been defined, and let be the set of all () such that . From (10), ; and from (12), . Let . Hence is consistent with . By Lemma 3.12, there exists a fluted 2-type such that is consistent with . Set . Since , only non-distinguished binary predicates are being assigned, so that there is no clash with . Evidently, no static or universal conjunct of is violated in this process. Thus, , as required.
A.4 Proof of Lemma 3.16
Similar to the proof of Lemma 3.13. Taking to be as in (7), write . For all () and all , let and be new predicates of arity . The intended interpretation of is “for some , the tuple satisfies and also satisfies for every ;” and the intended interpretation of is “for some , the tuple satisfies for every .” Let be the conjunction of the sentences
[TABLE]
We claim that, if is satisfiable, then so is . Note that, since , (15) and (16) do not involve . By decrementing all variable indices in these conjuncts, therefore, we obtain a formula of as required by the lemma. The proof of the claim proceeds almost identically to Lemma 3.13.
Appendix B Proof of Theorem 4.4: undecidability of with equality
Below we present the complete proof that have been roughly sketched in Section 4.
Suppose the signature contains two transitive relations (blue) and (red), and additional unary predicates (, ) called colours. We write a formula capturing several properties of the intended expansion of the grid as shown in Fig. 4. There, each element with coordinates satisfies , where and and the transitive relations connect only some elements that are close in the grid. The formula is a conjunction of the following statements.
- (1)
there is an initial element: . 2. (2)
the predicates enforce a partition of the universe: . 3. (3)
transitive paths do not connect distinct elements of the same colour:
[TABLE] 4. (4)
-each element belongs to a 4-element blue clique; this property is expressed by writing the following conjuncts for each :
[TABLE]
-each element belongs to a 4-element red clique; we write the following conjuncts for each :
[TABLE] 5. (5)
- a group of formulas saying that some pairs of elements connected by are also connected by :
[TABLE]
- a group of formulas saying that some pairs of elements connected by are also connected by :
[TABLE]
One can note that has also finite models expanding a toroidal grid structure () obtained by identifying elements from columns 0 and and from rows 0 and .
In order to encode tilings using two-variable logics it actually suffices to define structures that are grid-like. A structure with two binary relation and is grid-like, if one of the standard grids , or can be homomorphically embedded into . To show that a structure is grid-like it suffices to require that (note that this is an -formula) and the following confluence property holds
[TABLE]
The confluence property above uses four variables and is not fluted. We will enforce it in using the transitive relations. Let us introduce the following definitions:
[TABLE]
Let . We show that every model of is grid-like. We first show that satisfies . One considers several cases depending on the values of the unary predicates.
Let and assume . By (4) there are such that . By (3) and by transitivity of the elements form a blue clique in . Hence, .
The same argument works if has one of the colours or and, similarly, applying (5) instead of (4) when has the colours or .
Consider now the case . By (4) there is such that , hence . Moreover, by (4) there are such that . By (3) and by transitivity of the elements form a red clique in . By (6d) , hence .
Remaining cases are shown similarly.
Now, we show the confluence property (*). Let and . One needs to consider several cases depending on the colour of , in each of them showing that . For instance:
- •
. Then . By (4) is a member of a blue clique containing elements of colours . Since by (3) the relation does not connect distinct elements of the same colour, belongs to the blue clique of and . Now, by transitivity of , .
- •
. Then . Similarly as above, belongs to a red clique of , hence . By (6a), . Moreover, is in a blue clique of , and so . By transitivity of , . Now, by (7c), . By (4), is a member of a red clique that, by (3), must contain . Hence holds.
Remaining cases can be shown in a similar way. Hence, every model of is grid-like. Now we ensure that we also can assign tiles to elements of the grid-like models using fluted formulas. The task in is easy, it suffices to require that
- (6)
each node encodes precisely one tile: , 2. (7)
adjacent tiles respect and :
[TABLE]
The above two formulas are not fluted but can be written as fluted. Namely, using first-order tautologies, each conjunct in (7a) can be equivalently written as follows:
[TABLE]
and similarly for (7b). Let be the conjunction of with the properties (6) and (7) written in , as explained. It is routine to show that we have simultaneously reduced the plane tiling problem (respectively, the torus tiling problem) to the (finite) satisfiability problem. If tiles any of the spaces or , for some , we expand the grids to our intended models. In the opposite direction, when and is infinite we obtain a tiling of ; in case is finite we obtain a tiling of with divisible by 4. As a result we conclude that the satisfiability and the finite satisfiability problems for with two transitive relations are undecidable.
Appendix C Table defining conjuncts in group (3) of the proof of Theorem 4.1
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] F. Baader, D. Calvanese, D. L. Mc Guinness, D. Nardi, and P. F. Patel-Schneider, editors. The Description Logic Handbook: Theory, Implementation, and Applications . Cambridge University Press, 2003.
- 2[2] E. Börger, E. Grädel, and Y. Gurevich. The Classical Decision Problem . Springer, 1997.
- 3[3] E. Grädel, P. Kolaitis, and M. Vardi. On the decision problem for two-variable first-order logic. Bulletin of Symbolic Logic , 3(1):53–69, 1997.
- 4[4] A. Herzig. A new decidable fragment of first order logic. In Abstracts of the 3rd Logical Biennial Summer School and Conference in Honour of S. C.Kleene , June 1990.
- 5[5] Y. Kazakov and I. Pratt-Hartmann. A note on the complexity of the satisfiability problem for graded modal logic. In Logic in Computer Science , pages 407–416. IEEE, 2009.
- 6[6] E. Kieroński. On the complexity of the two-variable guarded fragment with transitive guards. Information and Computation , 204:1663–1703, 2006.
- 7[7] E. Kieroński, J. Michalyszyn, I. Pratt-Hartmann, and L. Tendera. Two-variable first-order logic with equivalence closure. SIAM Journal on Computing , 43(3):1012–1063, 2014.
- 8[8] E. Kieroński and M. Otto. Small substructures and decidability issues for first-order logic with two variables. Journal of Symbolic Logic , 77:729–765, 2012.
