• Aucun résultat trouvé

Bisimulation-Based Comparisons for Interpretations in Description Logics

N/A
N/A
Protected

Academic year: 2022

Partager "Bisimulation-Based Comparisons for Interpretations in Description Logics"

Copied!
18
0
0

Texte intégral

(1)

Bisimulation-Based Comparisons for Interpretations in Description Logics

Ali Rezaei Divroodi and Linh Anh Nguyen Institute of Informatics, University of Warsaw

Banacha 2, 02-097 Warsaw, Poland {rezaei,nguyen}@mimuw.edu.pl

Abstract. We study comparisons between interpretations in descrip- tion logics with respect to “logical consequences” of the form of semi- positive concepts (like semi-positive concept assertions). Such compar- isons are characterized by conditions similar to the ones of bisimulations.

The simplest among the considered logics is a variant of PDL (propo- sitional dynamic logic). The others extend that logic with inverse roles, nominals, quantified number restrictions, the universal role, and/or the concept constructor for expressing the local reflexivity of a role. The stud- ied problems are: preservation of semi-positive concepts with respect to comparisons, the Hennessy-Milner property for comparisons, and mini- mization of interpretations that preserves semi-positive concepts.

1 Introduction

Bisimulation is a natural notion of equivalence arose in modal logic [23–25] and state transition systems [20, 11]. It can be viewed as a binary relation associating state transition systems which behave in the same way in the sense that one system simulates the other and vice versa. Kripke models in modal logic are a special case of labeled state transition systems.

Bisimulations have widely been studied for various variants of modal logic like dynamic logic, temporal logic, hybrid logic and, in particular, also for description logics (DLs) [13, 6, 14, 21]. They have been used for analyzing the expressivity of a wide range of modal logics (see, e.g., [2] for details), for minimizing state transition systems, as well as for concept learning in DLs (e.g., [19, 22, 10, 5]).

Bisimilarity between two states is usually defined by three conditions (the states have the same label, each transition from one of the states can be simu- lated by a similar transition from the other, and vice versa). For bisimulation between two pointed-models, the initial states of the models are also required to be bisimilar. When converse is allowed, two additional conditions are required for bisimulation [2]. Bisimulation conditions for dealing with graded modalities were studied in [4, 3, 12]. In the field of hybrid logic, the bisimulation condition for dealing with nominals is well known (see, e.g., [1]). In DLs, such condi- tions are used for dealing with inverse roles, (quantified) number restrictions and nominals, respectively. There are also bisimulation conditions for dealing with individuals, the universal role and theSelf constructor in DLs [7, 22].

(2)

In modal logic, bisimulation invariance has the form: if two states are bisimi- lar then they satisfy the same set of formulas (i.e., all modal formulas are invari- ant w.r.t. bisimulation). For the converse, the Hennessy-Milner property states that, in finitely branching Kripke models, two states are bisimilar iff they sat- isfy the same set of formulas. This property can be generalized for non-finitely branching Kripke models (see, e.g., [14]).

Simulation is a notion with weaker conditions than bisimulation. It is only

“one way”, while bisimulation is “two way”. In the most common understanding, the “ways” are related with the “transitions” but not w.r.t. comparison between the sets of atomic formulas satisfied at the considered states. Such simulation preserves positive existential formulas (see, e.g., [2]).

What variant of bisimulation can be used to talk about preservation of pos- itive formulas, which may use both existential and universal modal operators?

Defining positive formulas to be the ones without⊥(falsity),¬(negation) and

→(implication), in [15] Nguyen gave a bisimulation-based comparison between Kripke models that preserves positive formulas in basic serial monomodal logics.

In [17] he extended the preservation result also for serial regular grammar log- ics and proved the corresponding Hennessy-Milner property. Such bisimulation- based comparison uses the conditions of bisimulation for “transitions” and com- pares the sets of atomic formulas satisfied at the considered states. Bisimulation- based comparison between Kripke models is worth studying, because it can be used for minimizing a Kripke model w.r.t. the set of logical consequences be- ing positive formulas. For example, after constructing a least Kripke model of a positive modal logic program in a serial modal logic [15, 17, 8], one can minimize it w.r.t. positive formulas to obtain a minimal Kripke model that characterizes the program w.r.t. positive consequences. Such minimization is also applicable to (non-serial) DLs [16, 18].

In this paper, we study bisimulation-based comparisons between interpreta- tions in DLs. The simplest among the considered logics is ALCreg, a variant of PDL (propositional dynamic logic). The others extend that logic with in- verse roles, nominals, quantified number restrictions, the universal role, and/or the concept constructor for expressing the local reflexivity of a role. The studied problems are: preservation of semi-positive concepts with respect to comparisons, the Hennessy-Milner property for comparisons, and minimization of interpreta- tions that preserves semi-positive concepts. The class of semi-positive concepts differs from the class of positive concepts in that, in the recursive definition, it allows also ⊥. This is involved with non-seriality.

Apart from [15, 17, 8], bisimulation-based comparisons for modal logics were studied also in [9] (and possibly other works). In [9] the notion is studied at an abstract level for coalgebraic modal logics under the name Λ-simulation, and the term “positive formula” is used instead of “semi-positive formula”. As mentioned before, the term “simulation” traditionally has another meaning, and in our opinion⊥should not be referred to as “positive”. At an abstract level, the work [9] does not have a result like a Hennessy-Milner property. In the current work, to guarantee a Hennessy-Milner property, roles in semi-positive concepts

(3)

have a specific syntax due to the presence of the test operator. The definition of semi-positive concepts itself in the current work is not trivial (e.g., we have that ifC is a semi-positive concept then≤n r.¬C is also a semi-positive concept).

