Modal and temporal logic

Size: px
Start display at page:

Download "Modal and temporal logic"

Transcription

1 Modal and temporal logic N. Bezhanishvili I. Hodkinson C. Kupke Imperial College London 1 / 83

2 Overview Part II 1 Soundness and completeness. Canonical models. 3 lectures. 2 Finite model property. Filtrations. 2 lectures. 3 Decidability. 2 lecture. 4 Modal µ-calculus. 2 lectures. 2 / 83

3 Syntactic approach Let us fix a class C of frames. We need to have, whenever possible, an effective criterion (algorithm) deducing whether a formula A is valid in C. If C is infinite then going through all the frames might take infinite time. Even if C is finite, but contains an infinite frame, the procedure might still take infinite time. In order to overcome this difficulty we will develop a syntactic (axiomatic) approach to modal logic. The idea of this approach is to find a small (possibly finite) number of formulas (axioms of our logic) and set some rules of inference which enable us to derive other formulas (theorems of our logic). 3 / 83

4 Idea The axioms are given truths. They should be valid (perhaps over some given class of frames). The rules allow us to derive new truths from old. If the formulas above the line in a rule are already derived, the rule allows us to derive the formula underneath the line. Rules should be chosen so as not to lead us from truth into falsehood. Formulas derived from valid formulas should also be valid. Here, we mean valid in Kripke semantics. Axiomatic approach is simple, powerful, flexible, and in common use. 4 / 83

5 Logics of classes of frames In Part I we defined when a formula A is valid in a class C of frames. A formula A is valid in a class C of frames if it is valid in every frame in C. That is, A is true in every element of every frame in C under every assignment. Given a class C of frames we can consider the set of all formulas valid in C. This set is called the logic of C and will be denoted by Log(C). In formal terms Log(C) = {A : A is a formula and F C, A is valid in F}. 5 / 83

6 Let C be the class of all frames and let C ref be the class of all reflexive frames. That is, such frames F = (W, R) that for each x W we have R(x, x). What can we say about Log(C) and Log(C ref )? Is any of these two sets included in the other? Proposition 1 Let C 1 and C 2 be classes of frames. If C 1 C 2, then Log(C 2 ) Log(C 1 ). Proof. Let A Log(C 2 ). Then A is valid in every frame in C 2. But since every frame in C 1 is in C 2, the formula A is also valid in every frame in C 1. This means that A Log(C 1 ). 6 / 83

7 From the above proposition we deduce that Log(C) Log(C ref ). To show that the inverse inclusion does not hold we note that the formula A A is valid in C ref, but is not valid in C. Therefore, the formula A A belongs to Log(C ref ), but does not belong to Log(C). Thus, these two logics are different. Exercise 2 Show that the logics of the classes of reflexive, transitive, serial and symmetric frames, respectively, are all different. If a class C consists of a single frame F, we denote the logic of C by Log(F) instead of Log({F}). 7 / 83

8 Exercise 3 1 Show that if a frame F is a p-morphic image of a frame G, then Log(G) Log(F). 2 Show that Log(N) is contained in the logic of a single reflexive point. 3 Recall that a frame (W, R) is serial if for each s W there exists t W such that R(s, t). Show that the logic of any class C of serial frames is contained in the logic of a single reflexive point. 8 / 83

9 Note that two different frame classes can have the same logic. For example, let C and C irref be the classes of all frames and all irreflexive frames, respectively. As we know from Part I (Lemmas 32 and 33) every frame is a p-morphic image of an irreflexive frame. Therefore, a formula is valid in the class of all frames iff it is valid in the class of all irreflexive frames. This means that Log(C) = Log(C irref ). (This is just a different way of formulating Theorem 34 of Part I.) 9 / 83

10 Maximal logics There exists a characterization of the maximal logics. Theorem 4 Let C be a non-empty class of frames. Then Log(C) is contained in the logic of a single reflexive point or Log(C) is contained in the logic of a single irreflexive point. Proof. Exercise. Use (3) of Exercise 3. This theorem is known as the Makinson theorem. 10 / 83

11 David Makinson (LSE) 11 / 83

12 Log( ) Log(F) Log(F ) Log(C) Figure: The lattice of logics C is the class of all frames. F is one reflexive point, F is one irreflexive point. 12 / 83

13 We have seen in Part I that for each A, B the formula (A B) ( A B) is valid in every Kripke frame. Exercise 5 1 Recall the proof of this fact. 2 Prove that if formulas A and A B are valid in a frame F, then the formula B is also valid in F. 3 Prove that if a formula A is valid in a frame F, then the formula A is also valid in F. Now we will give a formal syntactic definition of (normal) modal logics. 13 / 83

14 By a propositional tautology in the modal language we will mean any instance of valid propositional formulas (tautologies in the propositional language). E.g., p (q p) is a tautology in the propositional language. Therefore, A (B A) is a propositional tautology in the modal language (for each modal formulas A, B). E.g., p p is a tautology in the propositional language. So, A A is a propositional tautology in the modal language (for each modal formula A). Exercise 6 Are p p and p p propositional tautologies in the modal language? 14 / 83

15 Normal modal logics Definition 7 A normal modal logic (if it is clear from the context we will drop the worlds normal and modal ) L is a set of formulas that contains all propositional tautologies, the so called K-axioms: and is closed under the rules of (A B) ( A B) modus ponens (MP): A, A B B necessitation (N): A A 15 / 83

16 This means that L is a set of formulas such that for each A, B the formula (A B) ( A B) L and (1) if A L and A B L, then B L (2) if A L, then A L. Let L be a modal logic. Instead of A L we often write L A and will read A is a theorem of L. The collection of all formulas is called the inconsistent logic. 16 / 83

17 Proposition 8 For each class C of frames, Log(C) is a normal modal logic. Proof. Exercise. The inconsistent logic is equal to Log( ). Let K be the set of all formulas that we can generate starting from the propositional tautologies and K-axioms by applying (MP) and (N). We can show that K be the smallest normal modal logic (exercise). 17 / 83

18 This means that A K ( K A) iff if there are formulas A 1,... A n such that A n = A each A i (1 i n) is either a propositional tautology a K-axiom or is obtained from some of A 1,..., A i 1 by (MP) or (N). 18 / 83

19 Example Let us prove K (A B) A. K A B A, (Propositional tautology) K (A B A), (N) K (A B A) ( (A B) A), (K-axiom) K (A B) A (MP). Exercise 9 1 Prove that K A B implies K A B. 2 Prove that K A B implies K A B. 3 Prove that K (A B) A B. 4 Prove that K (A B) A B. 19 / 83

20 We will be using the following simple proposition throughout. Proposition 10 1 If a modal formula A B is a propositional tautology, then K A implies K B. 2 K A and K B imply K A B. 3 If K A B and K B C, then K A C. 4 K A B and K C D, then K (A C) (B D). Proof. We only prove (2) and (3). Proofs for (1) and (4) are similar. K A (B (A B)), (Propositional tautology) K A B, from K A and K B by applying (MP) twice. K [(A B) (B C)] (A C), (Propositional tautology) K A C, by K A B, K B C, (2) and (MP). 20 / 83

