Modal Logic: Exercises

Similar documents
An Introduction to Modal Logic III

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

overview overview proof system for basic modal logic proof systems advanced logic lecture 8 temporal logic using temporal frames

Gödel s Completeness Theorem

Tutorial Exercises 1 (mjs)

Propositional logic (revision) & semantic entailment. p. 1/34

Modal Logic. UIT2206: The Importance of Being Formal. Martin Henz. March 19, 2014

An Introduction to Modal Logic V

Modal Logic XXI. Yanjing Wang

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

The logic of subset spaces, topologic and the local difference modality K

Meta-logic derivation rules

Filtrations and Basic Proof Theory Notes for Lecture 5

Modal logics and their semantics

Properties of Relational Logic

Natural Deduction for Propositional Logic

Language of Propositional Logic

Modal Logic XX. Yanjing Wang

02 Propositional Logic

Madhavan Mukund Chennai Mathematical Institute

Graph Theory and Modal Logic

Lecture 9. Model theory. Consistency, independence, completeness, categoricity of axiom systems. Expanded with algebraic view.

Warm-Up Problem. Write a Resolution Proof for. Res 1/32

Notes on Modal Logic

Logic: Propositional Logic Truth Tables

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

Systems of modal logic

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

Logic Michælmas 2003

De Jongh s characterization of intuitionistic propositional calculus

1. Propositional Calculus

ESSLLI 2007 COURSE READER. ESSLLI is the Annual Summer School of FoLLI, The Association for Logic, Language and Information

Propositional Dynamic Logic

WHAT IS THE CORRECT LOGIC OF NECESSITY, ACTUALITY AND APRIORITY?

On the Complexity of the Reflected Logic of Proofs

Formal (natural) deduction in propositional logic

185.A09 Advanced Mathematical Logic

Basic Algebraic Logic

Modal and temporal logic

1. Propositional Calculus

CS 2740 Knowledge Representation. Lecture 4. Propositional logic. CS 2740 Knowledge Representation. Administration

Notes on Modal Logic

Informal Statement Calculus

Propositional Logic: Syntax

The Logic of Proofs, Semantically

Abstract model theory for extensions of modal logic

CHAPTER 2. FIRST ORDER LOGIC

Propositional Logics and their Algebraic Equivalents

Axiomatisation of Hybrid Logic

Boxes and Diamonds. An Open Introduction to Modal Logic

Notes for Math 601, Fall based on Introduction to Mathematical Logic by Elliott Mendelson Fifth edition, 2010, Chapman & Hall

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

Propositional and Predicate Logic - VII

4 The semantics of full first-order logic

Proseminar on Semantic Theory Fall 2013 Ling 720 Proving the Soundness and Completeness of Propositional Logic: Some Highlights 1

Overview of Today s Lecture

Completeness in the Monadic Predicate Calculus. We have a system of eight rules of proof. Let's list them:

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Propositional Logic: Deductive Proof & Natural Deduction Part 1

2.4.5 Metatheorems about Deductions

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008

Logical Agents. September 14, 2004

Inquisitive Logic. Journal of Philosophical Logic manuscript No. (will be inserted by the editor) Ivano Ciardelli Floris Roelofsen

Deductive Systems. Lecture - 3

Propositional Logic Review

Introduction to Metalogic 1

1A Logic 2013 Model Answers

Axiomatizing hybrid logic using modal logic

Inference in Propositional Logic

Introduction to Metalogic

S4LP and Local Realizability

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

On the Craig interpolation and the fixed point

Inducing syntactic cut-elimination for indexed nested sequents

A Quantified Logic of Evidence

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

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

Classical Propositional Logic

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

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

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

A SIMPLE AXIOMATIZATION OF LUKASIEWICZ S MODAL LOGIC

Module 5 K and Equivalent Systems

Overview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof.

Introduction to Intuitionistic Logic

Logic: Propositional Logic (Part I)

Canonical models for normal logics (Completeness via canonicity)

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic

