Analytic Tableau Calculi for KLM Rational Logic R
2006, Lecture Notes in Computer Science
Sign up for access to the world's latest research
Abstract
In this paper we present a tableau calculus for the rational logic R of default reasoning, introduced by Kraus, Lehmann and Magidor. Our calculus is obtained by introducing suitable modalities to interpret conditional assertions, and makes use of labels to represent possible worlds. We also provide a decision procedure for R, and study its complexity.
Related papers
2008
Abstract. Default logics represent an important class of the nonmonotonic formalisms. Using simple by powerful inference rules, called defaults, these logic systems model reasoning patterns of the form ”in the absence of information to the contrary of... ”, and thus formalize the default reasoning, a special type of nonmonotonic reasoning. In this paper we propose an automated system, called DARR, with two components: a propositional theorem prover and a theorem prover for constrained and rational propositional default logics. A modified version of semantic tableaux method is used to implement the propositional prover. Also, this theorem proving method is adapted for computing extensions because one of its purpose is to produce models, and extensions are models of the world described by default theories. 1.
2003
In this paper we develop labelled and uniform tableau methods for some fundamental system of propositional conditional logics. We consider the well-known system CE (that can be seen as a generalization of preferential nonmonotonic logic), and some related systems. Our tableau proof procedures are based on a possible-worlds structures endowed with a family of preference relations. The tableau procedure gives the first practical decision procedure for CE.
In this paper we present KLMLean 1.0, a theorem prover for some logics of default reasoning, namely Preferential logic P and Loop-Cumulative logic CL introduced by Kraus, Lehmann, and Magidor. KLMLean 1.0 implements some tableaux calculi for these logics recently introduced. It is implemented in SICStus Prolog and also comprises a graphical user interface written in Java. KLMLean 1.0 is available for free download at http://www.di.unito.it/spozzato/klmlean1/
ACM Transactions on Computational Logic, 2009
We present a tableau calculus for some fundamental systems of propositional conditional logics. We consider the conditional logics that can be characterized by preferential semantics (i.e. possible world structures equipped with a family of preference relations). For these logics, we provide a uniform completeness proof of the axiomatization w.r.t. the semantics, and a uniform labelled tableau procedure.
Logical Aspects of Computational Linguistics (6th international conference, LACL2011, Montpellier, France, June/July 2011 Proceedings), LNAI 6736, pp.190-204, Springer., 2011
Conditional logic is a kind of modal logic for analyzing the truth conditions and inferences of conditional sentences in natural language. However, it has been pointed out in the literature that empirical problems plague all of the previously proposed conditional logics. Moreover, C 1 and C 2 are defined by imposing certain restrictions on their Kripke frames, and there exist no corresponding proof systems. In order to solve these problems, we propose a new system of conditional logic, which we call C b . C b is an extension of C + through the addition of new rules on accessibility, and it has a corresponding tableau system. We show that C b has empirical advantages over C 1 and C 2 as a model of inference in natural language, and compare it with other proof systems of conditional logic.
Studia Logica, 2011
Grammar logics were introduced by Fariñas del Cerro and Penttonen in [7] and have been widely studied. In this paper we consider regular grammar logics with converse (REG c logics) and present sound and complete tableau calculi for the general satisfiability problem of REG c logics and the problem of checking consistency of an ABox w.r.t. a TBox in a REG c logic. Using our calculi we develop ExpTime (optimal) tableau decision procedures for the mentioned problems, to which various optimization techniques can be applied. We also prove a new result that the data complexity of the instance checking problem in REG c logics is coNP-complete. This work is an extension of the conference paper [25]. It is supported by grants N N206 3982 33 and N N206 399334 from the Polish Ministry of Science and Higher Education. 3 i.e., the satisfiability problem, where a specification of the logic is also given as an input of the problem can use that translation together with the tableau decision procedure for CPDL given by De Giacomo and Massacci [2] for deciding REG c logics. This method uses the translation approach and, additionally, has the disadvantage that the formal decision procedure given in [2] for CPDL has non-optimal NExpTime complexity. Although De Giacomo and Massacci [2] described also a transformation of their NExpTime algorithm into an ExpTime decision procedure for CPDL, the description is informal and unclear. Namely, the transformation is based on Pratt's global caching method formulated for PDL [26], but no global caching method has been formalized and proved sound for labeled tableaux that allow modifying labels of ancestor nodes in order to deal with converse. 7 In this work we develop a sound and complete tableau calculus for deciding the general satisfiability problem of REG c logics. Our calculus is an extension of the tableau calculus for regular grammar logics given by Goré and Nguyen in [11]. To deal with converse, we use an analytic cut rule. Similarly to [21,12], our cut rule is a kind of "guessing the future" for nodes in traditional (unlabeled) tableaux. Besides, there is a substantial difference comparing to [11]. Namely, Goré and Nguyen introduced only universal automaton-modal operators for regular grammar logics, while using cuts to deal with converse we have to use also existential automaton-modal operators. As a consequence, our calculus for REG c deals also with "eventualities" (like operators α * of PDL). For that we adopt the tableau method given by Pratt for PDL [26], but with a more direct formulation. Our tableaux in REG c logics are "and-or" graphs constructed using traditional tableau rules and global caching. The idea of global caching appeared in Pratt's work [26] on PDL and has been formalized and proved sound by Goré and Nguyen for traditional tableaux in a number of other modal and description logics [11,12,13,14]. Similarly as for PDL [26] but in contrast with [11,12,13,14], checking satisfiability in REG c logics deals not only with the local consistency but also with a global consistency property of the constructed "and-or" graph. Using our tableau calculus, we give an ExpTime (optimal) tableau decision procedure for the general satisfiability problem of REG c logics. We also briefly discuss optimizations for the procedure. REG c logics can also be used as description logics. Two basic components of description logic theories are ABoxes and TBoxes. An ABox (assertion box) consists of facts, and a TBox (terminological box) consists of formulas expressing relationships between concepts. In [9], by encoding the ABox by "nominals" and "internalizing" the TBox, De Giacomo showed that the complexity of checking consistency of an ABox w.r.t. a TBox in CPDL is ExpTime-complete. Using the translation of REG c logics into CPDL given by Demri and de Nivelle [4], one can show that the problem of checking consistency of an ABox w.r.t. a TBox in a REG c logic is ExpTime-complete. Extending our method to deal with ABox assertions, we give the first ExpTime tableau decision procedure not based on transformation for checking consistency of an ABox w.r.t. a TBox in a REG c logic.
Analytic Tableau Calculi for KLM Rational Logic R
Laura Giordano 1, Valentina Gliozzi 2, Nicola Olivetti 3, and Gian Luca Pozzato 2
1 Dipartimento di Informatica - Università del Piemonte Orientale A. Avogadro - via Bellini 25/G - 15100 Alessandria, Italy - e-mail: laura@mfn.unipmn.it
2 Dipartimento di Informatica - Università degli Studi di Torino, corso Svizzera 185 - 10149 Turin - Italy - e-mail: [gliozzi, pozzato]@di.unito.it
3 LSIS - UMR CNRS 6168 Université Paul Cézanne (Aix-Marseille 3) Avenue Escadrille Normandie-Niemen 13397 Marseille Cedex 20 - France - e-mail:
nicola.olivetti@univ.u-3mrs.fr - nicola.olivetti@lsis.org
Abstract
In this paper we present a tableau calculus for the rational logic R of default reasoning, introduced by Kraus, Lehmann and Magidor. Our calculus is obtained by introducing suitable modalities to interpret conditional assertions, and makes use of labels to represent possible worlds. We also provide a decision procedure for R, and study its complexity.
1 Introduction
In [1] Kraus, Lehmann and Magidor (KLM) proposed a formalization of nonmonotonic reasoning that led to a classification of nonmonotonic consequence relations, determining a hierarchy of stronger and stronger systems. The so called KLM properties have been widely accepted as the “conservative core” of default reasoning. The role of KLM logics is similar to the role of AGM postulates in Belief Revision [2]: they give a set of postulates for default reasoning that any concrete reasoning mechanism should satisfy.
In the recent literature it is shown that many different approaches to default reasoning are characterized by these properties. In particular, a recent work by Halpern and Friedman [3] has shown that two of these systems, namely preferential logic P and rational logic R, are natural and general systems: surprisingly enough, the axiom systems of these logics are complete with respect to a wide spectrum of semantics (including κ-rankings, parametrized probabilistic structures, ϵ-semantics and possibilistic structures). The reason is that all these structures are examples of plausibility structures and the truth in them is captured by the axioms of preferential or rational logic.
The results presented in [3], and their extensions to the first order setting [4], are the source of a renewed interest in the KLM framework. A considerable amount of research in the area has then concentrated in developing concrete mechanisms for plausible reasoning in accordance with KLM systems ( P and R mostly). These mechanisms are defined by exploiting a variety of models of reasoning under uncertainty (ranked models, belief functions, possibilistic logic, etc. [5-10]) that provide, as we remarked, alternative semantics to KLM systems. The mechanisms can be seen as restricting the consideration to preferred classes of models of KLM logics; this is also the case of Lehmann’s notion of rational closure (not to be confused with the logic R ). More recent research has also explored the integration of KLM framework with paraconsistent logics [11]. Finally, there has been some recent investigation on the relation between KLM systems and decision-theory [12,13].
In KLM logics, defeasible knowledge is assumed to be represented by a set of nonmonotonic conditionals or assertions of the form A≻B, whose reading is normally (or typically) the A 's are B 's. The operator " ≻ " is nonmonotonic, in the sense that A≻B does not imply A∧C≻B.
In this paper we focus on logic R, whose axiom system includes the rule of rational monotonicity: if A≻B and ¬(A≻¬C) hold, then one can infer A∧C≻B. This rule allows a conditional to be inferred from a set of conditionals in absence of other information. More precisely, “it says that an agent should not have to retract any previous defeasible conclusion when learning about a new fact the negation of which was not previously derivable” [14].
Consider, for instance, a knowledge base K containing the following set of conditional assertions: adult ≻ worker, adult ≻ taxpayer, student ≻ adult, student ≻ ¬ worker, student ≻¬ taxpayer, whose meaning is that adults typically work, adults typically pay taxes, students are typically adults, but they typically do not work, nor do they pay taxes. In rational logic R one can infer the following conditional assertions from the knowledge base K : adult ≻¬ student (i.e. typical adults are not students), adult ∧ student ≻¬ worker (giving preference to more specific information). Moreover, if one further knows that ¬ (adult ≻¬ married) (i.e. it is not the case the adults are typically unmarried), one can also infer that adult ∧ married ≻ worker. Observe that one cannot infer student ≻ worker.
From a semantic point of view, the models of rational logic are possible-world structures equipped with a preference relation among worlds. The preference relation (an irreflexive and transitive relation) on worlds is further assumed to be modular. The meaning of a conditional assertion A≻B is that B holds in the most preferred worlds where A holds.
In this work we extend the investigation of tableau procedures for propositional KLM logics developed in [15] by considering the case of R. Our approach is based on a novel interpretation of R into modal logics. As a difference with previous approaches (e.g. Crocco et. al [16] and Boutillier [17]), that take S4.3 as the modal counterpart of R, we consider here an extension of modal logic G, including modularity of the preference relation. The idea is simply to interpret the preference relation as an accessibility relation: a conditional A≻B holds in a model if B is true in all minimal A-worlds, i.e. worlds in which A holds, that are minimal w.r.t. <. A world is A-minimal if all smaller worlds are not A-worlds. The relation with modal logic G is motivated by the fact that we assume, following KLM, the so-called smoothness condition, which is related to the well-known limit assumption. This condition ensures that minimal A-worlds exist, by preventing infinitely descending chains of worlds. This condition is therefore ensured by the finite-chain condition on the accessibility relation (as in modal logic G). As it has been done in [15] for preferential logic and loop-cumulative logic, our tableau method provides a sort of run-time translation of R into the extension of modal logic G. As a difference with [15], we develop here a labelled tableau system, which seems to be the most natural approach.
The paper presents a tableau calculus for R which is sound, complete and terminating. Moreover, it defines a systematic procedure which allows the satisfiability problem
for R to be decided in nondeterministic polynomial time, in accordance with the known complexity results for this logic.
2 KLM Rational Logic R
In this section we briefly recall the axiomatization and semantics of the rational logic R. For a complete description of KLM systems, see [1] and [14]. The language of KLM logics consists just of conditional assertions A∼B. We consider a richer language allowing boolean combinations of conditional and propositional formulas 1. Our language L is defined from a set of propositional variables ATM, the boolean connectives and the conditional operator ∼. We use A,B,C,… to denote propositional formulas, whereas F,G,… are used to denote all formulas (even conditionals); Γ,Δ,… represent sets of formulas. The formulas of L are defined as follows: if A is a propositional formula, A∈L; if A and B are propositional formulas, A∼B∈L; if F is a boolean combination of formulas of L,F∈L.L corresponds to the fragment of the language of conditional logics without nested conditionals ∼.
The axiomatization of R consists of all axioms and rules of propositional calculus together with the following axioms and rules (notice that ⊢ denotes provability in the propositional calculus):
- REF. A∼A (reflexivity)
- LLE. If ⊢A↔B, then ⊢(A∼C)→(B∼C) (left logical equivalence)
- RW. If ⊢A→B, then ⊢(C∼A)→(C∼B) (right weakening)
- AND. ((A∼B)∧(A∼C))→(A∼B∧C)
- OR. ((A∼C)∧(B∼C))→(A∨B∼C)
- CM. ((A∼B)∧(A∼C))→(A∧B∼C) (cautious monotonicity)
- RM. ((A∼B)∧¬(A∼¬C))→(A∧C∼B) (rational monotonicity)
REF states that A is always a default conclusion of A. LLE states that the syntactic form of the antecedent of a conditional formula is irrelevant. RW describes a similar property of the consequent. This allows to combine default and logical reasoning [3]. AND states that it is possible to combine two default conclusions. OR states that it is allowed to reason by cases: if C is the default conclusion of two premises A and B, then it is also the default conclusion of their disjunction. CM states that if B and C are two default conclusions of A, then adding one of the two conclusions to A will not cause the retraction of the other conclusion. As explained in the Introduction, RM captures a natural form of monotonicity.
The semantics of R is defined by considering possible world structures with a preference relation (a strict partial order) w<w′ whose meaning is that w is preferred to w′. Moreover, the preference relation is supposed to be modular, i.e. for all w,w1 and w2, if w1<w2 then either w1<w or w<w2. We have that A∼B holds in a model M if B holds in all minimal A-worlds (w.r.t. < ). This definition makes sense provided minimal A-worlds exist (whenever there are A-worlds). This is ensured by the smoothness condition in the next definition.
1 In [14] it is shown that in a language lacking boolean combinations of conditionals, system R collapses into system P. As shown in [3], the two systems are distinct given a richer language (as ours) allowing boolean combinations of conditionals. ↩︎
Definition 1 (Semantics of R, Definition 14 in [14]). A rational model is a triple M= ⟨W,<,V⟩ where: W is a non-empty set of items called worlds; < is an irreflexive, transitive and modular relation on W;V is a function V:W⟼pow(ATM), which assigns to every world w the set of atoms holding in that world. We define the truth conditions for a formula F as follows:
- If F is a boolean combination of formulas, M,w⊨F is defined as for propositional logic;
- Let A be a propositional formula; we define Min<(A)={w∈W∣M,w⊨A and ∀w′,w′<w implies M,w′⊨A};
- M,w⊨A∼B if for all w′, if w′∈Min<(A) then M,w′⊨B.
The relation < satisfies the smoothness condition: if M,w⊨A then w∈Min<(A) or ∃w′∈Min<(A) such that w′<w.
We say that a formula F is valid in a model M(M⊨F), if M,w⊨F for every w∈W. A formula is valid if it is valid in every model M.
Notice that the truth conditions for conditional formulas are given with respect to single possible worlds for uniformity sake. Since the truth value of a conditional only depends on global properties of M, we have that: M,w⊨A∼B iff M⊨A∼B.
By transitivity of the relation <, the smoothness condition is equivalent to the following strong smoothness condition: given a formula A and a world w, if there is w′<w such that M,w′⊨A, then either w′∈Min<(A) or there exists w′′<w such that w′′∈Min<(A). Observe also that by the modularity of < it follows that possible worlds of W are clustered into equivalence classes, each class consisting of worlds that are incomparable to one another; the classes are totally ordered 2. In other words the property of modularity determines a ranking of worlds so that the semantics of R can be specified equivalently in terms of ranked models [14]. By means of the modularity condition on the preference relation, we can also prove the following theorem:
Theorem 1 (Small Model Theorem). For any Γ⊆L, if Γ is satisfiable in a rational model, then it is satisfiable in a rational model containing at most n worlds, where n is the size of Γ, i.e. the length of the string representing Γ.
3 The Tableau Calculus for R
In this section we present TR, a labelled tableau calculus for rational logic R. The calculus makes use of labels to represent possible worlds. We consider a language LR and a denumerable alphabet of labels A, whose elements are denoted by x,y,z,… LR extends L by formulas of the form □A, where A is propositional, whose intuitive meaning is as follows: □A holds in a world w if A holds in all the worlds w′ such that w′<w, that is to say:
Definition 2 (Truth condition of □ ). M,w⊨□A if for every w′∈W if w′<w then M,w′⊨A.
2 Notice that the worlds themselves may be incomparable since the relation < is not assumed to be (weakly) connected. ↩︎
It is easy to see that □ has (among others) the properties of the modal system G, whose characterizing axiom is □(□A→A)→□A (see for instance [18]). This axiom guarantees that the accessibility relation (defined as xRy if y<x ) is transitive and does not have infinite ascending chains. From definition of Min<(A) in Definition 1 above, it follows that for any formula A,w∈Min<(A) iff M,w⊨A∧□¬A. As we will see, TR will only make use of boxed formulas with a negated argument, i.e. with the form x:□¬A.
Our tableau calculus comprises two kinds of labelled formulas: (i) world formulas x:F, whose meaning is that F holds in the possible world represented by x; (ii) relation formulas of the form x<y, where x,y∈A, used to represent the relation <. We denote by α,β… a world or a relation formula.
We define Γx→yM={y:¬A,y:□¬A∣x:□¬A∈Γ}. The calculus TR is presented in Figure 1. We call dynamic the rules $\left(\sim^{-}\right)and\left(\square^{-}\right)$that introduce new labels in their conclusion; all the other rules are called static.
Fig. 1. The calculus TR. To save space, rules for → and ∨ are omitted.
Definition 3 (Truth conditions of formulas of TR ). Given a model M=⟨W,<,V⟩ and a labelled alphabet A, we consider a mapping I:A↦W. Given a formula α of the calculus TR, we define M⊨Iα as follows: M⊨Ix:F iff M,I(x)⊨F; M⊨Ix<y iff I(x)<I(y).
We say that a set Γ of formulas of TR is satisfiable if, for all formulas α∈Γ, we have that M⊨Iα, for some model M and some mapping I.
A tableau is a tree whose nodes are sets of formulas Γ. Therefore, a branch is a sequence of sets of formulas Γ1,Γ2,…,Γn,… Each node Γi is obtained by its immediate predecessor Γi−1 by applying a rule of TR, having Γi−1 as the premise and Γi as one of its conclusions. A branch is closed if one of its nodes is an instance of (AX), otherwise it is open. We say that a tableau is closed if all its branches are closed.
In order to verify that a set of formulas Γ is unsatisfiable, we label all the formulas in Γ with a new label x, and verify that the resulting set of labelled formulas has a closed tableau. For instance, in order to verify that the set { adult ≿ worker, ¬ (adult ≻ ¬ married ),¬( adult ∧ married ≻ worker )} is unsatisfiable (thus adult ∧ married ≻ worker is entailed by { adult ≿ worker, ¬( adult ≿¬ married )} ), we can build the closed tableau in Figure 2.
Fig. 2. A derivation in TR of { adult ≻ worker, ¬( adult ≻¬ married ),¬( adult ∧ married ≻ worker }}. To save space, we use a for adult, m for married, and w for worker.
Lemma 1. For any set of formulas Γ and any world formula x:F, there is a closed tableau for Γ,x:F,x:¬F.
The calculus TR is sound and complete w.r.t. the semantics.
Theorem 2 (Soundness). If there is a closed tableau for a set of formulas Γ, then Γ is unsatisfiable.
Proof. By induction on the height of the closed tableau for Γ. If Γ is an axiom, then x:P∈Γ and x:¬P∈Γ, therefore there is no w∈W such that M,w⊨P and M,w⊨P, and Γ is unsatisfiable. For the inductive step, we prove the contrapositive, i.e. we prove for each rule that, if the premise is satisfiable, so is (at least) one of the conclusions. To save space, we only present the most interesting case of (□−). Since the premise is satisfiable, then there is a model M and a mapping I such that M⊨IΓ,x:¬□¬A. Let w∈W such that I(x)=w; this means that M,w⊨□¬A, hence there exists a world w′<w such that M,w′⊨A. By the strong smoothness condition, we have that there exists a minimal such world, so we can assume that w′∈Min<(A), thus M,w′⊨□¬A. In order to prove that the conclusion of the rule is satisfiable, we construct a mapping Γ as follows: let y be a new label, not occurring
in the current branch; we define (1) I′(u)=I(u) for all u=y and (2) I′(y)=w′. Since y does not occur in Γ, it follows that M⊨I′Γ. By Definition 3, we have that M⊨I′y<x since w′<w. Moreover, since I′(y)=w′, we have that M⊨Γy:A and M⊨I′y:□¬A. Finally, M⊨I′Γx→yM follows from the fact that I′(y)<I′(x) and from the transitivity of <. The only conclusion of the rule is then satisfiable in M via I′.
In order to prove the completeness of the calculus, we introduce the notion of saturated branch and we show that TR introduces a finite number of labels in a tableau.
Definition 4 (Saturated branch). We say that a branch B=Γ1,Γ2,…,Γn,… of a tableau is saturated if the following conditions hold: (1) For the boolean connectives, the condition of saturation is defined in the usual way. For instance, if x:A∧B∈Γi in B, then there exists Γj in B such that x:A∈Γj and x:B∈Γj. (2) If x:A⊨ B∈Γi, then for any label y in B, there exists Γj in B such that either y:¬A∈Γj or y:¬□¬A∈Γj or y:B∈Γj. (3) If x:¬(A⊨B)∈Γi, then there is a Γj in B such that, for some y,y:A∈Γj,y:□¬A∈Γj, and y:¬B∈Γj. (4) If x:¬□¬A∈Γi, then there exists Γj in B such that, for some y,y<x∈Γj, y:A∈Γj and y:□¬A∈Γj. (5) If x<y∈Γi, then for all labels z in B, there exists Γj in B such that either z<y∈Γj or x<z∈Γj.
We can easily show the following Lemma:
Lemma 2. Given a tableau starting with x0:F, for any saturated branch B= Γ1,Γ2,…,Γn,…, we have that:
- if z<y∈Γi in B and y<x∈Γj in B, then there exists Γk in B such that z<x∈Γk
- if x:□¬A∈Γi in B and y<x∈Γj in B, then there exists Γk in B such that y:¬A∈Γk and y:□¬A∈Γk
- for no Γi in B,x<x∈Γi.
Notice that in TR the order of application of the rules is not relevant, since all the rules are invertible. Hence, no backtracking is required in the calculus, and we can assume without loss of generality that a given set of formulas Γ has a unique tableau.
In Theorem 3 below we prove that the tableau for a given set of formulas Γ0 contains a finite number of labels. Indeed, the only rules that can introduce new labels in the tableau are $\left(\vdash^{-}\right)and\left(\square^{-}\right).Weprovethatinthetableautherecanbeonlyfinitelymanyapplicationsoftheserules.Intuitively,therule\left(\vdash^{-}\right)canbeappliedonlyonceforeachnegatedconditional\Gamma$ (hence it introduces only a finite number of labels). Furthermore, the generation of infinite branches due to the interplay between rules $\left(\vdash^{+}\right)and\left(\square^{-}\right)cannotoccur.Indeed,eachapplicationof\left(\square^{-}\right)$to a formula x:¬□¬A (introduced by (⊢+)) adds the formula y:□¬A to the conclusion, so that $\left(\vdash^{+}\right)$can no longer consistently introduce y:¬□¬A. This is due to the properties of □, that are similar to the corresponding modality of modal system G.
In order to prove this result in a rigorous manner, we proceed as follows: first, we introduce the measure of Definition 6, and the auxiliary Definition 5; then, we prove
that each application of $\left(\vdash^{-}\right)and\left(\square^{-}\right)$reduces this measure, until the two rules are no longer applicable. We write A⊬B∈+Γ (resp. A⊬B∈−Γ ) if A⊬B occurs positively (resp. negatively) in Γ, where positive and negative occurrences are defined in the standard way.
Definition 5. Given an initial set of formulas Γ0, we define: (i) the set L□+Γ0 of boxed formulas □¬A that can be generated in a tableau for Γ0, i.e. L□+Γ0={□¬A∣A⊬ B∈+Γ0}∪{□¬A∣A⊬B∈−Γ0}. We let n0=L□+Γ0;(ii) the multiset L□−Γ0 of negated boxed formulas that can be generated in a tableau for Γ0, i.e. L□+Γ0=[¬□¬A∣ A⊬B∈+Γ0]. We let k0=L□+Γ0.
Given a label x and a set of formulas Γ in the tableau for the initial set Γ0, we define: (i) the number nx of positive boxed formulas □¬A not labelled by x, i.e. nx= n0−{□¬A∈L□+Γ0∣x:□¬A∈Γ}; (ii) the number kx of negated boxed formulas ¬□¬A not yet expanded in a world x, i.e. kx=k0−[¬□¬A∈L□+Γ0]x : ¬□¬A has been expanded ].
Definition 6. We define p(Γ)=⟨c1,c2⟩ where:
−c1=∣{u:A⊬B∈−Γ}∣
- c2 is the multiset given by [c2x1,c2x2,…,c2xn], where x1,x2,…,xn are the labels occurring in Γ and, given a label x,c2x is a pair (nx,kx) in a lexicographic order ( nx and kx are defined as in Definition 5). We consider the integer multiset ordering given by c2.
We consider the lexicographic order given by p(Γ).
Roughly speaking, c1 is the number of negated conditionals that can still be expanded in the tableau. c2 keeps track of positive conditionals which can still create a new world. The application of $\left(\vdash^{-}\right)$reduces c1. The application of $\left(\square^{-}\right)$reduces c2. Indeed, if $\left(\vdash^{+}\right)$is applied to u:A⊬B, this application introduces a branch containing x:¬□¬A; when a new world y is generated by an application of $\left(\square^{-}\right)$on x:¬□¬A, y:□¬A is added to the current set of formulas. If $\left(\vdash^{+}\right)$is applied to u:A⊬B by using the new world y, then the conclusion where y:¬□¬A is introduced is closed, by the presence of y:□¬A.
Theorem 3. Given a set of formulas Γ, the tableau generated by TR for Γ only contains a finite number of labels.
Proof sketch. First, we can easily prove that each application of $\left(\vdash^{-}\right)and\left(\square^{-}\right)$reduces p(Γ). This means that a finite number of applications of these rules leads either to a node containing x:F,x:¬F (see Lemma 1) or to a node to which the two rules are no further applicable. In particular, when $c_{1}=0,\left(\vdash^{-}\right)$is no longer applicable. When c2=[(0,0),(0,0),…,(0,0)], we can reason as follows: suppose there is x:¬□¬A∈Γ; since c2x=(0,0), it follows that x:□¬A∈Γ, and we conclude by Lemma 1.
Theorem 4 (Completeness). If a set of formulas Γ is unsatisfiable, then it has a closed tableau.
Proof sketch. We show the contrapositive, i.e. if there is no closed tableau for Γ, then Γ is satisfiable. Consider the tableau starting with the set of formulas {x:F such that F∈Γ} and any open, saturated branch B=Γ1,Γ2,…,Γn in it. Starting from B, we build a canonical model M=⟨WB,<,V⟩ satisfying Γ, where: WB is the set of labels that appear in the branch B; for each x,y∈WB,x<y iff there exists Γi in B such that x<y∈Γi; for each x∈WB,V(x)={P∈ATM∣ there is Γi in B such that x : P∈Γi}. We can easily prove that:
(i) by Theorem 3, we have that WB is finite;
(ii) < is an irreflexive, transitive and modular relation on WB satisfying the smoothness condition. Irreflexivity, transitivity and modularity are obvious, given Definition 4 and Lemma 2 above. Since < is irreflexive and transitive, it can be easily shown that it is also acyclic. This property together with the finiteness of WB entails that < cannot have infinite descending chains. In turn this last property together with the transitivity of < entails the smoothness condition.
(iii) We show that, for all formulas F and for all Γi in B, (i) if x:F∈Γi then M,x⊨F and (ii) if x:¬F∈Γi then M,x⊨F. The proof is by induction on the complexity of the formulas. If F∈ATM this immediately follows from definition of V. For the inductive step, due to space limitations, we only present the case of F=A∼B. The other cases are similar and then left to the reader. Let x:A∼B∈Γi. By Definition 4, we have that, for all y, there is Γj in B such that either y:¬A∈Γj or y:B∈Γj or y:¬□¬A∈Γj. We show that for all y∈Min<(A),M,y⊨B. Let y∈Min<(A). This entails that M,y⊨A, hence y:¬A∈/Γj. Similarly, we can show that y:¬□¬A∈/Γj. It follows that y:B∈Γj, and by inductive hypothesis M,y⊨B. (ii) If x:¬(A∼B)∈Γi, since B is saturated, there is a label y in some Γj such that y:A∈Γj,y:□¬A∈Γj, and y:¬B∈Γj. By inductive hypothesis we can easily show that M,y⊨A,M,y⊨□¬A, hence y∈Min<(A), and M,y⊨B, hence M,x⊨A.
4 Termination of TR and Optimal Proof Search
In this section, we refine TR in order to ensure termination. Moreover, we describe an optimal decision procedure for R that allows to decide the satisfiability in R in nondeterministic polynomial time.
In general, non-termination in tableau calculi can be caused by two different reasons: 1 . some rules copy their principal formula in the conclusion, so that they can be reapplied over the same formula without any control; 2. dynamic rules can generate infinitely-many worlds, creating infinite branches.
As far as TR is concerned, Theorem 3 excludes the second source of non termination (point 2). Concerning point 1, the above calculus TR does not ensure a terminating proof search due to (⊢+), which can be applied without any control. We ensure the termination by putting some constraints on $\left(\vdash^{+}\right)in\mathcal{T} \mathbf{R}$. It is easy to observe that it is useless to apply the rule on the same conditional formula more than once by using the
same label x. Indeed, all formulas in the premise of $\left(\vdash^{+}\right)arekeptintheconclusions,thenwecanassume,withoutlossofgenerality,thattwoapplicationsof\left(\vdash^{+}\right)$on x are consecutive. We observe that the second application is useless, since each of the conclusions has already been obtained after the first application, and can be removed. We prevent redundant applications of $\left(\vdash^{+}\right)$by keeping track of labels (worlds) in which a conditional u:A⊬B has already been applied in the current branch. To this purpose, we add to each positive conditional a list of used labels; we restrict the application of $\left(\vdash^{+}\right)onlytolabelsnotoccurringinthecorrespondinglist.Noticethatalsotherule(<)$ copies its principal formula x<y in the conclusion; however, this rule will be applied only a finite number of times. This is a consequence of the side condition of the rule application and the fact that the number of labels in a tableau is finite (Theorem 3).
The terminating calculus TRT is obtained by replacing the $\left(\vdash^{+}\right)$rule in Figure 1 with the one presented in Figure 3.
Γ,u:A⊬BL | ||||
---|---|---|---|---|
Γ,x:¬A,u:A⊬BL,x | Γ,x:¬□¬A,u:A⊬BL,x | Γ,x:B,u:A⊬BL,x | ||
with x∈/L |
Fig. 3. The rule $\left(\vdash^{+}\right)inthetableausystem\mathcal{T} \mathbf{R}^{\mathbf{T}}.Theorem5(Soundnessandcompletenessof\mathcal{T} \mathbf{R}^{\mathbf{T}}).Thecalculus\mathcal{T} \mathbf{R}^{\mathbf{T}}$ is sound and complete w.r.t. the semantics.
Theorem 6 (Termination of TRT ). Let Γ be a finite set of formulas, then any tableau generated by TRT is finite.
Let n be the size of the starting set Γ of which we want to verify the satisfiability. The number of applications of the rules is proportional to the number of labels introduced in the tableau. In turn, this is O(2n) due to the interplay between the rules (⊢+) and (□−). Hence, the complexity of the calculus TRT is exponential in n.
In order to obtain a better complexity bound for validity in R we provide the following procedure. Intuitively, we do not apply $\left(\square^{-}\right)$to all negated boxed formulas, but only to formulas y:¬□¬A not already expanded, i.e. such that z:A,z:□¬A do not belong to the current branch. As a result, we build a small model for the initial set of formulas in accordance with Theorem 1. This is made possible by the modularity of < in R.
Let us define a nondeterministic procedure CHECK(Γ) to decide whether a given set of formulas Γ is satisfiable. Let EXPAND(Γ) be a procedure that returns one saturated expansion of Γ w.r.t. all static rules. In case of a branching rule, EXPAND nondeterministically selects (guesses) and applies one conclusion of the rule.
\(\operatorname{CHECK}(\Gamma)\)
1. \(\Gamma \longleftarrow \operatorname{EXPAND}(\Gamma)\);
2. if \(\Gamma\) contains an axiom then return UNSAT;
3. \(\Gamma \longleftarrow\) result of applying \(\left(\vdash^{-}\right)\)to each negated conditional in \(\Gamma\);
4. \(\Gamma \longleftarrow \operatorname{EXPAND}(\Gamma)\);
- if Γ contains an axiom then return UNSAT;
while Γ contains a y:¬□¬A not marked as CONSIDERED do
6. select y:¬□¬A∈Γ not already marked as CONSIDERED;
6a. if there is z in Γ such that z:A∈Γ and z:□¬A∈Γ
then 6a′. add z<y,Γy→zM to Γ;
else 6a′′. Γ⟵ result of applying $\left(\square^{-}\right)$to y:¬□¬A;
6b. mark y:¬□¬A as CONSIDERED;
7. Γ⟵EXPAND(Γ);
8. if Γ contains an axiom then return UNSAT;
endWhile
9. return SAT;
Observe that the addition of the set of formulas z<y,Γy→zM in step 6a’ could be omitted and it has been added mostly to enhance the understanding of the procedure. Indeed, the rule (<), which is applied at each iteration to assure modularity, already takes care of adding such formulas. The procedure CHECK nondeterministically builds an open branch for Γ.
Theorem 7 (Soundness and completeness of the procedure). The above procedure is sound and complete w.r.t. the semantics.
Proof sketch. (Soundness). We prove that if the initial set of formulas Γ is satisfiable, then the above procedure returns SAT. More precisely, we prove that each step of the procedure preserves the satisfiability of Γ. As far as EXPAND is concerned, notice that it only applies the static rules of TRT and the soundness follows from the fact that these rules preserve satisfiability (see Theorems 2 and 5). Consider now step 6. Let y:¬□¬A the formula selected in this step. If $\left(\square^{-}\right)$is applied to y:¬□¬A (step 6a′′ ) we are done, since $\left(\square^{-}\right)preservessatisfiability(seeTheorems2and5).If\Gamma$ already contains z:A,z:□¬A, then step 6a′ is executed, and the relation z<y is added. In this case we reason as follows. Since Γ is satisfiable, we have that there is a model M and a mapping I such that (1)M,I(y)⊨¬□¬A and (2)M,I(z)⊨A and M,I(z)⊨□¬A. We can observe that I(z)<I(y) in M. Indeed, by the truth condition of ¬□¬A (see Definitions 2 and 3) and by the strong smoothness condition, we have that there exists w such that w<I(y) and M,w⊨A,□¬A. By modularity of <, either 1.w<I(z) or 2.I(z)<I(y).1 is impossible, since otherwise we would have M,w⊨¬A, which contradicts M,w⊨A. Hence, 2 holds. Therefore, we can conclude that step 6a’ preserves satisfiability.
(Completeness). It can be easily shown that in case the procedure above returns SAT, then the branch built is saturated (see Definition 4). Therefore, we can build a canonical model for the initial Γ, as done in the proof of Theorem 4.
Theorem 8 (Complexity of the CHECK procedure). By means of the procedure CHECK the satisfiability of a set of formulas of logic R can be decided in nondeterministic polynomial time.
Proof. Observe that the procedure generates at most O(n) labels by applying the rule (⊢−)(step 3) and that the while loop generates at most one new label for each ¬□¬A formula. Indeed, the rule $\left(\square^{-}\right)$is applied to a labelled formula y:¬□¬A to generate a new world only if there is not a label z such that z:A∈Γ and z:□¬A∈Γ are
already on the branch. In essence, the procedure does not add a new minimal A-world on the branch if there is already one. As the number of different ¬□¬A formulas is at most O(n), then the while loop can add at most O(n) new labels on the branch. Moreover, for each different label x, the expansion step can add at most O(n) formulas x:¬□¬A on the branch, one for each positive conditional A≻B occurring in the set Γ. We can therefore conclude that the while loop can be executed at most O(n2) times.
As the number of generated labels is at most O(n), by the subformula property, the number of labelled formulas on the branch is at most O(n2). Hence, the execution of step 6a has complexity O(n2). The execution of the nondeterministic procedure EXPAND has complexity O(n2), including a guess of size O(n2), whereas to verify if Γ contains an axiom has complexity O(n4) (since it requires to check whether, for each labelled formula x:P∈Γ, the formula x:¬P is also in Γ, and Γ contains at most O(n2) labelled formulas). We can therefore conclude that the execution of the CHECK procedure requires at most O(n6) steps.
By Theorem 8, the validity problem for R is in coNP. coNP-hardness is immediate, since R includes classical propositional logic. Thus, we can conclude that:
Theorem 9 (Complexity of R). The problem of deciding the validity for rational logic R is coNP-complete.
5 Conclusions and Future Work
In this paper we have developed an analytic tableau calculus TR for the rational logic R. To the best of our knowledge, this is the first calculus for R directly based on preferential semantics. We have proved the termination of the calculus and provided a systematic procedure for deciding the satisfiability of a set of formulas in nondeterministic polynomial time. The paper is complementary to the work [15], where the other KLM systems are considered.
We briefly remark on some related work for deductive approaches to KLM logics.
Proof methods for the other KLM logics and for conditional logics related to them have been presented in [19-21]. Decidability of P and R has also been obtained by interpreting them into standard modal logics, as it is done by Boutilier [17]. However, Boutilier rejects the smoothness condition, which is essential in KLM framework. Furthermore, Boutilier gives a less natural and more complicated mapping into modal logic S4 and S4.3 for P and R respectively. Our logic and S4.3 are incomparable: finite-chain condition corresponding to the axiom G does not hold in S4.3, reflexivity and weak connectedness (holding in S4.3) do not hold in our logic. In [15] analytic tableaux calculi for P and CL are presented. These calculi are based on the same idea of using suitable modalities to interpret conditional assertions. In [15] authors show that the problem of deciding validity is co-NP complete for both logics P and CL.
We plan to extend our calculi to the first order case. The starting point will be the analysis of first order rational logic by Friedman, Halpern and Koller in [4]. In subsequent research we also intend to investigate how to find models in the alternative semantics of P and R [3] of a set of conditional assertions by using our tableau methods. This could be a step in order to use our tableau procedures to uniformly implement a variety of default reasoning mechanisms built upon KLM logics P and R [5-8].
References
- Kraus, S., Lehmann, D., Magidor, M.: Nonmonotonic reasoning, preferential models and cumulative logics. Artificial Intelligence 44(1-2) (1990) 167-207
- Gardenförs, P.: Knowledge in Flux. MIT Press (1988)
- Friedman, N., Halpern, J.Y.: Plausibility measures and default reasoning. Journal of the ACM 48(4) (2001) 648-685
- Friedman, N., Halpern, J.Y., Koller, D.: First-order conditional logic for default reasoning revisited. ACM TOCL 1(2) (2000) 175-207
- Benferhat, S., Dubois, D., Prade, H.: Nonmonotonic reasoning, conditional objects and possibility theory. Artificial Intelligence 92(1-2) (1997) 259-276
- Benferhat, S., Saffiotti, A., Smets, P.: Belief functions and default reasoning. Artificial Intelligence 122(1-2) (2000) 1-69
- Weydert, E.: System jlz - rational default reasoning by minimal ranking constructions. Journal of Applied Logic 1(3-4) (2003) 273-308
- Pearl, J.: System z: A natural ordering of defaults with tractable applications to nonmonotonic reasoning. In: Proc. of the 3rd Conference on Theoretical Aspects of Reasoning about Knowledge, Morgan Kaufmann Publishers Inc. (1990) 121-135
- Makinson, D.: Bridges from Classical to Nonmonotonic logic. London: King’s College Publications. Series: Texts in Computing, vol 5 (2005)
- Makinson, D.: Bridges between classical and nonmonotonic logic. Logic Journal of the IGPL 11(1) (2003) 69-96
- Arieli, O., Avron, A.: General patterns for nonmonotonic reasoning: From basic entailments to plausible relations. Logic Journal of the IGPL 8(2) (2000) 119-148
- Dubois, D., Fargier, H., Perny, P., Prade, H.: Qualitative decision theory: from savages axioms to nonmonotonic reasoning. Journal of the ACM 49(4) (2002) 455-495
- Dubois, D., Fargier, H., Perny, P.: Qualitative decision theory with preference relations and comparative uncertainty: An axiomatic approach. Art. Int. 148(1-2) (2003) 219-260
- Lehmann, D., Magidor, M.: What does a conditional knowledge base entail? Artificial Intelligence 55(1) (1992) 1-60
- Giordano, L., Gliozzi, V., Olivetti, N., Pozzato, G.L.: Analytic Tableaux for KLM Preferential and Cumulative Logics. In: Proc. of LPAR 2005, LNAI 3835, Springer (2005) 666-681
- Crocco, G., Lamarre, P.: On the connection between non-monotonic inference systems and conditional logics. In: Proc. of KR 92. (1992) 565-571
- Boutilier, C.: Conditional logics of normality: a modal approach. Art. Int. 68(1) (1994) 87−154
- Hughes, G., Cresswell, M.: A Companion to Modal Logic. Methuen (1984)
- Artosi, A., Governatori, G., Rotolo, A.: Labelled tableaux for non-monotonic reasoning: Cumulative consequence relations. J. of Logic and Computation 12(6) (2002) 1027-1060
- Giordano, L., Gliozzi, V., Olivetti, N., Schwind, C.: Tableau calculi for preference-based conditional logics. In: Proc. of TABLEAUX 2003, LNAI 2796, Springer (2003) 81-101
- Giordano, L., Gliozzi, V., Olivetti, N., Schwind, C.: Extensions of tableau calculi for preference-based conditional logics. In: Proc. of M4M-4, Informatik-Bericht 194 (2005) 220−234
References (21)
- Kraus, S., Lehmann, D., Magidor, M.: Nonmonotonic reasoning, preferential models and cumulative logics. Artificial Intelligence 44(1-2) (1990) 167-207
- Gardenförs, P.: Knowledge in Flux. MIT Press (1988)
- Friedman, N., Halpern, J.Y.: Plausibility measures and default reasoning. Journal of the ACM 48(4) (2001) 648-685
- Friedman, N., Halpern, J.Y., Koller, D.: First-order conditional logic for default reasoning revisited. ACM TOCL 1(2) (2000) 175-207
- Benferhat, S., Dubois, D., Prade, H.: Nonmonotonic reasoning, conditional objects and pos- sibility theory. Artificial Intelligence 92(1-2) (1997) 259-276
- Benferhat, S., Saffiotti, A., Smets, P.: Belief functions and default reasoning. Artificial Intelligence 122(1-2) (2000) 1-69
- Weydert, E.: System jlz -rational default reasoning by minimal ranking constructions. Jour- nal of Applied Logic 1(3-4) (2003) 273-308
- Pearl, J.: System z: A natural ordering of defaults with tractable applications to nonmono- tonic reasoning. In: Proc. of the 3rd Conference on Theoretical Aspects of Reasoning about Knowledge, Morgan Kaufmann Publishers Inc. (1990) 121-135
- Makinson, D.: Bridges from Classical to Nonmonotonic logic. London: King's College Publications. Series: Texts in Computing, vol 5 (2005)
- Makinson, D.: Bridges between classical and nonmonotonic logic. Logic Journal of the IGPL 11(1) (2003) 69-96
- Arieli, O., Avron, A.: General patterns for nonmonotonic reasoning: From basic entailments to plausible relations. Logic Journal of the IGPL 8(2) (2000) 119-148
- Dubois, D., Fargier, H., Perny, P., Prade, H.: Qualitative decision theory: from savages ax- ioms to nonmonotonic reasoning. Journal of the ACM 49(4) (2002) 455-495
- Dubois, D., Fargier, H., Perny, P.: Qualitative decision theory with preference relations and comparative uncertainty: An axiomatic approach. Art. Int. 148(1-2) (2003) 219-260
- Lehmann, D., Magidor, M.: What does a conditional knowledge base entail? Artificial Intelligence 55(1) (1992) 1-60
- Giordano, L., Gliozzi, V., Olivetti, N., Pozzato, G.L.: Analytic Tableaux for KLM Preferen- tial and Cumulative Logics. In: Proc. of LPAR 2005, LNAI 3835, Springer (2005) 666-681
- Crocco, G., Lamarre, P.: On the connection between non-monotonic inference systems and conditional logics. In: Proc. of KR 92. (1992) 565-571
- Boutilier, C.: Conditional logics of normality: a modal approach. Art. Int. 68(1) (1994) 87-154
- Hughes, G., Cresswell, M.: A Companion to Modal Logic. Methuen (1984)
- Artosi, A., Governatori, G., Rotolo, A.: Labelled tableaux for non-monotonic reasoning: Cumulative consequence relations. J. of Logic and Computation 12(6) (2002) 1027-1060
- Giordano, L., Gliozzi, V., Olivetti, N., Schwind, C.: Tableau calculi for preference-based conditional logics. In: Proc. of TABLEAUX 2003, LNAI 2796, Springer (2003) 81-101
- Giordano, L., Gliozzi, V., Olivetti, N., Schwind, C.: Extensions of tableau calculi for preference-based conditional logics. In: Proc. of M4M-4, Informatik-Bericht 194 (2005) 220-234