21 Recall that C ref is the class of all reflexive frames. We want to find an axiomatic system that as we will see later characterizes Log(C ref ). Let KT be the set of formulas that we can generate starting form K-axioms, the reflexivity axiom A A and applying the rules of (MP) and (N). This we denote by KT = K + ( A A). Then KT is the smallest normal modal logic is the smallest extension of K that contains the reflexivity axiom (exercise). In the same way we can define the logics K4 = K + ( A A), S4 = K + ( A A, A A) ( KT4 ) If you also add A A, you get S5. See Chagrov and Zakharyaschev p. 116 or Blackburn et al. p. 193 for a longer list. 21 / 83

22 Definition 11 We say that a logic L is sound with respect to a frame class C if L Log(C). That is, if every formula in L is valid in every frame in C. We say that a logic L is complete with respect to a frame class C if Log(C) L. That is, if every formula valid in every frame in C belongs to L. Next we will discuss the canonical model construction. This construction is used for proving completeness of various normal modal logics and is certainly one of the most well-known and well-applied methods of modal logic. 22 / 83

23 The method of canonical models was introduced in 1966 by D. Scott and J. Lemmon ( ) and independently by Makinson (1966), Creswell (1967) and Schütte (1968). Dana Scott 23 / 83

24 Soundness and completeness for K We are going to show that Theorem 12 A formula is a theorem of K iff it is valid in every Kripke frame. That is, Log(C) = K, where C is the class of all frames. Later, we will prove the same result for other normal modal logics. is called soundness (proofs are sound: they do not prove false things). is called completeness (the proof system can prove all valid formulas). So we get a syntactic handle on truth. 24 / 83

25 Soundness of K (easy) Proposition 13 Any theorem of K is valid in every Kripke frame. Proof. Follows from Exercise 5 Completeness is harder / 83

26 Consistency Let Γ (Gamma) be a set of formulas (maybe infinite!). The following definition is good for any normal modal logic L. Definition 14 If A is a formula, Γ L A means: L (B 1... B n ) A for some formulas B 1,..., B n Γ. Idea: Γ L A says that A follows (is provable) from assumptions in Γ. These assumptions need not be valid. Example: {p, p q} K q, because (p (p q)) q is a propositional tautology, so that K (p (p q)) q). 26 / 83

27 Definition 15 Γ is said to be L-consistent if Γ L. For now, consistent will mean K-consistent. Consistency is one of our most vital notions. 27 / 83

28 Satisfiable sets are consistent Definition 16 For a world t of a model M, we write M, t = Γ if M, t = B for all B Γ. Γ is said to be satisfiable if M, t = Γ for some model M and some world t of M. This just generalises satisfiability from formulas to (possibly infinite) sets of formulas. Exercise 17 Show that if a set Γ of formulas is satisfiable then it is consistent. 28 / 83

29 Proving completeness To show completeness it is (more than) enough to show the converse of Exercise 17. Theorem 18 (completeness for K) Any consistent set is satisfiable. For, if A is valid, the set { A} isn t satisfiable. By the theorem, it must be inconsistent: K ( A ). So K A. But A A is a propositional tautology, so is a K-axiom. So by (MP) (a rule of K), we obtain that K A, and A is a theorem of K, as required. 29 / 83

30 So let Γ 0 be a (K-)consistent set of formulas. We have to build a model of Γ 0. What will the model be made of? Answer: syntactic objects, namely maximal consistent sets of formulas. 30 / 83

31 The idea Let M = (W, R, h) be any model, and t W a world of it. As we said (Exercise 17), the set (say Γ t ) of all formulas true at t in M is consistent. And it contains A or A, for any formula A. So (exercise) no larger set is consistent. It is maximal consistent. We try to represent t by this set Γ t. (It doesn t matter what t actually is, after all.) Replace each t in M by its Γ t. We get a new set of worlds: W = {Γ t : t W }. W is made of (maximal consistent) sets of formulas! It is syntactic. 31 / 83

32 Recovering h Suppose we forget which t each Γ t came from, and just take W as a set of sets of formulas. Can we recover h and R? First, h. Let p be an atom. We know, for any t W : t h(p) M, t = p p Γ t. So we can let h (p) = {Γ W : p Γ}. Then p is true at Γ iff it s in Γ! This is the h we wanted, as t h(p) iff Γ t h (p) (check it!) 32 / 83

33 Recovering R Now for R. In M, we know if R(t, u) and M, t = A then M, u = A. That is, if R(t, u) and A Γ t then A Γ u. So why not try: for Γ, W, let R (Γ, ) iff for any A, if A Γ then A ( delta ). Here, we only get R(t, u) R (Γ t, Γ u ), so this is perhaps bigger than the R we really wanted. Anyway, we obtain a model M = (W, R, h ). 33 / 83

34 M is well-behaved We may not expect A Γ t M, Γ t = A R may be too big. But we get it anyway! This is because R is just small enough to give: Exercise 19 For any formula A and Γ t W, show M, Γ t = A iff A Γ t. 34 / 83

35 (Hint.) The proof goes via an easy induction, using that for all Γ t, u W and all formulas A, B: Γ t A Γ t and B Γ t iff A B Γ t A Γ t iff A / Γ t if A Γ t and R (Γ t, u ) then A u if A / Γ t then there is u with R (Γ t, u ) and A / u. These properties are easily seen to be true (work out the details). 35 / 83

36 The real story This is all very well, but we needed a model M to start with. We re given only a consistent set Γ 0, and we have to make a model of it. But this M gives us a clue: why not take all maximal consistent sets as the worlds! Set up h, R as above. Establish the 5 properties just listed (dry but necessary). Then we can prove M, Γ = A iff A Γ. Next, show Γ 0 is contained in some maximal consistent set Γ. Then every formula of Γ 0 will be true at Γ! We will have our model. 36 / 83

37 Maximal consistent sets Definition 20 A set Γ of formulas is said to be maximal consistent (a MCS ) if it is consistent but no larger set is consistent (always relative to K here). Proposition 21 (Lindenbaum s lemma) Any consistent set Γ 0 extends to a MCS. 37 / 83

