Propositional Dynamic Logic

Size: px
Start display at page:

Download "Propositional Dynamic Logic"

Transcription

1 Propositional Dynamic Logic Contents 1 Introduction 1 2 Syntax and Semantics Syntax Semantics Hilbert-style axiom system for PDL 3 4 Soundness and Completeness; Decidability Soundness Completeness: Proof idea Completeness: Detailed proof Consistent sets; maximal consistent sets An intermediate structure Constructing a (finite) structure and a state at which F holds End of the completeness proof Decidability Introduction Propositional dynamic logic (PDL) is a multi-modal logic with structured modalities. For each program α, there is: a box-modality [α] and a diamond modality α. PDL was developed from first-order dynamic logic by Fischer-Ladner (1979) and has become popular recently. Here we consider regular PDL. 1

2 2 Syntax and Semantics 2.1 Syntax Prog: set of programs Prog 0 Prog: set of atomic programs Π: set of propositional variables The set of formulae Fma PDL Prog,Π of (regular) propositional dynamic logic and the set of programs P 0 are defined by simultaneous induction as follows: Formulae: F, G, H ::= (falsum) (verum) p p Π 0 (atomic formula) F (negation) (F G) (conjunction) (F G) (disjunction) (F G) (implication) (F G) (equivalence) [α]f if α Prog α F if α Prog Programs: α, β, γ ::= α 0 α 0 Prog 0 (atomic program) F? F formula (test) α; β (sequential composition) α β (non-deterministic choice) α (non-deterministic repetition) 2.2 Semantics A PDL structure K = (S, R(), I) is a multimodal Kripke structure with an accessibility relation for each atomic program. That is, it consists of: a non-empty set S of states an interpretation R() : Prog 0 S S of atomic programs that assigns a transition relation R(α) to each atomic program α an interpretation I : Π S {0, 1} The interpretation of PDL relative to a PDL structure K = (S, R(), I) is defined by extending R() to Prog and extending I to Fma PDL Prop 0 by the following simultaneously inductive definition: 2

3 val K (p, s) = I(p, s) if p Π val K ( F, s) = Bool val K (F, s) val K (F G, s) = val K (F, s) Bool val K (G, s) val K (F G, s) = val K (F, s) Bool val K (G, s) val K ([α]f, s) = 1 iff for all t S with (s, t) R(α), val K (F, t) = 1 val K ( α F, s) = 1 iff for some t S with (s, t) R(α), val K (F, t) = 1 R([F?]) = {(s, s) val K (F, s) = 1} (F? has the same meaning as: if F then skip else do not terminate) R(α β) = R(α) R(β) R(α; β) = {(s, t) there exists u S s.t.(s, u) R(α) and (u, t) R(β)} R(α ) = {(s, t) there exists n 0 and there exist u 0,..., u n S with s = u 0, y = u n, (u 0, u 1 ),..., (u n 1, u n ) R(α)} (K, s) satisfies F (notation (K, s) = F) iff val K (F, s) = 1. F is valid in K (notation K = F) iff (K, s) = F for all s S. F is valid (notation = F) iff K = F for all PDL-structures K. 3 Hilbert-style axiom system for PDL Axioms (D1) All propositional logic tautologies (D2) [α](a B) ([α]a [α]b) (D3) [α](a B) [α]a [α]b (D4) [α; β]a [α][β]a (D5) [α β]a [α]a [β]a (D6) [A?]B (A B) (D7) [α ]A A [α][α ]A, (D8) [α ](A [α]a) (A [α ]A] Inference rules MP Gen P, P Q Q F [α]f 4 Soundness and Completeness; Decidability We will show that PDL is determined by PDL structures, and has the finite model property (the last result is due to Fischer and Ladner (1979)). 4.1 Soundness Theorem. If the formula F is provable in the inference system for PDL then F is valid in all PDL structures. Proof: Induction of the length of the proof, unsing the following facts: 3