Our results on preservation of semi-positive concepts and the Hennessy- Milner property w.r.t. comparisons may overlap to a certain degree with the known ones. However, our results on “characterizing bisimulation by semi- positive concepts” and “minimization preserving semi-positive concepts” are completely novel.

2 Notation and Semantics of Description Logics

Our languages use a finite set ΣC ofconcept names(atomic concepts), a finite setΣRofrole names(atomic roles), and a finite setΣI ofindividual names. Let Σ=ΣC∪ΣR∪ΣI. We denote concept names by letters likeA andB, denote role names by letters likerands, and denote individual names by letters likea andb.

We consider some (additional)DL-featuresdenoted byI (inverse),O(nom- inal),Q(quantified number restriction),U (universal role), Self. Aset of DL- featuresis a set consisting of some or zero of these names.

LetΦbe any set of DL-features and letLstand forALCreg. The DL language LΦ allowsrolesandconceptsdefined inductively as follows:

– ifr∈ΣR thenris a role ofLΦ – ifA∈ΣC thenA is a concept ofLΦ

– ifR andS are roles ofLΦ andC is a concept ofLΦ then

• ε,R◦S ,RtS,R andC? are roles ofLΦ

• >,⊥,¬C,CtD, CuD,∃R.C and∀R.C are concepts ofLΦ

• ifI∈ΦthenR is a role ofLΦ

• ifO∈Φanda∈ΣI then{a}is a concept of LΦ

• ifQ∈Φ,r∈ΣR andnis a natural number then≥n r.Cand≤n r.C are concepts ofLΦ

• if{Q, I} ⊆Φ,r∈ΣR andnis a natural number then≥n r.C and≤n r.C are concepts ofLΦ

• ifU ∈ΦthenU is a role ofLΦ

• ifSelf∈Φandr∈ΣR then∃r.Selfis a concept of LΦ.

We use letters likeRand S to denote arbitrary roles, and use letters likeC andD to denote arbitrary concepts. We refer to elements ofΣRalso asatomic roles. Let ΣR± = ΣR∪ {r | r ∈ ΣR}. From now on, by basic roles we refer to elements of ΣR± if the considered language allows inverse roles, and refer to elements ofΣRotherwise. In general, the language decides whether inverse roles are allowed in the considered context.

Aninterpretation I = h∆IIi consists of a non-empty set ∆I, called the domain of I, and a function·I, called the interpretation function of I, which maps every concept nameAto a subsetAIof∆I, maps every role namerto a binary relation rI on ∆I, and maps every individual nameato an element aI

(4)

(R◦S)I =RI◦SI (RtS)I =RI∪SI (R)I = (RI)

(C?)I ={hx, xi |CI(x)}

εI ={hx, xi |x∈∆I} UI =∆I×∆I (R)I = (RI)−1

>I =∆I

I =∅ (¬C)I =∆I\CI (CtD)I =CI∪DI (CuD)I =CI∩DI

{a}I ={aI}

(∃r.Self)I ={x∈∆I |rI(x, x)}