38 Proof. Enumerate all L-formulas, as A 0, A 1,.... We define a chain Γ 0 Γ 1 of consistent sets. Γ 0 is given, and is consistent. Inductively, define { Γ n {A n } if this is consistent Γ n+1 = otherwise. Γ n Then each Γ n is consistent. Their union, Γ, is therefore consistent too (for a proof of from Γ would be a proof from some Γ n ). Γ is maximal consistent. For, let A be a formula with A / Γ. We know A = A n for some n. By construction, Γ n {A} is inconsistent (else Γ n+1 = Γ n {A} Γ). So Γ {A} is inconsistent. This means that no set bigger than Γ is consistent. And Γ contains Γ / 83

39 Properties of MCSs Next we discuss some important properties of MCSs. Lemma 22 1 If Γ is consistent and A is a formula, then at least one of Γ {A}, Γ { A} is also consistent. 2 If Γ is MCS, then A Γ or A Γ. 39 / 83

40 Proof. (1) Otherwise, there are B 1,..., B n, C 1,..., C m Γ with K (B 1... B n A) and K (C 1... C m A). So K (B 1... B n ) A and K (C 1... C m ) A (instance of propositional tautology). Thus, K (B 1... B n C 1... C m ) (A A) (instance of propositional tautology), and therefore, K (B 1... B n C 1... C m ). So Γ is inconsistent: contradiction. (2) If A, A Γ then as K (A A), Γ K, so Γ is inconsistent. So at most one of them is in Γ. By (1), Γ {A} or Γ { A} is consistent. By maximality, Γ = Γ {A} or Γ = Γ { A}. So A Γ or A Γ. 40 / 83

41 Properties of MCSs Lemma 23 Let Γ be a MCS. Then for all formulas A, B the following holds: 1 Γ K A iff A Γ. 2 A, B Γ iff A B Γ 41 / 83

42 Proof. (1) If A Γ, then as K (A A). So we have Γ K A by definition. Conversely, suppose Γ K A. So there exist B 1,..., B n Γ such that K (B 1 B n ) A. This means that K (B 1 B n A). By Lemma 22(2), we have that A Γ or A Γ. Suppose A / Γ. Then A Γ. But this implies that Γ is inconsistent contradiction. Thus, A Γ. (2) If A B Γ, then as K (A B A), we have Γ K A. By 1st part, A Γ. Similarly, B Γ. If A, B Γ then as K (A B) (A B), Γ K A B, so A B Γ. 42 / 83

43 Canonical model Now let W = {all MCSs}. We write Γ, for elements of W. Define R(Γ, ) iff for any formula A, if A Γ then A. For any atom p L, define h(p) = {Γ : p Γ}. This is just as before. We now have a model M = (W, R, h). It is called the canonical model for K. It is very important and we will study it at some length. 43 / 83

44 Lemma 24 (truth lemma) For each Γ W and each formula A: M, Γ = A iff A Γ 44 / 83

45 Proof. By induction on A. For, we have M, Γ = and (exercise) Γ. The case for A an atom is by definition of h. Inductively, assume the lemma for A, B. For A, we have M, Γ = A iff M, Γ = A, iff (inductive hypothesis) A / Γ, iff (by lemma 22, as Γ is maximal consistent) A Γ. And M, Γ = A B iff M, Γ = A and M, Γ = B, iff (inductively) A Γ and B Γ, iff (lemma 23) A B Γ. Now the big case: A. Suppose A Γ. By definition of R, for any W with R(Γ, ), we have A. So (inductively) M, = A. By definition of =, we see that M, Γ = A. 45 / 83

46 continuation. Conversely, if A / Γ, then consider the set 0 = { A} {B : B Γ}. This is consistent. For otherwise, K (B 1... B n A), for some B 1,..., B n Γ. So K (B 1... B n ) A. Crucially, by (N), K (B 1... B n A). Using the normality axiom repeatedly (work out the details), we then get K ( B 1... B n ) A. So Γ K A. By lemma 23, A Γ, contradicting our assumption. 46 / 83

47 continuation. By Lindenbaum s Lemma (proposition 21), there is a MCS 0. Then A. By lemma 23, A /. By the induction hypothesis, M, = A. But as 0, we have B Γ B, and so R(Γ, ). So M, Γ = A, as required. 47 / 83

48 Completeness is proved For if Γ 0 is consistent, extend it to a MCS Γ (proposition 21). By the truth lemma, M, Γ = A for every A Γ 0. So Γ 0 has a model. 48 / 83

49 We showed any K-theorem is valid (= valid in the class of all frames), and vice versa: soundness and completeness for K over the class of all frames. K is the modal logic of all frames. We want to extend this: to find sound and complete axiomatisations for other classes of frames, such as the class of all reflexive frames (satisfying x R(x, x)). the class of all transitive frames (satisfying xyz(r(x, y) R(y, z) R(x, z))). the class of all dense/discrete linear frames (useful in temporal logic) etc.! 49 / 83

50 Examples Recall KT = K + ( A A) (for all A) K4 = K + ( A A) (for all A) Proposition K is sound over the class of all frames. 2. KT is sound over the class of all reflexive frames. 3. K4 is sound over the class of all transitive frames. Proof. 1. We know this. 2. We only need to show additionally that A A is valid in all reflexive frames, which is easy. 3. Exercise! 50 / 83

51 Completeness, canonical model Let L be a normal modal logic. Question: Can we generalise the proof of completeness for K to L? All our completeness work goes through for L. The notion of (maximal) consistency works for L. The canonical model M (of all maximal L-consistent sets) exists, and the truth lemma holds for it. And any L-consistent set extends to a MCS. So given any L-consistent formula, we can build a model of it the canonical L-model, M. But is M s frame a frame where all L-theorems are valid? If it is, we have completeness. 51 / 83

52 Eg: the class C ref of reflexive frames We know that all formulas of the form A A are valid in reflexive frames. So KT = K + ( A A) is sound over C ref. Is it complete for C ref? Proposition 26 The canonical model M for KT is based on a reflexive frame. So KT is sound and complete over C ref. 52 / 83

53 Proof. If Γ is a world of M, we want R(Γ, Γ). By definition of R, that means A Γ must force A Γ (for any A). But Γ is a MCS. So for any A, Γ KT A iff A Γ (lemma 23 for KT). Now if Γ KT A, then Γ KT ( A A) (axiom of KT), so Γ KT A and, thus, A Γ. So R is indeed reflexive! Exercise 27 Prove using the canonical model construction that the logics K4, S4 and S5 are sound and complete (with respect to which frame classes?). 53 / 83

54 Sahlqvist s theorem (1975) Probably the best generalisation of proposition 26 is by H. Sahlqvist. Recall from Part I the definition of a Sahlqvist formula (Part I, page 38) 54 / 83

55 Sahlqvist s theorem Theorem 28 Let A be a Sahlqvist formula. Let L A be the smallest modal logic that contains K-axioms, axiom A and is closed under (MP) and (N). Then A is valid in the frame of the canonical model for L. (We say A is canonical. See Blackburn et al. page 204.) This together with the Sahlqvist correspondence theorem (Part I, page 41), give us that if A is a Sahlqvist formula, then L A is sound and complete for the class C L of the frames with the corresponding first-order property! And, moreover, by the Sahlqvist algorithm this first-order property can be extracted effectively. 55 / 83

56 Finite model property Suppose we proved that a normal modal logic L is complete with respect to a class C of Kripke frames; that is L = Log(C). The class C might be huge. It might consist of infinitely many infinite frames. So this still does not give us a criterion for deciding whether a given formula A belongs to L. However, if we manage to show a stronger version of completeness a completeness with respect to a class of finite frames then, as we will see below, we are one step closer to having such a criterion. 56 / 83

57 Definition 29 We will say that a normal modal logic L has the finite model property if there exists a (not necessarily finite) class C of finite frames such that L = Log(C). It would be more logical to call this property the finite frame property, as some authors do. But the finite model property is a fixed terminology by now. So we will stick to it. 57 / 83

58 There are a few methods for proving finite model property for modal logics. The most popular and widely applied among those are filtration and selective filtration. In what follows we will discuss the method of filtration and after that we will sketch the basic idea of selective filtration. 58 / 83

59 Krister Segerberg 59 / 83

60 Subformulas Subformulas are easier to recognize than to define! Thinking of the formation tree of A, the subformulas are its subtrees. (The proper definition is by induction on A; see Blackburn et al.) E.g., the subformulas of A = (p ( p)) are: p,, p (two distinct ps!), p, ( p), p ( p), and also: (p ( p)), (p ( p)), (p ( p)) = A. 60 / 83

61 Filtration We will prove the finite model property for K: Theorem 30 (Filtration theorem) Let A be a satisfiable modal formula. Then A has a finite model in fact, one with at most 2 n worlds, where n is the number of subformulas of A. 61 / 83

62 Why does this imply the finite model property for K? Let C fin be the class of all finite frames. Then obviously K Log(C fin ). Now suppose A / K. Then, by the completeness of K, there exists a model (for example the canonical model), M such that A is satisfied in M. By theorem 30, A is satisfied in a finite model M. This means that A is not valid in C fin, i.e., A / Log(C fin ). So K = Log(C fin ). 62 / 83

63 Why is the finite model property true? The formal proof may look frightening, but is just what we get from writing down the picture-idea in notation. 63 / 83

64 Proof of finite model property Fix a model M = (W, R, h) satisfying A. Define an equivalence relation on W by t u (M, t = B M, u = B for all subformulas B of A). Let W be the set of -equivalence classes. Then W 2 n. For, any two worlds making true the same subformulas of A are -equivalent. So there are at most as many -inequivalent worlds as there are sets of subformulas that is, at most 2 n. 64 / 83

65 Define R on W by: R (X, Y ) iff R(t, u) for some t X, u Y. (Here, X, Y W.) For each atom occurring in A we let h (p) = {X W : M, t = p for some t X}. We have a finite model M = (W, R, h ). It is called a standard filtration of M. But is it a model of A? 65 / 83

66 Lemma 31 (Filtration lemma) For any subformula B of A, Proof. M, X = B M, t = B for any X W and any t X. By structural induction on B. Pick X W and t X. If B is an atom p, M, X = p iff X h (p) iff (by def.) M, u = p for some u X, iff M, t = p) (because X is a -class so all its elements agree on p). If B =, it s clear M, X = and M, t =. 66 / 83

