=Paper=
{{Paper
|id=Vol-3733/paper17
|storemode=property
|title=Decidability of Ordered Fragments of FOL via Modal Translation
|pdfUrl=https://ceur-ws.org/Vol-3733/paper17.pdf
|volume=Vol-3733
|authors=Hongkai Yin,Matteo Pascucci
|dblpUrl=https://dblp.org/rec/conf/cilc/YinP24
}}
==Decidability of Ordered Fragments of FOL via Modal Translation==
Decidability of ordered fragments of πΉ ππΏ via modal translation Hongkai Yin1,*,β , Matteo Pascucci1,β 1 Central European University, Quellenstrasse 51, 1100 Wien, Austria Abstract We present a simplification and a modification of a method introduced by Herzig to prove the decidability of Quineβs ordered fragment of first-order logic. The method consists in an interpretation of quantifiers as modal operators. We show that our modification yields the decidability of two new ordered fragments of first-order logic, called the grooved fragment and the loosely grooved fragment, whose expressive power lies between Quineβs ordered fragment and the fluted fragment. Keywords Fragments of first-order logic, Decidability, Modal logic, Tree model property 1. Introduction The ordered fragments of first-order logic (πΉ ππΏ) are those fragments in which an ordering associated with the set of variables imposes restrictions on their occurrences in atomic formulas, as well as on scopes of quantifiers [1]. The simplest of such fragments is due to Quine [2] and results from the following ideas: 1. an atomic formula can be formed only by giving variables π₯1 , ..., π₯π (in this order) as arguments to an π-ary predicate; 2. a complex formula is either obtained by applying sentential connectives to formulas with the same free variables, or by quantifying over the free variable with the largest index in a formula. For example, the following sentence belongs to Quineβs ordered fragment: βπ₯1 (π π₯1 β βπ₯2 (π π₯1 π₯2 β§ βπ₯3 ππ₯1 π₯2 π₯3 )). Herzig [3] provides a translation from this fragment into propositional modal language in such a way that any input formula is satisfied in a first-order model iff its translation is satisfied in a Kripke model over a serial frame. Accordingly, one can employ decision procedures for the modal logic KD (which is semantically characterized by the class of all serial frames) to decide the satisfiability problem for Quineβs ordered fragment. CILC 2024: 39th Italian Conference on Computational Logic, June 26-28, 2024, Rome, Italy * Corresponding author. β Hongkai Yin is mainly responsible for the technical proofs in the article. Matteo Pascucci is mainly responsible for the structure of the contents. $ yin_hongkai@phd.ceu.edu (H. Yin); pascuccim@ceu.edu (M. Pascucci) 0009-0006-0082-6541 (H. Yin); 0000-0003-4867-4082 (M. Pascucci) Β© 2024 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0). CEUR ceur-ws.org Workshop ISSN 1613-0073 Proceedings Herzigβs translation relies on an intuitive reading of quantifiers as modal operators: β cor- responds to β‘ and β corresponds to β’. In other words, the claim that π is the case for every individual amounts to the claim that π is necessary, whereas the claim that π is the case for some individual amounts to the claim that π is possible. We stress that such a connection between quantifiers and modalities is simpler than the one employed in the standard translation of modal logic into (the guarded fragment of) first-order logic. In the present article we provide a simplification and a modification of Herzigβs method. By doing so, we obtain decidability and direct model construction for two other ordered fragments of πΉ ππΏ called the grooved fragment and the loosely grooved fragment, both of which lie between Quineβs ordered fragment and the fluted fragment [4, 5]. More precisely, we have the following chain of (strict) inclusion for the mentioned fragments of πΉ ππΏ: Quineβs β grooved β loosely grooved β fluted The rest of the article is arranged as follows. In Section 2 we introduce the modal translation of Quineβs ordered fragment, followed by our simplified proof of satisfiability-invariance under the translation. In Section 3 we define the grooved fragment and use a modified translation to address the satisfiability problem. The loosely grooved fragment is defined in Section 4, where we show that its sentences can be rewritten into satisfiability-equivalent ones in the grooved fragment. We conclude the article with some remarks on potential applications of the ordered fragments, and on the relation between the fragments analysed here and some other fragments of πΉ ππΏ. 2. Quineβs ordered fragment The first-order language we are considering here is denoted by βπΉ ππΏ . It consists of a countable set π πππ of predicates (each with an arity π β₯ 1), a countable set π ππ of individual variables, Β¬, β§, β, and parentheses. (Other logical symbols can be introduced by definition in the usual way.) Elements of π πππ are denoted by π1 , π2 , etc., whereas those of π ππ by π₯1 , π₯2 , etc. The set of well-formed formulas of βπΉ ππΏ , denoted by πΉ πππ(βπΉ ππΏ ), is constructed in the usual way. Now we start by specifying Quineβs ordered fragment. For the sake of a more concise exposition, we associate each formula of the fragment with a level (a natural number). Definition 1 (Ordered formulas). The set of ordered formulas πΉ ππππππ (βπΉ ππΏ ) is the smallest subset of πΉ πππ(βπΉ ππΏ ) that satisfies the following conditions: 1. For any π-ary predicate ππ (π β₯ 1), ππ π₯1 . . . π₯π is an ordered formula of level π. 2. If π and π are ordered formulas of level π, so are Β¬π and (π β§ π). 3. If π is an ordered formula of level π (π > 0), then βπ₯π π is an ordered formula of level π β 1. Note that an ordered formula of level 0 is an ordered sentence since it does not contain any free variables. In the analysis of ordered formulas we will employ a simplified definition of the satisfaction relation. Recall that a model for βπΉ ππΏ is an ordered pair β³ = β¨π·, πΌβ©, where π· is a non-empty set and πΌ is an interpretation function s.t. for any π-ary predicate ππ , πΌ(ππ ) β π·π . For an ordered formula of level π, since its free variables are exactly π₯1 , . . . , π₯π , we do not need to distinguish assignments which differ only on the value of other variables. Thus, we can use an π-tuple β¨π1 , . . . , ππ β©, where ππ β π·, to denote any assignment which assigns ππ to π₯π . In particular, we can use the empty tuple π for any assignment. Definition 2 (Satisfaction for ordered formulas). Let β³ = β¨π·, πΌβ© be a model for βπΉ ππΏ and π·* be the set of all finite tuples of elements of π·. We write ππ for an element of π·π (where π·π β π·* ) and ππ , ππ for ordered formulas of level π. The satisfaction relation β¨ is defined as follows (where ππβ1 π β π·π is the concatenation of ππβ1 β π·πβ1 and π β π·): β’ β³, ππ β¨ ππ π₯1 . . . π₯π iff ππ β πΌ(ππ ) β’ β³, ππ β¨ Β¬ππ iff it is not the case that β³, ππ β¨ ππ β’ β³, ππ β¨ ππ β§ ππ iff β³, ππ β¨ ππ and β³, ππ β¨ ππ β’ β³, ππβ1 β¨ βπ₯π ππ iff for all π β π·, β³, ππβ1 π β¨ ππ In particular, when an ordered sentence π is true in β³, we write β³ β¨ π instead of β³, π β¨ π. This definition can be trivially generalized to cover also the case where ππ , a formula of level π, is evaluated with a tuple of length π + π (where π β₯ 1). Since the elements of π· assigned to variables π₯π+1 ...π₯π+π are irrelevant to the satisfaction of ππ . The propositional modal language βπ π πΏ used to translate Quineβs ordered fragment consists of a countable set π πππ of propositional variables, Β¬, β§, and the modal operator β‘. (Other logical symbols can be introduced by definition in the usual way.) The set π πππ is assumed to be equinumerous with π πππ, and elements of π πππ will be denoted by π1 , π2 , etc. We say that a propositional variable corresponds to a predicate (and vice versa) if they have the same index. The set of formulas of βπ π πΏ is constructed as usual and will be denoted by πΉ πππ(βπ π πΏ ). We employ the standard relational semantics for βπ π πΏ . A model for βπ π πΏ (henceforth also βπ π πΏ -model or Kripke model) is an ordered triple M = β¨π, π , π β© where: π is a non-empty set; π is a binary relation on π ; and π : π πππ ββ β(π ) is a function. Formulas of βπ π πΏ are evaluated relative to elements of π . In particular, M, π€ β¨ β‘π iff M, π£ β¨ π for all π£ β π s.t. π π€π£. We will assume that the elements π , π and π define an βπ π πΏ -model M, the elements π β² , π β² and π β² define an βπ π πΏ -model Mβ² , etc. The frame of an βπ π πΏ -model M = β¨π, π , π β© is the pair β¨π, π β©. A frame is said to be serial iff (βπ€ β π )(βπ£ β π )π π€π£. Some model-theoretic concepts will become relevant later, so we also mention them here for reference. Definition 3 (Tree unravelling). Given an βπ π πΏ -model M = β¨π, π , π β© and π€ β π , the tree unravelling of M at π€ is the model Mβ² = β¨π β² , π β² , π β² β© defined as follows: β’ π β² is the set of all sequences (π£1 , . . . , π£π ) β π π (where π β₯ 1) s.t.: β π£1 = π€, β for 1 β€ π < π, π π£π π£π+1 ; β’ π β² (π£1 , . . . , π£π )(π’1 , . . . , π’π ) iff β π = (π + 1), β for 1 β€ π β€ π, π£π = π’π , β π π£π π’π+1 ; β’ for π β π πππ, (π£1 , . . . , π£π ) β π β² (π) iff π£π β π (π). Definition 4 (Bounded morphism). A bounded morphism from an βπ π πΏ -model M to an βπ π πΏ -model Mβ² is a function π : π ββ π β² s.t.: β’ for π β π πππ and π€ β π , π€ β π (π) iff π (π€) β π β² (π); β’ if π π€π£, then π β² π (π€)π (π£); β’ if π β² π (π€)π£ β² , then π π€π’ for some π’ β π s.t. π (π’) = π£ β² . If π is a bounded morphism from M to Mβ² , then, for each π β πΉ πππ(βπ π πΏ ) and each π€ β π , it holds that M, π€ β¨ π iff Mβ² , π (π€) β¨ π. Also, if Mβ² is the tree-unraveling of M at π€, there is a bounded morphism from the former to the latter. Moreover, filtration is one of the standard techniques for constructing finite models in modal logic. (A detailed discussion can be found in [6].) Specifically, it allows one to prove that if π β πΉ πππ(βπ π πΏ ) is satisfiable in a class of βπ π πΏ -models π, then it is satisfiable in a finite model in π. In our case π will be the class of models over serial frames or a specified subclass of this. This ends the preliminaries. Now we move on to the translation of πΉ ππππππ (βπΉ ππΏ ) into πΉ πππ(βπ π πΏ ), which is due to Herzig [3]. Definition 5 (Translation). The translation function, π‘π : πΉ ππππππ (βπΉ ππΏ ) ββ πΉ πππ(βπ π πΏ ), is defined recursively as follows: β’ π‘π(ππ π₯1 . . . π₯π ) = ππ β’ π‘π(Β¬π) = Β¬π‘π(π) β’ π‘π(π β§ π) = π‘π(π) β§ π‘π(π) β’ π‘π(βπ₯π) = β‘π‘π(π) Now we present a way to construct a Kripke model (i.e. a model for βπ π πΏ ) based on a first-order model (i.e. a model for βπΉ ππΏ ). Let β³ = β¨π·, πΌβ© be a model for βπΉ ππΏ . Then the βπ π πΏ -analogue of β³, M = β¨π, π , π β©, is a model for βπ π πΏ such that: β’ π = π·* (the set of all finite tuples of elements of π·) β’ for any π, π β π , π ππ iff π = ππ for some π β π· β’ π (ππ ) = πΌ(ππ ) Note that the frame β¨π, π β© specified here is a tree where the root is the empty tuple. Also note that the frame is serial and M is thus a KD-model. Proposition 1 (Satisfiability invariance for βπ π πΏ -analogues). Let β³ = β¨π·, πΌβ© be a model for βπΉ ππΏ and M = β¨π, π , π β© its βπ π πΏ -analogue. For π β₯ 0, if ππ is an ordered formula of level π and ππ is an π-tuple in π·* , then: β³, ππ β¨ ππ iff M, ππ β¨ π‘π(ππ ). Proof. By induction on ordered formulas. We only analyse the case where ππ = βπ₯π+1 π: β³, ππ β¨ βπ₯π+1 π iff β³, ππ π β¨ π for every π β π· iff (by I.H.) M, ππ π β¨ π‘π(π) for every π β π· iff M, ππ β¨ β‘π‘π(π). So far we have shown that, if we have a first-order model which satisfies an ordered sentence π, we can build a KD-model over a tree in which π‘π(π) is satisfied at the root. For the other direction, namely to show that when we have a KD-model satisfiying π‘π(π) we can build a first-order model satisfying π, we begin with the following observations. First, given a KD-model where π‘π(π) is satisfied, a filtration of the model through the set of subformulas of π‘π(π) preserves the satisfiability of π‘π(π) as well as the seriality of the frame, and therefore we can restrict our attention to KD-models with a bounded size. Second, for a finite KD-model with a bounded size, its tree unravelling is a KD-model where each node has a bounded number of children. Let us fix some terminology before moving on. We say that a tree is π-ary iff each of its nodes has at most π children. A perfect π-ary tree is one in which each node has exactly π children. A tree is serial iff every one of its nodes has at least one child. Clearly, for π > 0, a perfect π-ary tree is serial. Moreover, each node in a tree is assigned a natural number as its height, defined as follows: β’ if π£ is the root, βπππβπ‘(π£) = 0; β’ if π£ β² is a child of π£, βπππβπ‘(π£ β² ) = βπππβπ‘(π£) + 1. We say that a node π€ is lower than a node π£ just in case βπππβπ‘(π€) < βπππβπ‘(π£). We proceed in two steps. First, we show that each serial π-ary tree model can be expanded to a perfect π-ary tree model which is invariant w.r.t. the satisfiability of modal formulas. Proposition 2 (From a tree to a perfect tree). Let M = β¨π, π , π β© be a model over a serial π-ary tree (π > 0) with root π€0 . Then there is a model Mβ² = β¨π β² , π β² , π β² β© over a perfect π-ary tree with root π€0β² and a surjective bounded morphism π : Mβ² ββ M s.t. π (π€0β² ) = π€0 . Proof. We describe a systematic procedure for constructing Mβ² and π . Stage 0 Set M0 = β¨π0 , π 0 , π0 β© = M, and π0 = πππ (the identity function on π ). Stage n+1 If the frame in Mπ = β¨ππ , π π , ππ β© is not a perfect tree, choose the lowest node π€ β ππ having less than π children; if there are multiple such nodes, choose one of them. Then pick a π£ β ππ s.t. π π π€π£, and let π = {π’ β ππ : π π* π£π’} (π π* is the reflexive and transitive closure of π π ) Suppose π€ has π β π children (0 < π < π). For 1 β€ π β€ π, let ππ be a set of fresh nodes (i.e. ππ β© ππ = β and for 1 β€ π < π, ππ β© ππ = β ) s.t. |ππ | = |π |, and ππ : ππ ββ π be a bijection. Let ππ β ππ2 and ππ : π πππ ββ π«(ππ ) be as follows: for any π’, π’β² β ππ , ππ π’π’β² iff π π ππ (π’)ππ (π’β² ) for any π’ β ππ and any π β π πππ, π’ β ππ (π) iff ππ (π’) β ππ (π) Then, set Mπ+1 = β¨ππ+1 , π π+1 , ππ+1 β© where βοΈ ππ+1 = ππ βͺ 1β€πβ€π ππ π π+1 = π π βͺ {(π€, ππβ1 (π£)) : 1 β€ π β€ π} βͺ 1β€πβ€π ππ βοΈ for any π β π πππ, ππ+1 (π) = ππ (π) βͺ βοΈ 1β€πβ€π ππ (π) Also, let ππ+1 : Mπ+1 ββ Mπ be the function such that {οΈ π€ π€ β ππ ππ+1 (π€) = ππ (π€) π€ β ππ This procedure yields the desired tree model Mβ² = β¨π β² , π β² , π β² β© where: π β² = ππ ; βοΈ π β² = π π ; βοΈ for any π β π πππ, π β² (π) = ππ (π). βοΈ Moreover, we have the function π : Mβ² ββ M such that π (π€) = π0 β π1 β Β· Β· Β· β ππ (π€), if π€ first appears in stage π. This is a surjective bounded morphism, and, obviously, π (π€0β² ) = π€0 . Now we can proceed to the second step of our construction, which consists in deriving a first-order model from a Kripke model over a perfect π-ary tree. Let M = β¨π, π , π β© be a model for βπ π πΏ in which β¨π, π β© is a perfect π-ary tree (π > 0). Let π· be a set with |π·| = π, πΈ β π·* Γπ·* be a relation such that: for π, π β π·* , πΈππ iff π = π π for some π β π·; accordingly, β¨π·* , πΈβ© is isomorphic to β¨π, π β©. Let β : β¨π·* , πΈβ© ββ β¨π, π β© be an isomorphism, and πΌ be the interpretation function on βπΉ ππΏ such that: for any π-ary predicate ππ , πΌ(ππ ) = {π β π·π : β(π) β π (ππ )}. Then β³ = β¨π·, πΌβ© is a model for βπΉ ππΏ , and we call it an βπΉ ππΏ -analogue of M. Notice that there is a unique βπΉ ππΏ -analogue for each βπ π πΏ -model, up to isomorphism. Proposition 3 (Satisfiability invariance for βπΉ ππΏ -analogues). Let M = β¨π, π , π β© be a perfect π-ary (π > 0) tree model for βπ π πΏ , and β³ = β¨π·, πΌβ© be an βπΉ ππΏ -analogue of M. Then: for π β₯ 0, M, β(ππ ) β¨ π‘π(ππ ) iff β³, ππ β¨ ππ , where ππ is an ordered formula of level π, and ππ is an π-tuple from π·* . Proof. By induction on ordered formulas. Proposition 4 (Satisfiability invariance under π‘π). Let π be an ordered sentence. Then: π is satisfiable iff π‘π(π) is KD-satisfiable. Therefore, the satisfiability problem for Quineβs ordered fragment is decidable. Proof. By Propositions 1, 2, and 3. We also stress that the construction provided above indicates that one can build a conservative extension of both Quineβs fragment of πΉ ππΏ and KD thanks to function π‘π, as discussed in [7]. We can define a conservative extension of Quineβs fragment of πΉ ππΏ and KD as a system π of first-order modal logic (hence, whose language results from the combination of βπΉ ππΏ and βπ π πΏ ) such that (i) π contains all theorems of each of the two systems at issue, and (ii) the schema βπ₯π β π is derivable in π for some formula π β βπ π πΏ . In order to see this point, consider the semantic procedure described below. Combine any βπ π πΏ -model M = β¨π, π , π β© over a perfect π-ary tree (π > 0) and an βπΉ ππΏ -analogue β³ = β¨π·, πΌβ© of M thanks to the bijective function β used in the construction of β³ (see Proposition 2). The result is a hybrid structure π = β¨π, π , π, π·, πΌ, ββ© where βπ π πΏ and βπΉ ππΏ are simultaneously interpreted. Use the bijective function β to assign a label to each element of π , i.e. for π β π·* , if β(π) = π€ β π , then π = πππππ(π€). Moreover, put together the definition of the satisfaction relation β¨ in Kripke models and in first-order models and let π, π€ β¨ π become interchangeable with π, πππππ(π€) β¨ π. Once this is done, it is immediate to see that π β π‘π(π) is valid in π . A fortiori, βπ₯π β β‘π‘π(π) is valid in π .1 Furthermore, notice that β‘π‘π(π) β βπ π πΏ . Finally, let π be the class of all hybrid models defined as above and π β(π) the set of first-order modal formulas that are valid in π. Then, any system of first-order modal logic π whose set of theorems contains π β(π) is a conservative extension of both Quineβs fragment of πΉ ππΏ and KD. 3. The grooved fragment In this section we present a modification of the method used above. We consider an ordered fragment which is larger than Quineβs. We name it the grooved fragment. The additional expressiveness of this new fragment results from allowing unary predicates to take a variable π₯π , for any π > 0. Definition 6 (Grooved formulas). The set of grooved formulas πΉ ππππππ (βπΉ ππΏ ) is the smallest subset of πΉ πππ(βπΉ ππΏ ) that satisfies the following conditions: 1. If π is an π-ary predicate (π > 1), π π₯1 . . . π₯π is a grooved formula of level π. 2. If π is a unary predicate, π π₯π is a grooved formula of level π (π > 0). 3. If π and π are grooved formulas of level π, so are Β¬π and (π β§ π). 4. If π is a grooved formula of level π (π > 0), then βπ₯π π is a grooved formula of level π β 1. The identification of the grooved fragment is inspired by works on the relational syllogistic, the extension of the classical syllogistic with relational terms. Logical systems in that context feature, for example, the following sentences: 1 For instance, consider the following case: βπ₯1 ππ π₯1 β β‘ππ . Let π be a hybrid model and π€ a state in its domain. It holds that π, π€ β¨ βπ₯1 ππ π₯1 iff π, πππππ(π€) β¨ βπ₯1 ππ π₯1 iff π, πππππ(π€)π β¨ ππ π₯1 for every π β π· iff π, π£ β¨ ππ for every π£ s.t. π π€π£ iff π, π€ β¨ β‘ππ . Therefore, π, π€ β¨ βπ₯1 ππ π₯1 β β‘ππ . No student admires every professor βπ₯1 (ππ₯1 β Β¬βπ₯2 (π π₯2 β π΄π₯1 π₯2 )) No lecturer introduces any professor to every student βπ₯1 (πΏπ₯1 β Β¬βπ₯2 (π π₯2 β§ βπ₯3 (ππ₯3 β πΌπ₯1 π₯2 π₯3 ))) Clearly, such sentences are not in the ordered fragment defined in the previous section, since they typically contain atoms of the form π π₯π , where π > 1, whereas this is now accommodated by the grooved fragment. In fact, the grooved fragment is more expressive than many systems for the relational syllogistic. See e.g. [8] and [9] for a detailed comparison. Given the existence of formulas of the form π π₯π , we modify the satisfaction relation as follows. Definition 7 (Satisfaction for grooved formulas). Let β³ = β¨π·, πΌβ© be a model for βπΉ ππΏ , ππ be an π-tuple from π·* , πππ π‘(ππ ) be the last element of ππ , and ππ , ππ be grooved formulas of level π. Then: β’ π, ππ β¨ π π₯1 . . . π₯π iff ππ β πΌ(π ) (π is not unary) β’ π, ππ β¨ π π₯π iff πππ π‘(ππ ) β πΌ(π ) (π is unary) β’ π, ππ β¨ Β¬ππ iff it is not the case that π, ππ β¨ ππ β’ π, ππ β¨ ππ β§ ππ iff π, ππ β¨ ππ and π, ππ β¨ ππ β’ π, ππβ1 β¨ βπ₯π ππ iff for all π β π·, π, ππβ1 π β¨ ππ The translation function for the grooved fragment is slightly different from the one in Definition 5. We will call the new function π‘π as well since no ambiguity will arise. Definition 8 (Translation). The translation function, π‘π : πΉ ππππππ (βπΉ ππΏ ) ββ πΉ πππ(βπ π πΏ ), is defined recursively as follows: β’ π‘π(ππ π₯1 . . . π₯π ) = ππ (ππ is not unary) β’ π‘π(ππ π₯π ) = ππ (ππ is unary) β’ π‘π(Β¬π) = Β¬π‘π(π) β’ π‘π(π β§ π) = π‘π(π) β§ π‘π(π) β’ π‘π(βπ₯π) = β‘π‘π(π) Now we present a modified way to construct a Kripke model from a first-order one. Let β³ = β¨π·, πΌβ© be a model for βπΉ ππΏ . Then the βπ π πΏ -analogue of β³, M = β¨π, π , π β©, is a model for βπ π πΏ defined as below: β’ π = π·* β’ for any π, π β π , π ππ iff π = ππ for some π β π· β’ for non-unary ππ , π (ππ ) = πΌ(ππ ) β’ for unary ππ , π (ππ ) = {π β π·* β {π} : πππ π‘(π) β πΌ(ππ )} (π is the empty tuple) M is obviously a KD-model over a tree. Proposition 5 (Satisfiability invariance for βπ π πΏ -analogues). Let β³ be a model for βπΉ ππΏ and M its βπ π πΏ -analogue. For π β₯ 0, if ππ is a grooved formula of level π and ππ is an π-tuple in π·* , then: β³, ππ β¨ ππ iff M, ππ β¨ π‘π(ππ ). Proof. As in Proposition 1. Thus, in particular, a grooved sentence π is true in β³ exactly when π‘π(π) is true at the root of M. Given a grooved sentence π, let S(π) be the set of propositional variables corresponding to the unary predicates in π. Let Ξ(π) be the set of maximal consistent sets of literals (i.e. propositional variables or their negation) formed by elements of S(π), and let {οΈβοΈ }οΈ Ξ¨(π) = Ξ£ : Ξ£ β Ξ(π) β β β β βοΈ βοΈ Ξ₯(π) = β (β’π β β‘β’π)β β§ β (Β¬β’π β β‘Β¬β’π)β πβΞ¨(π) πβΞ¨(π) Proposition 6. Let β³ = β¨π·, πΌβ© be a model for βπΉ ππΏ , M = β¨π, π , π β© be the βπ π πΏ -analogue of β³. Then Ξ₯(π) is valid (globally true) in M. Proof. We observe that for any π, π β π·* β {π}, if πππ π‘(π) = πππ π‘(π ) then: for any π β S(π), π β π (π ) iff π β π (π ). So far, we have seen that if a grooved sentence π is satisfiable, then its translation π‘π(π) is satisfied in a KD-model where Ξ₯(π) is valid. For the opposite direction we start from the following observations. Given a KD-model where Ξ₯(π) is valid and π‘π(π) is satisfied, a filtration of the model through the set of subformulas of Ξ₯(π) or π‘π(π) preserves the satisfiability of π‘π(π) as well as the validity (global truth) of Ξ₯(π). Also, since the filtration remains a KD-model and has a bounded size, its tree unravelling at the node satisfying π‘π(π) is a KD-model in which each node has a bounded number of children. For simplicity, from now on we always assume the restriction of βπΉ ππΏ to the predicates occurring in π, and, correspondingly, the restriction of βπ π πΏ to the propositional variables occurring in π‘π(π). Given a Kripke model M = β¨π, π , π β©, let the sort of each π€ β π , written π ππ‘(π€), be as follows: π ππ‘(π€) = {π β S(π) : π€ β π (π )} Proposition 7. Let M = β¨π, π , π β© be a tree model for βπ π πΏ , with π€0 β π its root, such that Ξ₯(π) is valid in M. For any π€, π’, π£ β π , if π π€π’ then there is π’β² β π s.t. π π£π’β² and π ππ‘(π’) = π ππ‘(π’β² ). Proof. Suppose π 1 , . . . , π πβοΈare all the members of S(π). Let ππ=1 Β±π π be the conjunction of βοΈ literals true at π’. Then β’ ππ=1 Β±π π is true at π€. Since Ξ₯(π) is valid in the model, in particular we have that π βοΈ π βοΈ β’ Β±π π β β‘β’ Β±π π π=1 π=1 and π βοΈ π βοΈ Β¬β’ Β±π π β β‘Β¬β’ Β±π π π=1 π=1 βοΈπ are valid, from which we βοΈπ can show that β’ π=1 Β±π π is true (false) at the root π€0 iff it is globally true (false). Since β’ π=1 Β±π π is true at π€, it must alsoβοΈbe true at π€0 , and therefore globally true. Thus, for any π£ β π , there is π’β² β π s.t. π π£π’β² and ππ=1 Β±π π is true there. Given a Kripke model M = β¨π, π , π β© and π€ β π , let Srt(π€) = {π ππ‘(π’) : π’ β π and π π€π’} Then, if M is a tree model and Ξ₯(π) is valid in M, by Proposition 7 we have that, for any π€, π£ β π , Srt(π€) = Srt(π£). We thus call M a well-sorted tree model, and let Srt(M) = {π ππ‘(π€) : π€ β π } Also, if β¨π, π β© is an π-ary tree, we have |Srt(M)| β€ π. For a well-sorted tree model M = β¨π, π , π β©, we denote the members of Srt(M) by Q1 , . . . , Q|Srt(M)| , and then, for each π€ β π , let Qπ (π€) = {π’ β π : π π€π’ and π ππ‘(π’) = Qπ } Let π(Qπ ) be the maximum number of children of sort Qπ that a node of the tree can have, i.e. π(Qπ ) = πππ₯{|Qπ (π€)| : π€ β π } Obviously, if β¨π, π β© is an π-ary tree, then π(Qπ ) β€ π. In a well-sorted tree model M = β¨π, π , π β©, a node π€ β π is fulfilled iff for 1 β€ π β€ |Srt(M)|, |Qπ (π€)| = π(Qπ ). A well-sorted tree model is fulfilled iff all of its nodes are fulfilled. Clearly, the frame of a fulfilled tree model is a perfect tree. We next proceed, as in Section 2, by showing how to expand a serial tree to a perfect tree. This time, though, the number of children of each node in the resulting tree may be higher than the maximum number of children of a node in the original tree. Proposition 8 (From a well-sorted tree model to a fulfilled tree model). Let M = β¨π, π , π β© be a well-sorted tree model over a serial π-ary tree (οΈβοΈ(π > 0) with root )οΈ π€0 . Then there is a fulfilled β² β² β² β² |Srt(M)| tree model M = β¨π , π , π β© over a perfect π=1 π(Qπ ) -ary tree with root π€0β² , and a surjective bounded morphism π : Mβ² ββ M s.t. π (π€0β² ) = π€0 . Proof. The following procedure constructs Mβ² and π . Stage 0 Set M0 = β¨π0 , π 0 , π0 β© = M, and π0 = πππ . Stage n+1 If Mπ = β¨ππ , π π , ππ β© is not fulfilled, choose the lowest node π€ β ππ which is not fulfilled; if there are multiple such nodes, choose one. For the least π s.t. |Qπ (π€)| < π(Qπ ): Pick up a π£ β ππ s.t. π π π€π£ and π ππ‘(π£) = Qπ , and let π = {π’ β ππ : π π* π£π’} (π π* is the reflexive and transitive closure of π π ) Let π = π(Qπ ) β |Qπ (π€)|. For 1 β€ π β€ π, let ππ be a set of fresh nodes s.t. |ππ | = |π |; and let ππ : ππ ββ π be a bijection. Let ππ β ππ2 and ππ : π πππ ββ π«(ππ ) be as follows: for any π’, π’β² β ππ , ππ π’π’β² iff π π ππ (π’)ππ (π’β² ) for any π’ β ππ and any π β π πππ, π’ β ππ (π) iff ππ (π’) β ππ (π) Then, set Mπ+1 = β¨ππ+1 , π π+1 , ππ+1 β© where βοΈ ππ+1 = ππ βͺ 1β€πβ€π ππ π π+1 = π π βͺ {(π€, ππβ1 (π£)) : 1 β€ π β€ π} βͺ 1β€πβ€π ππ βοΈ for any π β π πππ, ππ+1 (π) = ππ (π) βͺ βοΈ 1β€πβ€π ππ (π) Also, let ππ+1 : Mπ+1 ββ Mπ be the function such that {οΈ π€ π€ β ππ ππ+1 (π€) = ππ (π€) π€ β ππ As before, we end up with the desired tree model β² = β¨π β² , π β² , π β² β© where: π β² = ππ ; βοΈ M π = π π ; for any π β π πππ, π (π) = ππ (π). Obviously, each node in M has exactly β² β² β² βοΈ βοΈ βοΈ|Srt(M)| π=1 π(Qπ ) children. We can also define the surjective bounded morphism π : Mβ² ββ M in the same way as in the proof of Proposition 2. Now, with a fulfilled tree model we can build a first-order model. Let M = β¨π, π , π β© be a fulfilled tree model for βπ π πΏ , where β¨π, π β© is a perfect π-ary tree (π > 0). Let π· be an arbitrary set s.t. |π·| = π, and πΈ β π·* Γ π·* be a relation s.t., for π, π β π·* , πΈππ iff π = π π for some π β π·; accordingly, β¨π·* , πΈβ© is isomorphic to β¨π, π β©. Let β : β¨π·* , πΈβ© ββ β¨π, π β© be an isomorphism such that for π, π β² β π·* β {π}, if πππ π‘(π) = πππ π‘(π β² ) then π ππ‘(β(π)) = π ππ‘(β(π β² )). Let πΌ be an interpretation function on βπΉ ππΏ such that: for any π-ary predicate ππ , πΌ(ππ ) = {π β π·π : β(π) β π (ππ )}. Then β³ = β¨π·, πΌβ© is a model for βπΉ ππΏ , and we call it an βπΉ ππΏ -analogue of M. Proposition 9 (Satisfiability invariance for βπΉ ππΏ -analogues). Let M be a fulfilled tree model for βπ π πΏ and β³ its βπΉ ππΏ -analogue. Then: for π β₯ 0, M, β(ππ ) β¨ π‘π(ππ ) iff β³, ππ β¨ ππ , where ππ is a grooved formula of level π, and ππ is an π-tuple from π·* . Proof. By induction on grooved formulas. Proposition 10 (Satisfiability invariance under π‘π). Let π be a grooved sentence. Then: π is satisfiable iff π‘π(π) is satisfied in a KD-model in which Ξ₯(π) is valid. Therefore, the satisfiability problem for the grooved fragment is decidable. Proof. By Propositions 5, 6,7, 8, and 9. Let KD+Ξ₯(π) be the system obtained by adding Ξ₯(π) to an axiomatic basis for KD. The construction provided in this section indicates that we can build a conservative extension of both the grooved fragment and KD+Ξ₯(π). To see this, one can proceed as at the end of Section 2. 4. The loosely grooved fragment In this section we define an ordered fragment more expressive than the grooved fragment. We call it the loosely grooved fragment. We will show that each sentence in this fragment can be rewritten into a satisfiability-equivalent grooved sentence. Definition 9 (Loosely grooved formulas). The set of loosely grooved formulas πΉ ππππππβ² (βπΉ ππΏ ) is the smallest subset of πΉ πππ(βπΉ ππΏ ) that satisfies the following conditions: 1. For each (π β π + 1)-ary predicate π (π β€ π), π π₯π . . . π₯π is a loosely grooved formula of level π. 2. If π is a loosely grooved formulas of level π, then so is Β¬π. 3. If π(π₯π , . . . , π₯π ) and π(π₯π , . . . , π₯π ) are loosely grooved formulas of level π, whose free variables are exactly those in the parentheses respectively, and one of the following conditions holds, then so is (π β§ π): β’ π = π, i.e. π and π have the same free variables β’ π = π or π = π, i.e. one of π and π has exactly π₯π free β’ π > π or π > π, i.e. one of them has no free variable 4. If π is a loosely grooved formula of level π (π > 0), then βπ₯π π is a grooved formula of level π β 1. Note that if, for example, π is a ternary predicate and π is a binary predicate, then π π₯2 π₯3 π₯4 β§ ππ₯3 π₯4 is not a formula of the loosely grooved fragment (even though both π π₯2 π₯3 π₯4 and ππ₯3 π₯4 are loosely grooved formulas of level 4), since the two conjuncts have different numbers of free variables and both of them have more than one free variable. Before describing a general procedure for rewriting a loosely grooved sentence into a satisfiability-equivalent grooved one, let us take a look at an example. The following sen- tence is not grooved but loosely grooved: βπ₯1 (π π₯1 β βπ₯2 (βπ₯3 (π π₯3 β π π₯2 π₯3 ) β Β¬π π₯1 π₯2 )) Since the atom π π₯2 π₯3 is not grooved. Notice that, if we introduce a fresh unary predicate, say π, substitute ππ₯2 for βπ₯3 (π π₯3 β π π₯2 π₯3 ), and conjoin the result with the formula βπ₯1 (ππ₯1 β βπ₯2 (π π₯2 β π π₯1 π₯2 )), we get βπ₯1 (π π₯1 β βπ₯2 (ππ₯2 β Β¬π π₯1 π₯2 )) β§ βπ₯1 (ππ₯1 β βπ₯2 (π π₯2 β π π₯1 π₯2 )) which is satisfiability-equivalent to the original formula. Notice also that ππ₯2 is a grooved formula of level 2, and ππ₯1 and βπ₯2 (π π₯2 β π π₯1 π₯2 ) are grooved formulas of level 1, so the whole formula is indeed a grooved sentence. In the following we write βπ₯π+1 π(π₯π , π₯π+1 ) for a formula in that form where π has exactly π₯π and π₯π+1 free (so the whole formula has only π₯π free). We say a loosely grooved formula is bad if it is not grooved and is of the form βπ₯π+1 π(π₯π , π₯π+1 ), where π > 1. Proposition 11. Let π be a loosely grooved sentence. We can effectively construct a loosely grooved sentence πβ² which is (i) satisfiability-equivalent to π and (ii) free of bad subformulas. Proof. The following procedure constructs the sentence we desire. It starts by setting π0 := π. Then, for each loosely grooved sentence ππ , if ππ contains a bad subformula βπ₯π+1 π(π₯π , π₯π+1 ) of which no proper-subformula is bad, choose a unary predicate π not occurring in ππ , and let ππ+1 := ππ [βπ₯π+1 π(π₯π , π₯π+1 )/ππ₯π ] ππ+1 := βπ₯1 (ππ₯1 β βπ₯1 π(π₯1 , π₯2 )) where βπ₯1 π(π₯1 , π₯2 ) is the result of decreasing all indices of variables in βπ₯π+1 π(π₯π , π₯π+1 ) by π β 1. Observe that ππ₯π is a loosely grooved formula of level π, and ππ₯1 , βπ₯1 π(π₯1 , π₯2 ) are loosely grooved formulas of level 1, so ππ+1 and ππ+1 are both loosely grooved sentences. Also, since βπ₯π+1 π(π₯π , π₯π+1 ) contains no non-grooved subformula of the form βπ₯π+1 π(π₯π , π₯π+1 ) (π > π), we observe that βπ₯1 π(π₯1 , π₯2 ) contains no bad subformulas. Therefore, the procedure will terminate on a loosely grooved sentence ππ free from bad subformulas, together with a sequence of formulas π1 , . . . , ππ , all of which are free from bad subformulas, too. Finally, let πβ² := ππ β§ π1 β§ Β· Β· Β· β§ ππ Clearly, πβ² is a loosely grooved sentence satisfiability-equivalent to π. The following result shows that the procedure indeed gives us a grooved sentence. Proposition 12. A loosely grooved sentence π free from bad subformulas is a grooved sentence. Proof. Looking at Definition 9, we observe that the definition of grooved formulas is the special case where in clause 1 we only allow that π = 1 or π = π. (Since in that case the conditions on forming conjunctions are automatically satisfied.) In other words, a loosely grooved formula is grooved if all of its atomic subformulas are of the form π π₯1 . . . π₯π or π π₯π . Thus, we only need to show that π contains no atomic formulas of the form π π₯π . . . π₯π (1 < π < π). Suppose to the contrary that π contains π π₯π . . . π₯π (1 < π < π). Given the constraints on forming conjunctions, we observe that a superformula of π π₯π . . . π₯π having at least π₯π and π₯π+1 free cannot form a conjunction with any formula having also π₯π free, where π < π. Let π(π₯π , π₯π+1 ) be the largest superformula of π π₯π . . . π₯π which has exactly π₯π and π₯π+1 free. Since π is the largest such subformula of π, we know that neither Β¬π(π₯π , π₯π+1 ) nor π(π₯π , π₯π+1 ) β§ π (where π has at most π₯π and π₯π+1 free) are subformulas of π. Thus, βπ₯π+1 π(π₯π , π₯π+1 ) is a subformula of π. Since βπ₯π+1 π(π₯π , π₯π+1 ) is a superformula of π π₯π . . . π₯π , it is not grooved and hence bad, contradicting the assumption that π has no such subformula. 5. Final remarks Ordered fragments of πΉ ππΏ can be used to describe properties of data structures like lists, stacks or queues, given that information is stored in a sequential way in these structures. Different fragments allow one to capture different properties of data structures. We mention two simple examples of this use in the case of the grooved fragment. Suppose that we read the predicate π π (for π β₯ 1) as βform(s) a stack with π elementsβ and the predicate π as βis removedβ. Then, consider the following grooved formula: βπ₯π+1 (π π+1 π₯1 . . . π₯π+1 β§ π π₯π+1 ) β π π π₯1 . . . π₯π This may be used to say that if an object is at the top of a stack and it is removed, we get a smaller stack. In other words, if we have a stack of π objects where π₯π is the latest object (i.e. the one at the top) and we perform the operation of removing π₯π , then we get a stack with π β 1 elements (i.e. π₯1 , . . . , π₯πβ1 ). Moreover, suppose that we read the predicate π΄ as βis addedβ. Then, consider the following grooved formula: π π π₯1 . . . π₯π β βπ₯π+1 (π΄π₯π+1 β§ π π+1 π₯1 . . . π₯π+1 ) This may be used to say that an object can always be added on top of a stack,. In other words, if π₯1 , . . . , π₯π form a stack with π elements, then there is some object π₯π+1 s.t. if one performs the action of adding π₯π+1 , one gets a stack with π + 1 elements (i.e. π₯1 , . . . , π₯π , π₯π+1 ). From a theoretical point of view, the motivation for introducing the loosely grooved fragment, the strongest of the fragments analysed in this article, has two main sources. First, some extended systems of the relational syllogistic feature sentences that are not accommodated by the grooved fragment. For example, Everything which is π elated to something which is π elated to every π is not π . βπ₯1 (βπ₯2 (βπ₯3 (ππ₯3 β π π₯2 π₯3 ) β§ π π₯1 π₯2 ) β Β¬π π₯1 ) So, for a generalization to such systems of the relational syllogistic, we need an expansion in more or less the same spirit as the loosely grooved fragment. In fact, the formulation of the loosely grooved fragment allows for much more sentences than the relational syllogistic, as most languages in that context only allow for unary and binary predicates, and Boolean operations are highly restricted. (Again, see [8] and [9] for a detailed comparison.) Second, the loosely grooved fragment is, from a different aspect, a generalization of what we can call the βmodal fragmentβ of first-order logic, i.e. the fragment in which all formulas are the standard translation of some modal formula. Note that the standard translation of basic modal formulas are all loosely grooved formulas, provided that variables are suitably chosen. Given a modal formula π, we can define the standard translation π π‘ for its subformulas as follows: β’ π π‘(π) = π π₯π+1 , if π is in the scope of exactly π β‘βs β’ π π‘(Β¬π) = Β¬π π‘(π) β’ π π‘(π β§ π) = π π‘(π) β§ π π‘(π) β’ π π‘(β‘π) = βπ₯π+1 (π π₯π π₯π+1 β π π‘(π)), where π₯π+1 is the free variable in π π‘(π) Observe that if a subformula is in the scope of exactly π β‘βs, its translation has exactly π₯π+1 free, so π π‘ always outputs a loosely grooved formula of level 1. Meanwhile, the loosely grooved fragment, and, indeed, all ordered fragments mentioned in this paper, are not comparable with the guarded fragment of πΉ ππΏ. Recall the example, No student admires every professor βπ₯1 (ππ₯1 β βπ₯2 (π π₯2 β§ Β¬π΄π₯1 π₯2 )) Clearly, the subformula βπ₯2 (π π₯2 β§ Β¬π΄π₯1 π₯2 ) is not guarded. The fluted fragment (see [4, 5]) can be seen as a generalization of the loosely grooved fragment by allowing conjunction between any two formulas of the same level in clause 3 of Definition 9. One direction of our future work is to investigate the modal translation of the fluted fragment. Acknowledgments The following statement applies to Matteo Pascucci: This research was funded in whole or in part by the Austrian Science Fund (FWF) 10.55776/I6499. For open access purposes, the author has applied a CC BY public copyright license to any author-accepted manuscript version arising from this submission. References [1] R. Jaakkola, Ordered fragments of first-order logic, in: Proceedings of MCFS2021, 2021, pp. 1β14. [2] W. V. O. Quine, Variables explained away, Proceedings of the American Philosophical Society 104 (1960) 343β347. [3] A. Herzig, A new decidable fragment of first-order logic, Abstracts of the 3rd Logical Biennial Summer School and Conference in Honour of S. C. Kleene (1990). [4] I. Pratt-Hartmann, W. Szwast, L. Tendera, The fluted fragment revisited, The Journal of Symbolic Logic 84 (2019) 1020β1048. doi:10.1017/jsl.2019.33. [5] W. C. Purdy, Fluted formulas and the limits of decidability, Journal of Symbolic Logic 61 (1996) 608β620. doi:10.2307/2275678. [6] P. Blackburn, M. d. Rijke, Y. Venema, Modal Logic, Cambridge Tracts in Theoretical Com- puter Science, Cambridge University Press, 2001. [7] F. Pelletier, A. Urquhart, Synonymous logics, Journal of Philosophical Logic 32 (2003) 259β285. doi:10.1023/A:1024248828122. [8] A. Kruckman, L. S. Moss, Exploring the landscape of relational syllogistic logics, The Review of Symbolic Logic 14 (2021) 728β765. doi:10.1017/S1755020320000386. [9] I. Pratt-Hartmann, L. S. Moss, Logics for the relational syllogistic, The Review of Symbolic Logic 2 (2009) 647β683. doi:10.1017/S1755020309990086.