Terminating Tableaux for Mini-PDL

Size: px
Start display at page:

Download "Terminating Tableaux for Mini-PDL"

Transcription

1 Terminating Tableaux for Mini-PDL Sigurd Schneider Bachelor s Thesis Proposal Talk Advisors: Mark Kaminski, Gert Smolka Responsible Professor: Gert Smolka April 30, 2009 Terminating Tableaux for Mini-PDL (Sigurd Schneider) 1/39

2 Propositional Dynamic Logic Propositional Dynamic Logic Mini-PDL Semantics Goal Statement t ::= p t t t t t ρt ρt ρ ::= r ρ ρ ; ρ ρ ρ t? Small Model Property [Fisher and Ladner, 1979] Robustly decidable [Giacomo and Massacci, 2000][Abate, Goré, and Widmann, 2009] Terminating Tableaux for Mini-PDL (Sigurd Schneider) 2/39

3 Mini-PDL Propositional Dynamic Logic Mini-PDL Semantics Goal Statement t ::= p t t t t t ρt ρt ρ ::= r r Most important aspect covered: kleene star Thus still complex enough Terminating Tableaux for Mini-PDL (Sigurd Schneider) 3/39

4 Semantics Propositional Dynamic Logic Mini-PDL Semantics Goal Statement y rpy Terminating Tableaux for Mini-PDL (Sigurd Schneider) 4/39

5 Semantics Propositional Dynamic Logic Mini-PDL Semantics Goal Statement y r py Terminating Tableaux for Mini-PDL (Sigurd Schneider) 5/39

6 Where do we want to go? Propositional Dynamic Logic Mini-PDL Semantics Goal Statement Complete and Terminating Tabelau System for Mini-PDL incorporating key ideas from literature elegant proofs pattern-based blocking Terminating Tableaux for Mini-PDL (Sigurd Schneider) 6/39

7 Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation Approach to a complete tableau system Start with tableaux system for K. R ( p)x px A R (t 1 t 2 )x t 1 x, t 2 x R (t 1 t 2 )x t 1 x t 2 x R rtx ty N A R rtx, ty y / N A Add the following rules: R r tx tx, r( r t)x R r tx tx r( r t)x Terminating Tableaux for Mini-PDL (Sigurd Schneider) 7/39

8 Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation Approach to a complete tableau system Start with tableaux system for K. R ( p)x px A R (t 1 t 2 )x t 1 x, t 2 x R (t 1 t 2 )x t 1 x t 2 x R rtx ty N A R rtx, ty y / N A Add the following rules: R r tx tx, r( r t)x R r tx tx r( r t)x Terminating Tableaux for Mini-PDL (Sigurd Schneider) 8/39

9 An Infinite Derivation Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation r py R r tx tx r( r t)x r( r p)y R rtx, ty y / N A r pz... Terminating Tableaux for Mini-PDL (Sigurd Schneider) 9/39

10 An Infinite Derivation Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation r py R r tx tx r( r t)x r( r p)y R rtx, ty y / N A r pz... Terminating Tableaux for Mini-PDL (Sigurd Schneider) 10/39

11 An Infinite Derivation Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation r py R r tx tx r( r t)x r( r p)y R rtx, ty y / N A r pz... Terminating Tableaux for Mini-PDL (Sigurd Schneider) 11/39

12 An Infinite Derivation Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation r py R r tx tx r( r t)x r( r p)y R rtx, ty y / N A r pz... Terminating Tableaux for Mini-PDL (Sigurd Schneider) 12/39

13 An Infinite Derivation Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation r py R r tx tx r( r t)x r( r p)y R rtx, ty y / N A r pz... Terminating Tableaux for Mini-PDL (Sigurd Schneider) 13/39

14 Pattern Based Blocking Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation r py r( r p)y The pattern P rtx A of a formula rtx A is defined as { rt} { rt rtx A}. P r( r p)x A {} = P r( r p)y A = r pz... Terminating Tableaux for Mini-PDL (Sigurd Schneider) 14/39

15 Pattern Based Blocking Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation r py r( r p)y The pattern P rtx A of a formula rtx A is defined as { rt} { rt rtx A}. P r( r p)x A {} = P r( r p)y A = r pz... Terminating Tableaux for Mini-PDL (Sigurd Schneider) 15/39

16 Pattern Based Blocking Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation r py r( r p)y The pattern P rtx A of a formula rtx A is defined as { rt} { rt rtx A}. P r( r p)x A {} = P r( r p)y A = r pz... Terminating Tableaux for Mini-PDL (Sigurd Schneider) 16/39

17 A Blocked Derivation Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation r py r( r p)y Derivation is blocked before witness is generated. r pz pz Terminating Tableaux for Mini-PDL (Sigurd Schneider) 17/39

18 A Blocked Derivation Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation r py r( r p)y Derivation is blocked before witness is generated. r pz pz Terminating Tableaux for Mini-PDL (Sigurd Schneider) 18/39

