decidable fragments of first-order modal logics

25
Decidable Fragments of First-Order Modal Logics Author(s): Frank Wolter and Michael Zakharyaschev Source: The Journal of Symbolic Logic, Vol. 66, No. 3 (Sep., 2001), pp. 1415-1438 Published by: Association for Symbolic Logic Stable URL: http://www.jstor.org/stable/2695115 . Accessed: 16/06/2014 00:54 Your use of the JSTOR archive indicates your acceptance of the Terms & Conditions of Use, available at . http://www.jstor.org/page/info/about/policies/terms.jsp . JSTOR is a not-for-profit service that helps scholars, researchers, and students discover, use, and build upon a wide range of content in a trusted digital archive. We use information technology and tools to increase productivity and facilitate new forms of scholarship. For more information about JSTOR, please contact [email protected]. . Association for Symbolic Logic is collaborating with JSTOR to digitize, preserve and extend access to The Journal of Symbolic Logic. http://www.jstor.org This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AM All use subject to JSTOR Terms and Conditions

Upload: frank-wolter-and-michael-zakharyaschev

Post on 11-Jan-2017

218 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Decidable Fragments of First-Order Modal Logics

Decidable Fragments of First-Order Modal LogicsAuthor(s): Frank Wolter and Michael ZakharyaschevSource: The Journal of Symbolic Logic, Vol. 66, No. 3 (Sep., 2001), pp. 1415-1438Published by: Association for Symbolic LogicStable URL: http://www.jstor.org/stable/2695115 .

Accessed: 16/06/2014 00:54

Your use of the JSTOR archive indicates your acceptance of the Terms & Conditions of Use, available at .http://www.jstor.org/page/info/about/policies/terms.jsp

.JSTOR is a not-for-profit service that helps scholars, researchers, and students discover, use, and build upon a wide range ofcontent in a trusted digital archive. We use information technology and tools to increase productivity and facilitate new formsof scholarship. For more information about JSTOR, please contact [email protected].

.

Association for Symbolic Logic is collaborating with JSTOR to digitize, preserve and extend access to TheJournal of Symbolic Logic.

http://www.jstor.org

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 2: Decidable Fragments of First-Order Modal Logics

THE JOURNAL OF SYMBOLIC LOGIC

Volume 66, Number 3, Sept. 2001

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS

FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

Abstract. The paper considers the set XA'1 of first-order polymodal formulas the modal operators in

which can be applied to subformulas of at most one free variable. Using a mosaic technique, we prove a

general satisfiability criterion for formulas in X I, which reduces the modal satisfiability to the classical

one. The criterion is then used to single out a number of new, in a sense optimal, decidable fragments of

various modal predicate logics.

?1. Introduction. The classical decision problem to single out expressive and decidable fragments of first-order logic has a long history and hardly needs any justification: after all, classical first-order logic was and still remains in the very center of logical studies, both in mathematics and applications. Here are only three examples (out of dozens) of such fragments (the choice is not accidental we shall use these results later on):

* the fragment containing only monadic predicate symbols [27, 5]; * the fragment with only two individual variables [36, 31];' * the guarded fragment with quantification of the form Ey (G (x, 5y) A p (x, y)),

where the guard G (ix, -y) is atomic2 [1].

(The current state of art in this field is presented in the recent monograph [6]; see also [1, 43, 44, 13, 14, 18, 29, 32].)

For modal logicians the decision problem in first-order modal logics seemed almost hopeless. The following list covers basically all known results and leaves not too much space for maneuver:

* the monadic fragment of practically all modal predicate logics is undecidable [25] (see also [24]);

* the two-variable fragment of practically all modal predicate logics with con- stant domains (without equality and function symbols) is undecidable [11, 21]; for example, such is the two-variable fragment of the predicate logics based on K, K4, S4, S5, etc.;

Received March 8, 1999; revised June 13, 2000. The authors are grateful to Johan van Benthem, Ian Hodkinson, Agnes Kurucz, Maarten Marx, and

Valentin Shehtman for stimulating discussions, comments and suggestions. The work of F. Wolter was partially suppoted by DFG project W0583/3-1; the work of M. Zakharyaschev was partially supported by U.K. EPSRC grant no. GR/M36748 and by grant no. 99-01-0986 from the Russian Foundation for Basic Research.

'The fragment with binary predicates and three variables is undecidable [42]. 2For a precise definition see Section 5.

? 2001., Association for Symbolic Logic 0022-48 12/01/6603-0026/$3.40

1415

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 3: Decidable Fragments of First-Order Modal Logics

1416 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

only the one-variable fragment of various standard modal predicate logics turns out to be decidable (see [37, 10, 38, 2]).

The expressive capabilities of the one-variable fragment are rather weak: actually, predicates and quantifiers in its formulas are not more expressive than propositional variables and the modal operators of S5, respectively.3 Two variables used without any restrictions immediately lead to undecidability (at least for logics with constant domains). But what if we somehow restrict their use?

All the existing proofs of undecidability for fragments of modal predicate logics exploit formulas of the form D (x, y) in which the necessity operator has at least two free variables in its scope; in fact, such formulas play an essential role in the reduction of undecidable problems to those fragments (see, for example, the proof of Theorem 2.3 below). So it seems natural to assume that it is the possibility of quantifying into modal contexts with two or more free variables that is 'responsible' for the high complexity of modal predicate logics.

The main aim of this paper is to show that this is indeed the case. We consider the fragment '2'1 of the polymodal first-order language (without function symbols and equality) consisting of all those formulas that do not contain subformulas of the form E (xi, . . . , x) for n > 2. (In other words, we restrict modalities de re to formulas of one free variable and impose no restrictions whatsoever on modalities de dicto.) The fragment itself is certainly undecidable: it still contains full classical predicate logic. But many restrictions of the pure predicate (i.e., non- modal) part of 4'2 I to decidable fragments provide us with decidable fragments of modal predicate logics! For instance, we obtain the decidability of the one-variable fragment of modal predicate logics simply by using the fact that the corresponding non-modal fragment is decidable. Similarly, by restricting to two the number of distinct individual variables in 4''i-formulas or by allowing only the guarded quantification we obtain decidable two-variable and guarded fragments of A I1 for various modal predicate logics. Of course, the resulting decidable fragments are not able to say that a binary relation qr(x, y) holds in all (or some) possible worlds for some objects x and y. As in the one-variable fragment, we can do this only for properties V (x). The major difference, however, is that now we get means to work with much more complex properties Vi(x) by choosing suitable decidable fragments of classical predicate logic. Thus, the obtained decidable fragments are in a sense optimal.

As in the case of the guarded fragment of classical first-order logic [1], the idea to consider the A2 I -fragment of modal predicate logics came from propositional modal logic. In the series of papers [34, 26, 4, 3, 46, 49, 47, 50] a number of expressive and decidable concept description languages with modal operators were designed and investigated with the aim of representing and processing knowledge in dynamic application domains (where knowledge may depend on interacting agents, time, actions, etc.). Although those formalisms appeared in the framework of knowledge representation in artificial intelligence, from the modal logic point of view they can be regarded as multi-dimensional polymodal systems whose semantical structures

3We remind the reader that the one-variable fragment of classical first-order logic is equivalent to the propositional modal logic S5 [45]. More generally, as was observed in [12], the one-variable fragment of a modal predicate logic with constant domains and the propositional part L is equivalent to the Cartesian product L x S5; see Section 6 for details.

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 4: Decidable Fragments of First-Order Modal Logics

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS 1417

resemble Kripke models for modal predicate logics (see Section 6 for more details). And in fact those systems turn out to be embeddable in the fragments constructed in this paper, which may serve as an evidence of that these fragments really possess enough expressive power to be practically applicable.

It is not our aim in this paper to prove the decidability of fragments of as many modal predicate logics as possible (actually, that might be quite boring; modal logic has already passed through this experience). Instead, we deal with only one sufficiently representative polymodal logic QK* with two kinds of necessity operators: l 1, . . ., i1 interpreted in models (with constant and expanding domains) by arbitrary binary relations R ., RI, and Dr, .. ., D interpreted by the transitive and reflexive closures of R1, RI. The reason for selecting QK* is purely technical. First, it is complex enough to show how our method works. On the other hand, it is not too sophisticated to involve too many technical details and special cases (for example, we could take quantified PDL, but this would require to explain details that are not necessary to understand the method; the reader can restore them following [49]). Finally, as an easy consequence we obtain the decidability of the corresponding fragments of some standard modal predicate logics such as QK, QT, QK4, QS4 simply by embedding them into QK*.

