74.419 Artificial Intelligence 2004 Non-Classical Logics Non-Classical Logics Specific Language Constructs added to classic FOPL Different Types of Logics.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

1 Knowledge Representation Introduction KR and Logic.
Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,
Inference and Reasoning. Basic Idea Given a set of statements, does a new statement logically follow from this. For example If an animal has wings and.
1 DCP 1172 Introduction to Artificial Intelligence Chang-Sheng Chen Topics Covered: Introduction to Nonmonotonic Logic.
CLASSICAL LOGIC and FUZZY LOGIC. CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within.
Mental Events and Mental Objects Chapter 10 – Section 4.
Propositional Calculus A propositional calculus formula is composed of atomic propositions, which area simply statements that are either true or false.
Approximate Reasoning 1 Expert Systems Dr. Samy Abu Nasser.
© C. Kemke Approximate Reasoning 1 COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
Artificial Intelligence First-Order Predicate Logic -
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
Artificial Intelligence Modal Logic
Artificial Intelligence 2005/06
Introduction to Semantics To be able to reason about the meanings of utterances, we need to have ways of representing the meanings of utterances. A formal.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 8 Jim Martin.
Artificial Intelligence 2005/06 Planning: STRIPS.
Artificial Intelligence 2004 Non-Classical Logics.
Computability and Complexity 10-1 Computability and Complexity Andrei Bulatov Gödel’s Incompleteness Theorem.
NONMONOTONIC LOGIC AHMED SALMAN MALIK. OVERVIEW Monotonic Logic Nonmonotonic Logic Usage and Applications Comparison with other forms of logic Related.
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
Artificial Intelligence 4. Knowledge Representation Course V231 Department of Computing Imperial College, London © Simon Colton.
Understanding PML Paulo Pinheiro da Silva. PML PML is a provenance language (a language used to encode provenance knowledge) that has been proudly derived.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
Theory and Applications
For Wednesday Read chapter 13 Homework: –Chapter 10, exercise 5 (part 1 only, don’t redo) Progress for program 2 due.
Pattern-directed inference systems
Logical Agents Logic Propositional Logic Summary
First-Order Logic Introduction Syntax and Semantics Using First-Order Logic Summary.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
Presented By: Kishaloy Halder ( ) Bikash Chandra ( ) Kaustav Das ( ) 14 November 2010.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 13 of 41 Monday, 20 September.
Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Lecture 13 of 42 William H. Hsu Department.
Theory and Applications
Modal Logic CS 621 Seminar Group no.: 10 Kiran Sawant ( ) Joe Cheri Ross ( ) Sudha Bhingardive ( )
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 12 Friday, 17 September.
CS6133 Software Specification and Verification
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Artificial Intelligence Chapter 15 The Predicate Calculus Artificial Intelligence Chapter 15 The Predicate Calculus Biointelligence Lab School of Computer.
Propositional Logic Predicate Logic
Applied Logic, Programming-Languages and Systems (ALPS) UTD Slide- 1 University of Texas at Dallas Modal Logic Gopal Gupta Department of Computer.
Some Thoughts to Consider 8 How difficult is it to get a group of people, or a group of companies, or a group of nations to agree on a particular ontology?
11 Artificial Intelligence CS 165A Thursday, October 25, 2007  Knowledge and reasoning (Ch 7) Propositional logic 1.
What’s the Right Logic. What Is Logic? Joe Lau The laws of biology might be true only of living creatures, and the laws of economics are only applicable.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
Artificial Intelligence First-Order Predicate Logic - First-Order Predicate Logic (FOL or FOPL), also called First-Order Predicate Calculus.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
Artificial Intelligence Chapter 23 Multiple Agents Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
The situation calculus K. V. S. Prasad Notes for TIN171/DIT410 (Friday, 26 March 2010) Based on Nils Nilsson, “Artificial Intelligence: a new synthesis”,
Artificial Intelligence 2004 Planning: Situation Calculus Review STRIPS POP Hierarchical Planning Situation Calculus (John McCarthy) situations.
Knowledge Representation and Reasoning
CT214 – Logical Foundations of Computing Darren Doherty Rm. 311 Dept. of Information Technology NUI Galway
Artificial Intelligence Knowledge Representation.
Knowledge Representation and Inference Dr Nicholas Gibbins 32/3019.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
Knowledge Representation Techniques
Chapter 8 : Fuzzy Logic.
Propositional Logic Session 3
EPISTEMIC LOGIC.
Artificial Intelligence Chapter 15. The Predicate Calculus
Artificial Intelligence Chapter 23. Multiple Agents
Back to “Serious” Topics…
Negations of quantifiers
Logical Agents Chapter 7.
Predicates and Quantifiers
Artificial Intelligence 2004 Non-Classical Logics
Habib Ullah qamar Mscs(se)
Presentation transcript:

Artificial Intelligence 2004 Non-Classical Logics Non-Classical Logics Specific Language Constructs added to classic FOPL Different Types of Logics Modal Logics most popular ones, e.g. Deontic Logic (allowed and forbidden; ethics; law) Epistemic Logic (Knowledge) and Doxastic (Belief) Logic Possible World Semantics

Non-Classical Logics 1 (many-) sorted logic individuals pre-arranged in sets = sorts many-valued logic more than two truth values (e.g. Lukasiewicz “intermediate truth” = I; "don't know" status) fuzzy logic degree of truth between 0 and 1 (predicate corresponds to fuzzy set; membership in set to a certain degree, not just yes or no) non-monotonic logic belief modeling; defaults; set of true formulae can change (non-monotonicity); TMS

