Presentation is loading. Please wait.

Presentation is loading. Please wait.

LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,

Similar presentations


Presentation on theme: "LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,"— Presentation transcript:

1 LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia, Rui Zhang and Vincenzo Maltese

2 Truth relation (true in a world)  Given a Kripke Model M =, a proposition P ∈ L ML and a possible world w ∈ W, we say that “w satisfies P in M” or that “P is satisfied by w in M” or “P is true in M via w”, in symbols: M, w ⊨ P in the following cases: 1. P atomicw ∈ I(P) 2. P =  QM, w ⊭ Q 3. P = Q  TM, w ⊨ Q and M, w ⊨ T 4. P = Q  TM, w ⊨ Q or M, w ⊨ T 5. P = Q  TM, w ⊭ Q or M, w ⊨ T 6. P = □ Q for every w’ ∈ W such that wRw’ then M, w’ ⊨ Q 7. P = ◊ Q for some w’ ∈ W such that wRw’ then M, w’ ⊨ Q NOTE: wRw’ can be read as “w’ is accessible from w via R” 2

3 Kinds of frames  Serial: for every w ∈ W, there exists w’ ∈ W s.t. wRw’  Reflexive: for every w ∈ W, wRw  Symmetric: for every w, w’ ∈ W, if wRw’ then w’Rw 3 123 12 12 3

4 Kinds of frames  Transitive: for every w, w’, w’’ ∈ W, if wRw’ and w’Rw’’ then wRw’’  Euclidian: for every w, w’, w’’ ∈ W, if wRw’ and wRw’’ then w’Rw’’ 4 123 12 3

5 Semantics: Kripke Model  Given the Kripke model M = with: W = {1, 2}, R = {, }, I(A) = {1,2} and I(B) = {1} (a) Say whether the frame is serial, reflexive, symmetric, transitive or Euclidian. It is serial, transitive and euclidian. (b) Is M, 1 ⊨ ◊  B? Yes, because 2 is accessible from 1 and M, 2 ⊨  B (c) Prove that □ A is satisfiable in M By definition, it must be M, w ⊨ □ A for all w in W. It is satisfiable because M, 2 ⊨ A and for all worlds w in {1, 2}, 2 is accessible from w. 5 12 A, B A

6 Semantics: Kripke Model  Given the Kripke model M = with: W = {1, 2, 3}, R = {,,, }, I(A) = {1, 2} and I(B) = {2, 3} (a) Say whether the frame is serial, reflexive, symmetric, transitive or Euclidian. It is serial. (b) Is M, 1 ⊨ ◊(A  B)? By definition, there must be a world w accessible from 1 where A  B is true. Yes, because A  B is true in 2 and 2 is accessible from 1. 6 12 3 AA, BB

7 Semantics: Kripke Model  Given the Kripke model M = with: W = {1, 2, 3}, R = {,,, }, I(A) = {1, 2} and I(B) = {2, 3} (c) Is □ A satisfiable in M? By definition, it must be M, w ⊨ □ A for all worlds w in W. This means that for all worlds w there is a world w’ such that wRw’ and M, w’ ⊨ A. For w = 1 we have 1R3 and M, 3 ⊨  A. Therefore the response is NO. 7 12 3 AA, BB

8 Semantics: Kripke Model  Given the Kripke model M = with: W = {1, 2, 3}, R = {,,, } I(A) = {1, 2} and I(B) = {1, 3} (a) Say whether the frame is serial, reflexive, symmetric, transitive or Euclidian. It is serial (b) Is M, 1 ⊨ ◊  A? By definition, there must be a world w accessible from 1 where  A is true. Yes, because A is false in 3 and 3 is accessible from 1. 8 123 A, BAB

9 Semantics: Kripke Model  Given the Kripke model M = with: W = {1, 2, 3}, R = {,,, } I(A) = {1, 2} and I(B) = {1, 3} (c) Is ◊B satisfiable in M? We should have that M, w ⊨ ◊B for all worlds w. This means that for all worlds w there is at least a w’ such that wRw’ and M, w’ ⊨ B. However for w = 3 we have only 3R2 and B is false in 2. Therefore the response is NO. 9 123 A, BAB


Download ppt "LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,"

Similar presentations


Ads by Google