19 A Blocked Derivation Tableau Rules An Infinite Derivation Pattern Based Blocking A Blocked Derivation r py r( r p)y Derivation is blocked before witness is generated. r pz pz Terminating Tableaux for Mini-PDL (Sigurd Schneider) 19/39

20 Necessity Definition Existence Different Kinds of Maximal Branches There are three kinds of maximal derivations: Verifying derivations that yield a model. Falsifying derivations that are inconsistent. Blocked derivations, that may or may not be extended to an verifying derivation. Terminating Tableaux for Mini-PDL (Sigurd Schneider) 20/39

21 Necessity Definition Existence Different Kinds of Maximal Branches r py py There are three kinds of maximal derivations: Verifying derivations that yield a model. Falsifying derivations that are inconsistent. Blocked derivations, that may or may not be extended to an verifying derivation. Terminating Tableaux for Mini-PDL (Sigurd Schneider) 21/39

22 Necessity Definition Existence Different Kinds of Maximal Branches There are three kinds of maximal derivations: px px Verifying derivations that yield a model. Falsifying derivations that are inconsistent. Blocked derivations, that may or may not be extended to an verifying derivation. Terminating Tableaux for Mini-PDL (Sigurd Schneider) 22/39

23 Necessity Definition Existence Different Kinds of Maximal Branches r py r( r p)y r pz pz There are three kinds of maximal derivations: Verifying derivations that yield a model. Falsifying derivations that are inconsistent. Blocked derivations, that may or may not be extended to an verifying derivation. Terminating Tableaux for Mini-PDL (Sigurd Schneider) 23/39

24 Proof Strategy Necessity Definition Existence Usually, a completeness proof for a tableaux system shows: System terminates. If system terminates and branch is consistent, we can construct a model. By refutation soundness, completeness follows. New strategy Show that if a set of formulas is satisfiable, there exists a verifying derivation in the blocked system. Terminating Tableaux for Mini-PDL (Sigurd Schneider) 24/39

25 Necessity Definition Existence r py r py r( r p)y py r pz pz Minimal Derivation On every path from the root over a diamond-star formula to its witness, no pattern occurs twice. Terminating Tableaux for Mini-PDL (Sigurd Schneider) 25/39

26 Necessity Definition Existence r py r py r( r p)y py r pz pz Minimal Derivation On every path from the root over a diamond-star formula to its witness, no pattern occurs twice. Terminating Tableaux for Mini-PDL (Sigurd Schneider) 26/39

27 Necessity Definition Existence r py r py r( r p)y py r pz pz Minimal Derivation On every path from the root over a diamond-star formula to its witness, no pattern occurs twice. Terminating Tableaux for Mini-PDL (Sigurd Schneider) 27/39

28 Necessity Definition Existence r py r py r( r p)y py r pz pz Minimal Derivation On every path from the root over a diamond-star formula to its witness, no pattern occurs twice. Terminating Tableaux for Mini-PDL (Sigurd Schneider) 28/39

29 Existence of Necessity Definition Existence Desired Theorem Let A be a set of Mini-PDL formulas. For every verifying derivation starting from A, there is a minimal verifying derivation starting from A which is obtained by shortening. Proof Idea: r pz pz r py r( r p)y Terminating Tableaux for Mini-PDL (Sigurd Schneider) 29/39

30 Existence of Necessity Definition Existence Desired Theorem Let A be a set of Mini-PDL formulas. For every verifying derivation starting from A, there is a minimal verifying derivation starting from A which is obtained by shortening. Proof Idea: r py py Terminating Tableaux for Mini-PDL (Sigurd Schneider) 30/39

31 Roadmap and Open Problems Proving completeness of unconstrained system. Formalizing derivations as graphs. R r tx tx, r( r t)x tx r tx r( r t)x Proving minimal derivation existence theorem using derivation graphs. If that does not work, prove existence for every satisfiable set and analyse confluency of derivation relation. Does the approach scale to PDL? Terminating Tableaux for Mini-PDL (Sigurd Schneider) 31/39

32 References David Harel and Dexter Kozen and Jerzy Tiuryn Dynamic Logic MIT Press, 2000 Fischer, M.J. and R. E. Ladner (1979) Propositional dynamic logic of regular programs. J. Comput. Syst. Sci. 18(2), Abate, P., Goré, R., and Widmann, F. (2009) An On-the-fly Tableau-based Decision Procedure for PDL-satisfiability. Electron. Notes Theor. Comput. Sci. 231 (Mar. 2009), de Giacomo, G. and Massacci, F. (2000) Combining deduction and model checking into Tableaux and algorithms for converse-pdl. Inf. Comput. 162, 1/2 (Oct. 2000), Terminating Tableaux for Mini-PDL (Sigurd Schneider) 32/39

