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.