Propositional and Predicate Logic - IV

CSE 1400 Applied Discrete Mathematics Proofs

MAI0203 Lecture 7: Inference and Predicate Calculus

Introduction to Metalogic

Final Exam (100 points)

A generalization of modal definability

Propositional Logic Arguments (5A) Young W. Lim 11/30/16

Logics for Compact Hausdorff Spaces via de Vries Duality

Logic and Proofs. (A brief summary)

General methods in proof theory for modal logic - Lecture 1

1 Completeness Theorem for First Order Logic

Transcription:

Modal Logic: Exercises KRDB FUB stream course www.inf.unibz.it/ gennari/index.php?page=nl Lecturer: R. Gennari gennari@inf.unibz.it June 6, 2010

Ex. 36 Prove the following claim. Claim 1. Uniform substitution preserves validity. The above Claim 1 is implied by the following claim. Claim 2. For all φ in ML(P ), ML(P )-frame F, for all p and θ in ML(P ), if F = φ then F = φ(p/θ). (3) Now, proving (3) by contraposition means proving the following claim. Claim 3. If, for all p and θ in ML(P ), and for some M based on F and w in F, M, w = φ(p/θ) then there exists M based on F and w in F such that M, w = φ. In turn, this follows from the following more general claim: Claim 4. If, for all p and θ in ML(P ), and for all M based on F there exists M based on F with the following property: M, w = φ iff M, w = φ(p/θ). Prove the latter claim and work out the logical dependencies among the above claims. Answer (ex. 36) Now, take any M = (W, R, V ) in F. M = (W, R, V ) as follows: Define its variant If one proves that V (p) = {w W M, w = θ}, (4) V (q) = V (q) for q p in P. M, w = φ iff M, w = φ(p/θ) (5) then Claim 4 follows. We now prove (5) by induction on φ. Induction basis. The base case means proving (5) with φ equal to a proposition letter. This follows from (4) students are invited to spell it out in details. Induction step. We distinguish three cases, one for each primitive logical symbol of the basic modal language. Case 1 means proving (5) with φ = φ. Now, M, w = φ iff (by definition of satisfiability) M, w = φ iff (IH on φ ) M, w = φ (p/θ) iff (by definition of satisfiability) M, w = φ (p/θ). Case 2 means proving (5) with φ = ψ ψ. Now, M, w = ψ ψ iff (by definition of satisfiability) M, w = ψ and M, w = ψ iff (IH on ψ and ψ ) M, w = ψ(p/θ) and M, w = ψ (p/θ) iff (by definition of satisfiability) M, w = ψ(p/θ) ψ (p/θ) iff (by definition of substitution) M, w = (ψ ψ )(p/θ). 1

Case 3 means proving (5) with φ = φ. Now, M, w = φ iff (by definition of satisfiability) there is v in W and Rwv and M, v = φ iff (by IH on φ and the fact that M and M are based on the same frame (W, R)) there is v in W and Rwv and M, v = φ (p/θ) iff (by definition of satisfiability) M, w = ψ(p/θ). Ex. 37 Definability of a class of frames. 1. Prove that p defines the class of completely disconnected frames: x y Rxy. 2. Prove that ( p q) ( q p) defines the class of piecewise connected frames: x y(rxy Ryz Rxz Rzx). 3. Conclude Example 3.6 of your textbook. Answer (ex. 37) 3. We prove by contraposition that if F validates the Löb formula then F is transitive. Non transitivity yields that Rwv, Rvu and Rwu for some w, v, u of F. Let us consider the following formula, equivalent to the Löb formula: p ( p p) (why can we consider this instead of the Löb formula?). Next, let us define M with V (p) = {v, u} over F. Now, M, v = p hence M, w = p. If M, w = ( p p) then there exists z with M, z = p and Rwz (1), and M, z = p. By definition of V and R, (1) gives z = v. But M, v = p since M, u = p. Therefore M, w = ( p p), and hence F does not validate the Löb formula. Ex. 39 Definability properties. Let ML(P ) be the basic modal language over P, F 1 and F 2 be two classes of frames for it. 1. Assume that Σ 1 defines F 1 and Σ 2 defines F 2. Then, what class of frames does Σ 1 Σ 2 define? Prove your statement. 2. What is the set of ML(P ) formulas which defines the class of reflexive and transitive frames? Answer (ex. 39) (1) follows from this: iff F = φ for all φ Σ 1 Σ 2 iff F = φ for all φ Σ 1 and for all φ Σ 2 F F 1 F 2. 2