The paper is organized in the following way. The next section defines the syntax and semantics of the first-order modal logics we consider in this paper. It contains also two technical results: we show that the two-variable monadic fragment of QK* is not recursively enumerable, and that in many cases satisfiability in models with varying and expanding domains can be reduced to satisfiability in models with constant domains. In Section 3 we codify Kripke models satisfying a given formula W E 1dY in certain structures called quasimodels and intended to 'take care' of the modal contexts in W. In Section 4 we use a mosaic technique to prove a rather general satisfiability criterion for such formulas, and in Section 5 we apply it to single out several decidable fragments of first-order modal logics. Section 6 shows how the obtained results can be used to prove decidability of description logics with modal operators and the Cartesian products of various propositional modal logics with S5. Some open problems arising from this work are listed in Section 7.

?2. First-order modal logic. In this paper, we deal with thefirst-order polymodal language 4'2 constructed in the standard way from the following alphabet:

* predicate symbols Po, Pi, , * individual variables xo, x1,. * individual constants co, c1,. * the booleans A, -, * the universal quantifier Vx for each individual variable x, * the necessity operators >I,.. 1, 1 > 1.

As usual, we assume that the set of predicate symbols in 4'2 is non-empty and that each of them is of some fixed arity; 0-ary predicates are called propositional variables and denoted by po, P1i .... It will be assumed that we have a sufficient supply of these variables, unary predicate symbols, and an infinite set var of individual variables. Formulas in 4'2 will be denoted by small Greek letters W, Vr, etc. Finally, by Y

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 5: Decidable Fragments of First-Order Modal Logics

1418 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

we mean the classical (non-modal) first-order language that results from 4'2 by omitting all formulas containing occurrences of the necessity operators.

Id2 is interpreted infirst-order Kripke models, which are structures of the form 9A = (R, D, I), where a = (JW R 1 . . ., RI) is the underlying (propositional) poly- modal Kripke frame (Ri a binary relation on a non-empty set of worlds W), D is a non-empty set, the domain of 9C, and I is a function associating with every world w E W a first-order 2-structure

1(w) = D, pI(W) I(W)

in which PI(w), for each i, is a predicate on D of the same arity as Pi (for a

propositional variable pi, the predicate pI(w) is simply one of the propositional

constants T, 'truth', or L, 'falsehood'), and cI(w) is an element in D such that

cI () = I(') for any u, v E W. To simplify notation we will omit I and write P7', pi , ci", etc., if this does not involve ambiguity.

An assignment in D is a function a from var to D. The value Coda (or simply -a, if understood) of a term a variable or a constant z under a in 9A is ac(z) if z is a variable, and cI(w) otherwise, where w is some (any) world in W. The truth-relation (S.1 w) f a W (or simply w zIa W, if 9A is understood) in the model 9A under the assignment a is defined inductively in the standard manner:

* w ..

PiQi.. iffP 7(aca.zT) is true in I(w) (this fact will also be written as I (w) a Pi QC1 ..n) or I (w) I= Pi a . ,a]);

* w f a Gu A X iffw q=a i/ andw a ; * w WrY~a -,, iff w bLa qan

* w a Vxy/ iff w 1=b V for every assignment b in D that may differ from a only on x;

* W l=a Djo iff v a W for all v E W such that wRiv.