33 Does it work for full PDL? r( (r ; r) p)x (r ; r) px (r ; r) py (r ; r)( (r ; r) p)y r( r( (r ; r) p))y (r ; r)( (r ; r) p)x r( r( (r ; r) p))x r( (r ; r) p)y r( (r ; r) p)z ry z (r ; r) pz rza (r ; r) pa pa pz Terminating Tableaux for Mini-PDL (Sigurd Schneider) 33/39

34 Does it work for full PDL? r( (r ; r) p)x (r ; r) px (r ; r) py (r ; r)( (r ; r) p)y r( r( (r ; r) p))y (r ; r)( (r ; r) p)x r( r( (r ; r) p))x r( (r ; r) p)y r( (r ; r) p)z ry z (r ; r) pz rza (r ; r) pa pa pz Terminating Tableaux for Mini-PDL (Sigurd Schneider) 34/39

35 Does it work for full PDL? r( (r ; r) p)x (r ; r) px (r ; r) py (r ; r)( (r ; r) p)y r( r( (r ; r) p))y (r ; r)( (r ; r) p)x r( r( (r ; r) p))x r( (r ; r) p)y r( (r ; r) p)z ry z (r ; r) pz rza (r ; r) pa pa pz Terminating Tableaux for Mini-PDL (Sigurd Schneider) 35/39

36 Semantics = λpx. px : (IB)IB = λpqx. px qx : (IB)(IB)IB = λpqx. px qx = λrpx. y. py = λrpx. y. = py 0 = λ. x = y n = λ. z. rxz r n 1 zy = λ. n N.r n xy : (IB)(IB)IB : (IIB)(IB)IB : (IIB)(IB)IB 0 : (IIB)IIB n : (IIB)IIB n N,n > 0 : (IIB)IIB Terminating Tableaux for Mini-PDL (Sigurd Schneider) 36/39

37 A derivation with a box r ( rp)x r( r ( rp))x rpx py r ( rp)y r( r ( rp))y r py pz r ( rp)z... Terminating Tableaux for Mini-PDL (Sigurd Schneider) 37/39

38 Why does the construction of a minimal derivation terminate? Scan through each path from the root in some order. If a processed pattern occurs, cut everthing beyond off. Examine every section between duplicate patterns: If there is no witness path running over the second occurence, cut the direct witness off. If there is a witness path running over the second occurence, shorten the derivation. Patterns occuring on a processed path can be cut off instantly. The stock of patterns is finite. Terminating Tableaux for Mini-PDL (Sigurd Schneider) 38/39

39 Tableau Rules R ( p)x px A R (t 1 t 2 )x t 1 x, t 2 x R (t 1 t 2 )x t 1 x t 2 x R r tx tx r( r t)x R r tx tx, r( r t)x R rtx, ty y / N A R rtx ty N A Terminating Tableaux for Mini-PDL (Sigurd Schneider) 39/39

Propositional Dynamic Logic

Propositional Dynamic Logic Syntax Semantics Some Properties Overview Propositional Dynamic Logic Sigurd Schneider Bachelor Seminar Advisors: Mark Kaminski, Gert Smolka Responsible Professor: Gert Smolka 30. Januar 2009 Propositional

More information

Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq

Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq Bachelor Seminar - first talk Advisor: Chad Brown Supervisor: Gert Smolka Department of Computer Science Saarland University October

More information

TERMINATING TABLEAUX FOR GRADED HYBRID LOGIC WITH GLOBAL MODALITIES AND ROLE HIERARCHIES

TERMINATING TABLEAUX FOR GRADED HYBRID LOGIC WITH GLOBAL MODALITIES AND ROLE HIERARCHIES Logical Methods in Computer Science Vol 7 (1:5) 2011, pp 1 21 wwwlmcs-onlineorg Submitted May 14, 2010 Published Mar 21, 2011 TERMINATING TABLEAUX FOR GRADED HYBRID LOGIC WITH GLOBAL MODALITIES AND ROLE

More information

Introduction to Kleene Algebra Lecture 15 CS786 Spring 2004 March 15 & 29, 2004

Introduction to Kleene Algebra Lecture 15 CS786 Spring 2004 March 15 & 29, 2004 Introduction to Kleene Algebra Lecture 15 CS786 Spring 2004 March 15 & 29, 2004 Completeness of KAT In this lecture we show that the equational theories of the Kleene algebras with tests and the star-continuous

More information

Semantics and Pragmatics of NLP

Semantics and Pragmatics of NLP Semantics and Pragmatics of NLP Alex Ewan School of Informatics University of Edinburgh 28 January 2008 1 2 3 Taking Stock We have: Introduced syntax and semantics for FOL plus lambdas. Represented FOL

More information

Formale Systeme II: Theorie

Formale Systeme II: Theorie Formale Systeme II: Theorie Dynamic Logic: Propositional Dynamic Logic SS 2018 Prof. Dr. Bernhard Beckert Dr. Mattias Ulbrich Slides partially by Prof. Dr. Peter H. Schmitt KIT Die Forschungsuniversität