67 continuation. The case is easy. Assume that B C is a subformula of A. Then B, C are also subformulas of A; assume (inductively) the lemma for them. Then M, X = B C iff M, X = B and M, X = C, iff (by the inductive hypothesis) M, t = B and M, t = C, iff M, t = B C. The case of is similar (exercise). 67 / 83

68 continuation. Finally, suppose that B is a subformula of A, and assume the lemma for B (B is also a subformula of A, so can use ind. hyp.). Assume M, X = B; we prove M, t = B. Pick any u W with R(t, u). Let Y be the -class of u. By definition of R we have R (X, Y ). By assumption, M, X = B, so M, Y = B. But u Y, so inductively, M, u = B. This is true for all u with R(t, u). So M, t = B. 68 / 83

69 continuation. Now assume M, t = B. Take Y W with R (X, Y ). We show M, Y = B. By definition of R, there are t X and u Y with R(t, u). As t t, and B is a subformula of A, M, t = B. So M, u = B. Inductively, M, Y = B. Because Y was arbitrary (with R (X, Y )), we get M, X = B, as required. 69 / 83

70 It is obvious that the filtration lemma implies the filtration theorem (exercise). Thus we proved that K has the finite model property. Can we do the same for other normal modal logics? Sometimes yes, sometimes not. In the general case we need to prove that the underlying frame of M validates the logic. If we can do it, then the logic has the finite model property. 70 / 83

71 Reflexive frames We first consider the logic KT of all reflexive frames. Let A be satisfiable in a model M = (W, R, h) based on a reflexive frame (W, R). We filtrate it as before. The obtained finite model then satisfies A. It is left to be shown that the underlying frame of M is reflexive. 71 / 83

72 Thus we need to show that for each element X of M we have R (X, X). But this is obvious since for each s X we have R(s, s) (check the details). We deduce that the logic KT has the finite model property. 72 / 83

73 Transitive frames Now let us consider the logic K4 of all transitive frames. We first note that if we filtrate a model based on a transitive frame, the relation R may no longer be transitive. Exercise 32 Construct a filtration of a model based on a transitive frame that is not transitive. So what do we do? 73 / 83

74 We will modify the definition of R. For each X, Y W we set XR Y iff M, s = B implies M, t = B B for each s X and t Y and B a subformula of A. Let M = (W, R, h ), where R is as above and W and h as in the standard filtration (slide 65). M is called the Lemmon Filtration. Lemma 33 (Filtration lemma) For any subformula B of A, M, X = B M, s = B for any X W and any s X. 74 / 83

75 Proof. We first show that if s, t W, s X, t Y and R(s, t), then R (X, Y ). So suppose for a subformula B of A we have M, s = B. We need to show that M, t = B B. Since R(s, t), we have that M, t = B. Now if M, t = B, then there exists u W such that R(t, u) and M, u = B. But since R is transitive we have R(s, u). So M, u = B contradicts M, s = B. Thus, R(s, t) implies R (X, Y ). 75 / 83

76 continuation. Next we proceed by structural induction on B. The boolean cases are simple (check!). Now let M, s = B, where B is a subformula of A. Then for each Y such that R (X, Y ) we have M, t = B B for t Y. By the ind hyp M, t = B implies M, Y = B and thus M, X = B. Finally, assume M, s = B. Then there exists t W such that R(s, t) and M, t = B. As we showed above, R(s, t) implies R (X, Y ) for t Y. Moreover, by the ind hyp, M, Y = B. Thus, M, X = B. 76 / 83

77 Finally, we need to check that R is transitive. Let R (X, Y ) and R (Y, Z) and suppose M, s = B, for s X and B a subformula of A. Then M, t = B B, for t Y. Then M, t = B implies M, u = B B for u Z and thus R (X, Z). Note that in the proof of transitivity of R we have not used that R is transitive. The transitivity of R was only used in the filtration lemma. So we proved that K4 has the finite model property. Exercise 34 Prove using filtration that S4 and S5 have the finite model property. 77 / 83

78 Selective filtration Next we sketch the basic idea of selective filtration another powerful method for proving the finite model property. If the main idea of filtration is to identify points (split a big model into finitely many blocks), the idea of selective filtration is to select finitely many points from a big model in such a way that by restricting the relation and assignment to this set of selected points we obtain a model still satisfying a given formula. For example we might have a huge model M satisfying the formula p. This means that there are points s and t in M such that R(s, t) and M, t = p. Then obviously we can just select the points s and t, restrict the relation and assignment to {s, t} and the obtained 2-element model will satisfy p. 78 / 83

79 Dov Gabbay Dick de Jongh 79 / 83