4 1. The axioms are valid in every PDL structure. Easy computation. 2. If the premises of an inference rule are valid in a structure K, the conclusion is also valid in K. (MP) If K = F, K = F G then K = G (follows from the fact that for every state s of L if (K, s) = F, (K, s) = F G then (K, s) = G). (Gen) Assume that K = F. Then (K, s) = F for every state s of K. Let t be a state of K. (K, t) = [α]f if for all t with (t, t ) R(α) we have (K, t ) = F. But under the assumption that K = F the latter is always the case. This shows that (K, t) = [α]f for all t. 4.2 Completeness: Proof idea Theorem. If the formula F is is valid in all PDL structures then F is provable in the inference system for PDL. Idea of the proof: Assume that F is not provable in the inference system for PDL. We show that: (1) F is consistent with the set L of all theorems of PDL (2) We can construct a canonical PDL structure K and a state w in this PDL structure such that (K, w) = F. Contradiction! We construct the PDL structure K as follows: 1. We know that if F is not provable then F must be consistent with the set L of all theorems of PDL. 2. This means that L { F } is consistent. 3. We show that every consistent set of formulae is contained in a maximal consistent set of formulae. 4. We choose a set S of states, in which every state is a maximal consistent set W of PDL formulae (a possible world ). 5. We define suitable relations R(α) on S as explained in the detailed proof. 6. Let K P be the Kripke model defined this way. We prove that (K P, W) = φ iff φ W. Thus if W F is the maximal consistent set containing F then (K P, W F ) = F. 7. The model constructed this way is not exactly what we are looking for, because R(α ) R(α). We need to change this model such that this property holds, but have to take care that it is still the case that the new model has a state at which F is true. 4

5 8. We change it as follows: We define a family Γ of subformulae of our formula. We show that this family of formulae is finite and closed under subformulae. We now say that two states W, W S are equivalent (and can be merged) if for every G Γ, (K P, W) = G iff (K P, W ) = G (i.e. if they satisfy the same subformulae of F, in other words if we cannot distinguish these states if we only look where the subformulae of F in Γ are true or false). We merge equivalent states in S (i.e. we partition S into equivalence classes and define a new set of states S/, in which a state is the representative of an equivalence class of states in S). We define relations R (α) such that if sr(α)s then [s]r (α)[s ]. The labelling is defined similarly. We now show that this new structure K = (S/, R (), I) is a PDL structure, and that (K, [W F ]) = F. This ends the completeness proof. Decidability If we analyse the structure K = (S/, R (), I), we note that every state in S/ is the representative of a set of states in S at which certain subformulae of F are true. If we have two different states s 1, s 2 in S/ : s 1 is the representative of a set of states in S at which a set Γ 1 Γ are true s 2 is the representative of a set of states in S at which a set Γ 2 Γ are true. Clearly, Γ 1 Γ 2 (otherwise s 1 and s 2 would be representatives for the same set of formulae, hence equal). We can now think of the states in S/ as being labelled with the sets of formulae in Γ which are true in them. The number of states in S/ is therefore smaller than or equal to the number of subsets of Γ. Since Γ is finite, the number of states in S/ is therefore finite (at most 2 Γ ). 4.3 Completeness: Detailed proof In order to complete the proof we need the following definitions and results: 5

6 4.3.1 Consistent sets; maximal consistent sets Let L be a set of PDL formulae which: (1) contains all propositional tautologies (2) contains axiom PDL (3) is closed under modus ponens and generalization (4) is closed under instantiation Definition. A subset F L is called L-inconsistent iff there exist formulae A 1,..., A n F such that ( A 1 A n ) L F is called L-consistent iff it is not L-inconsistent. Definition. A consistent set F of PDL formulae is called maximal L-consistent if for every formula A either A F or A F. Theorem. Let F be a maximal L-consistent set of formulae. Then: (1) For every formula A, either A F or A F, but not both. (2) A B F iff A F or B F. (3) A B F iff A F and B F. (4) L F. (5) F is closed under Modus Ponens. Proof. (1) A F or A F by definition. Assume A F and A F. We know that A A L (propositional tautology), so F is inconsistent. Contradiction. (2) Assume A B F, but A, B F. Then A, B F. As A B (A B) L (classical tautology) it follows that F is inconsistent. (2) Assume A F and A B F. Then (A B) F. Then A (A B) L, so F is inconsistent. (3) Analogous to (2) (4) If A L then A is inconsistent. Hence, A F, so A F. (5) Assume A F, A B F and B F. Then A (A B) B is a tautology, hence in L. Thus, F inconsistent. Theorem. Every consistent set F of formulae is contained in a maximally consistent set of formulae. Proof. We enumerate all PDL formulae: A 0, A 1,... and inductively define an ascending chain of sets of formulae: F 0 := F 6