More information

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30) Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/30) Propositional Logic - sequent calculus To overcome the problems of natural

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

Research Statement Christopher Hardin

Research Statement Christopher Hardin Research Statement Christopher Hardin Brief summary of research interests. I am interested in mathematical logic and theoretical computer science. Specifically, I am interested in program logics, particularly

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

Regular Expressions and Language Properties

Regular Expressions and Language Properties Regular Expressions and Language Properties Mridul Aanjaneya Stanford University July 3, 2012 Mridul Aanjaneya Automata Theory 1/ 47 Tentative Schedule HW #1: Out (07/03), Due (07/11) HW #2: Out (07/10),

More information

Predicate Logic - Semantic Tableau

Predicate Logic - Semantic Tableau CS402, Spring 2016 Informal Construction of a Valid Formula Example 1 A valid formula: x(p(x) q(x)) ( xp(x) xq(x)) ( x(p(x) q(x)) ( xp(x) xq(x))) x(p(x) q(x)), ( xp(x) xq(x)) x(p(x) q(x)), xp(x), xq(x)

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

This is an author-deposited version published in : Eprints ID : 19189

This is an author-deposited version published in :  Eprints ID : 19189 Open Archive TOULOUSE Archive Ouverte (OATAO) OATAO is an open access repository that collects the work of Toulouse researchers and makes it freely available over the web where possible. This is an author-deposited

More information

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method Overview CS389L: Automated Logical Reasoning Lecture 7: Validity Proofs and Properties of FOL Agenda for today: Semantic argument method for proving FOL validity Işıl Dillig Important properties of FOL

More information

Terminating Tableaux for Graded Hybrid Logic with Global Modalities and Role Hierarchies

Terminating Tableaux for Graded Hybrid Logic with Global Modalities and Role Hierarchies Terminating Tableaux for Graded Hybrid Logic with Global Modalities and Role Hierarchies Mark Kaminski, Sigurd Schneider, and Gert Smolka Saarland University, Saarbrücken, Germany Abstract. We present

More information

Developing Modal Tableaux and Resolution Methods via First-Order Resolution

Developing Modal Tableaux and Resolution Methods via First-Order Resolution Developing Modal Tableaux and Resolution Methods via First-Order Resolution Renate Schmidt University of Manchester Reference: Advances in Modal Logic, Vol. 6 (2006) Modal logic: Background Established

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

Propositional Calculus - Semantics (3/3) Moonzoo Kim CS Dept. KAIST

Propositional Calculus - Semantics (3/3) Moonzoo Kim CS Dept. KAIST Propositional Calculus - Semantics (3/3) Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr 1 Overview 2.1 Boolean operators 2.2 Propositional formulas 2.3 Interpretations 2.4 Logical Equivalence and substitution

More information

Propositional and Predicate Logic - XIII

Propositional and Predicate Logic - XIII Propositional and Predicate Logic - XIII Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - XIII WS 2016/2017 1 / 22 Undecidability Introduction Recursive

More information

Mathematical Logics. 12. Soundness and Completeness of tableaux reasoning in first order logic. Luciano Serafini