80 We will illustrate the selective filtration method on modal logic S5 of all frames with an equivalence relation. Let M = (W, R, h) be a model with R being an equivalence relation and A a formula such that M, s = A for some s W. For each B subformula of A we select a point t W such that R(s, t) and M, t = B (if such a point exists). Let S be the set of all selected points together with the point s. We let M be the model obtained by restricting h and R to S. Then S n + 1, where n is the number of subformulas of A (why?). 80 / 83

81 We first show that for each u, v S we have R(u, v). Indeed, if u, v S, then R(s, u) and R(s, v). Since R is symmetric we have R(u, s) and by transitivity R(u, v). Lemma 35 (truth lemma) For each subformula B of A and each u S we have: M, u = B iff M, u = B. Proof. By structural induction on B. The boolean cases are simple (check!). Suppose M, u = B. Then there exists t S such that R(u, t) and M, t = B. But, by ind hyp, this means that M, t = B and thus M, u = B. 81 / 83

82 continuation. Now let M, u = B, then there is t W such that R(u, t) and M, t = B. But u S so we have R(s, u). By the transitivity of R we get R(s, t). The point t may not belong to S. But by the construction of S, there is t S such that R(s, t ) and M, t = B. By ind hyp, we have M, t = B. Since for each u, v S we have R(u, v) we obtain that R(u, t ). This means that M, u = B. 82 / 83

83 To finish the proof of the finite model property of S5 we only need to note that by restricting the equivalence relation R to S we obtain a frame with an equivalence relation. But this is fairly obvious. In fact, S consists of one equivalence class (why?). Thus, we proved that S5 has the finite model property. Note that the size of the model satisfying the formula A obtained via selective filtration, is n + 1 where n is the number of subformulas of A. Recall that the size of the model, satisfying A obtained via standard and Lemmon filtrations, is 2 n. 83 / 83

Canonical models for normal logics (Completeness via canonicity)

Canonical models for normal logics (Completeness via canonicity) 499 Modal and Temporal Logic Canonical models for normal logics (Completeness via canonicity) Marek Sergot Department of Computing Imperial College, London Autumn 2008 Further reading: B.F. Chellas, Modal

More information

Systems of modal logic

Systems of modal logic 499 Modal and Temporal Logic Systems of modal logic Marek Sergot Department of Computing Imperial College, London utumn 2008 Further reading: B.F. Chellas, Modal logic: an introduction. Cambridge University

More information

An Introduction to Modal Logic V

An Introduction to Modal Logic V An Introduction to Modal Logic V Axiomatic Extensions and Classes of Frames Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, November 7 th 2013

More information

Modal Logic XXI. Yanjing Wang

Modal Logic XXI. Yanjing Wang Modal Logic XXI Yanjing Wang Department of Philosophy, Peking University May 17th, 2017 Advanced Modal Logic (2017 Spring) 1 Completeness via Canonicity Soundness and completeness Definition (Soundness)

More information

Filtrations and Basic Proof Theory Notes for Lecture 5

Filtrations and Basic Proof Theory Notes for Lecture 5 Filtrations and Basic Proof Theory Notes for Lecture 5 Eric Pacuit March 13, 2012 1 Filtration Let M = W, R, V be a Kripke model. Suppose that Σ is a set of formulas closed under subformulas. We write

More information

Madhavan Mukund Chennai Mathematical Institute

Madhavan Mukund Chennai Mathematical Institute AN INTRODUCTION TO LOGIC Madhavan Mukund Chennai Mathematical Institute E-mail: madhavan@cmiacin Abstract ese are lecture notes for an introductory course on logic aimed at graduate students in Computer

More information

ALL NORMAL EXTENSIONS OF S5-SQUARED ARE FINITELY AXIOMATIZABLE

ALL NORMAL EXTENSIONS OF S5-SQUARED ARE FINITELY AXIOMATIZABLE ALL NORMAL EXTENSIONS OF S5-SQUARED ARE FINITELY AXIOMATIZABLE Nick Bezhanishvili and Ian Hodkinson Abstract We prove that every normal extension of the bi-modal system S5 2 is finitely axiomatizable and

More information

Tutorial Exercises 1 (mjs)

Tutorial Exercises 1 (mjs) 499 Modal and Temporal Logic Autumn 2008 Tutorial Exercises 1 (mjs) 1. Suppose that Σ is closed under RM. SOLUTIONS Suppose first that Σ contains C. A derivation of K: 1. Σ (A (A B) ) B PL 2. Σ (A (A B)

More information

Axiomatizing hybrid logic using modal logic

Axiomatizing hybrid logic using modal logic Axiomatizing hybrid logic using modal logic Ian Hodkinson Department of Computing Imperial College London London SW7 2AZ United Kingdom imh@doc.ic.ac.uk Louis Paternault 4 rue de l hôpital 74800 La Roche

More information

Proving Completeness for Nested Sequent Calculi 1

Proving Completeness for Nested Sequent Calculi 1 Proving Completeness for Nested Sequent Calculi 1 Melvin Fitting abstract. Proving the completeness of classical propositional logic by using maximal consistent sets is perhaps the most common method there

More information

Axiomatisation of Hybrid Logic

Axiomatisation of Hybrid Logic Imperial College London Department of Computing Axiomatisation of Hybrid Logic by Louis Paternault Submitted in partial fulfilment of the requirements for the MSc Degree in Advanced Computing of Imperial

More information

De Jongh s characterization of intuitionistic propositional calculus

De Jongh s characterization of intuitionistic propositional calculus De Jongh s characterization of intuitionistic propositional calculus Nick Bezhanishvili Abstract In his PhD thesis [10] Dick de Jongh proved a syntactic characterization of intuitionistic propositional

More information

An Introduction to Modal Logic III

An Introduction to Modal Logic III An Introduction to Modal Logic III Soundness of Normal Modal Logics Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, October 24 th 2013 Marco Cerami

More information

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark Model Theory of Modal Logic Lecture 5 Valentin Goranko Technical University of Denmark Third Indian School on Logic and its Applications Hyderabad, January 29, 2010 Model Theory of Modal Logic Lecture

More information

Propositional Logic: Part II - Syntax & Proofs 0-0

Propositional Logic: Part II - Syntax & Proofs 0-0 Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems

More information

Axiomatizing hybrid logic using modal logic

Axiomatizing hybrid logic using modal logic Axiomatizing hybrid logic using modal logic Ian Hodkinson Department of Computing Imperial College London London SW7 2AZ United Kingdom imh@doc.ic.ac.uk Louis Paternault 4 rue de l hôpital 74800 La Roche

More information

Propositional Dynamic Logic

Propositional Dynamic Logic Propositional Dynamic Logic Contents 1 Introduction 1 2 Syntax and Semantics 2 2.1 Syntax................................. 2 2.2 Semantics............................... 2 3 Hilbert-style axiom system

More information

The McKinsey Lemmon logic is barely canonical

The McKinsey Lemmon logic is barely canonical The McKinsey Lemmon logic is barely canonical Robert Goldblatt and Ian Hodkinson July 18, 2006 Abstract We study a canonical modal logic introduced by Lemmon, and axiomatised by an infinite sequence of

More information

Formal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University

Formal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University Formal Epistemology: Lecture Notes Horacio Arló-Costa Carnegie Mellon University hcosta@andrew.cmu.edu Logical preliminaries Let L 0 be a language containing a complete set of Boolean connectives, including

More information

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1 Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

More information

Modal Logic XX. Yanjing Wang

Modal Logic XX. Yanjing Wang Modal Logic XX Yanjing Wang Department of Philosophy, Peking University May 6th, 2016 Advanced Modal Logic (2016 Spring) 1 Completeness A traditional view of Logic A logic Λ is a collection of formulas

More information

Notes on Modal Logic

Notes on Modal Logic Notes on Modal Logic Notes for PHIL370 Eric Pacuit October 22, 2012 These short notes are intended to introduce some of the basic concepts of Modal Logic. The primary goal is to provide students in Philosophy

More information

Inducing syntactic cut-elimination for indexed nested sequents

Inducing syntactic cut-elimination for indexed nested sequents Inducing syntactic cut-elimination for indexed nested sequents Revantha Ramanayake Technische Universität Wien (Austria) IJCAR 2016 June 28, 2016 Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination

More information

Mathematical Logic. Introduction to Reasoning and Automated Reasoning. Hilbert-style Propositional Reasoning. Chiara Ghidini. FBK-IRST, Trento, Italy

Mathematical Logic. Introduction to Reasoning and Automated Reasoning. Hilbert-style Propositional Reasoning. Chiara Ghidini. FBK-IRST, Trento, Italy Introduction to Reasoning and Automated Reasoning. Hilbert-style Propositional Reasoning. FBK-IRST, Trento, Italy Deciding logical consequence Problem Is there an algorithm to determine whether a formula

More information

Introduction to Modal and Temporal Logic

Introduction to Modal and Temporal Logic Introduction to Modal and Temporal Logic c Rajeev Goré Automated Reasoning Group Computer Sciences Laboratory Australian National University http://arp.anu.edu.au/ rpg Rajeev.Gore@anu.edu.au 6 December

More information

Relational Reasoning in Natural Language

Relational Reasoning in Natural Language 1/67 Relational Reasoning in Natural Language Larry Moss ESSLLI 10 Course on Logics for Natural Language Inference August, 2010 Adding transitive verbs the work on R, R, and other systems is joint with

More information

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)