Students are now asked to answer (2). Ex. 41 Non definability. Let ML(P ) be the basic modal language. Prove the following claims. 1. The class of frames with precisely n 1 states is not definable in ML(P ). 2. The class of frames each state of which has at most one R-successor, that is, x y z(rxy Rxz z = y), is not definable in ML(P ). 3. The class of non-reflexive frames (i.e., x Rxx) is not definable in ML(P ). Answer (ex. 41) 1. Consider a frame F, and F F... 2. Take F = ({0, 1, 0, 1 }, {(0, 1), (0, 1 )}) and G = ({a, b, b }, {(a, b), (a, b )}). Now, f(0) = f(0 ) = a, f(1) = b and f(1 ) = b is a surjective bounded morphism. Clearly, it is a hom. Let us check the back condition: if R G f(0)b then R F 01 with f(1) = b; if R G f(0 )b then R F 01 with f(1) = b; if R G f(0)b then R F 01 with f(1 ) = b ; if R G f(0 )b then R F 01 with f(1 ) = b. 0 1 Now, F validates the given property but G does not (a has precisely 2 R-successors). Theorem 3.14 yields that the property is not definable in ML(P ). 3. Take N = (N, S). It validates the given property. However, the reflexive state is a bounded morphic image of N... 0' 1' a b b' Ex. 42 Local entailment. Prove that, if ψ is a local semantic consequence over the class all models of φ (that is, φ = M ψ) then = φ ψ, and vice versa. Answer (ex. 42) This follows immediately from the definition of = M as students are invited to check. Ex. 54 Theorems. Prove the following closure property of the set of theorems of a modal logic Ω. Claim 6. Let Ω be a modal logic. If Ω φ 0 φ 1 and Ω φ 1 φ 2 then Ω φ 0 φ 2. (The rule is derived in Ω). 3

Answer (ex. 54) The set of Ω-theorems contains (p q) ((q r) (p r)) as a propositional tautology. The set is closed for uniform substitution, and hence Ω (φ 0 φ 1 ) ((φ 1 φ 2 ) (φ 0 φ 2 )) ( ). Now, assume that Ω φ 0 φ 1. From this and ( ), we obtain Ω (φ 1 φ 2 ) (φ 0 φ 2 ) ( ) by modus ponens. Next, assume that Ω φ 1 φ 2. From this and ( ), we obtain Ω φ 0 φ 2 by modus ponens. Ex. 55 Consistency and negation. Let Λ be a modal logic. Suppose that Σ is Λ-consistent. Then prove the following: Σ {φ} Λ iff Σ Λ φ. Answer (ex. 55) Σ {φ} Λ iff Σ Λ φ by the deduction theorem. Let us now show that if Σ Λ φ then Σ Λ φ. Assume that Σ Λ φ, that is, Λ n i=1 ψ i (φ ) where ψ i Σ for each i = 1,..., n. Now, Λ (φ ) φ (propositional tautology and uniform substitution). This and Claim 6 yield that Σ Λ φ. A similar argument proves that Σ Λ φ only if Σ Λ φ. Ex. 56 Inconsistency. Prove that the following statements are equivalent, where Σ is any set of modal formulas and Λ a modal logic: 1. Σ Λ ; 2. there exists ψ such that Σ Λ ψ ψ; 3. Σ Λ φ for all modal formulas φ. Answer (ex. 56) 1 2. Take any formula ψ of ML(P ). The tautology instance ψ ψ and Claim 6 yield Σ Λ ψ ψ. 2 3. Let be ψ be as in (2), that is, Σ Λ ψ ψ. Then, for any φ, ψ ψ φ is a tautology instance. This and Claim 6 yield Σ Λ φ. 3 1. Take φ =. Ex. 57 Compactness of. Let Λ be any modal logic. Prove that a set of formulas Σ is Λ-consistent iff every subset of Σ is such. Answer (ex. 57) Prove it by contraposition: Σ Λ iff there exists a finite Σ 0 Σ s.t. Σ 0 Λ. Ex. 59 Soundness. Prove that S5 is not sound w.r.t. the class of reflexive 4