7 { Fn {A F n+1 := n } if this set is consistent F n { A n } otherwise It can be proved by induction that F n is consistent for all n. Let F max = n N F n. Then F max is maximal consistent and contains F. Lemma. If F is not provable in PDL then F is consistent with the set L of all theorems of PDL, so it is contained in a maximally conststent set of formulae W F. Proof. Assume that F is not consistent with the set L of all theorems of PDL. Then there exist formulae A 1,..., A n such that A 1 A 2 A n ( F) L. By using Modus Ponens n times we can show that F L, hence F L (i.e. F is provable) An intermediate structure Goal: Assume F is not a theorem. Construct a PDL structure K and a state w of K such that (K, w) = F. States: State of K: maximal consistent set of formulae. Intuition: (K, W) = φ iff φ W. Then: (K, W F ) = F Accessibility relation: Intuition: (K, W) = [α]f iff for all W, ((W, W ) R(α) (K, W ) = F) (W, W ) R(α) iff W {F [α]f W } Theorem. (K, W) = G iff G W. Proof. Induction on the structure of the formula F. Theorem. K satisfies all PDL structure conditions except R(α ) (R(α)). Proof: By direct checking. Example: R(α; β) R(α) R(β) Assume (W, W ) R(α; β). Then W {F [α; β]f W }. We want to show that there exists W 0 with (W, W 0 ) R(α) and (W 0, W ) R(β). Note that: (W, W 0 ) R(α) iff {A [α]a W } W 0 (W 0, W ) R(β) iff {B [β]b W 0 } W iff { [β]d D W } W 0. 7

8 It is sufficient to show that {A [α]a W } { [β]b B W } is PDLconsistent. Assume that the set is not PDL consistent. Then there is a theorem A 1 A m [β]b 1... [β]b n where [α]a i W and B j W. Let B = B 1 B n. Then since it follows that hence: and since we showed that [β]b 1 [β]b n [β]b A 1 A m [β]b [α](a 1 A m ) [α][β]b [α]a 1 [α]a m [α](a 1 A m ) [α]a 1 [α]a m [α][β]b Using the PDL-theorem [α][β]b [α; β]b it then follows that [α]a 1 [α]a m [α; β]b Since [α]a W and W is maximally consistent it follows that [α; β]b W, hence B = B 1 B n W. But then (as W maximally consistent) B j W for some j which is a contradiction. It follows that {A [α]a W } { [β]b B W } is PDL consistent. Therefore it is contained in a maximal consistent set W Constructing a (finite) structure and a state at which F holds Theorem. Assume F is not a PDL theorem. We can construct a PDL structure K and a state w of K such that (K, w) = F. Proof. To obtain a PDL structure that falsifies F we will collapse K by a suitable Γ that contains F. The closure rules for Γ that will be needed are: Γ is closed under subformulae; [B?]D Γ implies B Γ; [α; β]b Γ implies [α][β]b Γ; [α β]b Γ implies [α]b, [β]b Γ; [α ]B Γ implies [α][α ]B Γ 8

9 A set Γ satisfying these conditions will be called closed. Theorem. If Γ is the smallest closed set containing a given formula F, then Γ is finite. Proof. The point is to show that closing Subformulae(F) under the above rules produces only finitely many new formulae. Define a formula to be boxed if it is prefixed by a modal connective, i.e. is of the form [α]b for some α and B. Each time we apply a closure rule, new boxed formulae appear on the right side of the rule, and further rules may apply to these new formulae. But observe that the programs α indexing prefixes [α] on the right side are in all cases shorter in length than those indexing the prefix on the left of the rule in question. Hence we will eventually produce only atomic prefixes on the right, and run out of rules to apply. Having determined that Γ, the smallest closed set containing F, is finite, we identify the states which satisfy the same formulae in Γ: Fix a model K = (S, R, I) and a set Γ Fma Σ that is closed under subformulae, i.e. B Γ implies Subformulae(B) Γ. For each s S, define Γ s = {B Γ (K, s) = B} and put s Γ t iff Γ s = Γ t. Then s Γ t iff for all B Γ, (K, s) = B iff (K, t) = B. Fact: Γ is an equivalence relation on S. Let [s] = {t s Γ t} be the Γ -equivalence class of s. Let S Γ := {[s] s S} be the set of all such equivalence classes. Goal: (K, s) = A (K, s ) = A, K = (S, R, I ). Step 1: S := S Γ, where Γ = Subformulae(S) Step 2: I : (Π Γ) S {0, 1} def. by I (P, [s]) = I(P, s) Step 3: R (α) def. e.g. by: ([s], [t]) R (α) iff s [s], t [t]: (s, t ) R(α) Theorem: K is a PDL structure and it has the properties: (F1) If sr(α)t then [s]r (α)[t] (F2) If [s]r (α)[t] then for all formulae B, if [α]b Γ and (K, s) = [α]b then (K, t) = B Proof: Induction on the structure of α. 9

10 4.3.4 End of the completeness proof Since (K, W F ) = F it can easily be seen that (K, [W F ]) = F. This completes the completeness proof Decidability Lemma. If Γ is finite, then S Γ is finite and has at most 2 n elements, where n is the number of elements of Γ. This shows that checking whether a formula A is a P DL theorem is decidable. We compute how many subformulae A has. Let n be the number of subformulae of A (in extended sense). We generate all structures of size up to 2 n. If we find a structure where A is not true, A is not a theorem. If A is true in all such structures, at every state then A is a PDL theorem. Bibliography 1. Michael J. Fischer, Richard E. Ladner: Propositional Dynamic Logic of Regular Programs. J. Comput. Syst. Sci. 18(2): (1979) 2. Robert Goldblatt: Logics of Time and Computation, second edition, 1992, (Center for the Study of Language and Information Publication Lecture Notes). 10

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

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

02 Propositional Logic

02 Propositional Logic SE 2F03 Fall 2005 02 Propositional Logic Instructor: W. M. Farmer Revised: 25 September 2005 1 What is Propositional Logic? Propositional logic is the study of the truth or falsehood of propositions or

More information

Modal and temporal logic

Modal and temporal logic Modal and temporal logic N. Bezhanishvili I. Hodkinson C. Kupke Imperial College London 1 / 83 Overview Part II 1 Soundness and completeness. Canonical models. 3 lectures. 2 Finite model property. Filtrations.

More information

Artificial Intelligence. Propositional logic

Artificial Intelligence. Propositional logic Artificial Intelligence Propositional logic Propositional Logic: Syntax Syntax of propositional logic defines allowable sentences Atomic sentences consists of a single proposition symbol Each symbol stands

More information

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy Reasoning in First Order Logic FBK-IRST, Trento, Italy April 12, 2013 Reasoning tasks in FOL Model checking Question: Is φ true in the interpretation I with the assignment a? Answer: Yes if I = φ[a]. No

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

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

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson Natural Deduction Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. An example 1. Validity by truth table 2. Validity by proof 2. What s a proof 1. Proof checker 3. Rules of

More information

3 Propositional Logic

3 Propositional Logic 3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists

More information

On Modal Logics of Partial Recursive Functions

On Modal Logics of Partial Recursive Functions arxiv:cs/0407031v1 [cs.lo] 12 Jul 2004 On Modal Logics of Partial Recursive Functions Pavel Naumov Computer Science Pennsylvania State University Middletown, PA 17057 naumov@psu.edu June 14, 2018 Abstract

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

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

Propositional and Predicate Logic - V

Propositional and Predicate Logic - V Propositional and Predicate Logic - V Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - V WS 2016/2017 1 / 21 Formal proof systems Hilbert s calculus

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

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

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

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

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 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

Advanced Topics in LP and FP

Advanced Topics in LP and FP Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection

More information

Propositional Resolution

Propositional Resolution Computational Logic Lecture 4 Propositional Resolution Michael Genesereth Spring 2005 Stanford University Modified by Charles Ling and TA, for CS2209 Use with permission Propositional Resolution Propositional

More information

Combining Propositional Dynamic Logic with Formal Concept Analysis

Combining Propositional Dynamic Logic with Formal Concept Analysis Proc. CS&P '06 Combining Propositional Dynamic Logic with Formal Concept Analysis (extended abstract) N.V. Shilov, N.O. Garanina, and I.S. Anureev A.P. Ershov Institute of Informatics Systems, Lavren ev

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

Propositional Logic Language

Propositional Logic Language Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite

More information

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

2. The Logic of Compound Statements Summary. Aaron Tan August 2017 2. The Logic of Compound Statements Summary Aaron Tan 21 25 August 2017 1 2. The Logic of Compound Statements 2.1 Logical Form and Logical Equivalence Statements; Compound Statements; Statement Form (Propositional

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

Theoretical Foundations of the UML

Theoretical Foundations of the UML Theoretical Foundations of the UML Lecture 17+18: A Logic for MSCs Joost-Pieter Katoen Lehrstuhl für Informatik 2 Software Modeling and Verification Group moves.rwth-aachen.de/teaching/ws-1718/fuml/ 5.

More information

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

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008 Chapter 3: Propositional Calculus: Deductive Systems September 19, 2008 Outline 1 3.1 Deductive (Proof) System 2 3.2 Gentzen System G 3 3.3 Hilbert System H 4 3.4 Soundness and Completeness; Consistency

More information

Marketing Impact on Diffusion in Social Networks

Marketing Impact on Diffusion in Social Networks Marketing Impact on Diffusion in Social Networks Pavel Naumov Vassar College, Poughkeepsie, New York, USA Jia Tao The College of New Jersey, Ewing, New Jersey, USA Abstract The article proposes a way to

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

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR Last time Expert Systems and Ontologies oday Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof theory Natural

More information

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system): Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building

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

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

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

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

The logic of subset spaces, topologic and the local difference modality K The logic of subset spaces, topologic and the local difference modality K Isabel Bevort July 18, 2013 Bachelor Thesis in Mathematics Supervisor: dr. Alexandru Baltag Korteweg-De Vries Instituut voor Wiskunde

More information

Dynamic Epistemic Logic Displayed

Dynamic Epistemic Logic Displayed 1 / 43 Dynamic Epistemic Logic Displayed Giuseppe Greco & Alexander Kurz & Alessandra Palmigiano April 19, 2013 ALCOP 2 / 43 1 Motivation Proof-theory meets coalgebra 2 From global- to local-rules calculi

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

Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.

Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. The method consists of using sets of Rules of Inference (valid argument forms)

More information

Language of Propositional Logic

Language of Propositional Logic Logic A logic has: 1. An alphabet that contains all the symbols of the language of the logic. 2. A syntax giving the rules that define the well formed expressions of the language of the logic (often called

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

Contents 1 Introduction A historical note : : : : : : : : : : : : : : : : : : : : : : : : : Modal logic : : : : : : : : : : : : : : : : :

Contents 1 Introduction A historical note : : : : : : : : : : : : : : : : : : : : : : : : : Modal logic : : : : : : : : : : : : : : : : : On Axiomatizations for Propositional Logics of Programs P.M.W. Knijnenburg RUU-CS-88-34 November 1988 Contents 1 Introduction 3 1.1 A historical note : : : : : : : : : : : : : : : : : : : : : : : : : 3

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

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

Equivalents of Mingle and Positive Paradox

Equivalents of Mingle and Positive Paradox Eric Schechter Equivalents of Mingle and Positive Paradox Abstract. Relevant logic is a proper subset of classical logic. It does not include among itstheoremsanyof positive paradox A (B A) mingle A (A

More information

Syntax and Semantics of Propositional Linear Temporal Logic

Syntax and Semantics of Propositional Linear Temporal Logic Syntax and Semantics of Propositional Linear Temporal Logic 1 Defining Logics L, M, = L - the language of the logic M - a class of models = - satisfaction relation M M, ϕ L: M = ϕ is read as M satisfies

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

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

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

Computation and Logic Definitions

Computation and Logic Definitions Computation and Logic Definitions True and False Also called Boolean truth values, True and False represent the two values or states an atom can assume. We can use any two distinct objects to represent

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

15414/614 Optional Lecture 1: Propositional Logic

15414/614 Optional Lecture 1: Propositional Logic 15414/614 Optional Lecture 1: Propositional Logic Qinsi Wang Logic is the study of information encoded in the form of logical sentences. We use the language of Logic to state observations, to define concepts,

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

A Propositional Dynamic Logic for Instantial Neighborhood Semantics

A Propositional Dynamic Logic for Instantial Neighborhood Semantics A Propositional Dynamic Logic for Instantial Neighborhood Semantics Johan van Benthem, Nick Bezhanishvili, Sebastian Enqvist Abstract We propose a new perspective on logics of computation by combining

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

Informal Statement Calculus

Informal Statement Calculus FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example

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

A modal logic for games with lies

A modal logic for games with lies A modal logic for games with lies Bruno Teheux University of Luxembourg The RÉNYI ULAM game A searching game with lies 1. ALICE chooses an element in {1,..., M}. 2. BOB tries to guess this number by asking

More information

T Reactive Systems: Temporal Logic LTL

T Reactive Systems: Temporal Logic LTL Tik-79.186 Reactive Systems 1 T-79.186 Reactive Systems: Temporal Logic LTL Spring 2005, Lecture 4 January 31, 2005 Tik-79.186 Reactive Systems 2 Temporal Logics Temporal logics are currently the most

More information

Fundamentals of Logic

Fundamentals of Logic Fundamentals of Logic No.5 Soundness and Completeness Tatsuya Hagino Faculty of Environment and Information Studies Keio University 2015/5/18 Tatsuya Hagino (Faculty of Environment and InformationFundamentals

More information

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets

More information

Lecture 2: Axiomatic semantics

Lecture 2: Axiomatic semantics Chair of Software Engineering Trusted Components Prof. Dr. Bertrand Meyer Lecture 2: Axiomatic semantics Reading assignment for next week Ariane paper and response (see course page) Axiomatic semantics

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

Mathematical Logic Propositional Logic - Tableaux*

Mathematical Logic Propositional Logic - Tableaux* Mathematical Logic Propositional Logic - Tableaux* Fausto Giunchiglia and Mattia Fumagalli University of Trento *Originally by Luciano Serafini and Chiara Ghidini Modified by Fausto Giunchiglia and Mattia

More information

Introduction to Kleene Algebra Lecture 14 CS786 Spring 2004 March 15, 2004

Introduction to Kleene Algebra Lecture 14 CS786 Spring 2004 March 15, 2004 Introduction to Kleene Algebra Lecture 14 CS786 Spring 2004 March 15, 2004 KAT and Hoare Logic In this lecture and the next we show that KAT subsumes propositional Hoare logic (PHL). Thus the specialized

More information

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

More information

The Modal Logic of Pure Provability

The Modal Logic of Pure Provability The Modal Logic of Pure Provability Samuel R. Buss Department of Mathematics University of California, San Diego July 11, 2002 Abstract We introduce a propositional modal logic PP of pure provability in

More information

Logic for Computer Science - Week 4 Natural Deduction

Logic for Computer Science - Week 4 Natural Deduction Logic for Computer Science - Week 4 Natural Deduction 1 Introduction In the previous lecture we have discussed some important notions about the semantics of propositional logic. 1. the truth value of a

More information

Logics in Access Control: A Conditional Approach

Logics in Access Control: A Conditional Approach Logics in Access Control: A Conditional Approach Valerio Genovese 1, Laura Giordano 2, Valentina Gliozzi 3, and Gian Luca Pozzato 3 1 University of Luxembourg and Università di Torino - Italy valerio.genovese@uni.lu

More information

Lecture Notes on Classical Modal Logic

Lecture Notes on Classical Modal Logic Lecture Notes on Classical Modal Logic 15-816: Modal Logic André Platzer Lecture 5 January 26, 2010 1 Introduction to This Lecture The goal of this lecture is to develop a starting point for classical

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

Reasoning about Action and Change

Reasoning about Action and Change Reasoning about Action and Change A Dynamic Logic Approach Helmut Prendinger Int l Forschungszentrum, Mönchsberg 2a, A-5020 Salzburg, Austria, Email: Helmut.Prendinger@mh.sbg.ac.at Gerhard Schurz Inst.

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

Propositional Logic: Review

Propositional Logic: Review Propositional Logic: Review Propositional logic Logical constants: true, false Propositional symbols: P, Q, S,... (atomic sentences) Wrapping parentheses: ( ) Sentences are combined by connectives:...and...or

More information

Propositional Logic: Syntax

Propositional Logic: Syntax 4 Propositional Logic: Syntax Reading: Metalogic Part II, 22-26 Contents 4.1 The System PS: Syntax....................... 49 4.1.1 Axioms and Rules of Inference................ 49 4.1.2 Definitions.................................

More information

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

ESSLLI 2007 COURSE READER. ESSLLI is the Annual Summer School of FoLLI, The Association for Logic, Language and Information ESSLLI 2007 19th European Summer School in Logic, Language and Information August 6-17, 2007 http://www.cs.tcd.ie/esslli2007 Trinity College Dublin Ireland COURSE READER ESSLLI is the Annual Summer School

More information

MAI0203 Lecture 7: Inference and Predicate Calculus

MAI0203 Lecture 7: Inference and Predicate Calculus MAI0203 Lecture 7: Inference and Predicate Calculus Methods of Artificial Intelligence WS 2002/2003 Part II: Inference and Knowledge Representation II.7 Inference and Predicate Calculus MAI0203 Lecture

More information

1 Functions and Sets. 1.1 Sets and Subsets. Phil 450: The Limits of Logic Jeff Russell, Fall 2014

1 Functions and Sets. 1.1 Sets and Subsets. Phil 450: The Limits of Logic Jeff Russell, Fall 2014 1 Phil 450: The Limits of Logic Jeff Russell, Fall 2014 Any statement that is not an Axiom (Ax) or a Definition (Def) or a Remark (R) or an Example is an Exercise. Unless it says otherwise, the exercise

More information

Inf2D 13: Resolution-Based Inference

Inf2D 13: Resolution-Based Inference School of Informatics, University of Edinburgh 13/02/18 Slide Credits: Jacques Fleuriot, Michael Rovatsos, Michael Herrmann Last lecture: Forward and backward chaining Backward chaining: If Goal is known

More information

cis32-ai lecture # 18 mon-3-apr-2006

cis32-ai lecture # 18 mon-3-apr-2006 cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem

More information

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

More information

On Hájek s Fuzzy Quantifiers Probably and Many

On Hájek s Fuzzy Quantifiers Probably and Many On Hájek s Fuzzy Quantifiers Probably and Many Petr Cintula Institute of Computer Science Academy of Sciences of the Czech Republic Lukasiewicz logic L Connectives: implication and falsum (we set ϕ = ϕ

More information

Chapter 4: Classical Propositional Semantics

Chapter 4: Classical Propositional Semantics Chapter 4: Classical Propositional Semantics Language : L {,,, }. Classical Semantics assumptions: TWO VALUES: there are only two logical values: truth (T) and false (F), and EXTENSIONALITY: the logical

More information

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018 cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018 Chapter 7 Introduction to Intuitionistic and Modal Logics CHAPTER 7 SLIDES Slides Set 1 Chapter 7 Introduction to Intuitionistic and Modal Logics

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

Overview of Logic and Computation: Notes

Overview of Logic and Computation: Notes Overview of Logic and Computation: Notes John Slaney March 14, 2007 1 To begin at the beginning We study formal logic as a mathematical tool for reasoning and as a medium for knowledge representation The

More information

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 2: Propositional Logic

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 2: Propositional Logic Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 2: Propositional Logic Matt Fredrikson mfredrik@cs.cmu.edu October 17, 2016 Matt Fredrikson Propositional Logic 1 / 33 Propositional

More information

Intuitionistic Hybrid Logic

Intuitionistic Hybrid Logic Intuitionistic Hybrid Logic Torben Braüner a,1 Valeria de Paiva b,2 a Department of omputer Science Roskilde University P.O. Box 260 DK-4000 Roskilde, Denmark torben@ruc.dk b PAR 3333 oyote Hill Road Palo

More information

Artificial Intelligence. Propositional Logic. Copyright 2011 Dieter Fensel and Florian Fischer

Artificial Intelligence. Propositional Logic. Copyright 2011 Dieter Fensel and Florian Fischer Artificial Intelligence Propositional Logic Copyright 2011 Dieter Fensel and Florian Fischer 1 Where are we? # Title 1 Introduction 2 Propositional Logic 3 Predicate Logic 4 Reasoning 5 Search Methods

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

Propositional Logic. Jason Filippou UMCP. ason Filippou UMCP) Propositional Logic / 38

Propositional Logic. Jason Filippou UMCP. ason Filippou UMCP) Propositional Logic / 38 Propositional Logic Jason Filippou CMSC250 @ UMCP 05-31-2016 ason Filippou (CMSC250 @ UMCP) Propositional Logic 05-31-2016 1 / 38 Outline 1 Syntax 2 Semantics Truth Tables Simplifying expressions 3 Inference

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

Marie Duží

Marie Duží Marie Duží marie.duzi@vsb.cz 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: 1. a language 2. a set of axioms 3. a set of deduction rules ad 1. The definition of a language

More information

Modal Logic: Exercises

Modal Logic: Exercises 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

More information

Proof Theoretical Studies on Semilattice Relevant Logics

Proof Theoretical Studies on Semilattice Relevant Logics Proof Theoretical Studies on Semilattice Relevant Logics Ryo Kashima Department of Mathematical and Computing Sciences Tokyo Institute of Technology Ookayama, Meguro, Tokyo 152-8552, Japan. e-mail: kashima@is.titech.ac.jp

More information

UNIT-I: Propositional Logic

UNIT-I: Propositional Logic 1. Introduction to Logic: UNIT-I: Propositional Logic Logic: logic comprises a (formal) language for making statements about objects and reasoning about properties of these objects. Statements in a logical

More information

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University COMP 182 Algorithmic Thinking Proofs Luay Nakhleh Computer Science Rice University 1 Reading Material Chapter 1, Section 3, 6, 7, 8 Propositional Equivalences The compound propositions p and q are called

More information

7 LOGICAL AGENTS. OHJ-2556 Artificial Intelligence, Spring OHJ-2556 Artificial Intelligence, Spring

7 LOGICAL AGENTS. OHJ-2556 Artificial Intelligence, Spring OHJ-2556 Artificial Intelligence, Spring 109 7 LOGICAL AGENS We now turn to knowledge-based agents that have a knowledge base KB at their disposal With the help of the KB the agent aims at maintaining knowledge of its partially-observable environment

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

Part 1: Propositional Logic

Part 1: Propositional Logic Part 1: Propositional Logic Literature (also for first-order logic) Schöning: Logik für Informatiker, Spektrum Fitting: First-Order Logic and Automated Theorem Proving, Springer 1 Last time 1.1 Syntax

More information