Non-Classical Logics 2 higher-order logic quantification over predicates (as variables), like  P:..., or statements about statements, e.g. “This sentence is false.” modal logics (see later slides) describe “subjunctive” statements in addition to assertional statements, using Modal Operators, i.e. "possible P" and "necessary P"

Non-Classical Logics 3 time logics time as temporal modality time logic based on time points and relations between them (like “t1 earlier than t2”) Allen’s model of time intervals situational logic; situation calculus (McCarthy) situation as additional parameter to predicate expressions, for describing change due to events additional axioms describe transformations of ssituations due to actions used for reasoning with time and planning

Modal Logics 1 Uses additional operators and axioms to describe logic. Includes FOPL assertions, and in addition statements using Modal Operators. Different Modalities express different types of statements, e.g. alethic modality “necessary” and “possible” as additional operators temporal modality with necessary  “always” and possible  “sometimes” deontic modality “permissible” (allowed) and “obligatory” (must) epistemic modality “knows” and “beliefs” as operators

Athletic Modality Alethic modality Something is necessarily true, or possibly true. Operators: “necessary” ٱ and “possible” ◊ Axioms: e.g.A1) necessary(P)  possible(P) A2)  possible(P)   P “If P is necessarily true, then P is also possible.” “If P is not possible, then P cannot be true.”

Temporal Modality Temporal modality Something is always or sometimes true. Operators: “always”  “necessary” “sometimes”  “possible” Axioms: A1) always(P)  sometimes(P) “If P is always true, then P is sometimes true.” A2) always(  P)   sometimes(P) “If not P is always true, then P is not sometimes true.” Also for tenses like “past”, “past perfect”, “future”,...

Deontic Modality Deontic modality (ethics) Something is permitted or obligatory. Operators: “permissible” and “obligatory” Axioms: e.g.obligatory(P)  permissible(P) “If P is obligatory, then P is also permitted.”

Epistemic Modality Epistemic modality Reasoning about knowledge (and beliefs) Operators: “Knows” and “Believes” Axioms: e.g.Knows A (P)  P “If agent A knows P, then P must be true.” Knows A (P)  Believes A (P) “If agent A knows P, then agent A also believes P.” Knows A (P)  Knows A (P  Q)  Knows A (Q)

Epistemic Modality - Axioms Most Common Axioms (Nilsson): 1.Modus Ponens Knowledge [Knows A (P)  Knows A (P  Q) ]  Knows A (Q) 2.Distribution Axiom Knows A (P  Q)  [Knows A (P)  Knows A (P  Q) ] 3.Knowledge Axiom Knows A (P)  P 4.Positive-Introspection Axiom Knows A (P)  (Knows A (Knows A (P)) 5.Negative Introspection Axiom ¬ Knows A (P)  (Knows A (¬ Knows A (P))

Epistemic Modality - Inference Inferential Properties of Agents: Epistemic Necessitation: from |– α infer Knows A (α) Logical Omniscience: from α |– β and Knows A (α) infer Knows A (β) or: from |– (α  β) infer Knows A (α)  Knows A (β)

Epistemic Modality - Problems 1 Problem: "Referential Opaqueness" Different statements refering to the same extension, cannot necessarily be substituted. Agent A knows John's phone number. John's phone number is the same as Jane's phone number. You cannot conclude that A also knows Jane's phone number. Another approach (than ML) is to use Strings instead of plain formulae to model referential opaqueness (cf. Norvig): e.g. Knows A (P)  Knows A ("P=Q")  Knows A (Q)

Epistemic Modality - Problem 2 Problem: "Non-Compositional Semantics" You cannot determine the truth status of a complex expression through composition as in standard FOPL. From A and α you cannot always determine the truth status of Knows A (α ). e.g. From Knows A (P) and (P  Q) not conclude Knows A (Q) Modal Logic uses a "Possible Worlds Semantics"

Possible World Semantics For modal and temporal logics, semantics is often based on considerations about which “worlds” (set of formulae) are compatible with or possible to reach from a certain given “world” → possible world semantics Relations between “worlds”: accessible necessary A world is accessible from a certain world, if it is one possible follow state of that world. A world is a necessary follow state of a certain world, if the formulae in that world must be true, is a necessary conclusion.

Possible World Semantics - Example Possible World Semantics for Epistemic Logic If Agent A knows P, then P must be true in all worlds accessible from the current world. That means these worlds are not only accessible but necessary worlds (respective to the agent and its knowledge). If Agent A believes P, then P can be true in some accessible worlds, and false in others.

Possible World Semantics For modal and temporal logics, semantics is often based on considerations about which “worlds” (described by set of formulae) can be reached or have to be reached given a certain “world” → possible world semantics Relations between “worlds”: accessible necessary A World is accessible from a certain world, i.e. if it is a possible follow state of that world. A world is a necessary follow state of a certain world,.

Representing Time Time as temporal modality in modal logic Time in FOPL add time points and time relations as predicates e.g. "earlier-than" (et) for two time points Axioms: e.g.  x,y,z: (et (x,y)  et (y,z))  et (x,z)  x,y: et (x,y)   et (y,x)

Time Interval Representation (Allen) Allen’s Time Interval Logic Time represented based on Intervals. Relations between time intervals are central : e.g. meet(i,j) for Intervals i and j Interval i Interval j Time points representable as functions on intervals, e.g. start(i) and end(i) specify time points. Axioms: e.g. meet(i,j)  time(end(i))=time(start(j))

Additional References R. A. Frost: Introduction to Knowledge-Based Systems. Collins, London, Nils J. Nilsson: Artificial Intelligence – A New Synthesis. Morgan Kaufmann, San Francisco, 1998.