MODAL LOGIC Mathematical Logic and Theorem Proving Pavithra Prabhakar.

Slides:



Advertisements
Similar presentations
Completeness and Expressiveness
Advertisements

Some important properties Lectures of Prof. Doron Peled, Bar Ilan University.
Query Answering based on Standard and Extended Modal Logic Evgeny Zolin The University of Manchester
Discrete Math Methods of proof 1.
Inductive definitions: S is the smallest set that contains some set I of initial elements and is closed for some operations. Two methods to construct S:
Techniques for Proving the Completeness of a Proof System Hongseok Yang Seoul National University Cristiano Calcagno Imperial College.
10 October 2006 Foundations of Logic and Constraint Programming 1 Unification ­An overview Need for Unification Ranked alfabeths and terms. Substitutions.
Possible World Semantics for Modal Logic
Kripke-Style Semantics for Normal Systems Arnon Avron and Ori Lahav Tel Aviv University LATD 2010.
1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 9,10,11- Logic; Deduction Theorem 23/1/09 to 30/1/09.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Logic Concepts Lecture Module 11.
CSC 685 Logic Review. Logic: Modeling Human Reasoning syllogistic logic Syllogistic Logic (Aristotle). all/some X are/not Y Propositional Logic (Boole).
Everything You Need to Know (since the midterm). Diagnosis Abductive diagnosis: a minimal set of (positive and negative) assumptions that entails the.
LDK R Logics for Data and Knowledge Representation Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
1 Semantic Description of Programming languages. 2 Static versus Dynamic Semantics n Static Semantics represents legal forms of programs that cannot be.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
Formal Logic Proof Methods Direct Proof / Natural Deduction Conditional Proof (Implication Introduction) Reductio ad Absurdum Resolution Refutation.
Artificial Intelligence Modal Logic
A Semantic Characterization of Unbounded-Nondeterministic Abstract State Machines Andreas Glausch and Wolfgang Reisig 1.
Formalizing Alpha: Soundness and Completeness Bram van Heuveln Dept. of Cognitive Science RPI.
TR1413: Discrete Mathematics For Computer Science Lecture 3: Formal approach to propositional logic.
Slides 09 1 Counting the Inhabitants of a Type Given a type , how many closed -terms in  - normal form can receive the type  in TA ? There exists an.
So far we have learned about:
¹ -Calculus Based on: “Model Checking”, E. Clarke and O. Grumberg (ch. 6, 7) “Symbolic Model Checking: 10^20 States and Beyond”, Burch, Clark, et al “Introduction.
I. Isomorphisms II. Homomorphisms III. Computing Linear Maps IV. Matrix Operations V. Change of Basis VI. Projection Topics: Line of Best Fit Geometry.
Chapter 7 Reasoning about Knowledge by Neha Saxena Id: 13 CS 267.
Modal Logic and Its Applications, explained using Puzzles and Examples.
Minimal Knowledge and Negation as Failure Ming Fang 7/24/2009.
Automaten und Formale Sprachen Epilog
Theoretical basis of GUHA Definition 1. A (simplified) observational predicate language L n consists of (i) (unary) predicates P 1,…,P n, and an infinite.
Proof Systems KB |- Q iff there is a sequence of wffs D1,..., Dn such that Dn is Q and for each Di in the sequence: a) either Di is in KB or b) Di can.
Query Answering Based on the Modal Correspondence Theory Evgeny Zolin University of Manchester Manchester, UK
Properties of Relations In many applications to computer science and applied mathematics, we deal with relations on a set A rather than relations from.
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
CS344: Introduction to Artificial Intelligence Lecture: Herbrand’s Theorem Proving satisfiability of logic formulae using semantic trees (from Symbolic.
LDK R Logics for Data and Knowledge Representation Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Relations, Functions, and Countability
A Logic of Partially Satisfied Constraints Nic Wilson Cork Constraint Computation Centre Computer Science, UCC.
The modal logic of planar polygons
CS6133 Software Specification and Verification
Mathematical Preliminaries
Reasoning about Knowledge 1 INF02511: Knowledge Engineering Reasoning about Knowledge (a very short introduction) Iyad Rahwan.
Applied Logic, Programming-Languages and Systems (ALPS) UTD Slide- 1 University of Texas at Dallas Modal Logic Gopal Gupta Department of Computer.
Equivalence Relations. Partial Ordering Relations 1.
Of 38 lecture 13: propositional logic – part II. of 38 propositional logic Gentzen system PROP_G design to be simple syntax and vocabulary the same as.
1/5/2016Hilbertův kalkul1 Lecture 12 Hilbert-like calculus.
1 Finite Model Theory Lecture 1: Overview and Background.
1 First order theories (Chapter 1, Sections 1.4 – 1.5) From the slides for the book “Decision procedures” by D.Kroening and O.Strichman.
Chapter Relations and Their Properties
Software Verification 1 Deductive Verification Prof. Dr. Holger Schlingloff Institut für Informatik der Humboldt Universität und Fraunhofer.
LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Prof. Pushpak Bhattacharyya, IIT Bombay 1 CS 621 Artificial Intelligence Lecture 16 – 09/09/05 Prof. Pushpak Bhattacharyya Soundness, Completeness,
LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Chapter 1, Part III: Proofs With Question/Answer Animations Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without.
CS 344 Artificial Intelligence By Prof: Pushpak Bhattacharya Class on 12/Feb/2007.
Section 9.1. Section Summary Relations and Functions Properties of Relations Reflexive Relations Symmetric and Antisymmetric Relations Transitive Relations.
Chapter 1 Logic and proofs
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 5- Deduction Theorem.
Logics for Data and Knowledge Representation
Richard Dedekind ( ) The grandfather of mathematical structuralism
Lecture 2 Propositional Logic
MA/CSSE 474 More Math Review Theory of Computation
Computer Security: Art and Science, 2nd Edition
Logics for Data and Knowledge Representation
Lecture 8 CS 1813 – Discrete Mathematics
CS344 : Introduction to Artificial Intelligence
Agenda Proofs (Konsep Pembuktian) Direct Proofs & Counterexamples
Presentation transcript:

MODAL LOGIC Mathematical Logic and Theorem Proving Pavithra Prabhakar

Syntax Semantics Correspondence Theory Bisimulations Axiomatising valid formulas Agenda

Syntax The set  of formulas of modal logic is the smallest set satisfying the following : Every atomic proposition p is a member of . If  is a member of , so is (¬  ). If  and  are members of , so is (  ). If  is a member of , so is ( ❏  ).  We have a derived modality, ◊  which is defined as ◊  ¬ ❏ ¬ 

Semantics Frame A frame is a structure F = (W,R), where W is a set of possible worlds and R  W X W is the accessibility relation. Model A model is a pair M = (F,V) where F = (W,R) is a frame and V:W pow(P) is a valuation. Satisfaction M,w |= p iff p Є V(w) for p Є P M,w |= ¬  iff M,w |≠  M,w |= (  iff M,w |=  or M,w |=  M,w |= ❏  iff for each w' Є W, if wRw' then M,w' |= 

Semantics contd... Satisfiability and validity A formula  is satisfiable if there exists a frame F = (W,R) and a model M = (F,V) such that M,w |=  for some w Є W. A formula  is valid,written |=  if for every frame F = (W,R), for every model M = (F,V) and for every w Є W, M,w |= . Some examples of valid formulas : (i) Every tautology of propositional logic is valid. (ii) ❏ (  ❏  ❏  (iii) Suppose that  is valid. Then, ❏  must also be valid.

Correspondence Theory Let  be a formula of modal logic. With , we identify a class of frames C  as follows : F = (W,R) Є C  iff for every valuation V over W, for every world w Є W and for every substitution instance  of  ((W,R),V),w |= . Characterising classes of frames We say a class of frames C is characterised by the formula  if C=C . Some examples of frame conditions which can be characterised by formulas of modal logic. (i) The class of reflexive frames is characterised by the formula ❏ .

Characterizing classes of frames contd.. (ii) The class of transitive frames is characterised by the formula ❏  ❏❏ . (iii)The class of symmetric frames is characterised by the formula  ❏ ◊ . (iv)The class of Euclidean frames is characterised by the formula ◊  ❏ ◊ . An accessibility relation R over W is Euclidean if for all w,w',w'' W, ifwRw'and wRw'', then w'Rw'' and w'' R w'.

Bisimulations Let M1 = ((W1,R1),V1) and M2 = ((W2,R2),V2) be a pair of models. A bisimulation is a relation ~  W1 X W2 satisfying the following conditions. (i)If w1 ~ w2 and w1 R1 w1', then there exists w2' such that w2 R2 w2' and w1' ~ w2'. (ii)If w1 ~ w2 and w2 R1 w2', then there exists w1' such that w1 R2 w1' and w1' ~ w2'. (iii) If w1 ~ w2, then V1(w1) = V2(w2). Lemma Let ~ be a bisimulation between M1 = ((W1,R1),V1) and M2 = ((W2,R2),V2). For all w1 Є W1 and w2 Є W2, if w1 ~ w2, then for all formulas, M1,w1 |=  iff M2,w2 |= .

Bisimulations contd... Lemma The class of irreflexive frames cannot be characterised in modal logic. Lemma Let  be a formula which is satisfiable over the class of reflexive and transitive frames. Then,  is satisfiable in a model based on reflexive, transitive and antisymmetric frame. M = ((W,R),V) R is reflexive and transitive. M^ = ((W^,R^),V^) R^ is reflexive,transitive and antisymmetric. X  W is a cluster if X x X  R. Cl be the class of maximal clusters. X  Cl if X is a cluster and for each w  X, (X  {w}) x (X  {w})  R

For each X  Cl, define Wx = X x N We define an accessibility relation within Wx. Fix an arbitrary total order  x on X. Rx = {((w,i),(w,i)) | w  X and i  N}  {((w,i),(w',i))| w,w'  X and w  x w'}  {((w,i),(w',j))| w,w'  X and i < j} We define a relation across maximal clusters based on the original accessibility relation R: R' =  {(Wx X Wy) | X  Y and for sone w  X and w'  Y, wRw'} We define the new frame (W^,R^) corresponding to (W,R) as W^ =  x  cl Wx R^ = R'  x  cl Rx) We extend (W^,R^) to a model by defining V^((w,i)) = V(w) for all w  W and i  N. We define a relation ~  W^ x W as follows: ~ = {((w,i),w)|w  W,i  N}

Axiomatising valid formulas Axiom System K Axioms (A0) All tautologies of propositional logic. (K) ❏ (  ❏  ❏  Inference Rules (MP)  (G)  ❏ 

Proof of completeness Consistency A formula  is consistent with respect to System K if there is no proof for ¬  A finite set of formulas is consistent if their conjunction is consistent. An arbitrary set of formulas X is consistent if every finite subset of X is consistent. Lemma Let  be a formula which is consistent with respect to System K. Then,  is satisfiable. Corollary Let  be a formula which is valid. Then  has a proof in System K.

Maximal Consistent Sets A set of formulas X is a maximal consistent set or MCS if X is consistent and for all  X, X  {  } is inconsistent. By Lindenbaum's Lemma, every consistent set of formulas can be extended to an MCS. Let X be a maximal consistent set (i) For all formulas ,  X iff  X. (ii) For all formulas  X iff  X or  X. (iii) If  is a substitution instance of an axiom, then  X. (iv) If  X and  X, then  X.

Canonical Model The canonical frame for System K is the pair Fk = (Wk,Rk) where (1) Wk = {X | X is an MCS } (2) If X and Y are MCSs, then X Rk Y iff {  ❏  X}  Y. The canonical model for System K is given by Mk = (Fk,Vk) where for each X  Wk, Vk(X) = X  P. Lemma For each MCS  X  Wk and for each formula ,Mk,X |=  iff  X. Proof by induction on the structure of  Let  be a formula which is consistent with respect to System K. By Lindenbaum's Lemma,  can be extended to a maximal consistent set X . By preceding result M,X  |= , so  is satisfiable.

Thank You