Mathematical Logics. 12. Soundness and Completeness of tableaux reasoning in first order logic. Luciano Serafini 12. Soundness and Completeness of tableaux reasoning in first order logic Fondazione Bruno Kessler, Trento, Italy November 14, 2013 Example of tableaux Example Consider the following formulas: (a) xyz(p(x,

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

Logic: Propositional Logic Truth Tables

Logic: Propositional Logic Truth Tables Logic: Propositional Logic Truth Tables Raffaella Bernardi bernardi@inf.unibz.it P.zza Domenicani 3, Room 2.28 Faculty of Computer Science, Free University of Bolzano-Bozen http://www.inf.unibz.it/~bernardi/courses/logic06

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

First-Order Logic (FOL)

First-Order Logic (FOL) First-Order Logic (FOL) Also called Predicate Logic or Predicate Calculus 2. First-Order Logic (FOL) FOL Syntax variables x, y, z, constants a, b, c, functions f, g, h, terms variables, constants or n-ary

More information

CS156: The Calculus of Computation Zohar Manna Winter 2010

CS156: The Calculus of Computation Zohar Manna Winter 2010 Page 3 of 35 Page 4 of 35 quantifiers CS156: The Calculus of Computation Zohar Manna Winter 2010 Chapter 2: First-Order Logic (FOL) existential quantifier x. F [x] there exists an x such that F [x] Note:

More information

A Tableau Calculus with Automaton-Labelled Formulae for Regular Grammar Logics

A Tableau Calculus with Automaton-Labelled Formulae for Regular Grammar Logics A Tableau Calculus with Automaton-Labelled Formulae for Regular Grammar Logics Rajeev Goré 1 and Linh Anh Nguyen 2 1 The Australian National University and NICTA Canberra ACT 0200, Australia Rajeev.Gore@anu.edu.au

More information

Description Logics. Deduction in Propositional Logic. franconi. Enrico Franconi

Description Logics. Deduction in Propositional Logic.   franconi. Enrico Franconi (1/20) Description Logics Deduction in Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/20) Decision

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

Optimisation of Terminological Reasoning

Optimisation of Terminological Reasoning Optimisation of Terminological Reasoning Ian Horrocks Department of Computer Science University of Manchester, UK horrocks@cs.man.ac.uk Stephan Tobies LuFG Theoretical Computer Science RWTH Aachen, Germany

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

A tableau-based decision procedure for a branching-time interval temporal logic

A tableau-based decision procedure for a branching-time interval temporal logic A tableau-based decision procedure for a branching-time interval temporal logic Davide Bresolin Angelo Montanari Dipartimento di Matematica e Informatica Università degli Studi di Udine {bresolin, montana}@dimi.uniud.it

More information

Lecture Notes on Compositional Reasoning

Lecture Notes on Compositional Reasoning 15-414: Bug Catching: Automated Program Verification Lecture Notes on Compositional Reasoning Matt Fredrikson Ruben Martins Carnegie Mellon University Lecture 4 1 Introduction This lecture will focus on

More information

On some Metatheorems about FOL

On some Metatheorems about FOL On some Metatheorems about FOL February 25, 2014 Here I sketch a number of results and their proofs as a kind of abstract of the same items that are scattered in chapters 5 and 6 in the textbook. You notice

More information

Halting and Equivalence of Program Schemes in Models of Arbitrary Theories

Halting and Equivalence of Program Schemes in Models of Arbitrary Theories Halting and Equivalence of Program Schemes in Models of Arbitrary Theories Dexter Kozen Cornell University, Ithaca, New York 14853-7501, USA, kozen@cs.cornell.edu, http://www.cs.cornell.edu/~kozen In Honor

More information

An Optimal Tableau Decision Procedure for Converse-PDL

An Optimal Tableau Decision Procedure for Converse-PDL An Optimal Tableau Decision Procedure for Converse-PDL Linh Anh Nguyen and Andrzej Szałas Institute of Informatics, University of Warsaw Banacha 2, 02-097 Warsaw, Poland Email: {nguyen,andsz}@mimuw.edu.pl

More information

Tableau metatheory for propositional and syllogistic logics

Tableau metatheory for propositional and syllogistic logics Tableau metatheory for propositional and syllogistic logics Part V: Theorems on relationships between tableau systems and generalized semantics Tomasz Jarmużek Nicolaus Copernicus University in Toruń Poland

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

Incomplete version for students of easllc2012 only. 6.6 The Model Existence Game 99

Incomplete version for students of easllc2012 only. 6.6 The Model Existence Game 99 98 First-Order Logic 6.6 The Model Existence Game In this section we learn a new game associated with trying to construct a model for a sentence or a set of sentences. This is of fundamental importance

More information

LoTREC: Theory and Practice

LoTREC: Theory and Practice 1 / 56 LoTREC: Theory and Practice B. Saïd O. Gasquet, F. Schwarzentruber, A. Herzig Institut de Recherche en Informatique de Toulouse - IRIT Université Paul Sabatier - UPS Tableaux 2009 2 / 56 Outline

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

A Principle for Incorporating Axioms into the First-Order Translation of Modal Formulae

A Principle for Incorporating Axioms into the First-Order Translation of Modal Formulae A Principle for Incorporating Axioms into the First-Order Translation of Modal Formulae Renate A. Schmidt 1 and Ullrich Hustadt 2 1 University of Manchester, schmidt@cs.man.ac.uk Max Planck Institute for

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2008/09

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

TABLEAU SYSTEM FOR LOGIC OF CATEGORIAL PROPOSITIONS AND DECIDABILITY

TABLEAU SYSTEM FOR LOGIC OF CATEGORIAL PROPOSITIONS AND DECIDABILITY Bulletin of the Section of Logic Volume 37:3/4 (2008), pp. 223 231 Tomasz Jarmużek TABLEAU SYSTEM FOR LOGIC OF CATEGORIAL PROPOSITIONS AND DECIDABILITY Abstract In the article we present an application

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

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

Lecture 13: Soundness, Completeness and Compactness

Lecture 13: Soundness, Completeness and Compactness Discrete Mathematics (II) Spring 2017 Lecture 13: Soundness, Completeness and Compactness Lecturer: Yi Li 1 Overview In this lecture, we will prvoe the soundness and completeness of tableau proof system,

More information

A Note on Logics of Ability

A Note on Logics of Ability A Note on Logics of Ability Eric Pacuit and Yoav Shoham May 8, 2008 This short note will discuss logical frameworks for reasoning about an agent s ability. We will sketch details of logics of can, do,

More information

Part II Logic and Set Theory

Part II Logic and Set Theory Part II Logic and Set Theory Theorems Based on lectures by I. B. Leader Notes taken by Dexter Chua Lent 2015 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen Anthony Hall

GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen   Anthony Hall GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen www.cs.ucl.ac.uk/staff/j.bowen/gs03 Anthony Hall GS03 W1 L3 Predicate Logic 12 January 2007 1 Overview The need for extra structure

More information

Constructive Formalization of Classical Modal Logic

Constructive Formalization of Classical Modal Logic Constructive Formalization of Classical Modal Logic Christian Doczkal and Gert Smolka Saarland University June 30, 2011 This paper reports about the formalization of classical modal logic in the constructive

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

Model Checking & Program Analysis

Model Checking & Program Analysis Model Checking & Program Analysis Markus Müller-Olm Dortmund University Overview Introduction Model Checking Flow Analysis Some Links between MC and FA Conclusion Apology for not giving proper credit to

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

Ch. 13 Tableaux systems

Ch. 13 Tableaux systems Ch. 13 Tableaux systems Andreas Herzig IRIT-CNRS Toulouse http://www.irit.fr/~andreas.herzig/ 1 Overview tableaux systems: basic ideas tableaux systems: basic definitions tableaux for simple modal logics

More information

Propositional Logic: Gentzen System, G

Propositional Logic: Gentzen System, G CS402, Spring 2017 Quiz on Thursday, 6th April: 15 minutes, two questions. Sequent Calculus in G In Natural Deduction, each line in the proof consists of exactly one proposition. That is, A 1, A 2,...,

More information

Logic and Modelling. Introduction to Predicate Logic. Jörg Endrullis. VU University Amsterdam

Logic and Modelling. Introduction to Predicate Logic. Jörg Endrullis. VU University Amsterdam Logic and Modelling Introduction to Predicate Logic Jörg Endrullis VU University Amsterdam Predicate Logic In propositional logic there are: propositional variables p, q, r,... that can be T or F In predicate

More information

InKreSAT: Modal Reasoning via Incremental Reduction to SAT

InKreSAT: Modal Reasoning via Incremental Reduction to SAT : Modal Reasoning via Incremental Reduction to SAT Mark Kaminski 1 and Tobias Tebbi 2 1 Department of Computer Science, University of Oxford, UK 2 Saarland University, Saarbrücken, Germany Abstract. is

More information

Outline. Logic. Definition. Theorem (Gödel s Completeness Theorem) Summary of Previous Week. Undecidability. Unification

Outline. Logic. Definition. Theorem (Gödel s Completeness Theorem) Summary of Previous Week. Undecidability. Unification Logic Aart Middeldorp Vincent van Oostrom Franziska Rapp Christian Sternagel Department of Computer Science University of Innsbruck WS 2017/2018 AM (DCS @ UIBK) week 11 2/38 Definitions elimination x φ

More information

(c) Establish the following claims by means of counterexamples.

(c) Establish the following claims by means of counterexamples. sample paper I N T R O D U C T I O N T O P H I L O S O P H Y S E C T I O N A : L O G I C Volker Halbach Michaelmas 2008 I thank the author of the 2008 Trinity Term paper, Andrew Bacon, and Kentaro Fujimoto

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2009/2010 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2009/10

More information

Introduction to Predicate Logic Part 1. Professor Anita Wasilewska Lecture Notes (1)

Introduction to Predicate Logic Part 1. Professor Anita Wasilewska Lecture Notes (1) Introduction to Predicate Logic Part 1 Professor Anita Wasilewska Lecture Notes (1) Introduction Lecture Notes (1) and (2) provide an OVERVIEW of a standard intuitive formalization and introduction to

More information

Propositional Resolution

Propositional Resolution Artificial Intelligence Propositional Resolution Marco Piastra Propositional Resolution 1] Deductive systems and automation Is problem decidible? A deductive system a la Hilbert (i.e. derivation using

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

Reasoning in Expressive Description Logics

Reasoning in Expressive Description Logics Chapter 23 Reasoning in Expressive Description Logics Diego Calvanese Giuseppe De Giacomo Daniele Nardi Maurizio Lenzerini Second readers: Enrico Franconi, Ian Horrocks, Maarten de Rijke, and Ulrike Sattler.

More information

Decision procedure for Default Logic

Decision procedure for Default Logic Decision procedure for Default Logic W. Marek 1 and A. Nerode 2 Abstract Using a proof-theoretic approach to non-monotone reasoning we introduce an algorithm to compute all extensions of any (propositional)

More information

Tableau Systems for Logics of Formal Inconsistency

Tableau Systems for Logics of Formal Inconsistency Tableau Systems for Logics of Formal Inconsistency Walter A. Carnielli Centre for Logic and Epistemology, and Department of Philosophy State University of Campinas CLE/Unicamp, Campinas, Brazil João Marcos

More information

Logic: Propositional Logic Tableaux

Logic: Propositional Logic Tableaux Logic: Propositional Logic Tableaux Raffaella Bernardi bernardi@inf.unibz.it P.zza Domenicani 3, Room 2.28 Faculty of Computer Science, Free University of Bolzano-Bozen http://www.inf.unibz.it/~bernardi/courses/logic06

More information

Dynamic Logic with Converse. Computer Laboratory, University of Cambridge,

Dynamic Logic with Converse. Computer Laboratory, University of Cambridge, Tableaux and Algorithms for Propositional Dynamic Logic with Converse Giuseppe De Giacomo 1 and Fabio Massacci 1;2 1 Dip. di Informatica e Sistemistica, Universita di Roma \La Sapienza" Via Salaria 113,

More information

Propositional Logic Not Enough

Propositional Logic Not Enough Section 1.4 Propositional Logic Not Enough If we have: All men are mortal. Socrates is a man. Does it follow that Socrates is mortal? Can t be represented in propositional logic. Need a language that talks

More information

arxiv: v2 [cs.lo] 1 Jun 2009

arxiv: v2 [cs.lo] 1 Jun 2009 Optimal Tableau Decision Procedures for PDL Linh Anh Nguyen and Andrzej Sza las arxiv:0904.0721v2 [cs.lo] 1 Jun 2009 Institute of Informatics, University of Warsaw Banacha 2, 02-097 Warsaw, Poland {nguyen,andsz}@mimuw.edu.pl

More information

Temporal Logic - Soundness and Completeness of L

Temporal Logic - Soundness and Completeness of L Temporal Logic - Soundness and Completeness of L CS402, Spring 2018 Soundness Theorem 1 (14.12) Let A be an LTL formula. If L A, then A. Proof. We need to prove the axioms and two inference rules to be

More information

Query answering using views

Query answering using views Query answering using views General setting: database relations R 1,...,R n. Several views V 1,...,V k are defined as results of queries over the R i s. We have a query Q over R 1,...,R n. Question: Can

More information

GAV-sound with conjunctive queries

GAV-sound with conjunctive queries GAV-sound with conjunctive queries Source and global schema as before: source R 1 (A, B),R 2 (B,C) Global schema: T 1 (A, C), T 2 (B,C) GAV mappings become sound: T 1 {x, y, z R 1 (x,y) R 2 (y,z)} T 2

More information

INTRODUCTION TO LOGIC

INTRODUCTION TO LOGIC INTRODUCTION TO LOGIC 6 Natural Deduction Volker Halbach There s nothing you can t prove if your outlook is only sufficiently limited. Dorothy L. Sayers http://www.philosophy.ox.ac.uk/lectures/ undergraduate_questionnaire

More information

High Performance Absorption Algorithms for Terminological Reasoning

High Performance Absorption Algorithms for Terminological Reasoning High Performance Absorption Algorithms for Terminological Reasoning Ming Zuo and Volker Haarslev Concordia University, Montreal, Quebec, Canada {ming zuo haarslev}@cse.concordia.ca Abstract When reasoning

More information

Constructive Formalization of Regular Languages

Constructive Formalization of Regular Languages Constructive Formalization of Regular Languages Jan-Oliver Kaiser Advisors: Christian Doczkal, Gert Smolka Supervisor: Gert Smolka UdS November 7, 2012 Jan-Oliver Kaiser (UdS) Constr. Formalization of

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

Some Rewriting Systems as a Background of Proving Methods

Some Rewriting Systems as a Background of Proving Methods Some Rewriting Systems as a Background of Proving Methods Katalin Pásztor Varga Department of General Computer Science Eötvös Loránd University e-mail: pkata@ludens.elte.hu Magda Várterész Institute of

More information

3.17 Semantic Tableaux for First-Order Logic

3.17 Semantic Tableaux for First-Order Logic 3.17 Semantic Tableaux for First-Order Logic There are two ways to extend the tableau calculus to quantified formulas: using ground instantiation using free variables Tableaux with Ground Instantiation

More information

Terminating Minimal Model Generation Procedures for Propositional Modal Logics

Terminating Minimal Model Generation Procedures for Propositional Modal Logics Terminating Minimal Model Generation Procedures for Propositional Modal Logics Fabio Papacchini and Renate A. Schmidt The University of Manchester, UK Abstract. Model generation and minimal model generation

More information

CHAPTER 2. FIRST ORDER LOGIC

CHAPTER 2. FIRST ORDER LOGIC CHAPTER 2. FIRST ORDER LOGIC 1. Introduction First order logic is a much richer system than sentential logic. Its interpretations include the usual structures of mathematics, and its sentences enable us

More information

First-Order Logic. Chapter Overview Syntax

First-Order Logic. Chapter Overview Syntax Chapter 10 First-Order Logic 10.1 Overview First-Order Logic is the calculus one usually has in mind when using the word logic. It is expressive enough for all of mathematics, except for those concepts

More information

Confluence and Normalization in Reduction Systems Lecture Notes

Confluence and Normalization in Reduction Systems Lecture Notes Confluence and Normalization in Reduction Systems Lecture Notes Gert Smolka Saarland University December 16, 2015 We study confluence and normalization in abstract reduction systems and apply the results

More information

Tableau systems for MAS logics: implementing your prover in LoTREC

Tableau systems for MAS logics: implementing your prover in LoTREC Tableau systems for MAS logics: implementing your prover in LoTREC Andreas Herzig (joint work with Olivier Gasquet, Bilal Said, François Schwarzentruber) Institut de Recherche en Informatique de Toulouse

More information

Properties of Relational Logic

Properties of Relational Logic Computational Logic Lecture 8 Properties of Relational Logic Michael Genesereth Autumn 2011 Programme Expressiveness What we can say in First-Order Logic And what we cannot Semidecidability and Decidability

More information

of concurrent and reactive systems is now well developed [2] as well as a deductive methodology for proving their properties [3]. Part of the reason f

of concurrent and reactive systems is now well developed [2] as well as a deductive methodology for proving their properties [3]. Part of the reason f A New Decidability Proof for Full Branching Time Logic CPL N.V. Shilov Research On Program Analysis System (ROPAS) Department of Computer Science Korean Advanced Institute of Science and Technology (KAIST)

More information

A Brief Introduction to Model Checking

A Brief Introduction to Model Checking A Brief Introduction to Model Checking Jan. 18, LIX Page 1 Model Checking A technique for verifying finite state concurrent systems; a benefit on this restriction: largely automatic; a problem to fight:

More information

Handout Proof Methods in Computer Science

Handout Proof Methods in Computer Science Handout Proof Methods in Computer Science Sebastiaan A. Terwijn Institute of Logic, Language and Computation University of Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam the Netherlands terwijn@logic.at

More information

Lecture Notes on Programs and Contracts

Lecture Notes on Programs and Contracts 15-414: Bug Catching: Automated Program Verification Lecture Notes on Programs and Contracts Matt Fredrikson Ruben Martins Carnegie Mellon University Lecture 3 1 Introduction This lecture advances our

More information

CS 486: Applied Logic Lecture 7, February 11, Compactness. 7.1 Compactness why?

CS 486: Applied Logic Lecture 7, February 11, Compactness. 7.1 Compactness why? CS 486: Applied Logic Lecture 7, February 11, 2003 7 Compactness 7.1 Compactness why? So far, we have applied the tableau method to propositional formulas and proved that this method is sufficient and

More information

The Logic of Bunched Implications. Presentation by Robert J. Simmons Separation Logic, April 6, 2009

The Logic of Bunched Implications. Presentation by Robert J. Simmons Separation Logic, April 6, 2009 The Logic of Bunched Implications Presentation by Robert J. Simmons Separation Logic, April 6, 2009 Big Picture P P {P } C {R } {P} C {R} Valid formula of separation logic for all s, h, s,h P P R R A valid

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

Cut-Elimination and Quantification in Canonical Systems

Cut-Elimination and Quantification in Canonical Systems A. Zamansky A. Avron Cut-Elimination and Quantification in Canonical Systems Abstract. Canonical propositional Gentzen-type systems are systems which in addition to the standard axioms and structural rules

More information

First-Order Logic. Resolution

First-Order Logic. Resolution First-Order Logic Resolution 1 Resolution for predicate logic Gilmore s algorithm is correct and complete, but useless in practice. We upgrade resolution to make it work for predicate logic. 2 Recall:

More information

Towards the use of Simplification Rules in Intuitionistic Tableaux

Towards the use of Simplification Rules in Intuitionistic Tableaux Towards the use of Simplification Rules in Intuitionistic Tableaux Mauro Ferrari 1, Camillo Fiorentini 2 and Guido Fiorino 3 1 Dipartimento di Informatica e Comunicazione, Università degli Studi dell Insubria,

More information

Deciding Modal Logics using Tableaux and Set Theory

Deciding Modal Logics using Tableaux and Set Theory Deciding Modal Logics using Tableaux and Set Theory Carla Piazza and Alberto Policriti Abstract We propose a tableau-like decision procedure for deciding the satisfiability of set-theoretical formulae

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

Kripke s World. An introduction to modal logics via tableau systemss. O. Gasquet, A. Herzig, B. Saïd, F. Schwarzentruber

Kripke s World. An introduction to modal logics via tableau systemss. O. Gasquet, A. Herzig, B. Saïd, F. Schwarzentruber Kripke s World An introduction to modal logics via tableau systemss O. Gasquet, A. Herzig, B. Saïd, F. Schwarzentruber Institut de Recherche en Informatique de Toulouse - IRIT Université de Toulouse http://www.irit.fr/lotrec

More information