frames. Is S5 sound w.r.t. the class of universal frames (namely, those for which x yrxy holds)? Answer (ex. 59) We leave the first statement to students. As for the second statement, observe that S5 is sound for the class of equivalence frames, which strictly includes that of universal frames. Students now should apply the definition of soundness and conclude the proof. Ex. 60 MCS s. Prove Proposition 4.16 of [BRV] as follows. Let be a maximal Ω-consistent set. i. If φ and φ ψ then ψ. ii. If T h(ω) is the set of Ω-theorems then T h(ω). iii. For every φ ML(P ), either φ or φ. iv. For every φ ψ ML(P ), φ ψ iff φ or ψ. Answer (ex. 60) The first two items of that proposition immediately follow from this claim: Claim 7. Let be a maximally Ω-consistent set. Ω φ iff φ. Proof. Right-to-left: Ω φ φ (1) because p p is a tautology and the set of Ω-theorems is closed for uniform substitution. The definition of Ω-theorem with premises from, to which φ belongs, yields Ω φ (note that we did not need maximality here). Left-to-right: we prove it by reductio ad absurdum. If Ω φ then n Ω i=1 ψ i φ where the ψ i are formulas. If φ then maximality yields {φ} Ω, and hence Ω φ ( n i=1 ψ i ) where the ψ i are formulas. Claim 6 now yields n Ω i=1 ψ i ( n i=1 ψ i ), that is, is Ω-inconsistent. As for Item (i), note that φ ψ yields (by Claim 7) that Ω φ ψ. This is true iff there exists n i ψ i with ψ i for all i = 1... n and n Ω i ψ i (φ ψ), that is, n Ω i ψ i φ ψ ( ). If φ then ( ) yields that Ω ψ, and hence (by Claim 7) ψ. Item (ii) follows from Claim 7 and the fact that if Ω φ then Ω φ. As for Item (iii), consistency and Item (i) (with ψ = ) yield that φ and φ cannot both belong to. Assume that φ. Then maximality yields {φ} Ω, and hence (Consistency and Negation Exercise) Ω φ. The above claim yields that φ. A similar argument holds that if φ then φ. 5

Item (iv) follows similarly. The propositional tautology p p q and uniform substitution yield Ω φ φ ψ. Item (ii) gives φ φ ψ. If φ then Item (i) yields φ ψ. A similar argument gives the same conclusion under the assumption ψ. Vice versa, assume that φ ψ and φ, that is, φ by Item (iii). The propositional tautology p q ( p q) and uniform substitution yield Ω φ ψ ( φ ψ). Item (ii) and two applications of Item (i) give ψ. Ex. 61 Strong Completeness. Prove that S5 is strongly complete w.r.t. the class of universal frames. Answer (ex. 61) Let ML(P ) be the basic modal language. S5 is strongly complete w.r.t. the class of frames the accessibility relation of which is of equivalence. In particular, the canonical model M S5 is based on such a frame. Take any -consistent set of M L(P ) formulas and its S5-MCS extension (which exists due to the Lindebaum lemma). Take the submodel M S5 of M S5 generated by ; since R S5 is of equivalence, M S5 is based on a universal frame. By the satisfiability preservation theorem on generated submodels, we know that M S5, = iff M S5, =. The canonical model theorem states that M S5, = ; thus M S5, =. 6