(∃R.C)I={x∈∆I | ∃y[RI(x, y) andCI(y)]

(∀R.C)I={x∈∆I | ∀y[RI(x, y) impliesCI(y)]}

(≥n R.C)I={x∈∆I |#{y|RI(x, y) andCI(y)} ≥n}

(≤n R.C)I={x∈∆I |#{y|RI(x, y) andCI(y)} ≤n}

Fig. 1.Interpretation of complex roles and complex concepts.

of∆I. The interpretation function·I is extended to complex roles and complex concepts as shown in Figure 1, where #Γ stands for the cardinality of the set Γ. We writeCI(x) to denotex∈CI, and writeRI(x, y) to denotehx, yi ∈RI. An interpretationI is said to beserialinLΦ if, for every basic roleRofLΦ and everyx∈∆I, there existsy∈∆I such thathx, yi ∈RI.

We say that a role R is in the converse normal form(CNF) if the inverse constructor is applied in R only to role names and the role U is not under the scope of any other role constructor. Since every role can be translated to an equivalent role in CNF,1 in this paper we assume that roles are presented in the CNF.

3 Positive and Semi-Positive Concepts

LetLposΦ be the smallest set of concepts andLposΦ,∃,LposΦ,∀ be the smallest sets of roles defined recursively as follows:

– ifr∈ΣR thenris a role ofLposΦ,∃andLposΦ,∀,

– ifI∈Φandr∈ΣR thenr is a role ofLposΦ,∃andLposΦ,∀, – ifR andS are roles ofLposΦ,∃andC is a concept ofLposΦ

thenε,R◦S ,RtS, R andC? are roles ofLposΦ,∃, – ifR andS are roles ofLposΦ,∀andC is a concept ofLposΦ

thenε,R◦S ,RtS, R and (¬C)? are roles ofLposΦ,∀, – ifA∈ΣC thenA is a concept ofLposΦ ,

– ifO∈Φanda∈ΣI then{a} is a concept ofLposΦ ,

1 For example, ((rts)◦r)= (r)◦(rts).

(5)

– ifSelf∈Φandr∈ΣR then∃r.Selfis a concept ofLposΦ ,

– ifC is a concept ofLposΦ ,R is a role ofLposΦ,∃ andS is a role ofLposΦ,∀ then

• >,CtD,CuD,∃R.C and∀S.C are concepts ofLposΦ ,

• ifQ∈Φ,r∈ΣR andnis a natural number then≥n r.Cand≤n r.(¬C) are concepts ofLposΦ ,

• if{Q, I} ⊆Φ,r∈ΣR andnis a natural number then≥n r.C and≤n r.(¬C) are concepts ofLposΦ ,

• ifU ∈Φthen∀U.C and∃U.C are concepts ofLposΦ .

A concept of LposΦ is called a positive concept of LΦ. We introduce both LposΦ,∀ and LposΦ,∃ due to the test constructor of roles. The concepts ∃(A?).B and

∀((¬A)?).B are positive concepts; they are equivalent to AuB and AtB, respectively. That the concept≤n R.(¬A) is positive should not be a surprise, as∀R.Ais equivalent to≤0R.(¬A).

LetLspΦ be the smallest set of concepts and LspΦ,∃, LspΦ,∀ be the smallest sets of roles defined analogously to the case ofLposΦ ,LposΦ,∃,LposΦ,∀except that⊥is also allowed as a concept ofLspΦ. We call concepts ofLspΦ semi-positive conceptsofLΦ.

4 Bisimulation-Based Comparisons for Interpretations

LetIandI0be interpretations. A binary relationZ⊆∆I×∆I0 is called anLΦ- comparisonbetweenI andI0 if the following conditions hold for everya∈ΣI, A∈ΣC,r∈ΣR,x, y∈∆I, x0, y0∈∆I0:

Z(aI, aI0) (1)

Z(x, x0)⇒[AI(x)⇒AI0(x0)] (2) [Z(x, x0)∧rI(x, y)]⇒ ∃y0∈∆I0[Z(y, y0)∧rI0(x0, y0)] (3) [Z(x, x0)∧rI0(x0, y0)]⇒ ∃y∈∆I[Z(y, y0)∧rI(x, y)], (4) ifI∈Φthen

[Z(x, x0)∧rI(y, x)]⇒ ∃y0∈∆I0[Z(y, y0)∧rI0(y0, x0)] (5) [Z(x, x0)∧rI0(y0, x0)]⇒ ∃y∈∆I[Z(y, y0)∧rI(y, x)], (6) ifO∈Φthen

Z(x, x0)⇒[x=aI ⇒x0 =aI0], (7) ifQ∈Φthen

ifZ(x, x0) holds then, for every role namer, there exists a bijection h:{y|rI(x, y)} → {y0|rI0(x0, y0)}such thath⊆Z, (8) if{Q, I} ⊆Φthen (additionally)

ifZ(x, x0) holds then, for every role namer, there exists a bijection h:{y|rI(y, x)} → {y0|rI0(y0, x0)}such thath⊆Z, (9)

(6)

ifU ∈Φthen

∀x∈∆I∃x0∈∆I0Z(x, x0) (10)

∀x0∈∆I0∃x∈∆IZ(x, x0), (11)

ifSelf∈Φthen

Z(x, x0)⇒[rI(x, x)⇒rI0(x0, x0)]. (12) For example, ifΦ={Q, I}then only the conditions (1)-(6), (8) and (9) (and all of them) are essential.

By (2’), (7’), (12’) we denote the conditions obtained respectively from (2), (7), (12) by replacing the second implication (⇒) by equivalence (⇔). If the conditions (2), (7), (12) are replaced by (2’), (7’), (12’) then the relation Z is called anLΦ-bisimulationbetweenI andI0 [7].

Proposition 4.1.

1. The relation{hx, xi |x∈∆I}is an LΦ-comparison between I andI. 2. IfZ1 is an LΦ-comparison between I0 andI1, andZ2 is anLΦ-comparison

betweenI1 andI2, thenZ1◦Z2 is anLΦ-comparison between I0 andI2. 3. If Z is a set of LΦ-comparison between I and I0 then S

Z is also an LΦ- comparison betweenI andI0.

The proof of this proposition is straightforward.

Lemma 4.2. Let I and I0 be interpretations and Z be an LΦ-comparison be- tween I andI0. Then the following properties hold for every conceptC of LspΦ, every roleR of LspΦ,∃, every roleS of LspΦ,∀, every x, y∈∆I, every x0, y0 ∈∆I0, and every a∈ I:

Z(x, x0)⇒[CI(x)⇒CI0(x0)] (13) [Z(x, x0)∧RI(x, y)]⇒ ∃y0 ∈∆I0[Z(y, y0)∧RI0(x0, y0)] (14) [Z(x, x0)∧SI0(x0, y0)]⇒ ∃y∈∆I[Z(y, y0)∧SI(x, y)]. (15) See the appendix for a proof of this lemma.

A concept C of LΦ is said to be preserved by LΦ-comparisons if, for any interpretations I, I0 and any LΦ-comparison Z between I and I0, if Z(x, x0) holds and x ∈ CI then x0 ∈ CI0. The following theorem follows immediately from the assertion (13) of Lemma 4.2.

Theorem 4.3. All concepts of LspΦ are preserved byLΦ-comparisons.

Corollary 4.4. All concepts ofLposΦ are preserved by LΦ-comparisons.

LetI andI0 be interpretations,x∈∆I andx0∈∆I0. Define that:

– xisequivalent tox0w.r.t. (concepts of)LΦ, denoted byx≡Φx0, if, for every conceptC ofLΦ,x∈CI iffx0 ∈CI0;

(7)

– xisless than or equal tox0 w.r.t. concepts ofLspΦ (resp.LposΦ ), denoted by x≤spΦ x0 (resp.x≤posΦ x0), if, for every conceptCofLspΦ (resp.LposΦ ),x∈CI impliesx0∈CI0;

– xisequivalent to x0 w.r.t. concepts ofLspΦ, denoted byx≡spΦ x0, if x≤spΦ x0 andx0spΦ x.

We say that an interpretationI is finitely branching(orimage-finite) w.r.t.

LΦif, for everyx∈∆Iand every basic roleRofLΦ, the set{y∈∆I |RI(x, y)}

is finite. We say thatI isunreachable-objects-free(w.r.t.LΦ) if every element of

Iis reachable from someaI(witha∈ΣI) via a path consisting of edges being instances of basic roles (ofLΦ). The following theorem comes from our work [7].

Theorem 4.5 (The Hennessy-Milner Property). Let I and I0 be finitely branching interpretations (w.r.t. LΦ) such that, for every a∈ ΣI, aIΦ aI0. Suppose that if U ∈Φ then either ΣI 6=∅ and both I,I0 are finite, or both I, I0 are unreachable-objects-free. Then, for every x∈∆I andx0 ∈∆I0,x≡Φ x0 iff there exists an LΦ-bisimulationZ between I andI0 such thatZ(x, x0)holds.

In particular, the relation{hx, x0i ∈∆I×∆I0 |x≡Φx0}is an LΦ-bisimulation between I andI0.

In the rest of this section we present theorems similar to the Hennessy-Milner property that are related toLΦ-comparisons and/or semi-positive concepts.

Theorem 4.6. Let I and I0 be finitely branching interpretations (w.r.t. LΦ) such that, for every a ∈ ΣI, aIspΦ aI0. Suppose that if U ∈ Φ then either ΣI 6=∅and bothI,I0are finite, or bothI,I0are unreachable-objects-free. Then, for every x∈∆I and x0 ∈∆I0, x≤spΦ x0 iff there exists an LΦ-comparison Z between I andI0 such thatZ(x, x0)holds. In particular, the relation {hx, x0i ∈

I×∆I0 |x≤spΦ x0} is anLΦ-comparison betweenI andI0. See the appendix for a proof of this theorem.

Analyzing the proof of Theorem 4.6, it can be seen that, in the caseQ /∈Φ,⊥ is only used for showing that there existsy∈∆I such thatrI(x, y) holds when proving the condition (4). If I is a serial interpretation then that property is guaranteed. Therefore, we also have the following theorem, whose proof is very similar to the proof of Theorem 4.6.

Theorem 4.7. Let I and I0 be finitely branching interpretations (w.r.t. LΦ) such that I is serial and, for every a∈ΣI,aIposΦ aI0. SupposeQ /∈Φand if U ∈Φthen eitherΣI 6=∅and bothI,I0 are finite, or bothI,I0 are unreachable- objects-free. Then, for everyx∈∆I andx0 ∈∆I0,x≤posΦ x0 iff there exists an LΦ-comparison Z between I and I0 such that Z(x, x0) holds. In particular, the relation{hx, x0i ∈∆I×∆I0 |x≤posΦ x0}is anLΦ-comparison betweenI andI0.

5 Characterizing Bisimulation by Semi-Positive Concepts

In the case Q∈Φ, there is a closer relationship between semi-positive concepts andLΦ-bisimulation from the semantic point of view.

(8)

Theorem 5.1. Let I and I0 be finitely branching interpretations (w.r.t. LΦ) such that, for every a∈ΣI,aIspΦ aI0. SupposeQ∈Φ and ifU ∈Φthen both I and I0 are unreachable-objects-free. Then, for every x ∈ ∆I and x0 ∈ ∆I0, x≡spΦ x0iff there exists anLΦ-bisimulationZ betweenIandI0such thatZ(x, x0) holds. In particular, the relation {hx, x0i ∈ ∆I ×∆I0 | x ≡spΦ x0} is an LΦ- bisimulation between I andI0.

See the appendix for a proof of this theorem.

Corollary 5.2. Let I and I0 be finitely branching interpretations (w.r.t. LΦ) such that, for every a∈ΣI,aIspΦ aI0. SupposeQ∈Φ and ifU ∈Φthen both I and I0 are unreachable-objects-free. Then, for every x ∈ ∆I and x0 ∈ ∆I0, x≡spΦ x0 iff x≡Φx0.

This corollary follows from Theorems 5.1 and 4.5.

Example 5.3. We show that the assumption Q ∈ Φ of Theorem 5.1 is neces- sary. Let Φ = ∅, ΣI = {a}, ΣC = {A, B}, ΣR = {r} and let I, I0 be the interpretations specified as follows.

– ∆I = {u, v0, v1, v2}, aI =u, rI = {hu, v0i,hu, v1i,hu, v2i}, AI ={v1, v2}, BI={v2},

– ∆I0 ={u, v0, v2},aI0 =u,rI0 ={hu, v0i,hu, v2i}andAI0 =BI0 ={v2}.

Notice that I0 is obtained from I by deleting v1. Observe that there are LΦ- comparisons between I and I0 as well as between I0 and I, but there is no LΦ-bisimulations betweenI andI0. In particular,aIspΦ aI0, butaI6≡ΦaI0.C

The point of the above example is that, whenQ /∈Φ, ifv0,v1,v2are pairwise differentr-successors ofu,v0spΦ v1andv1spΦ v2 then the edgehu, v1i ∈rI is not essential for the semantics of semi-positive concepts. Also note that, when Q /∈ Φ, if v and v0 are different r-successors of u such that v ≡spΦ v0 then the edgehu, v0i ∈rI is not essential for the semantics of semi-positive concepts.

SupposeQ /∈Φand letI be a finitely branching interpretation. We say that I isLspΦ-tidyif it is unreachable-objects-free and, for everyx, y, y0, y00∈∆I and every basic roleR ofLΦ,

– if{hx, yi,hx, y0i} ⊆RI andy≡spΦ y0 theny=y0,

– if{hx, yi,hx, y0i,hx, y00i} ⊆RI,y≤spΦ y0andy0spΦ y00theny=y0ory0 =y00 or (Self∈Φandy0 =x).

Theorem 5.4. SupposeQ /∈Φ. Let I andI0 be finitely branching and LspΦ-tidy interpretations such that, for everya∈ΣI,aIspΦ aI0. Then, for everyx∈∆I and x0 ∈∆I0,x≡spΦ x0 iff there exists anLΦ-bisimulation Z between I andI0 such that Z(x, x0) holds. In particular, the relation{hx, x0i ∈∆I×∆I0 |x≡spΦ x0} is anLΦ-bisimulation between I andI0.

See the appendix for a proof of this theorem.

(9)

6 Auto-Bisimulation and Minimization

In this section, we recall some results of our manuscript [7], not published in [6].

AnLΦ-bisimulation betweenI and itself is called anLΦ-auto-bisimulation ofI. AnLΦ-auto-bisimulation ofIis said to be thelargestif it is larger than or equal to (⊇) any otherLΦ-auto-bisimulation ofI.

Proposition 6.1. For every interpretation I, the largestLΦ-auto-bisimulation

of I exists and is an equivalence relation. C

Given an interpretation I, by ∼Φ,I we denote the largest LΦ-auto- bisimulation of I, and by≡Φ,I we denote the binary relation on ∆I with the property that x≡Φ,I x0 iffxisLΦ-equivalent tox0.

Theorem 6.2. For every finitely branching interpretationI,≡Φ,Iis the largest LΦ-auto-bisimulation of I (i.e. the relations ≡Φ,I and∼Φ,I coincide).

An interpretationI is said to be minimal among a class of interpretations if I belongs to that class and, for every other interpretation I0 of that class,

#∆I ≤ #∆I0 (the cardinality of ∆I is less than or equal to the cardinality of∆I0).

A concept assertion of LΦ (resp. LspΦ) is an expression of the form C(a), whereCis a concept ofLΦ(resp.LspΦ). We say that an interpretationI satisfies a concept assertion C(a) ifa ∈ CI. We say that I satisfies the same concept assertions ofLΦ(resp.LspΦ) as an interpretationI0if, for every concept assertion C(a) ofLΦ (resp.LspΦ),I satisfiesC(a) iffI0 satisfiesC(a).

6.1 The Case without Qand Self

Thequotient interpretationI/Φ,I ofI w.r.t.∼Φ,I is defined as usual:

– ∆I/Φ,I = {[x]Φ,I | x ∈ ∆I}, where [x]Φ,I is the abstract class of x w.r.t.∼Φ,I

– aI/Φ,I = [aI]Φ,I, fora∈ΣI

– AI/Φ,I ={[x]Φ,I |x∈AI}, forA∈ΣC

– rI/Φ,I ={h[x]Φ,I,[y]Φ,Ii | hx, yi ∈rI}, forr∈ΣR.

Theorem 6.3. Suppose Φ⊆ {I, O, U} and letI be an unreachable-objects-free interpretation. IfI/Φ,I is finitely branching then it is a minimal interpretation that satisfies the same concept assertions of LΦ asI.

6.2 The Case with Qand/or Self

For the case when Q ∈ Φ or Self ∈ Φ, in order to obtain a result similar to Theorem 6.3, we introduce QS-interpretations as follows.

AQS-interpretationis a tupleI=h∆II,QI,SIi, where

(10)

– h∆IIiis an interpretation,

– QI is a function that maps every basic role to a function∆I×∆I →Nsuch thatQI(R)(x, y)>0 iffhx, yi ∈RI, whereNis the set of natural numbers, – SI is a function that maps every role name to a subset of∆I.

IfI is a QS-interpretation then we redefine (∃r.Self)I={x∈∆I|x∈SI(r)}

(≥n R.C)I={x∈∆I|Σ{QI(R)(x, y)|CI(y)} ≥n}

(≤n R.C)I={x∈∆I|Σ{QI(R)(x, y)|CI(y)} ≤n}.

Other notions for interpretations remain unchanged for QS-interpretations.

ForIbeing an interpretation, thequotient QS-interpretationofIw.r.t.∼Φ,I, denoted byI/QSΦ,I, is the QS-interpretationI0=h∆I0I0,QI0,SI0isuch that:

– h∆I0I0iis the quotient interpretation ofI w.r.t.∼Φ,I – for every basic roleR and everyx, y∈∆I,

QI0(R)([x]Φ,I,[y]Φ,I) = max

x0∈[x]Φ,I

#{y0∈[y]Φ,I | hx0, y0i ∈RI} – for every role namer,

SI

0(r) ={[x]Φ,I | hx, xi ∈rI}.

Note that, in the case whenQ∈Φ, we have

QI0(R)([x]Φ,I,[y]Φ,I) = #{y0∈[y]Φ,I | hx, y0i ∈RI}.

Here is a counterpart of Theorem 6.3, with no restrictions onΦ:

Theorem 6.4. Let I be an unreachable-objects-free interpretation. IfI/QSΦ,I is finitely branching then it is a minimal QS-interpretation that satisfies the same concept assertions of LΦ asI.

7 Minimization Preserving Semi-Positive Concepts

SupposeΦ⊆ {O, U,Self}and letI be a finitely branching interpretation such that it is also unreachable-objects-free whenU ∈Φ. ByTidyspΦ(I) we denote the maximalLspΦ-tidy sub-interpretation ofI obtained by modifying I as follows:

– For eachr∈ΣR, if {hx, yi,hx, y0i} ⊆rI,y ≡spΦ y0,y 6=y0 and y0 6=xthen delete the pairhx, y0ifromrI.

– For eachr∈ΣR, if{hx, yi,hx, y0i,hx, y00i} ⊆rI,y ≤spΦ y0,y0spΦ y00, y 6≡spΦ y0,y06≡spΦ y00 and (Self∈/Φor y06=x) then delete the pairhx, y0ifromrI. – Delete from the domain ofI all elements not reachable from anyaI (with

a∈ΣI) via a path consisting of edges being instances of basic roles of LΦ. Lemma 7.1. Suppose Φ ⊆ {O, U,Self} and let I be a finitely branching in- terpretation such that it is also unreachable-objects-free when U ∈ Φ. Then TidyspΦ(I)satisfies the same concept assertions ofLspΦ asI.

(11)

Proof. LetI0 =TidyspΦ(I) and letZ,Z0be the smallest binary relations such that the following conditions hold for everya∈ΣI,r∈ΣR,x, y∈∆I,x0, y0 ∈∆I0:

– Z(aI, aI) andZ0(aI, aI),

– Z(x, x0)∧rI(x, y)∧rI0(x0, y0)∧y≤spΦ y0⇒Z(y, y0), – Z0(x0, x)∧rI(x, y)∧rI0(x0, y0)∧y0spΦ y⇒Z0(y0, y).

It is easy to see thatZ is anLΦ-comparison betweenI andI0, andZ0 is an LΦ-comparison between I0 andI. Therefore, by Theorem 4.3,I0 and I satisfy

the same concept assertions of LspΦ. C

Theorem 7.2. Suppose Φ⊆ {O, U,Self}. Let I0 and I00 be finitely branching interpretations such that they are also unreachable-objects-free when U ∈Φand they satisfy the same concept assertions ofLspΦ. LetI=TidyspΦ(I0),I2=I/Φ,I

if Self∈/ Φ, and I2 =I/QSΦ,I if Self ∈Φ. Then I2 satisfies the same concept assertions of LspΦ asI00 and #∆I2 ≤#∆I00.

Proof. LetI0 =TidyspΦ(I00). By Lemma 7.1, I andI0 satisfy the same concept assertions ofLspΦ. Consequently, by Theorem 5.4, there exists anLΦ-bisimulation between I and I0. By Theorem 4.5, it follows that I and I0 satisfy the same concept assertions of LΦ. If Self ∈/ Φ then let I20 = I0/Φ,I0, else let I20 = I0/QS

Φ,I0. By Theorems 6.3 and 6.4, #∆I2 = #∆I20. Since #∆I20 ≤ #∆I00, it

follows that #∆I2 ≤#∆I00. C

Theorem 7.3. Suppose Q ∈Φ. Let I and I0 be finitely branching interpreta- tions such that they are also unreachable-objects-free whenU ∈Φand they satisfy the same concept assertions of LspΦ. Then I2 = I/QSΦ,I is a QS-interpretation that satisfies the same concept assertions of LspΦ asI0 and#∆I2≤#∆I0. Proof. Let I20 = I0/QS

Φ,I0. By Theorem 5.1, there exists an LΦ-bisimulation between I and I0. By Theorem 4.5, it follows that I and I0 satisfy the same concept assertions ofLΦ. Hence, by Theorem 6.4, #∆I2= #∆I20. Since #∆I02

#∆I0, it follows that #∆I2 ≤#∆I0. C

Notice that minimization of interpretations that preserves semi-positive con- cepts for the case whenQ /∈ΦandI∈Φis not investigated in this section.

8 Conclusions

We have studied bisimulation-based comparisons between interpretations in a reasonably systematic way for a large class of useful description logics and ob- tained novel results on “characterizing bisimulation by semi-positive concepts”

and “minimization preserving semi-positive concepts”.

Acknowledgments.This work was supported by the Polish National Science Centre (NCN) under Grant No. 2011/01/B/ST6/02759.

(12)

References

1. C. Areces, P. Blackburn, and M. Marx. Hybrid logics: Characterization, interpo- lation and complexity. J. Symb. Log., 66(3):977–1010, 2001.

2. P. Blackburn, M. de Rijke, and Y. Venema.Modal Logic. Number 53 in Cambridge Tracts in Theoretical Computer Science. Cambridge University Press, 2001.

3. W. Conradie. Definability and changing perspectives: The Beth property for three extensions of modal logic. Master’s thesis, ILLC, University of Amsterdam, 2002.

4. M. de Rijke. A note on graded modal logic. Studia Logica, 64(2):271–283, 2000.

5. A.R. Divroodi, Q.-T. Ha, L.A. Nguyen, and H.S. Nguyen. On C-learnability in description logics. InProceedings of ICCCI’2012 (1), volume 7653 ofLNCS, pages 230–238. Springer, 2012.

6. A.R. Divroodi and L.A. Nguyen. On bisimulations for description logics. InPro- ceedings of CS&P’2011, pages 99–110, 2011.

7. A.R. Divroodi and L.A. Nguyen. On bisimulations for description logics. http:

//arxiv.org/abs/1104.1964, 2011.

8. B. Dunin-K¸eplicz, L.A. Nguyen, and A. Sza las. Tractable approximate knowl- edge fusion using the Horn fragment of serial propositional dynamic logic. Int. J.

Approx. Reasoning, 51(3):346–362, 2010.

9. Daniel Gor´ın and Lutz Schr¨oder. Simulations and bisimulations for coalgebraic modal logics. CoRR, abs/1303.2467, 2013.

10. Q.-T. Ha, T.-L.-G. Hoang, L.A. Nguyen, H.S. Nguyen, A. Sza las, and T.-L. Tran. A bisimulation-based method of concept learning for knowledge bases in description logics. InProceedings of SoICT’2012, pages 241–249. ACM, 2012.

11. M. Hennessy and R. Milner. Algebraic laws for nondeterminism and concurrency.

Journal of the ACM, 32(1):137–161, 1985.

12. D. Janin and G. Lenzi. On the relationship between monadic and weak monadic second order logic on arbitrary trees, with applications to the mu-calculus.Fundam.

Inform., 61(3-4):247–265, 2004.

13. N. Kurtonina and M. de Rijke. Expressiveness of concept expressions in first-order description logics. Artif. Intell., 107(2):303–333, 1999.

14. C. Lutz, R. Piro, and F. Wolter. Description logic TBoxes: Model-theoretic char- acterizations and rewritability. In T. Walsh, editor, Proceedings of IJCAI’2011, pages 983–988, 2011.

15. L.A. Nguyen. Constructing the least models for positive modal logic programs.

Fundamenta Informaticae, 42(1):29–60, 2000.

16. L.A. Nguyen. A bottom-up method for the deterministic Horn fragment of the description logicALC. InProceedings of JELIA 2006, LNAI 4160, pages 346–358.

Springer, 2006.

17. L.A. Nguyen. Constructing finite least Kripke models for positive logic programs in serial regular grammar logics. Logic Journal of the IGPL, 16(2):175–193, 2008.

18. L.A. Nguyen. Horn knowledge bases in regular description logics with PTime data complexity. Fundamenta Informaticae, 104(4):349–384, 2010.

19. L.A. Nguyen and A. Sza las. Logic-based roughification. In A. Skowron and Z. Suraj, editors,Rough Sets and Intelligent Systems (To the Memory of Professor Zdzis law Pawlak), Vol. 1, pages 529–556. Springer, 2012.

20. D.M.R. Park. Concurrency and automata on infinite sequences. In Peter Deussen, editor,Proceedings of the 5th GI-Conference, volume 104 ofLNCS, pages 167–183.

Springer, 1981.

(13)

21. R. Piro. Model Theoretic Characterisations of Description Logics. PhD thesis, University of Liverpool, 2012.

22. T.-L. Tran, Q.-T. Ha, T.-L.-G. Hoang, L.A. Nguyen, H.S. Nguyen, and A. Sza las.

Concept learning for description logic-based information systems. InProceedings of KSE’2012, pages 65–73. IEEE Computer Society, 2012.

23. J. van Benthem. Modal Correspondence Theory. PhD thesis, Mathematisch Insti- tuut & Instituut voor Grondslagenonderzoek, University of Amsterdam, 1976.

24. J. van Benthem. Modal Logic and Classical Logic. Bibliopolis, Naples, 1983.

25. J. van Benthem. Correspondence theory. In D. Gabbay and F. Guenther, editors, Handbook of Philosophical Logic, Volume II, pages 167–247. Reidel, Dordrecht, 1984.

(14)

A Proofs

Proof of Lemma 4.2

We prove this lemma by induction on the structures ofC,Rand S.

Consider the assertion (14). SupposeZ(x, x0) andRI(x, y) hold. By induction on the structure ofRwe prove that there existsy0 ∈∆I0 such thatZ(y, y0) and RI0(x0, y0) hold. The base case occurs whenR is a role name and the assertion for it follows from (3). The induction steps are given below.

– CaseR=εis trivial.

– CaseR=R1◦R2, whereR1 andR2 are roles ofLspΦ,∃: We have that (R1◦ R2)I(x, y) holds. Hence, there existsz∈∆Isuch thatR1I(x, z) andRI2(z, y) hold. By the inductive assumption of (14), there existsz0 ∈ ∆I0 such that Z(z, z0) and R1I0(x0, z0) hold, and there exists y0 ∈ ∆I0 such that Z(y, y0) and R2I0(z0, y0) hold. Since RI10(x0, z0) and R2I0(z0, y0) hold, we have that (R1◦R2)I0(x0, y0) holds, i.e.RI0(x0, y0) holds.

– CaseR=R1tR2, where R1 andR2 are roles ofLspΦ,∃, is trivial.

– CaseR=R1, whereR1 is a role of LspΦ,∃: Since RI(x, y) holds, there exists x0, . . . , xk ∈∆I such thatx0 =x, xk =y and, for 1 ≤i≤k, RI1(xi−1, xi) holds. Letx00=x0. For each 1≤i≤k, sinceZ(xi−1, x0i−1) andRI1(xi−1, xi) hold, by the inductive assumption of (14), there exists x0i ∈ ∆I such that Z(xi, x0i) and RI10(x0i−1, x0i) hold. Hence,Z(xk, x0k) and (R1)I0(x00, x0k) hold.

Lety0 =x0k. Thus,Z(y, y0) andRI0(x0, y0) hold.

– CaseR = (D?), where D is a concept of LspΦ: By the definition of (D?)I, we have thatDI(x) holds andx=y. By the inductive assumption of (13), DI0(x0) holds, and thereforeRI0(x0, x0) holds. By choosingy0=x0, we have thatZ(y, y0) andRI0(x0, y0) hold.

– CaseI∈ΦandR=r: The assertion for this case follows from (5).

The assertion (15) can be proved analogously as for (14) except for the case S = (¬C)?, where C is a concept of LspΦ. The proof for this case is as follows.

Suppose Z(x, x0) andSI0(x0, y0) hold. Thus, (¬C)I0(x0) holds andx0 =y0. By the contrapositive of the inductive assumption of (13), it follows that (¬C)I(x) holds. By choosing y=x,Z(y, y0) andSI(x, y) hold.

Consider the assertion (13). SupposeZ(x, x0) andCI(x) hold, whereC is a concept ofLspΦ. We show that CI0(x0) holds. The cases when C is of the form

>,⊥,A,DtD0 or DuD0 are trivial.

– CaseC=∃R.D, whereR is a role ofLspΦ,∃ andDis a concept of LspΦ: Since (∃R.D)I(x) holds, there existsy ∈∆I such that RI(x, y) and DI(y) hold.

By the inductive assumption of (14) (proved earlier), there existsy0 ∈∆I0 such thatZ(y, y0) andRI0(x0, y0) hold. By the inductive assumption of (13), DI0(y0) holds. Therefore,CI0(x0) holds.

– CaseC = ∀S.D, where S is a role of LspΦ,∀ and D is a concept of LspΦ: Let y0 be an arbitrary element of∆I0 such thatSI0(x0, y0) holds. We show that

(15)

DI0(y0) holds. By the inductive assumption of (15) (proved earlier), there existsy∈∆I such thatZ(y, y0) andSI(x, y) hold. Since (∀S.D)I(y) holds, it follows thatDI(y) holds. Therefore, by the inductive assumption of (13), it follows thatDI0(y0) holds.

– CaseO∈ΦandC={a}: Since{a}I(x) holds, we have thatx=aI. By the condition (7), it follows thatx0 =aI0. HenceCI0(x0) holds.

– CaseSelf ∈Φ and C =∃r.Self: Since (∃r.Self)I(x) holds, we have that rI(x, x) holds. By the condition (12), it follows thatrI0(x0, x0) holds. Hence CI0(x0) holds.

– CaseQ∈Φ and C = (≥n r.D), where D is a concept of LspΦ: By the con- dition (8), there exists a bijectionh:{y |rI(x, y)} → {y0|rI0(x0, y0)}such thath⊆Z. Since (≥n r.D)I(x) holds, there exist pairwise differenty1, . . . , yn ∈∆I such thatrI(x, yi) and DI(yi) hold for every 1≤i≤n. For each 1≤i≤n, lety0i=h(yi). Thus,Z(yi, y0i) holds. By the inductive assumption of (13), it follows thatDI0(y0i) holds. SincerI0(x0, y0) and DI0(y0i) hold for 1 ≤ i ≤n, and yi 6=yj for 1 ≤ i 6=j ≤ n, it follows that (≥n r.D)I0(x0) holds, which meansCI0(x0) holds.

– Case{Q, I} ⊆ΦandC= (≥n r−1.D), whereD is a concept ofLspΦ, can be proved analogously to the above case.

– Case Q ∈ Φ and C = (≤ n r.(¬D)), where D is a concept of LspΦ: For the sake of contradiction, supposeCI0(x0) does not hold. Thus, (¬C)I0(x0) holds, which means (≥(n+ 1)r.(¬D))I0(x0) holds. By the condition (8), there exists a bijection h : {y | rI(x, y)} → {y0 | rI0(x0, y0)} such that h⊆ Z. Since (≥(n+ 1)r.(¬D))I0(x0) holds, there exist pairwise different y01, . . . , yn+10 ∈ ∆I0 such that rI0(x0, y0i) and (¬D)I0(yi0) hold for all 1 ≤ i≤n+ 1. For each 1≤i≤n+ 1, let yi =h−1(y0i). Sincehis a bijection, y1, . . . , yn+1are pairwise different, and by the definition ofh,rI(x, yi) holds for every 1≤i ≤n+ 1. For 1 ≤i ≤n+ 1, since (¬D)I0(y0i) holds, by the contrapositive of the inductive assumption of (13), it follows that (¬D)I(yi) holds. Thus, (¬C)I(x) holds, which contradicts the assumption thatCI(x) holds. Therefore,CI0(x0) holds.

– Case{Q, I} ⊆ΦandC= (≤n r−1.(¬D)), whereD is a concept ofLspΦ, can be proved analogously to the above case.

– CaseU ∈Φ andC=∀U.D, whereD is a concept ofLspΦ: Lety0 ∈∆I0. By the condition (11), there existsy∈∆I such thatZ(y, y0) holds. SinceCI(x) holds, it follows thatDI(y) holds. By the inductive assumption of (13), it follows thatDI0(y0) holds. HenceCI0(x0) holds.

– Case U ∈ Φ and C = ∃U.D, where D is a concept of LspΦ: Since CI(x) holds, there exists y ∈ ∆I such that DI(y) holds. By the condition (10), there existsy0 ∈∆I0 such thatZ(y, y0) holds. By the inductive assumption of (13), it follows thatDI0(y0) holds. HenceCI0(x0) holds.

Proof of Theorem 4.6

First, supposeZis anLΦ-comparison betweenIandI0 such thatZ(x, x0) holds.

We show thatx≤spΦ x0. LetC be an arbitrary concept of LspΦ such that CI(x)

Références

Documents relatifs

Outline of the paper: In Sect. 2, we introduce the syntax and proof theory of some constructive modal logics, and in Sect. 3, we give our definition of a justification logic

The focus of the paper is the analysis of the programming style to be used for model- ing the maximum bisimulation problem in a way as declarative way as possible in some dialects

Our definition of concept patterns deviate from the one used in the literature with respect to the following features: (i) our definition of concept patterns is more liberal in

This framework, by offering action rewriting and knowledge partialization, represents a viable and formal environment to develop decision making and planning techniques for

Concept learning in description logics (DLs) is similar to binary classification in traditional machine learning. The difference is that in DLs objects are described not only

We introduce Horn simulations between interpretations and show that an ALC concept is equivalent to a Horn-ALC concept iff it is preserved under Horn simulations.. Using the fact

In the area of proof-theoretic applications, these fragments emerged under the name reflection calculi, as they proved to be a convenient tool to study the independent

After introducing the basic definitions and the semantics for DL on- tologies and queries annotated with provenance information, we present a completion algorithm and show that