The set of /d2-formulas that are true in all models under all assignments will be denoted by QK. (As the number of necessity operators is always clear from the context, we don't include it in the names of logics.)

Remark 2.1. (i) The models introduced above are known as models with constant domains. To define models with varying (or changing) domains we need one more function D: W --* 2D such that D(w) :& 0 and D =U w(w). The only difference from the models with constant domains is in the truth-condition for Vxq/, which now looks as follows:

* W l=a VXVJ iff w 1= y/ for every assignment b that may differ from a only on x, provided that b (x) E D (W) .

Thus, DO(w) is regarded as the true domain of I(w). (For more details and a discussion of different approaches consult [24].)

(ii) Another important class of models consists of models with expanding domains, i.e., models with varying domains in which D(u) C D(v) whenever uRiv. Actually, later on in this section we will show that both varying and expanding domains can be reduced to constant ones, at least as far as the decidability of the fragments we are interested in is concerned. For that reason we will mostly be considering models with constant domains.

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 6: Decidable Fragments of First-Order Modal Logics

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS 1419

(iii) We deal with models having rigid designators in the sense that for any u, v E W, we have cy = cy. But again, everything we prove in this paper holds for the non-rigid case as well.

Syntactically the logic QK can be represented by the calculus QK containing all the axiom schemata and inference rules of classical predicate calculus, the Barcan formulas

VXE~j +F(Di8VxW,

the modal axiom schemata

ELi(p -' qi) -) (jip -' * i ),

and the necessitation rules WIEj, for all i = 1,..., 1. (Here XI--> x2 can be regarded as an abbreviation for -(XI A -'X2).)

By adding to QK the standard modal axiom schemata of T (i.e., Eio -* ), K4 (i.e., Eli -)* DiDiW), S4 (i.e., those of T and K4) we obtain modal predicate calculi QT, QK4, QS4 representing the corresponding logics QT, QK4, QS4 that are known to be characterized by the classes of all reflexive, transitive, and quasi- ordered models with constant domains, respectively (see e.g. [24]).

One more modal predicate logic, QK*, we consider in this paper is formulated in the language Id2 with 21 necessity operators Ei, El, for i = 1,...,1. As before, Ei is interpreted in models by an arbitrary accessibility relation Ri, while El* is interpreted by the reflexive and transitive closure R7 of Ri. Since R7 is uniquely determined by Ri, we may denote frames for this language as before:

= ( W, R1, . . ., RI). To simplify notation we will assume that o is either blank or *, so that D70 ranges over {Ei, Wi} and R7? over {Ri, R7}.

The logic QK* (QK*) is the set of all X2'-formulas that are true in all models with constant (respectively, expanding) domains for this language. It is easy to see that QK, QT, QK4, QS4 are embeddable into QK* (for details consult Section 5). So from now on we will be concentrating mainly on QK*.

It is worth noting that the logic QK* is very complex. Even its two-variable monadic fragment turns out to be not recursively enumerable. One can show this by reducing the recurrent tiling problem for N x N (which is known to be S -complete; see [20]) to the satisfiability problem for formulas in that fragment. Here is a sketch of the proof based actually on the same idea as the reductions of [39, 30].

We remind the reader that a tile t is a 1 x 1 square with fixed orientation and colored edges right (t), lef t (t), up(t), and down (t). The N x N recurrent tiling problem is formulated as follows: given a finite set 5F of tiles and a tile to E A, to determine whether there is a tiling of N x N by 5' such that to occurs infinitely often in the first column. More precisely, the problem is to find out whether there exists a function f from N x N into 3r such that, for all m, n E N,

* right(f (n, m)) = lef t(f (n + 1, m)), * up(f (n, m)) = down(f (n, m + 1)), * the set {n E N: f (0, n) = to} is infinite.

Suppose we are given a set &F= {to, . . ., tn} of tiles. Let R be a binary predicate and PO, . . ., Pn unary predicates. Define a first-order modal formula Bgy in this

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 7: Decidable Fragments of First-Order Modal Logics

1420 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

language as the conjunction of the following formulas:

3x(Po(x) A I*0*(Po(x) A OT)),

E*lVx3yR(x, y),

l* Vx, y((R(x, y) E 2*R(x, y)) A (- R(x, y) 31* E R(x, y))), n

E*lVx(VPi(x) A A(Pi(x) ) -P

i=O i7j

E*lVx(Pi(x) Vy (R(xy) V Pi(Y))), right(ti)=1ef t(tj)

l*Vx(Pi(x) L V Pi(x)). up (ti )=:down (tj )

(Here O2'r =/ iD - and 3xig = Vx -r.)

LEMMA 2.2. The formula Wgr is satisfiable in a model with constant or expanding domains iff there is a recurrent tiling of N x N by T.

PROOF. It should be clear how to satisfy Wsg if 5' recurrently tiles N x N. Con- versely, suppose Wg- is satisfied at the root wo in a model (a, D, J, I) (with constant or expanding domains), where a = (UW S) and

I(w) = D,RI(w), P(w) pI(W))

for w E W. By the first conjunct of Wgr, we have an element ao E 0(wo), for which wo l= Po[ao], and an infinite sequence of (not necessarily distinct) worlds WOSW1SW2S... such that the set {wi: wi l= Po[ao]} is infinite. According to the second conjunct, we have an infinite sequence aoRI(w0)aiRI(w0)a2... of (not necessarily distinct) elements in i(wo). By the third conjunct, for all w E W and i,1 E N, we have aiRI (w)aj iff aiRI (wo)aj. Now define a function f by taking, for all i, j E N, f (i, j) = tk, whenever I (wj) I= Pk[ai]. It is straightforward to check that f is a recurrent tiling of N x N. A

The formula Wg- contains only two variables, and the binary predicate R can be simulated by means of two unary predicates Q1, Q2 (see e.g. [24]):

R(x,y) = 0*(Q1(x) A Q2(Y))

This yields us

THEOREM 2.3. The two-variable monadic fragments of QK* and QK* are not re- cursively enumerable.

Let us see now how satisfiability in models with varying and expanding domains can be reduced to satisfiability in models with constant domains. Denote by md (W) the modal depth of W, i.e., the maximal number of nested necessity operators in W. Put '<? = W and, for m > 0O

m+l W = E<m(. A A A I7E'm'p. i=l1

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 8: Decidable Fragments of First-Order Modal Logics

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS 1421

Let E (x) be a unary predicate which does not occur in W. By induction on the construction of W we define its relativization W E:

PE (CI, * ,n) = Pi (IZ I, * n)

(yI A X)E = VE A E,

( )E = VE

(VXVI)E = x (E (x) __ VIE), (rDo)E = ro?E

PROPOSITION 2.4. For every Kripke frame a = (W, R1I... I RI) the following holds: (i) W is satisfied in a model based on a and having varying domains iff the formula

E is satisfiable in a model with constant domain; (ii) W is satisfied in a model based on a and having expanding domains iff theformula

/ =E A 1?<md(W)VX(E(x) 1 A LI7E(x)) i=1

is satisfied in a model on W with constant domain.

PROOF. We prove only (ii), leaving the simpler case (i) to the reader. Assuming that W is satisfied in a model 9= (R D, J, I) with expanding domains and that

I(w)K= D, PI(w) . (w)c

for w E W, we construct a model CT (R. D, J) with constant domain D by taking

J(w)K= D,EJ(w), P(w) cI(w)

where EJ(w) = (w). It is readily checked by induction that (9A, w) l=a p, iff (T, w) lYa V1E, for every w E W, every subformula V of W, and every assignment a: var -* D. It follows that W' is satisfied in T.

Conversely, suppose W' is satisfied at a root v of a model CT (R. D, J) (with constant domain D) under an assignment a, and

J(w) = D, EJ(W), pJ(w) c.(w)

for w E W. Consider the model 9= (R D, J, I) such that

I(w) = D, PJ(w) . cw) ...

for all w E W, D(w) = EJ(W) whenever w is accessible in < md(W) steps from v (via the R7) and D(w) D otherwise. By the second conjunct of A', 9A has expanding domains. Now, using the fact that the truth-value of W at v depends only on the worlds that are accessible in < md (W) steps from v, one can easily show that

(S., V) F W. A

Remark 2.5. It is to be noted that W and W' are of different forms. So when

proving decidability of a fragment of, say, QK* and QK,* we should always check that W and W' belong to it simultaneously. Fortunately this will always be the case for all the fragments we deal with in this paper. So from now on we will be considering only models with constant domains.

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 9: Decidable Fragments of First-Order Modal Logics

1422 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

Given an X2'-formula A, denote by subp the closure under negation of the set of all subformulas in W containing < n free variables; subp is the set of all subformulas in A, and conp the set of all constants in W. Without loss of generality we may identify tz and t-, so subn p is always finite.

DEFINITION 2.6. Denote by 4'22 the set of all X2'-formulas W such that every subformula of W of the form D? q contains at most one free variable.4 In other words, 4'22 allows quantification into modal contexts only with one free variable. From now on we will be assuming that all our formulas are in 4'Y 1.

Remark 2.7. It is worth noting that, unlike the one-variable fragment of first- order modal logic, 42'1 imposes restrictions only on modalities de re; modalities de dicto are arbitrary.

For each formula Vg(x) = 2 (x) with one free variable x, we reserve a unary predicate and denote it by P (x). Likewise, for every sentence Vr = DF? we fix a propositional variable pq,. P,, (x) and p, will be called the surrogates for V (x) and qi, respectively.

Given a formula W, denote by f the formula that results from W by replacing all subformulas of the form? vi (x) and E x, which are not within the scope of another box, with their surrogates. Thus, f contains no occurrences of modal operators, i.e., it is an 2-formula; we will call T the 5-reduct of W. For a set F of A1 -formulas, we put F = {Iv: v E F}. Quite often we will not distinguish between a finite set F of formulas and the conjunction A F of formulas in it.

?3. Quasimodels. Suppose we are given an 2 I -sentence and asked whether it is satisfiable. Being only modal logicians, we would like to assume, at least for a moment, that we have an access to a classical oracle that is capable of providing us with an 2-structure satisfying the 2-reduct of W, if it exists. Suppose we have got such a structure. Our task then is to try to expand it to a Kripke model satisfying W. This means, in particular, that we should take care of only the 'boxed' subformulas of W which, remember, have at most one free variable.

The aim of this section is to show that modulo those subformulas every such Kripke model can be codified in a structure, called a quasimodel, which may be thought of as a model whose worlds have disjoint domains with a bounded number of elements (depending on W), each element satisfies some specified set of subfor- mulas of W, and the correspondence between these elements in different worlds is established by special functions called runs.

Fix a variable x not occurring in W and put

subxWp = {qi{x/y}: q'(y) E subiWo}.

DEFINITION 3.1 (type). A type t for W is any boolean-saturated subset of subxo, i.e.,

* rA X E t iff r E t and% E t,forevery VrAy E subxsW; * -I E t iff V s t, for every Vy E subW

4In [23], written after the present paper was submitted, such formulas are called monodic.

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 10: Decidable Fragments of First-Order Modal Logics

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS 1423

We say that two types t and t' agree on subop if t n subop = t' n subop. Given a type t for W and a constant c E conso, the pair (t, c) will be called an indexed type for W (indexed by c) and denoted by tc (x) or simply tc.

For example, if

=x Ix23x3(P(xi, x2) A L1 x4P(x4, X3))

then the set

{a, 3x23x3(P(x,x2) A L1:x4P(x4,X3)), 23x4(x4,x), -i3x4P(x4,x)}

is type for W. There are only finitely many types for W, not more than

b(W) = 21S~x

to be more precise. To a certain extent, every world in a model under a given assignment can be characterized (modulo W, of course) by the set of types that are realized in this world and the set of types that hold on its constants. This motivates the following definition.

DEFINITION 3.2 (world candidate). Suppose T is a set of types for W that agree on subowo, and Tcon is a set containing, for each c E conso, one indexed type tc such that t E T. Then the pair T = (T, Tcon) is called a world candidate for W.

Not all world candidates can represent worlds in models. To single out those that can, we require one more definition.

DEFINITION 3.3 (realizable world candidate). Consider an 2-structure

(1) 0 0DPof. and suppose that a E D. The set

to(a) = {yV E subxwp: : I= #4[a]}

is clearly a type for W. We say that 0 realizes a world candidate (T, Tcon) if the following conditions hold:

* T = ft(a) :a EDI, * Tcon = {f(tO(cO), c): c E conp}.

Denote by O(W) the number of distinct realizable world candidates for W. It should be clear that

"(f < b~f . (9)conWl

LEMMA 3.4. A world candidate T = (T, Tcon) for p is realizable if] the 2-formula

as A 3x t (x) A Vx V it (x) A A t(c) tcT tcT tcTcon

is satisfiable in some 2-structure.

PROOF. Follows directly from the definitions. A

LEMMA 3.5. Let K, be a cardinal and let K, > to. Then every realizable world candidate (T, Tcon) is realized in an 2-structure 0 of theform (1) such that, for every t e T, the set

2t = {a ED :D 1t[a]}

is of cardinality s.

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 11: Decidable Fragments of First-Order Modal Logics

1424 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

PROOF. Follows from classical model theory, since the language Y is countable and does not contain equality. -

We are in a position now to define the central notion of this section, that of a quasimodel. Consider a frame = (W, R1.. , RI) and a map f associating with each w e W a realizable world candidate f (w) = (Tm, Tw"').

DEFINITION 3.6 (run). A run in (, f ) is a function r from W into the set of types for So such that

* r(w) E Tw,forallw c W,and * for every El yr E sub,(p and every w c W, we have E1' yr E r(w) iffy C r(v)

for all v c W such that wR v.

DEFINITION 3.7 (quasimodel). The pair (3, f ) is called a quasimodel for p (based on W) if the following conditions hold:

* for every c c confp, the function rc defined by r,(w) = t, for (t, c) C W w c W,isarunin(3,f);

* for every pair w E W and t c Tw, there exists a run r in (i5, f) such that r(w) = t.

Say that (p is satisfied in the quasimodel (5, f ) if there is w E W such that ( E t, for some (or, equivalently, all) t e Tw.

EXAMPLE 3.8. Consider the formula

(p = 3y(P(y) A -iDVzP(z)).

Let 5 (UK R) contain two worlds, say u and v, such that uRv. Define realizable world candidates ?, (Tu, Tuc0n) and Tv = (Tv, Tfcn ) by taking

Tu= {t, t2}, Tv = {t3, t4}, Tuon? = o n = 0,

t = {DP(x) A -DOVzP(z), DP(x), -P(x)} U (DU

{2 -=i(LIP(x) A -iVzP(z)), -EZP(x), -iP(x)} U /),,

(Du = {(po, --EVzP(z), -,VzP(z)},

t3 {-{(aDP(x) A -'LEVzP(z)), EIP(x), P(x)} U (DV3

4- (WP(x) A - nVzP(z)), EP(x), - P(x)} U (DV

(v = {-f , EVzP(z), -,VzP(z)},

and let f (u) = T,, f (v) Tv. The functions rl and r2 defined by

rl(u) = t1, rI(v) = t2, r2(U) = t3, r2(v) = t4

are clearly runs in (@, f ). So this pair is a quasimodel satisfying (.

THEOREM 3.9. An A'Y I -sentence (p is satisfied in a model based on aframe a if it is satisfied in a quasimodelfor (p based on 5.

PROOF. Suppose ( is satisfied in a model 9= (R.D, I), W = (R1... RI). For every w C W, define f (w) = (Tw, TW?0) by taking

taw = y/ C sub,(p: (21 w) }a q}where a C D and a(x) = a,

TW = {twa : C D},

n = {(tw, c): c C conI}.

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 12: Decidable Fragments of First-Order Modal Logics

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS 1425

It is easy to see that (N, f ) is a quasimodel satisfying ( (for every a c D, the function r (w) = tw, w c W, is clearly a run in (N, f)).

Conversely, suppose that ( is satisfied in a quasimodel (3, f ) for (. Take a cardinal ii > No exceeding the cardinality of the set Q of all runs in (N, f ) and put

D = f (r, 4) : r CE Q, 4 < a}.

By Lemma 3.5, for every w c W there exists an 2-structure I (w) with domain D realizing f (w) and such that cw = Krc, 0), for every c c cony, and

r (w) = {y c subW: I (w) I M/[(r, 4)]}'

for all r c Q and 4 < K. Let 9= (, D, I) and let a be an arbitrary assignment in D. We show by induction that, for all qt c sub p and w C W,

I (w) # 7Jiff (91 w) K a .

The basis of induction, i.e., the case when qt = Pi (X1 . Xn), is clear; for then W 7. The induction step for q' = q AV2, q' = -W, and i = Vxq1 follows by

the induction hypothesis from the obvious equations:

q'1 A q2= q'i A 2, -1 -I, Vxqi1 Vx=V 1.

Let qt =-1i %x(y) and ac(y) = (r, 4). We then have P = i and so

I(w) K PE17(y) iff Li-x c r(w)

if Vv C W (wR v - x c r(v))

iff Vv c W (wR v - I(v) K 7)

iff Vv c W (wRi v - (9S v) K x(y)) iff (9 ,w) Ka gl(y).

Since ( c r(w) for some w C W, it follows that (9S, w) l= W, as required. -1

?4. Satisfiability criterion. In this section we prove an effective satisfiability cri- terion for those sentences ( c AY, that have an oracle capable of deciding the realizability problem for the world candidates for (. The idea is to represent quasi- models for ( as possibly infinite mosaics consisting of repeating finite patterns we call blocks.

Say that a frame W= ( .R1, . . . RI) is an intransitive tree if Ri n R= 0, for

i at j, and the frame (W, R), with R Ul=1 Ri, is rooted and contains no distinct paths of the form xRyR ... RynRy and xRzR ... RzmRy (in particular, (W, R) has no infinite descending chains). By a tree quasimodel for W we mean a quasimodel for ( based on an intransitive tree. Using the standard unravelling technique of modal logic (see e.g. [9]) one can prove the following theorem.

THEOREM 4.1 (tree quasimodel completeness). A formula ( is satisfiable iff it is satisfiable in a tree quasimodelfor (p.

Fix again a sentence ( C 4'1. To introduce the notion of a block for (, we require two auxiliary definitions. Suppose that 3 is a frame as above and f is a map from W into the set of realizable world candidates for (p, so that f (w) = (Tw , Twn ). It will be convenient for us not to distinguish between w and f (w), i.e., we will assume that the worlds w in a are the realizable world candidates (Tw, Twcn).

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 13: Decidable Fragments of First-Order Modal Logics

1426 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

DEFINITION 4.2 (weak run). A weak run in (N, f ) is a function r from W into

UWEw Tw such that * r (w) c Tw, for all w c W, and * for every Dat. c sub,(p and every w c W, if Dat, c r(w) then qt c r(v) for

all v such that wR v.

The difference between runs and weak runs is only that the latter do not necessarily contain 'witnesses' for formulas of the form D?' qt c r (w) (in a run we must have a 'witness' v such that wR v and -, c r(v)). The difference between quasimodels and weak quasimodels to be defined below is of the same sort.

DEFINITION 4.3 (weak quasimodel). The pair (N, f ) is called a weak quasimodel for ( if the following holds:

* for every c C conWp, the function rc is a weak run in (N, f); * for all w c W and t c Tw, there exists a weak run r in (3, f ) such that

r(w) = t.

Say that an intransitive tree ( <R1,..., RI) is a bouquet if no point in W different from its root has more than one R-successor, where R = U>= Ri.

DEFINITION 4.4 (block). Let 9 = (N, f ) be a weak quasimodel based on a finite bouquet W with root wo. A weak run r in 9 is called root-saturated if, for every Elfq (x) C subx(p, whenever D1? 0(x) , r(wo) then there isw C W such that woR w and qt'(x) , r(w).

Now, we say 9 is a block for ( if it satisfies conditions (a) and (b) below: (a) for every w c W and every t C Tw there is a root-saturated weak run r in B

such that r (w) = t; (b) every weak run rc in 9, for c C conWp, is root-saturated.

The following notion will be used for organizing blocks in a mosaic-like structure which is intended to represent a quasimodel satisfying (.

DEFINITION 4.5 (satisfying set). A set S of blocks for ( is called a satisfying set for ( if (i) it contains a block with root wo such that wo l= W (i.e, ( c t for all t c Two ) and (ii) for every realizable world candidate T in every block in A, there exists a block in S having T as its root.

We are going to show now that ( is satisfiable iff there is a satisfying set for (

whose blocks contain at most N worlds, where N < co is effectively given by (. THEOREM 4.6 (satisfiability criterion). An 4'2 -sentence W is satisfiable iff there

is a satisfying set for (W, each block in which contains at most

N = (() . 21subx(p 12 . 21 subI

worlds. PROOF. To simplify notation, we will confine ourself to considering the language

with only one necessity operator ED and its 'star' version El*. The general case is treated in the same way.

(X#-) Suppose ( is satisfiable. Then, by Theorem 4.1, there is a tree quasimodel m = (N, f ) for W satisfying ( at its root. Moreover, without loss of generality we may also assume that if wRu in 3 = (W, R) then there are sufficiently many worlds

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 14: Decidable Fragments of First-Order Modal Logics

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS 1427

v C W, called twins of u, such that wRv, f (u) = f (v) and the subquasimodels of m generated by u and v are isomorphic. In any case, we can achieve this by duplicating (as many times as we need) the subtree of m generated by u and connecting it with w via R. The resulting structure will clearly be again a tree quasimodel satisfying o (for it can be p-morphically mapped onto the original quasimodel).

We begin our construction of a satisfying set for o by associating with each world w CE W a block 93, = (3S, f ,) with 3, = ( W, R,).

For every type t c T]i we fix a run r in m coming through t; if t, c CT, c C conwp, then we take r = rc. Then, for every ED qi(x) c subxp such that ?Wyi (x) , r(w), we select a world w' C W, for which wR'w', q,(x) , r(w'), and put it into an auxiliary set Sel (w) together with one of its twins w". The number of the selected worlds does not exceed

2 Isubxpl . 21subI

Without loss of generality we may assume that all of them are pairwise distinct. For each selected w' there is a unique path from w to WI, namely the set (w, w') = {wl : wR*wl R*w&}. Again, without loss of generality we assume that distinct paths (w, w') and (w, w") (for w' at w") have no common worlds save w (otherwise the duplication technique will do the job).

Finally, we define Ww to be the set of all worlds in the paths (w, w'), for w' C Se! (w), R, to be the restriction of R to Ww, and f W the restriction of f to Ww (taking into account all the duplications, of course).

The constructed structure 3w is a block. Indeed, it is clearly a weak quasimodel for o based on a finite bouquet, having root w (for it can be regarded as a sub- quasimodel of m) and satisfying condition (b) by the construction. To show that it satisfies (a) as well, suppose that u c Ww, t C Tu, and let r be a weak run in 3w coming through t, i.e., r(u) = t. Consider the type r (w) and the set W of formulas x = DY qt c subx Wfor which X V r(w). For each ofthem there is a weak run r7 such that rx (w) = r (w), yt V r. (w.), for some w. C Sel (w), and u V (w, w7). Using these weak runs and r we can define a function r' by taking, for every w' C Ww,

r(w) { r(w') ifW'(wW.),for anyC7, r. (w) otherwise.

Clearly, r' is a root-saturated weak run in 3w coming through t, which establishes (a).

The problem now is that the branches in 3w may be too long. So our next step is to extract from 3w a substructure 2tw which is still a block for W and whose branches are of length < O(o) . subxpl. We will do this by cutting out certain fragments of branches in 93

Consider a branch (w, w') and suppose that w' was selected to 'saturate' El qt(x) C subx W in w by means of a weak run r. Since wRw', the branch (w, w') = {w, w'} does not need 'truncation': we simply leave it as it is.

Suppose now that w' in the branch (w, w') was selected to saturate the formula El* q(x) c subxW by means of a weak run r. The truncation of (w,w') can be done in the following way. Let W w1, . . , wn be all the worlds in (w, w') such that w = w1 Rw2R, . . . RWWn = w'. If n < # ( ) Isubx(p I then we do nothing with this branch. Otherwise let r be the weak run in 9w such that r (w) = t and y(x) , r(w'); since n > #(() | subx l, there must be two worlds wi and wj,

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 15: Decidable Fragments of First-Order Modal Logics

1428 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

1 < i < j < n, such that f (wi) = f (wj) and r (wi) = r (wj). Then we cut out from (w, w') all the worlds in the interval (wi, wj) save wi and connect wi directly to the Rw-successor of wj, i.e., put wiRwt in the truncated bouquet if wjRwwt in the original bouquet, for all wt C Ww. It should be clear that the resulting structure is still a block for A, and so by deleting repeating worlds in the branches of Vw we can construct a block 2t, for ( whose branches are of length < #o(W) I sub, ((p) 1

The satisfying set for ( we are looking for can be constructed now by taking the blocks 2t, for all w C W.

(#) Let S be a satisfying set for (. We are going to construct a quasimodel m satisfying W as the limit of a sequence of weak quasimodels

mn = (3n, fn), 1n=(WnRn), n = 1,2,....

the first of which, mi, is a block in S satisfying ( at its root. Suppose we have already constructed a weak quasimodel mn. For every world w C Wn - Wn-1 (Wo consists of the root in &) select a block 93X C S with root w' such that fn (W) = f. w'). Without loss of generality we may assume all the selected blocks and the weak quasimodel mn to be disjoint. The weak quasimodel Mn+l is then the result of hooking the selected blocks 3,, to mn by identifying their roots w' with W C Wn - Wn-1

Define the limit m = (35 f ), (1 W R), of the constructed sequence by taking

W= UWn, RZ URn, f = U fnn n>l n>l n>l

and show that m is a quasimodel for ( indeed. To this end it suffices to observe that any r constructed in the following manner is a run in m. Let r 1 be an arbitrary weak root-saturated run in ml, and suppose inductively that we have already defined rm. For any w C Wm - Win- take a weak root-saturated run rw in 3w such that rm (w) = rw (w) and put for w' C Wm+i

rm+l (w) (W rm (w') if w' C Wm; l rw(w') if w' C WW - Wm.

Finally, let

r = U r. m>O

It should be clear that r is a run in m. The runs of this form come through all types in all w c W. Moreover, the function r,, for c C conW , can also be constructed in this way. Thus, m is a quasimodel satisfying (. A

As an immediate consequence we obtain the following satisfiability criterion.

THEOREM 4.7. Let /IY' C d4S1 and suppose that there is an algorithm that is capable of deciding, given ( C 4'Y' and a world candidate T = (T. Tcon) for A. whether T is realizable, or equivalently, whether the formula as is satisfiable. Then the fragment QK* n 41S' is decidable.

In other words, this theorem reduces the satisfiability problem for formulas in X2S' to the satisfiability problem for S-formulas of the form a,,, T = (T. Tcon),

where T and Tcon are just (arbitrary) subsets of sub,(W. A few examples of the use of this reduction will be given in the next section.

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 16: Decidable Fragments of First-Order Modal Logics

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS 1429

Remark 4.8. In principle it is not hard to extend Theorem 4.7 to some other standard modal logics, e.g. D, KD45, S5, GL, S4.3 (see [46]). Using the technique developed in [49, 50] one can prove similar criteria for first-order temporal logics (see [23]), first-order dynamic logic, and first-order epistemic logics with the common knowledge operator (see [41]).

Remark 4.9. According to Theorem 2.3, the logic QK* and even its monadic two- variable fragment are not recursively axiomatizable. It turns out that the monodic fragment of QK*, i.e., QK* n USEl, does have a finite Hilbert-style axiomatization (proofs for the temporal and epistemic cases can be found in [41, 48]). However, the addition of equality or functional symbols makes the fragment QK* n A122i not recursively enumerable [41, 48].

?5. Decidable fragments. Now we apply the criterion of Theorem 4.7 to single out a number of decidable fragments of QK*, QK, QT, QK4, and QS4. But before that let us observe that QK is just a fragment of QK*, QS4 is embedded into QK* by the translation replacing every Eli with Dli*, QT is embedded into QK* by the translation replacing every Di o with o A i A, and QK4 by the translation replacing every Eli with wli w1*. (Using a somewhat more sophisticated translation one can reduce the satisfiability problem in S5-frames to the satisfiability problem in K4- or S4-frames.)

Denote by 4.22 the set of all X2'-formulas containing at most two individual variables, and let Idy2 = Id22 n 04 2. That is to say, Idy2 consists of all 4.2- formulas with at most two variables, the modal operators in which are applied to subformulas with at most one free variable.

THEOREM 5.1. The fragment L n 4dy2, for L C {QK*, QK, QT, QK4, QS4}, is decidable.

PROOF. The 2-formula aT, corresponding to a world candidate T for a formula o C 4y2', contains not more than two individual variables. As was mentioned in

the introduction, the satisfiability problem for such formulas is decidable. It remains to use the criterion of Theorem 4.7. -1

Since 4d2' contains the set Id51 of /dY-formulas with at most one variable, we also have:

THEOREM 5.2. The fragment L n dY 1, for L c {QK*, QK, QT, QK4, QS4}, is decidable.

We have obtained this result using the mosaic technique, which in general con- structs only an infinite model satisfying a given formula. The more familiar way of establishing decidability in (propositional) modal logic-proving the finite model property, that is the existence of finite models for satisfiable formulas does not work for the fragments mentioned in Theorem 5.2. To show this, let us note first that in the modal predicate case one should distinguish between two types of finite model property.

Say that a fragment X2S' C 4.2 has the finite frame property with respect to a first-order modal logic L if every formula in X2S' satisfiable in some model for L can be satisfied in a model for L based on a finite Kripke frame. 4'Y' has the finite

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 17: Decidable Fragments of First-Order Modal Logics

1430 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

domain property with respect to L if every formula in AY' satisfiable in a model for L can be satisfied in a model for L with a finite domain.

THEOREM 5.3. The one-variable fragment of /2 with a single unary predicate has neither thefinite frame nor the finite domain property with respect to QK*, QK4, and QS4.

PROOF. Consider the conjunction o of the following formulas:

3~XP(X), VXr-+(P(X) -4 EP(X)), 2+3~x ,P(X), r-+vx(-P(X) -4 OP(X)),

where 1+q = qr A El q. One can readily check that o is satisfied in the model 9= (R N, I) based on = (N, <) or = (N, ?), where for each n c N,

I(n) - N, pI(n) pI(n) {O,,n}.

It is not hard to see, however, that every transitive model satisfying o has both an infinite underlying Kripke frame and an infinite domain. -A

Remark 5.4. The same result holds, of course, in the case of expanding domains (the finite domain property means then that the universe D is finite).

The transitivity of the underlying frames was essential in the proof above. For we have the following:

THEOREM 5.5. The monodic fragment AY I does have the finite frame property with respect to QK and QT.

PROOF. The proof of Theorem 4.6 shows that every satisfiable .f122I-formula o is satisfied at the root of a tree quasimodel, the set of Ri -successors of every world w in which is finite. By transforming this quasimodel (in accordance with Theorem 3.9) into a real model and then taking the submodel of the latter consisting of the worlds accessible from the root in < md((p) steps, we construct a model based on a finite Kripke frame and still satisfying o at its root. -1

.f1Y contains the full classical first-order language. So it cannot have the finite domain property. The following observation shows how one can extract fragments with both the finite frame and the finite domain properties with respect to QK and QT.

THEOREM 5.6. Let X/2' C fY1 and suppose that for every c /Y2' and every realizable world candidate Tfor Wo, the formula as is satisfiable in afinitefirst-order structure. Then X2' has both the finite frame and the finite domain properties with respect to QK and QT.

PROOF. The result follows immediately from Theorem 5.5 and the fact that if au, T = (T. T conf ~ is satisfiable in a finite first-order structure then there exists m E co such that, for every n > m, T is realized in an 2-structure 2 of the form (1) in which IO t I = n, for every t c T.

COROLLARY 5.7. d1122 and f12 have both the finite frame and the finite domain properties with respect to QK and QT.

PROOF. It is well known that the two-variable fragment of first-order logic has the finite model property (see [6]). -1

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 18: Decidable Fragments of First-Order Modal Logics

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS 1431

One more interesting fragment of 4W2 is the set of monadic formulas, all predicate symbols in which are at most unary. Denote this fragment by 4dy2mon, and let Iffy mon = I42 1 n l42mon. In this case the formula aT, corresponding to a world candidate T for o C 4Bm, is a monadic 2-formula. As is well-known, the monadic fragment of first-order logic is decidable, which yields us:

THEOREM 5.8. Suppose that L c f QK*, QK, QT, QK4, QS4}. Then the fragment L n IY mon is decidable.

As the monadic fragment of classical first-order logic has the finite model property (see [6]), we also have:

COROLLARY 5.9. 4'y7on has both the finite frame and the finite domain properties with respect to QK and QT.

J. van Benthem (private communication) suggested the following natural gener- alization of the guarded formulas of [1] to the modal case.

DEFINITION 5.10 (guarded fragment). Denote by 4W'S the smallest set of 4W2- formulas such that

* every atomic formula is in WSW; * if p and q are in /VY, then so are o A qi, Ao, Dio and DWp; * if x, y- are tuples of variables, G (x, y-) is atomic, s (x, y) C 4WY, and every

free variable occurring in W (x, -Y) occurs in G (x, y-) as well, then the formula 3y(G(x,y-) Ap(x,y-)) is in /4'5Y.

The set /SW is called the guardedfragment of first-order modal logic.

THEOREM 5.1 1. The two-variable fragment of QK* n 4VS7 is not recursively enu- merable.

PROOF. The proof is similar to the proof of Theorem 2.3. Now with every set 3S = {to, . . }, tn } of tiles we associate the conjunction fa- of the following formulas:

3x(Q(x) A Po(x) A Dl*0*(Po(x) A OT)), E*lVx(Q(x) -) 3y(R(x,y) A Q(y))),

El*Vx, y(R(x, y) D El*R(x, y)),

E*lVx(Q(x) El Q(x)), n

l* Vx(Q(x) - (VPi(x) A A(Pi(x) -P( )), i=O i7/j

D* Vx(Pi(x)* Vy(R(xy) V Pi(y))), Z ight t)=et(tj)

El*Vx(Pi(x) E* V Pi(x)). up(ti)=down(tj)

The reader can easily show that fa- is satisfiable iff 5 recurrently tiles N x N. -1

Let 1WVSv1 = 1W95 n lWye1. LEMMA 5.12. (i) There is an algorithm that is capable of deciding, given a formula

W C /SW1 and a world-candidate T = (T, Tcon) for p, whether T is realizable. (ii) Let T = (T, Tcon) be a realizable world-candidate for W C /W5. Then T is

realizable in afinite model.

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 19: Decidable Fragments of First-Order Modal Logics

1432 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

PROOF. As was shown in [1] and [19], the guarded fragment V5'3 of classical first- order logic is decidable and has the finite model property. But we cannot apply these results directly to the formula

a,,= A x It(x) AVx V t(x) A At(c) tET tET t ETcon

(although both t (x) and t (c) are in VS, the two quantifiers in aT are not guarded). However, we can transform aT into a guarded sentence in the following way.

Let P be a new unary predicate. Note that if qt C V5'3 then the relativization VP of qt to P is logically equivalent to a SY-formula. The proof is by induction on the construction of qtP. For atomic A, qp = c VSF; the boolean cases are trivial; and for guarded qt'(x,y) and atomic G(x, -), ((FYi . .. .3Yn(G(XY) A qi)) is by definition 3Yi * 3Yn (Al <i<n P(yi) A G (x, y) A qipP) which is equivalent to

3Y ... 3Yn (G (x, y) A (Al<i<n P (yi) A qi P)) and hence is (inductively) equivalent to a guarded formula. Now,

(aT)P = A 3x(P(x) A t (x)) AVx(P(x) -3 V t (x)) A At (c), tET tET tcETcolt

and we see that, up to logical equivalence, (cxT)P C c &3. By classical model theory, aT has a (finite) model if (aT)P has a (respectively,

finite) model. H

THEOREM 5.13. (i) Let L c f QK*, QK, QT, QK4, QS4}. Then the fragment L n /SV1 is decidable.

(ii) WSF1 has both the finite frame and the finite domain property with respect to QK and QT.

PROOF. Follows from the previous lemma and Theorems 4.7, 5.6. -1

Similar decidability results can be obtained for some other natural generalizations of decidable fragments of classical first-order logic to the modal predicate case, for example, the loosely guarded fragment of [44] (cf. [22]) or the fluted fragment (see [32] and references therein). We conjecture that more sophisticated classical decidable fragments, such as the Maslov class (see [51] and references therein), can also give rise to decidable fragments of 422i.

?6. Other applications. Another kind of decidable fragments of first-order modal logics can be associated with the so-called modal description logics, that is extensions of concept description logics with various modal operators (see e.g. [3, 17, 26, 49, 46, 50, 47]).

From the technical point of view pure (non-modal) description logics can be characterized as variable free fragments of first-order predicate logics (sometimes extended with fixed-point operators). They originate from practical knowledge representation systems which, in turn, can be traced back to semantic networks and Minsky frames; see e.g. [7]. An application domain is represented in the language of a description logic in terms of concepts (unary predicates), roles (binary pred- icates), and object names (constants). The expressive power of such a language depends on the available concept and role constructs, for instance, conjunction and negation of concepts, and composition, union, and the reflexive transitive closure of

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 20: Decidable Fragments of First-Order Modal Logics

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS 1433

roles. Modal operators are added to description logics in order to capture various dynamic features of application domains.

Let us consider first a modal extension of the basic description logic called I? (see [35]).

DEFINITION 6.1. The modal description language By , is based on a list of * concept names Co, C1 ., * role names Ro, R1 ., * object names ao, a,.

Starting from these, we define complex concepts and formulas using the following constructs. Atomic concepts are simply concept names, and

* if C and D are concepts, then so are T, C A D, mC, * if C is a concept and R a role name, then 3R. C is a concept, * if C is a concept then so are Ei1C and E* C, for i 1. 1.

Atomic formulas are expressions of the form T, C = D, a: C, aRb, where C and D are concepts, R is a role name and a, b are object names. Every atomic formula is a formula, and if ( and qt are formulas then so are o A qj, --p, Di o, and D*W .

EXAMPLE 6.2. The following 'car salesman knowledge base' illustrates the expres- sive capacities of this language:

John: 3has.Car

John likes Golf

Golf: VW

VW -* Car =-T

Male-customer = Male A Customer

Modern-car = Car A 3has.Computer

Customer = Homo-sapiens A (sometime in the past) Bbuys.Car

Potential customer = (eventually) Customer

(John believes) (next year) (Male-customer -* Bbuys.Modern car = T)

Here John and Golf are object names, Car, Computer, VW, Male, Customer, Male-cu- stomer, Potential-customer, Homo sapiens, Modern-car are concept names, has, likes, buys role names, and (sometime in the past), (eventually), (next year), and (John believes) are modal operators. So the last formula, for instance, says that according to John's belief next year every male customer will buy a modern car.

The intended meaning of concepts and formulas will become clear from the following translation T of X2f into the language of first-order modal logic with constants ao, ai,....

Fix two distinct variables x, y. The translation C T of a concept C is the ?X-- formula with one free variable defined inductively by taking

CiT Pi(x)

TT = T

(C A D)T CT ADT

(_C)T -,CT

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 21: Decidable Fragments of First-Order Modal Logics

1434 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

(FDoC)T = EjCoT

(3R. C)T = 3x' (R (y', x') A C T),

where x' is the free variable in CT and {y'} = {x, y} - {x'}. The translation p T of an s 9Y?--formula S is an A2-sentence defined in the

following way (without loss of generality we assume that x is the free variable in CT and D T):

(C D)T = Vx(CT + i D)

(a: C)T = CT a/x}

(aRib)T= Ri(a,b)

((p A q)T = (T A qT

(mSO)T -,(PT

(DoSO)T - ?oSOT

SO is said to be satisfiable if its translation S T is satisfiable in a first-order Kripke model. It follows from the definition that S T C ly2, for every WsWff -formula

. Hence we obtain:

THEOREM 6.3. The satisfiability problem for sWfo-formulas is decidable.

This theorem covers various decidability results for modal description logics, e.g. those of [3, 17, 26] and some of [49].

Remark 6.4. In [47] we extend the language a? by allowing applications of the modal operators Di and Oi not only to concepts and formulas, but to roles as well, i.e., if R is a role then so are njR and OjR. The intended meaning of the modalized roles is described by the clauses:

(EwiR)T = ElwR(xy)

(Oi R)T =Oi R(x, y).

For example, the formula

Faithful-customer = Customer A 3[always]buys.Car

defines 'a faithful customer' as a customer who always buys a car of the same type, say Golf

It is shown in [47] that the satisfiability problem for this language is decidable in the classes of arbitrary frames, S5-frames and KD45-frames. However, it becomes undecidable in arbitrary frames if we add the operators E i*.

The reader must have already noticed that a? the non-modal part of V - - is in principle nothing else but the polymodal propositional logic K (this fact was first observed in [33]). There are, however, much more expressive (and yet decid- able) concept description languages; see e.g. [8]. Here is only one example, the logic -Y introduced in [15, 16]. Its syntax allows the formation of the union R V S of roles R and S, their composition R o S, the reflexive and transitive closure R*, and the inversion R- of R; moreover, every concept C gives rise to the role C? (the set of all pairs (x, x) such that x C C). This language may be regarded as a terminological variant of propositional dynamic logic PDL.

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 22: Decidable Fragments of First-Order Modal Logics

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS 1435

The first-order modal language we deal with in this paper does not have enough expressive power to represent all these constructs, say that in each world of a model R* should be the transitive reflexive closure of R. But we can interpret W-J in models whose worlds are suitable first-order 2-structures, and use the following generalization of Theorem 4.7, which is proved in precisely the same way.

THEOREM 6.5. Let S be a class of first-order structures and 4X2' C IW Suppose also that

(i) there is an algorithm that is capable of deciding, given a world candidate for o C 4'S, whether it is realizable in a structure from 9A, and

(ii) there is a cardinal ii > No such that for any iA' > iA, every world candidate (T, TCwn) realizable in a structure from S is realizable in a structure 0 from F in which IOt I = I;'for every t C T.

Then the satisfiability problem for /lW -formulas in first-order modal models, the worlds of which are structures from Ad, is decidable.

COROLLARY 6.6. The satisfiability problem for the modal description logic WJ, (the modal operators D? are applied to both concepts andformulas) is decidable.

PROOF. That (i) holds was actually shown in [15], and (ii) follows from the fact that the class of first-order structures for W-J is closed under the disjoint unions. -1

For more decidability results of this sort see [49, 46, 50, 47].

As was observed in [12], the one-variable fragment of a first-order modal logic can be regarded as the Cartesian product of its propositional fragment with S5. Indeed, let L be a Kripke complete propositional modal logic in the language with El1 and let S5 be formulated in the language with D2. The product L x S5 is defined as the set of all bimodal formulas in the combined language with F11 and F2 that are valid in all product frames a x c, where 3 = (JW. R) is a Kripke frame for L and e = (V, S) a Kripke frame for S5. More precisely, a x e = (W x V, R, S) where, for all (w, v), (w', v') C W x V, (w, v) R (w', v') iff wRw' and v = v', and (w, v) S (w', v') iff w = w' and vSv'; El1 is interpreted by the relation R and ?2 by S. It is easy to see that without loss of generality we may assume S to be the universal relation on V. Thus, a propositional model 91 based on a x Hi can be viewed as a first-order Kripke model for the one-variable fragment of X2W: it is based on a, has domain V and interprets Pi (x) in a world w E W as the set Py= {v E V : (9, (w, v)) [= Pi}. Conversely, every first-order Kripke model based on a and having domain V gives rise to a propositional model based on the product of a and (V, V x V). On the syntactical level, this observation corresponds to the translation * from the language of L x S5 onto A1W2 defined by taking

P* = Pi (x),

(' A V)* = * A A/*,

(~)= zy* (01(p)*= 0l*,

(F12W)* =Vxe*.

It is easy to see that a propositional bimodal formula ' belongs to L x S5 iff a* is valid in all first-order modal models based on the Kripke frames for L. So, as a

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 23: Decidable Fragments of First-Order Modal Logics

1436 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

consequence of Theorem 5.2, we obtain that the products of K, T, K4, S4 and some other logics with S5 are decidable; cf. [12]. (By the way, 3-dimensional products L x S5 x S5 can be embedded into the two-variable fragment of the first-order counterpart of L. As was shown in [21], all 3D product logics between K3 and S53 are undecidable, and so the two-variable fragments of the corresponding first-order modal logics are undecidable as well; cf. [11].)

?7. Open problems. We conclude the paper with some open problems.

1. Can our results be extended to first-order modal logics QK, QK4, etc. with equality?

2. Are the modal guarded fragments of QK, QK4, etc. decidable? 3. Is there a decidable fragment of classical first-order logic the monodic exten-

sion of which is undecidable (for some natural modal predicate logic)? 4. What is the computational complexity of the decidable fragments listed in

Section 5? How is it connected with the complexity of the underlying fragment of classical logic?

One more challenging problem is to develop 'implementable' decision algorithms for the obtained decidable fragments, say tableau- or resolution-type, preferably by combining available procedures for the modal and first-order components in a modular way. That such kind of tableau algorithms can be constructed for description logics with modal and temporal operators has been shown in [40, 28].

REFERENCES

[1] H. ANDRtKA, J. VAN BENTHEM, and I. NtMETI, Modal languages and boundedfragments ofpredicate logic, Journal of Philosophical Logic, vol. 27 (1998), pp. 217-274.

[2] S. ARTEMOV and G. DZHAPARIDZE, Finite Kripke models and predicate logics of provability, this JOURNAL, vol. 55 (1990), pp. 1090-1098.

[3] F. BAADER and A. LAUX, Terminological logics with modal operators, Proceedings of the 14th International Joint Conference on Artificial Intelligence (Montreal, Canada), Morgan Kaufman, 1995, pp.808-814.

[4] F. BAADER and H.J. OHLBACH, A multi-dimensional terminological knowledge representation lan- guage, Journal of Applied Non-Classical Logic, vol. 5 (1995), pp. 153-197.

[5] H. BEHMANN, Beitrige zur Algebra der Logik, inbesondere zum Entscheidungsproblem, Math. Ann., vol. 86 (1922), pp. 163-229.

[6] E. BORGER, E. GRXDEL, and Yu. GUREVICH, The classical decision problem, Perspectives in Math- ematical Logic, Springer, 1997.

[7] R.J. BRACHMAN and J.G. SCHMOLZE, An overview of the KL-ONE knowledge representation system, Cognitive Science, vol. 9 (1985), pp. 171-216.

[8] D. CALVANESE, G. DE GIAcOMO, D. NARDI, and M. LENZERINI, Reasoning in expressive description logics, Handbook of automated reasoning (A. Robinson and A. Voronkov, editors), Elsevier Science Publishers B.V., 2000, In print.

[9] A.V. CHAGROV and M.V. ZAKHARYASCHEV, Modal logic, Oxford Logic Guides 35, Clarendon Press, Oxford, 1997.

[10] G. FISCHER-SERVI, The finite model property for MIPQ and some consequences, Notre Dame Journal of Formal Logic, vol. 19 (1978), pp. 687-692.

[11] D. GABBAY and V. SHEHTMAN, Undecidability of modal and intermediatefirst-order logics with two individual variables, this JOURNAL, vol. 58 (1993), pp. 800-823.

[12] ' Products of modal logics. Part I, Journal of the IGPL, vol. 6 (1998), pp. 73-146. [13] ' Products of modal logics. Part II, Journal of the IGPL, vol. 8 (2000).

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 24: Decidable Fragments of First-Order Modal Logics

DECIDABLE FRAGMENTS OF FIRST-ORDER MODAL LOGICS 1437

[14] H. GANZINGER, C. MEYER, and M. VEANES, The two-variable guarded fragment with transitive relations, Proceedings of the 14th ieee symposium, 1999, pp. 24-34.

[15] G. DE GIACOMO, Decidability of class-based knowledge representation formalisms, Ph.D. thesis, Univ. di Roma, 1995.

[16] G. DE GIACOMO and M. LENZERINI, TBox and ABox reasoning in expressive description logics, Proceedings of the fifth conference on principles of knowledge representation and reasoning (Montreal,

Canada), Morgan Kaufman, 1996. [17] A. GRXBER, H. BORCKERT, and A. LAUX, Terminological reasoning with knowledge and belief,

Knowledge and belief in philosophy and artificial intelligence (A. Laux and H. Wansing, editors), Akademie Verlag, 1995, pp. 29-61.

[18] E. GRXDEL, Decision procedures for guarded logics, Automated Deduction-CADE-16, Proceed- ings of the 16th International Conference on Automated Deduction, Lecture Notes in Artificial Intelligence, vol. 1632, Springer, 1999.

[19] E. GRXDEL, On the restraining power of guards, this JOURNAL, vol. 64 (1999), pp. 1719-1742. [20] D. HAREL, Effective transformations on infinite trees, with applications to high undecidability,

dominoes, andfairness, Journal of the ACM, vol. 33 (1986), pp. 224-248. [21] R. HIRSCH, I. HODKINSON, and A. KURUCZ, On modal logics between K x K x K and S5 x S5 x S5,

Manuscript; available at http://www.doc.ic.ac.uk /Thuag/k3undec.ps, 2000. [22] I. HODKINSON, Loosely guardedfragment has the finite model property, Manuscript; available at

http://www.doc.ic.ac.uk /(imh, 2000. [23] I. HODKINSON, F. WOLTER, and M. ZAKHARYASCHEV, Decidable fragments offirst-order temporal

logics, Annals of Pure and Applied Logic, (2000), In print. [24] G.E. HUGHES and M.J. CRESSWELL, A new introduction to modal logic, Methuen, London, 1996. [25] S. KRIPKE, The undecidability of monadic modal quantificational theory, Zeitschriftffir Mathe-

matische Logik und Grundlagen der Mathematik, vol. 8 (1962), pp. 113-116.

[26] A. LAUX, Beliefs in multi-agent worlds: a terminological approach, Proceedings of the 11th european conference on artificial intelligence (Amsterdam), 1994, pp. 299-303.

[27] L. LOWENHEIM, Uber Mdglichkeiten im Relativkalkfil, Mathematische Annalen, vol. 76 (1915), pp. 447-470.

[28] C. LUTZ, H. STURM, F. WOLTER, and M. ZAKHARYASCHEV, A tableau for K based on Em with constant domains, Manuscript; available at http://www.informatik.uni-leipzig.de/-wolter, 2000.

[29] M. MARX, Packedfragment and relativized semantics, Manuscript, ILLC, University of Amster- dam, 1998.

[30] , Complexity ofproducts of modal logics, Journal of Logic and Computation, vol. 9 (1999), pp. 197-214.

[31] M. MORTIMER, On languages with two variables, Zeitschriftfur Mathematische Logik und Grund- lagen der Mathematik, vol. 21 (1975), pp. 135-140.

[32] WC. PURDY, Flutedformulas and the limits of decidability, this JOURNAL, vol. 61 (1996), pp. 608- 620.

[33] K. SCHILD, A correspondence theory for terminological logics: preliminary report, Proceedings of the 12th InternationalJoint ConferenceonArtificialIntelligence (IJCAI-91) (Sydney), 1991, pp. 466-471.

[34] , Combining terminological logics with tense logic, Proceedings of the 6th Portuguese conference on artificial intelligence (Porto), 1993, pp. 105-120.

[35] M. SCHMIDT-SCHAUB and G. SMOLKA, Attributive concept descriptions with complements, Artifi- cial Intelligence, vol. 48 (1991), pp. 1-26.

[36] D. SCOTT, A decision method for validity of sentences in two variables, this JOURNAL, vol. 27

(1962), p. 477. [37] K. SEGERBERG, Two-dimensional modal logic, Journal of Philosophical Logic, vol. 2 (1973),

pp. 77-96. [38] V. SHEHTMAN, On some two-dimensional modal logics, Proceedings of the 8th International Con-

gress on Logic, Methodology, and Philosophy of Science (Moscow), vol. 1, 1987, pp. 326-330. [39] E. SPAAN, Complexity of modal logics, Ph.D. thesis, Department of Mathematics and Computer

Science, University of Amsterdam, 1993. [40] H. STURM and F. WOLTER, A tableau calculus for temporal description logic: expanding domain

case, Journal of Logic and Computation, to appear.

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions

Page 25: Decidable Fragments of First-Order Modal Logics

1438 FRANK WOLTER AND MICHAEL ZAKHARYASCHEV

[41] H. STURM, F. WOLTER, and M. ZAKHARYASCHEV, Monodic epistemic predicate logic, Proceedings of JELIA, Lecture Notes in Artificial Intelligence, Springer, 2000.

[42] J. SURANYI, Zur Reduktion des Entscheidungsproblems des logischen Funktionskalkfils, Mathe- matikai e's Fizikai Lepok, vol. 50 (1943), pp. 51-74.

[43] J. VAN BENTHEM, Exploring logical dynamics, CSLI Publications, Stanford, 1996. [44] , Dynamic bits and pieces, Technical Report LP-97-01, ILLC, University of Amsterdam,

1997. [45] M. WAJSBERG, Ein erweiter Klassenkalkal, Monatshefte fir Mathematik und Physik, vol. 40

(1933), pp. 113-126. [46] F. WOLTER and M. ZAKHARYASCHEV, Satisfiability problem in description logics with modal op-

erators, Proceedings of the sixth Conference on Principles of Knowledge Representation and Reasoning (Montreal, Canada), Morgan Kaufman, 1998, pp. 512-523.

[47] , Modal description logics: modalizing roles, Fundamenta Informaticae, vol. 39 (1999),

pp. 411-438. [48] F WOLTER and M. ZAKHARYASCHEV, Axiomatizing the monodic fragment offirst-order temporal

logic, Manuscript; available at http://www.informatik.uni-leipzig.de/-wolter, 2000. [49] F. WOLTER and M. ZAKHARYASCHEV, Dynamic description logic, Advances in modal logic, volume

2 (M. Zakharyaschev, K. Segerberg, M. de Rijke, and H. Wansing, editors), CSLI Publications, 2000. [50] , Temporalizing description logics, Frontiers of combining systems 2 (Baldock, England)

(D. Gabbay and M. de Rijke, editors), Research Studies Press Ltd, 2000, pp. 379-401. [51] N. ZAMOV, Maslov's inverse method and decidable classes, Annals of Pure and Applied Logic,

vol. 42 (1989), pp. 165-194.

INSTITUT FUR INFORMATIK

UNIVERSITAT LEIPZIG AUGUSTUS-PLATZ 10-11, 04109 LEIPZIG, GERMANY

E-mail: wolterginformatik.uni-leipzig.de

DEPARTMENT OF COMPUTER SCIENCE

KING'S COLLEGE LONDON STRAND, LONDON WC2R 2LS, UK

E-mail: mzgdcs.kcl.ac.uk

This content downloaded from 91.229.229.49 on Mon, 16 Jun 2014 00:54:51 AMAll use subject to JSTOR Terms and Conditions