More information

Gödel s Completeness Theorem

Gödel s Completeness Theorem A.Miller M571 Spring 2002 Gödel s Completeness Theorem We only consider countable languages L for first order logic with equality which have only predicate symbols and constant symbols. We regard the symbols

More information

The Logic of Proofs, Semantically

The Logic of Proofs, Semantically The Logic of Proofs, Semantically Melvin Fitting Dept. Mathematics and Computer Science Lehman College (CUNY), 250 Bedford Park Boulevard West Bronx, NY 10468-1589 e-mail: fitting@lehman.cuny.edu web page:

More information

Proof Techniques (Review of Math 271)

Proof Techniques (Review of Math 271) Chapter 2 Proof Techniques (Review of Math 271) 2.1 Overview This chapter reviews proof techniques that were probably introduced in Math 271 and that may also have been used in a different way in Phil

More information

Formal (natural) deduction in propositional logic

Formal (natural) deduction in propositional logic Formal (natural) deduction in propositional logic Lila Kari University of Waterloo Formal (natural) deduction in propositional logic CS245, Logic and Computation 1 / 67 I know what you re thinking about,

More information

A Remark on Propositional Kripke Frames Sound for Intuitionistic Logic

A Remark on Propositional Kripke Frames Sound for Intuitionistic Logic A Remark on Propositional Kripke Frames Sound for Intuitionistic Logic Dmitrij Skvortsov All-Russian Institute of Scientific and Technical Information, VINITI Russian Academy of Science Usievicha, 20,

More information

1. Propositional Calculus

1. Propositional Calculus 1. Propositional Calculus Some notes for Math 601, Fall 2010 based on Elliott Mendelson, Introduction to Mathematical Logic, Fifth edition, 2010, Chapman & Hall. 2. Syntax ( grammar ). 1.1, p. 1. Given:

More information

From Syllogism to Common Sense

From Syllogism to Common Sense From Syllogism to Common Sense Mehul Bhatt Oliver Kutz Thomas Schneider Department of Computer Science & Research Center on Spatial Cognition (SFB/TR 8) University of Bremen Normal Modal Logic K r i p

More information

Logic, Sets, and Proofs

Logic, Sets, and Proofs Logic, Sets, and Proofs David A. Cox and Catherine C. McGeoch Amherst College 1 Logic Logical Operators. A logical statement is a mathematical statement that can be assigned a value either true or false.

More information

Majority Logic. Introduction

Majority Logic. Introduction Majority Logic Eric Pacuit and Samer Salame Department of Computer Science Graduate Center, City University of New York 365 5th Avenue, New York 10016 epacuit@cs.gc.cuny.edu, ssalame@gc.cuny.edu Abstract

More information

Completeness Results for Memory Logics

Completeness Results for Memory Logics Completeness Results for Memory Logics Carlos Areces Santiago Figueira Sergio Mera Abstract Memory logics are a family of modal logics in which standard relational structures are augmented with data structures

More information

Logics above S4 and the Lebesgue measure algebra

Logics above S4 and the Lebesgue measure algebra Logics above S4 and the Lebesgue measure algebra Tamar Lando Abstract We study the measure semantics for propositional modal logics, in which formulas are interpreted in the Lebesgue measure algebra M,

More information

Neighborhood Semantics for Modal Logic Lecture 3

Neighborhood Semantics for Modal Logic Lecture 3 Neighborhood Semantics for Modal Logic Lecture 3 Eric Pacuit ILLC, Universiteit van Amsterdam staff.science.uva.nl/ epacuit August 15, 2007 Eric Pacuit: Neighborhood Semantics, Lecture 3 1 Plan for the

More information

On the Complexity of the Reflected Logic of Proofs

On the Complexity of the Reflected Logic of Proofs On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,

More information

CHAPTER 11. Introduction to Intuitionistic Logic

CHAPTER 11. Introduction to Intuitionistic Logic CHAPTER 11 Introduction to Intuitionistic Logic Intuitionistic logic has developed as a result of certain philosophical views on the foundation of mathematics, known as intuitionism. Intuitionism was originated

More information

COMBINING MODAL LOGICS

COMBINING MODAL LOGICS 15 COMBINING MODAL LOGICS Agi Kurucz 1 Introduction............................................... 1 2 Fusion of modal logics.......................................... 4 2.1 Transfer results...........................................

More information

Lecture 11: Measuring the Complexity of Proofs

Lecture 11: Measuring the Complexity of Proofs IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 11: Measuring the Complexity of Proofs David Mix Barrington and Alexis Maciel July

More information

Logic via Algebra. Sam Chong Tay. A Senior Exercise in Mathematics Kenyon College November 29, 2012

Logic via Algebra. Sam Chong Tay. A Senior Exercise in Mathematics Kenyon College November 29, 2012 Logic via Algebra Sam Chong Tay A Senior Exercise in Mathematics Kenyon College November 29, 2012 Abstract The purpose of this paper is to gain insight to mathematical logic through an algebraic perspective.

More information

Graph Theory and Modal Logic

Graph Theory and Modal Logic Osaka University of Economics and Law (OUEL) Aug. 5, 2013 BLAST 2013 at Chapman University Contents of this Talk Contents of this Talk 1. Graphs = Kripke frames. Contents of this Talk 1. Graphs = Kripke

More information

Propositional Calculus - Soundness & Completeness of H

Propositional Calculus - Soundness & Completeness of H Propositional Calculus - Soundness & Completeness of H Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr 1 Review Goal of logic To check whether given a formula Á is valid To prove a given formula Á `

More information

Chapter 11: Automated Proof Systems (1)

Chapter 11: Automated Proof Systems (1) Chapter 11: Automated Proof Systems (1) SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems

More information

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO

More information

Introduction to Metalogic

Introduction to Metalogic Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)

More information

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only 1/53 Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only Larry Moss Indiana University Nordic Logic School August 7-11, 2017 2/53 An example that we ll see a few times Consider the

More information

Chapter 11: Automated Proof Systems

Chapter 11: Automated Proof Systems Chapter 11: Automated Proof Systems SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems are

More information

Meta-logic derivation rules

Meta-logic derivation rules Meta-logic derivation rules Hans Halvorson February 19, 2013 Recall that the goal of this course is to learn how to prove things about (as opposed to by means of ) classical first-order logic. So, we will

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

Deductive Systems. Lecture - 3

Deductive Systems. Lecture - 3 Deductive Systems Lecture - 3 Axiomatic System Axiomatic System (AS) for PL AS is based on the set of only three axioms and one rule of deduction. It is minimal in structure but as powerful as the truth

More information

1. Propositional Calculus

1. Propositional Calculus 1. Propositional Calculus Some notes for Math 601, Fall 2010 based on Elliott Mendelson, Introduction to Mathematical Logic, Fifth edition, 2010, Chapman & Hall. 2. Syntax ( grammar ). 1.1, p. 1. Given:

More information

Models of Computation,

Models of Computation, Models of Computation, 2010 1 Induction We use a lot of inductive techniques in this course, both to give definitions and to prove facts about our semantics So, it s worth taking a little while to set

More information

General methods in proof theory for modal logic - Lecture 1

General methods in proof theory for modal logic - Lecture 1 General methods in proof theory for modal logic - Lecture 1 Björn Lellmann and Revantha Ramanayake TU Wien Tutorial co-located with TABLEAUX 2017, FroCoS 2017 and ITP 2017 September 24, 2017. Brasilia.

More information

arxiv:math/ v1 [math.lo] 5 Mar 2007

arxiv:math/ v1 [math.lo] 5 Mar 2007 Topological Semantics and Decidability Dmitry Sustretov arxiv:math/0703106v1 [math.lo] 5 Mar 2007 March 6, 2008 Abstract It is well-known that the basic modal logic of all topological spaces is S4. However,

More information

Propositional Logic: Models and Proofs

Propositional Logic: Models and Proofs Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505

More information

arxiv: v4 [math.lo] 6 Apr 2018

arxiv: v4 [math.lo] 6 Apr 2018 Complexity of the interpretability logic IL arxiv:1710.05599v4 [math.lo] 6 Apr 2018 Luka Mikec luka.mikec@math.hr Fedor Pakhomov pakhfn@mi.ras.ru Monday 2 nd April, 2018 Abstract Mladen Vuković vukovic@math.hr

More information

Characterizing the NP-PSPACE Gap in the Satisfiability Problem for Modal Logic

Characterizing the NP-PSPACE Gap in the Satisfiability Problem for Modal Logic Characterizing the NP-PSPACE Gap in the Satisfiability Problem for Modal Logic Joseph Y. Halpern Computer Science Department Cornell University, U.S.A. e-mail: halpern@cs.cornell.edu Leandro Chaves Rêgo

More information

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula: Logic: The Big Picture Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and

More information

Natural Deduction for Propositional Logic

Natural Deduction for Propositional Logic Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic

More information

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages)

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Berardi Stefano Valentini Silvio Dip. Informatica Dip. Mat. Pura ed Applicata Univ. Torino Univ. Padova c.so Svizzera

More information

09 Modal Logic II. CS 3234: Logic and Formal Systems. October 14, Martin Henz and Aquinas Hobor

09 Modal Logic II. CS 3234: Logic and Formal Systems. October 14, Martin Henz and Aquinas Hobor Martin Henz and Aquinas Hobor October 14, 2010 Generated on Thursday 14 th October, 2010, 11:40 1 Review of Modal Logic 2 3 4 Motivation Syntax and Semantics Valid Formulas wrt Modalities Correspondence

More information

A SEQUENT SYSTEM OF THE LOGIC R FOR ROSSER SENTENCES 2. Abstract

A SEQUENT SYSTEM OF THE LOGIC R FOR ROSSER SENTENCES 2. Abstract Bulletin of the Section of Logic Volume 33/1 (2004), pp. 11 21 Katsumi Sasaki 1 Shigeo Ohama A SEQUENT SYSTEM OF THE LOGIC R FOR ROSSER SENTENCES 2 Abstract To discuss Rosser sentences, Guaspari and Solovay

More information

First Order Logic: Syntax and Semantics

First Order Logic: Syntax and Semantics CS1081 First Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Problems Propositional logic isn t very expressive As an example, consider p = Scotland won on Saturday

More information

Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models

Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models Agata Ciabattoni Mauro Ferrari Abstract In this paper we define cut-free hypersequent calculi for some intermediate logics semantically

More information

Notes on Modal Logic

Notes on Modal Logic Notes on Modal Logic Notes for Philosophy 151 Eric Pacuit January 25, 2009 These short notes are intended to supplement the lectures and text ntroduce some of the basic concepts of Modal Logic. The primary

More information

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes These notes form a brief summary of what has been covered during the lectures. All the definitions must be memorized and understood. Statements

More information

Axiomatic characterization of the AGM theory of belief revision in a temporal logic

Axiomatic characterization of the AGM theory of belief revision in a temporal logic Artificial Intelligence 171 (2007) 144 160 www.elsevier.com/locate/artint Axiomatic characterization of the AGM theory of belief revision in a temporal logic Giacomo Bonanno 1 Department of Economics,

More information

Modal logics: an introduction

Modal logics: an introduction Modal logics: an introduction Valentin Goranko DTU Informatics October 2010 Outline Non-classical logics in AI. Variety of modal logics. Brief historical remarks. Basic generic modal logic: syntax and

More information

Classical Propositional Logic

Classical Propositional Logic The Language of A Henkin-style Proof for Natural Deduction January 16, 2013 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information,

More information

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION KRIPKE S THEORY OF TRUTH RICHARD G HECK, JR 1. INTRODUCTION The purpose of this note is to give a simple, easily accessible proof of the existence of the minimal fixed point, and of various maximal fixed

More information

Today. Next week. Today (cont d) Motivation - Why Modal Logic? Introduction. Ariel Jarovsky and Eyal Altshuler 8/11/07, 15/11/07

Today. Next week. Today (cont d) Motivation - Why Modal Logic? Introduction. Ariel Jarovsky and Eyal Altshuler 8/11/07, 15/11/07 Today Introduction Motivation- Why Modal logic? Modal logic- Syntax riel Jarovsky and Eyal ltshuler 8/11/07, 15/11/07 Modal logic- Semantics (Possible Worlds Semantics): Theory Examples Today (cont d)

More information

2. Prime and Maximal Ideals

2. Prime and Maximal Ideals 18 Andreas Gathmann 2. Prime and Maximal Ideals There are two special kinds of ideals that are of particular importance, both algebraically and geometrically: the so-called prime and maximal ideals. Let

More information

Propositional and Predicate Logic - IV

Propositional and Predicate Logic - IV Propositional and Predicate Logic - IV Petr Gregor KTIML MFF UK ZS 2015/2016 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - IV ZS 2015/2016 1 / 19 Tableau method (from the previous lecture)

More information

Principles of Knowledge Representation and Reasoning

Principles of Knowledge Representation and Reasoning Principles of Knowledge Representation and Reasoning Modal Logics Bernhard Nebel, Malte Helmert and Stefan Wölfl Albert-Ludwigs-Universität Freiburg May 2 & 6, 2008 Nebel, Helmert, Wölfl (Uni Freiburg)

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

S4LP and Local Realizability

S4LP and Local Realizability S4LP and Local Realizability Melvin Fitting Lehman College CUNY 250 Bedford Park Boulevard West Bronx, NY 10548, USA melvin.fitting@lehman.cuny.edu Abstract. The logic S4LP combines the modal logic S4

More information

Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST

Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Review Goal of logic To check whether given a formula

More information

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic CHAPTER 10 Gentzen Style Proof Systems for Classical Logic Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. By humans, not mentioning

More information

On the Craig interpolation and the fixed point

On the Craig interpolation and the fixed point On the Craig interpolation and the fixed point property for GLP Lev D. Beklemishev December 11, 2007 Abstract We prove the Craig interpolation and the fixed point property for GLP by finitary methods.

More information

Reasoning About Common Knowledge with Infinitely Many Agents

Reasoning About Common Knowledge with Infinitely Many Agents Reasoning About Common Knowledge with Infinitely Many Agents Joseph Y. Halpern Computer Science Department Cornell University halpern@cs.cornell.edu Richard A. Shore Mathematics Department Cornell University

More information

Neighborhood Semantics for Modal Logic An Introduction May 12-17, ESSLLI 2007

Neighborhood Semantics for Modal Logic An Introduction May 12-17, ESSLLI 2007 An Introduction May 12-17, ESSLLI 2007 Eric Pacuit staff.science.uva.nl/ epacuit epacuit@staff.science.uva.nl July 3, 2007 Welcome to! The course will consist of five 90 minute lectures roughly organized

More information

Basic Algebraic Logic

Basic Algebraic Logic ELTE 2013. September Today Past 1 Universal Algebra 1 Algebra 2 Transforming Algebras... Past 1 Homomorphism 2 Subalgebras 3 Direct products 3 Varieties 1 Algebraic Model Theory 1 Term Algebras 2 Meanings

More information

ON DEFINABILITY IN MULTIMODAL LOGIC

ON DEFINABILITY IN MULTIMODAL LOGIC THE REVIEW OF SYMBOLIC LOGIC Volume 2, Number 3, September 2009 ON DEFINABILITY IN MULTIMODAL LOGIC JOSEPH Y. HALPERN Computer Science Department, Cornell University DOV SAMET The Faculty of Management,

More information

Propositional Logics and their Algebraic Equivalents

Propositional Logics and their Algebraic Equivalents Propositional Logics and their Algebraic Equivalents Kyle Brooks April 18, 2012 Contents 1 Introduction 1 2 Formal Logic Systems 1 2.1 Consequence Relations......................... 2 3 Propositional Logic

More information

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

CMPSCI 601: Tarski s Truth Definition Lecture 15. where @ CMPSCI 601: Tarski s Truth Definition Lecture 15! "$#&%(') *+,-!".#/%0'!12 43 5 6 7 8:9 4; 9 9 < = 9 = or 5 6?>A@B!9 2 D for all C @B 9 CFE where ) CGE @B-HI LJKK MKK )HG if H ; C if H @ 1 > > > Fitch

More information

Gödel s Incompleteness Theorem. Overview. Computability and Logic

Gödel s Incompleteness Theorem. Overview. Computability and Logic Gödel s Incompleteness Theorem Overview Computability and Logic Recap Remember what we set out to do in this course: Trying to find a systematic method (algorithm, procedure) which we can use to decide,

More information

Tableau-based decision procedures for the logics of subinterval structures over dense orderings

Tableau-based decision procedures for the logics of subinterval structures over dense orderings Tableau-based decision procedures for the logics of subinterval structures over dense orderings Davide Bresolin 1, Valentin Goranko 2, Angelo Montanari 3, and Pietro Sala 3 1 Department of Computer Science,

More information

ON THE LOGIC OF CLOSURE ALGEBRA

ON THE LOGIC OF CLOSURE ALGEBRA Bulletin of the Section of Logic Volume 40:3/4 (2011), pp. 147 163 Ahmet Hamal ON THE LOGIC OF CLOSURE ALGEBRA Abstract An open problem in modal logic is to know if the fusion S4 S4 is the complete modal

More information

Boolean bunched logic: its semantics and completeness

Boolean bunched logic: its semantics and completeness Boolean bunched logic: its semantics and completeness James Brotherston Programming Principles, Logic and Verification Group Dept. of Computer Science University College London, UK J.Brotherston@ucl.ac.uk

More information

Final Exam (100 points)

Final Exam (100 points) Final Exam (100 points) Honor Code: Each question is worth 10 points. There is one bonus question worth 5 points. In contrast to the homework assignments, you may not collaborate on this final exam. You

More information

1 Completeness Theorem for First Order Logic

1 Completeness Theorem for First Order Logic 1 Completeness Theorem for First Order Logic There are many proofs of the Completeness Theorem for First Order Logic. We follow here a version of Henkin s proof, as presented in the Handbook of Mathematical

More information

TR : Tableaux for the Logic of Proofs

TR : Tableaux for the Logic of Proofs City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2004 TR-2004001: Tableaux for the Logic of Proofs Bryan Renne Follow this and additional works

More information

A Weak Post s Theorem and the Deduction Theorem Retold

A Weak Post s Theorem and the Deduction Theorem Retold Chapter I A Weak Post s Theorem and the Deduction Theorem Retold This note retells (1) A weak form of Post s theorem: If Γ is finite and Γ = taut A, then Γ A and derives as a corollary the Deduction Theorem:

More information

Propositional Calculus - Deductive Systems

Propositional Calculus - Deductive Systems Propositional Calculus - Deductive Systems Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Deductive proofs (1/3) Suppose we want to know

More information

Consequence Relations and Natural Deduction

Consequence Relations and Natural Deduction Consequence Relations and Natural Deduction Joshua D. Guttman Worcester Polytechnic Institute September 9, 2010 Contents 1 Consequence Relations 1 2 A Derivation System for Natural Deduction 3 3 Derivations

More information